[{"label":"Latest (v1.1)","version":"latest"}]
vmc

Clusterreconfig Clusters

Description

This reconfiguration will handle changing both the number of hosts and the cluster storage capacity.

Request

Request

URL

URL


post
https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddc}/clusters/{cluster}/reconfigure
Copy

Path Parameters

Path Parameters

string
org Required

Organization identifier


string
sddc Required

Sddc identifier


string
cluster Required

cluster identifier


Request Body

Request Body

ClusterReconfigureParams of type(s) application/json Required

clusterReconfigureParams

{
	"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

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

202 Accepted

Returns Task of type(s) application/json
This response body class contains all of the following: AbstractEntity, InlineTask1
Errors

Errors

400

Bad Request. The SDDC is not in a valid state.


401

Unauthorized


403

Access not allowed to the operation for the current user


404

Cannot find the cluster with the given id


405

Method not allowed

Code Samples

Code Samples

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

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
Feedback

Was this page helpful?