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

Create SDDCs

Description

This API converts a one host SDDC to a 3 node DEFAULT SDDC. It takes care of configuring and upgrading the vCenter configurations on the SDDC for high availability and data redundancy.

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
org Required

Organization identifier


string
sddc Required

Sddc identifier


Request Body

Request Body

SddcConvertRequest of type(s) application/json Optional

convert sddc request body

{
	"num_hosts": 0
}
integer
num_hosts Optional

The total number of hosts in the SDDC after conversion.

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

ErrorResponse
400

The sddc is not in a state that’s valid for updates


401

Unauthorized


ErrorResponse
403

Access not allowed to the operation for the current user


ErrorResponse
404

Cannot find the SDDC with given identifier


ErrorResponse
405

Method not allowed

Code Samples

Code Samples

PowerCLI Client SDK Example

$SddcConvertRequest = Initialize-SddcConvertRequest -NumHosts 0
Invoke-OrgsOrgSddcsSddcConvertPost -Org "MyOrg" -Sddc "MySddc" -SddcConvertRequest $SddcConvertRequest

cURL Command

curl -X POST -H "Content-Type: application/json" -d '{"num_hosts":0}' https://vmc.vmware.com/vmc/api/orgs/{org}/sddcs/{sddc}/convert
Vendor Extensions

Vendor Extensions

This operation contains the following vendor extensions defined in the spec:
x-vmc-ui-servicename: sddcs
x-vmw-vapi-methodname: create


Feedback

Was this page helpful?