Get a vCD Resource
You can get a representation of a vCloud Director resource with the specified ID.
Request
To get a representation of a specific vCloud Director resource, send the GET HTTPS request to the URL of the /resellers/{ID}/vcdResources/{ID} resource.
HTTP Request
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 /resellers/{ID}/vcdResources/{ID} resource.
Example
The following example returns a representation of a vCloud Director resource with ID 1 that is configured for a reseller with ID 1.
Request: GET https://localhost:1281/v2/resellers/1/vcdResources/1
Request Header: Authorization: Bearer <Access-Token>
Response Code: 200 Success
Response Body: { "cloudConnectAgentUid": "3822cb8e-9dde-4248-b0af-44641d1f19bd", "id": 1, "organizationUid": "cb5ef608-9146-41df-a55d-e2f1887bb391", "organizationName": "Alpha_vCD", "_links": [ { "rel": "self", "method": "GET", "href": "https://vac:1281/v2/resellers/1/vcdResources/1" }, { "rel": "create", "method": "POST", "href": "https://vac:1281/v2/resellers/1/vcdResources" }, { "rel": "delete", "method": "DELETE", "href": "https://vac:1281/v2/resellers/1/vcdResources/1" } ] } |