| addcloudprofile |
Use this method to add cloud profile. |
Syntax |
Parameters |
name |
Name for the Cloud profile. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at (@), equals (=), and hyphen (-) characters. Cannot be changed after the profile is created. This is mandatory parameter. |
type |
Type of cloud profile that you want to create, Vserver or based on Azure Tags. This is mandatory parameter. |
vservername |
Name for the virtual server. Must begin with an ASCII alphanumeric or underscore (_) character, and must contain only ASCII alphanumeric, underscore, hash (#), period (.), space, colon (:), at sign (@), equal sign (=), and hyphen (-) characters. Can be changed after the virtual server is created.
CLI Users: If the name includes one or more spaces, enclose the name in double or single quotation marks (for example, "my vserver" or 'my vserver'). This is mandatory parameter. |
servicetype |
Protocol used by the service (also called the service type). This is mandatory parameter. |
ipaddress |
IPv4 or IPv6 address to assign to the virtual server. This is mandatory parameter. |
port |
Port number for the virtual server. This is mandatory parameter. Range 1 - 65535. |
servicegroupname |
servicegroups bind to this server. This is mandatory parameter. |
boundservicegroupsvctype |
The type of bound service. This is mandatory parameter. |
vsvrbindsvcport |
The port number to be used for the bound service. This is mandatory parameter. Range 1 - 65535. |
graceful |
Indicates graceful shutdown of the service. System will wait for all outstanding connections to this service to be closed before disabling the service. Default value = NO. |
delay |
Time, in seconds, after which all the services configured on the server are disabled. |
azuretagname |
Azure tag name |
azuretagvalue |
Azure tag value |
azurepollperiod |
Azure polling period (in seconds) Default value = 60. Minimum value = 60. Maximum value = 3600. |
Return Value |
Returns simpleResult |
See Also |