Help Center
Choose product document...
Veeam Availability Console 3.0
RESTful API Reference

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://<Availability-Console>:1281/v2/vcd/organizations/{ID}/dataCenters

Request Headers

The request header must contain the authorization token for the current logon session.

Response

The server returns the following response to the client.

Response Code

A successfully completed operation returns response code 200 Success.

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 Availability 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.

Request:

GET https://localhost:1281/v2/vcd/organizations/13a9493c-252c-4b38-b291-a5454839d3b3/dataCenters

 

Request Header:

Authorization: Bearer <Access-Token>

 

Response Code:

200 Success

 

Response Body:

[

 {

   "dataCenterUid": "003c5bfe-ab8a-4c41-9ecd-692d58ca7992",

   "cloudConnectAgentUid": "878fefb0-7917-4680-b829-259d585b3937",

   "name": "vDC1",

   "_links": [

     {

       "rel": "self",

       "method": "GET",

       "href": "https://vac:1281/v2/vcd/organizations/13a9493c-252c-4b38-b291-a5454839d3b3/dataCenters/16cfdbdf-9e3a-408e-acd1-cb7bc5722843"

     }

   ]

 },

 {

   "dataCenterUid": "aab5dd57-dda6-4fa1-857a-3997443414bf",

   "cloudConnectAgentUid": "878fefb0-7917-4680-b829-259d585b3937",

   "name": "vDC2",

   "_links": [

     {

       "rel": "self",

       "method": "GET",

       "href": "https://vac:1281/v2/vcd/organizations/13a9493c-252c-4b38-b291-a5454839d3b3/dataCenters/a2ee4568-6a85-4614-9e02-74c6d392d942"

     }

   ]

 }

]

Veeam Large Logo

Deployment Guide

Guide for Service Providers

Guide for End Users

Guide for Resellers

Usage Scenarios for Service Providers

RESTful API Reference