[{"label":"Latest (v1.1)","version":"latest"}]
vmc
Clusterreconfig Clusters
DescriptionThis reconfiguration will handle changing both the number of hosts and the cluster storage capacity.
Request
URLURL
https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddc}/clusters/{cluster}/reconfigure
Path Parameters
Path Parameters
string
org
Required
Organization identifier
string
sddc
Required
Sddc identifier
string
cluster
Required
cluster identifier
Request Body
Request Body
{
"num_hosts": 0
}
integer as int32
num_hosts
Required
Number of hosts in the cluster after reconfiguring.
string
bias
Optional
Bias value as obtained from the storage constraints call.
integer as int64
storage_capacity
Optional
The final desired storage capacity after reconfiguring the cluster in GiB.
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
202 Accepted
Returns
Task
of type(s) application/json
This response body class contains all of the following:
AbstractEntity, InlineTask1
Errors
ErrorResponse
400
Bad Request. The SDDC is not in a valid state.
401
Unauthorized
ErrorResponse
403
Access not allowed to the operation for the current user
ErrorResponse
404
Cannot find the cluster with the given id
ErrorResponse
405
Method not allowed
Code Samples
PowerCLI Client SDK Example
$ClusterReconfigureParams = Initialize-ClusterReconfigureParams -StorageCapacity 0 -Bias "MyBias" -NumHosts 0
Invoke-OrgsOrgSddcsSddcClustersClusterReconfigurePost -Org "MyOrg" -Sddc "MySddc" -Cluster "MyCluster" -ClusterReconfigureParams $ClusterReconfigureParams
PowerCLI Client SDK Example
$ClusterReconfigureParams = Initialize-ClusterReconfigureParams -StorageCapacity 0 -Bias "MyBias" -NumHosts 0
Invoke-OrgsOrgSddcsSddcClustersClusterReconfigurePost -Org "MyOrg" -Sddc "MySddc" -Cluster "MyCluster" -ClusterReconfigureParams $ClusterReconfigureParams
cURL Command
curl -X POST -H "Content-Type: application/json" -d '{"bias":"string","num_hosts":0,"storage_capacity":0}' https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddc}/clusters/{cluster}/reconfigure
Vendor Extensions
This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: clusters
x-vmw-vapi-methodname: clusterReconfig
[{"label":"Latest (v1.1)","version":"latest"}]
vmc