Get Virtual Datacenter
Get a specific virtual datacenter
Request
URI
GET
https://{api_host}/cloudapi/vcf/virtualDatacenters/{vdcUrn}
COPY
Path Parameters
string
vdcUrn
Required
vdcUrn
Responses
200
OK
Returns
Vdc
of type(s)
application/json;version=40.0
{
"id": "string",
"name": "string",
"description": "string",
"org": {
"name": "string",
"id": "string"
},
"region": {
"name": "string",
"id": "string"
},
"supervisors": [
{
"name": "string",
"id": "string"
}
],
"zoneResourceAllocation": [
{
"zone": {
"name": "string",
"id": "string"
},
"resourceAllocation": {
"memoryLimitMiB": 0,
"memoryReservationMiB": 0,
"cpuLimitMHz": 0,
"cpuReservationMHz": 0
}
}
],
"status": "string"
}
string
id
Optional
The identifier of a the virtual datacenter in URN format.
string
name
Required
The name of the VDC. It must follow RFC 1123 Label Names to conform with Kubernetes standards.
string
description
Optional
The description for the virtual datacenter
object
org
Optional
Entity reference used to describe VCD entities
object
region
Required
Entity reference used to describe VCD entities
array of
object
supervisors
Required
Constraints:
minItems: 1
maxItems: 1
A list of supervisors that the VDC has access to
array of
zoneResourceAllocation
zoneResourceAllocation
Required
The map of per zone resource allocation.
string
status
Optional
The creation status of the VDC. Can be [FAILED, NOT_READY, READY, DELETING]
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/vcf/virtualDatacenters/{vdcUrn}
Availability
Added in 40.0
Virtual Datacenter Operations
GET
Get Virtual Datacenters
POST
Create Virtual Datacenter
GET
Get Virtual Datacenter
PUT
Update Virtual Datacenter
DELETE
Delete Virtual Datacenter
GET
Query Vm Classes
POST
Add Vm Classes To VDC
PUT
Replace Vm Classes In VDC
GET
Query Reserved Vm Classes
PUT
Update Reserved Vm Classes
GET
Get Namespaces For Vdc