AlphaCloud::ClientSetWebSiteServerGroup Method
Syntax
Arguments
- WebSiteNameCharacter
The web site name.
- ServerGroupNameCharacter
The server group to assign the web site to.
Returns
- resultLogical
Returns .t. if the function call succeeded and .f. if it failed. Look at the CallResult property to determine the cause of a failure.
Description
SetWebSiteServerGroup assigns a web site to a server group.
This setting is ignored for Public tenancy deployments.
For Subscription tenancy web sites, the web site will only be assigned to a group of servers belonging to the subscription with the same name (although there may be multiple groups of servers if there are many web sites) and the tuning parameters of the server group are used.
For Dedicated tenancy, the web site is assigned to its own group, and the parameters of the referenced server group are used for that group.