This is an archive version of the document. To get the most up-to-date information, see the current version.

Get Organization vDCs

You can get a representation of a collection of all vCDs allocated to a vCloud Director Organization with the specified ID.

Request

To get all Organization vDCs, send the GET HTTPS request to the URL of the /vcd/organizations/{ID}/dataCenters collection.

HTTP Request

GET https://<hostname>:1281/v2/vcd/organizations/{ID}/dataCenters

Request Headers

The request header must contain the authorization token.

Response

The server returns the following response to the client.

Response Code

A successfully completed operation returns response code 200 OK.

Response Headers

The response to this request contains the following headers. The response may also include additional standard HTTP headers.

Header

Description

Content-length

The length of the response body.

Content-type

The media type and syntax of the request body message: application/json; charset=utf-8

Response Body

In the response body, Veeam Service Provider Console returns a representation of the /vcd/organizations/{ID}/dataCenters collection.

Example Get Organization vDCs

The following request returns all vDCs allocated to an vCloud Director Organization with ID 13a9493c-252c-4b38-b291-a5454839d3b3.