Create Sddc
Create a Software-Defined Datacenter.
Request
URI
POST
https://{api_host}/cloudapi/1.0.0/sddcs
COPY
Request Body
The new SDDC model.
Sddc
of type(s)
application/json
Required
Show optional properties
{
"name": "SDDC Sample Name",
"vcId": "urn:vcloud:vimserver:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"
}
{
"name": "SDDC Sample Name",
"id": "string",
"description": "SDDC Sample Description",
"enabled": false,
"vcId": "urn:vcloud:vimserver:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"version": "6.7.0",
"overallStatus": "string",
"stats": {
"totalVMs": 0,
"poweredOnVMs": 0,
"cpu": {
"numTotal": 0,
"numUsed": 0,
"numReserved": 0
},
"memory": {
"numTotal": 0,
"numUsed": 0,
"numReserved": 0
},
"storage": {
"numTotal": 0,
"numUsed": 0,
"numReserved": 0
}
},
"defaultProxy": {
"name": "SDDC Proxy Sample Name",
"id": "string",
"sddcId": "urn:vcloud:sddc:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"enabled": false,
"tenantVisible": false,
"targetHost": "sampleVc.vmware.com",
"active": false,
"token": "string",
"defaultProxy": false,
"parentProxyId": "urn:vcloud:sddcProxy:xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"uiUrl": "https://sampleVc.vmware.com"
},
"defaultEndpoint": {
"name": "SDDC Endpoint Sample Name",
"id": "string",
"endpoint": "string",
"proxyId": "string",
"targetUrl": "https://sampleVc.vmware.com/ui",
"proxy": {
"name": "string",
"id": "string"
},
"sddc": {
"name": "string",
"id": "string"
},
"isDefault": false
}
}
string
name
Required
name
string
id
Optional
id
string
description
Optional
Constraints:
default:
description
boolean
enabled
Optional
enabled
string
vcId
Required
URN of the associated vCenter. This is not editable once the SDDC has been created.
string
version
Optional
Version of the associated vCenter. This is not editable.
string
overallStatus
Optional
Overall status of the entity
Possible values are :
GRAY,
RED,
YELLOW,
GREEN,
object
stats
Optional
A read-only list of resource allocations for the associated SDDC
object
defaultProxy
Optional
SDDC proxy configuration
object
defaultEndpoint
Optional
An available network connections exposed by the SDDC
Responses
202
The request have been accepted and the task to monitor the request is in the Location header.
Operation doesn't return any data structure
Code Samples
COPY
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","vcId:"string"}' https://{api_host}/cloudapi/1.0.0/sddcs
Availability
Added in 32.0
Sddcs Operations
GET
Get Sddcs
POST
Create Sddc
GET
Get Sddc
PUT
Update Sddc
DELETE
Delete Sddc
GET
Get Proxies For Sddc
Deprecated
GET
Get Sddc Owner
PUT
Set Sddc Owner
GET
Query Sddc Tenants
PUT
Set Sddc Tenants
POST
Sddc Publish To Tenants
POST
Sddc Unpublish From Tenants
GET
Get Endpoints For Sddc
POST
Create Sddc Endpoint
GET
Get Sddc Endpoint
PUT
Update Sddc Endpoint
DELETE
Delete Sddc Endpoint