Deploy Cluster Task
Prepares, clones, and configures a VCHA cluster.
Request
URLURL
Header Parameters
Header Parameters
Required session ID, acquired from Create Session API under CIS product
vmware-api-session-id example
"b00db39f948d13ea1e59b4d6fce56389"
Request Body
Contains the deploy specification for all three nodes of a VCHA cluster.
{
"active": {
"ha_ip": {
"ip_family": "IPV4"
}
},
"deployment": "AUTO",
"passive": {
"ha_ip": {
"ip_family": "IPV4"
}
},
"witness": {
"ha_ip": {
"ip_family": "IPV4"
}
}
}
The Cluster.Type enumerated type defines the possible deployment types for a VCHA Cluster.
AUTO : Passive and witness nodes are cloned automatically.
MANUAL : Passive and witness nodes are not cloned automatically. After deployment, the customer should clone the passive and witness virtual machines.
Possible values are: AUTO , MANUAL
Contains the active node’s management vCenter server credentials. If unset, then the active vCenter Server instance is assumed to be either self-managed or else in enhanced linked mode and managed by a linked vCenter Server instance.
Authentication
Response
Response BodyResponse Body
An identifier for the task created by this API invocation will be returned. If the non-async version of the operation returns a value, this id can be used with the CIS Get Task operation to fetch that value. The normal description of this operation’s return value will follow if one exists.
Errors
com.vmware.vapi.std.errors.invalid_argument : If the credentials provided for authenticating with the active node’s management vCenter server are invalid. | com.vmware.vapi.std.errors.unverified_peer : If the SSL certificate of the management vCenter server cannot be validated. The value of the data field of Error will be a structure that contains all the fields defined in CertificateInfo.
com.vmware.vapi.std.errors.unauthorized : If the user has insufficient privilege to perform the operation. Operation execution requires the Global.VCServer privilege.
‘Default’ means this response is used for all HTTP codes that are not covered individually for this operation.
Code Samples
PowerCLI Client SDK Example
PowerCLI Client SDK All Parameters Example
cURL Command
Vendor Extensions
x-vmw-doc-deprecated-method: post
x-vmw-doc-deprecated-path: /rest/vcenter/vcha/cluster?action=deploy&vmw-task=true
x-vmw-doc-operation: deploy_task