Update Virtual Datacenter

Update Virtual Datacenter

Updates the details of a virtual datacenter.

Request
URI
PUT
https://{api_host}/cloudapi/vcf/virtualDatacenters/{vdcUrn}
COPY
Path Parameters
string
vdcUrn
Required

vdcUrn


Request Body
Vdc of type(s) application/json
Optional

Show optional properties

{
    "name": "string",
    "region": {},
    "supervisors": [
        {}
    ],
    "zoneResourceAllocation": [
        {}
    ]
}
{
    "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"
}
Authentication
This operation uses the following authentication methods.
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 PUT -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"name:"string","region:"object","supervisors":["object"],"zoneResourceAllocation":["object"]}' https://{api_host}/cloudapi/vcf/virtualDatacenters/{vdcUrn}