Update Cluster
DescriptionUpdate a Cluster by adding or removing Hosts, Stretching a standard vSAN cluster, Unstretching a stretched cluster or by marking for deletion
Request
URLURL
Path Parameters
Path Parameters
Cluster ID
Request Body
{
"clusterCompactionSpec": {
"force": false,
"forceByPassingSafeMinSize": false,
"hosts": [
{
"azName": "string",
"fqdn": "string",
"id": "string",
"ipAddress": "string",
"vmNics": [
{
"isActive": false,
"isAutoNegotiateSupported": false,
"isInUse": false,
"linkSpeedMB": 0,
"name": "string"
}
]
}
]
},
"clusterExpansionSpec": {
"forceHostAdditionInPresenceofDeadHosts": false,
"hostSpecs": [
{
"azName": "string",
"hostName": "string",
"hostNetworkSpec": {
"vmNics": [
{
"id": "string",
"moveToNvds": false,
"uplink": "string",
"vdsName": "string"
}
]
},
"id": "string",
"ipAddress": "string",
"licenseKey": "string",
"password": "string",
"serialNumber": "string",
"sshThumbprint": "string",
"username": "string"
}
],
"interRackExpansion": false,
"skipThumbprintValidation": false,
"vsanNetworkSpecs": [
{
"vsanCidr": "string",
"vsanGatewayIP": "string"
}
],
"witnessSpec": {
"fqdn": "string",
"vsanCidr": "string",
"vsanIp": "string"
},
"witnessTrafficSharedWithVsanTraffic": false
},
"clusterStretchSpec": {
"hostSpecs": [
{
"azName": "string",
"hostName": "string",
"hostNetworkSpec": {
"vmNics": [
{
"id": "string",
"moveToNvds": false,
"uplink": "string",
"vdsName": "string"
}
]
},
"id": "string",
"ipAddress": "string",
"licenseKey": "string",
"password": "string",
"serialNumber": "string",
"sshThumbprint": "string",
"username": "string"
}
],
"isEdgeClusterConfiguredForMultiAZ": false,
"secondaryAzOverlayVlanId": 0,
"vsanNetworkSpecs": [
{
"vsanCidr": "string",
"vsanGatewayIP": "string"
}
],
"witnessSpec": {
"fqdn": "string",
"vsanCidr": "string",
"vsanIp": "string"
},
"witnessTrafficSharedWithVsanTraffic": false
},
"clusterUnstretchSpec": {},
"markForDeletion": false,
"name": "string",
"prepareForStretch": false
}
Parameters required to perform cluster compaction, optional otherwise
Parameters required to perform cluster expansion, optional otherwise
Parameters required to perform Stretch operation on cluster, optional otherwise
Parameters required to perform Unstretch operation on cluster, optional otherwise
Prepare the cluster for deletion
Cluster Name
Prepare the cluster for stretch
Response
200 OK Response Body>Response Body
200 OK
{
"resolutionStatus": "Can have only one of the two values: RESOLVED or UNRESOLVED",
"status": "One among: PENDING, IN_PROGRESS, SUCCESSFUL, FAILED, CANCELLED",
"type": "Sample values: HOST_COMMISSION, HOST_DECOMMISSION"
}
Task completion timestamp
Task creation timestamp
Task ID
Represents task can be cancellable or not.
Task name
Resolution state
Task status
Operation that is represented by the Task in machine readable format. The value is controlled by the owners/producers of the Task. The convention is
202 Accepted Response Body>
Response Body
202 Accepted
{
"resolutionStatus": "Can have only one of the two values: RESOLVED or UNRESOLVED",
"status": "One among: PENDING, IN_PROGRESS, SUCCESSFUL, FAILED, CANCELLED",
"type": "Sample values: HOST_COMMISSION, HOST_DECOMMISSION"
}
Task completion timestamp
Task creation timestamp
Task ID
Represents task can be cancellable or not.
Task name
Resolution state
Task status
Operation that is represented by the Task in machine readable format. The value is controlled by the owners/producers of the Task. The convention is
Errors
Bad Request
Not Found
InternalServerError