Xbasic
AlphaCloud::ClientSetWebSiteRegion Method
Syntax
.SetWebSiteRegion as L (WebSiteName as C, RegionName as C)
Arguments
- WebSiteNameCharacter
The web site.
- RegionNameCharacter
The name of a region available in Alpha Cloud.
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
SetWebSiteRegion sets the region a web site is to be deployed in.
Note: If a web site has deployments in a different region, those deployments will automatically be stopped, the web site will be assigned to a server in the named region and the deployments will be rescheduled for the target region.
This process will take as long as redeploying those applications.