Query Vdcs

Query Vdcs

Retrieves a list of Org-scoped (if applicable) vDCs. Results can be filtered by id, name, allocationType, and computePolicyType.

Supported filters for computePolicyType are: (computePolicyType==VdcKubernetesPolicy) - | Returns a list of all vDCs that have a VdcKubernetesPolicy compute policy.

Request
URI
GET
https://{api_host}/cloudapi/1.0.0/vdcs
COPY
Query Parameters
string
filter
Optional

Filter for a query. FIQL format.

string
sortAsc
Optional

Field to use for ascending sort

string
sortDesc
Optional

Field to use for descending sort

integer
page
Required
Constraints: minimum: 1 default: 1

Page to fetch, zero offset.

integer
pageSize
Required
Constraints: minimum: 0 maximum: 128 default: 25

Results per page to fetch.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns OrgVdcs of type(s) application/json;version=39.1
This response body class contains all of the following: Page , InlineOrgVdcs1
{
    "0": "P",
    "1": "a",
    "2": "g",
    "3": "e",
    "4": " ",
    "5": "O",
    "6": "b",
    "7": "j",
    "8": "e",
    "9": "c",
    "10": "t",
    "values": [
        {
            "id": "string",
            "name": "string",
            "description": "string",
            "allocationType": "string",
            "org": {
                "name": "string",
                "id": "string"
            },
            "networkingTenancyEnabled": false,
            "vappNetworkStandbyEnabled": false,
            "vappNatTypeReflexiveEnabled": false
        }
    ]
}

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/vdcs?page=value&pageSize=v