Create a vCD Resource

In this article

    You can create a vCloud Director resource by allocating a vCloud Director Organization to a company with the specified ID.

    Request

    To create a vCloud Director resource, send the POST HTTPS request to the URL of the /tenants/{ID}/vcdResources resource.

    HTTP Request

    POST https://<hostname>:1281/v2/tenants/{ID}/vcdResources

    Request Headers

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

    Request Body

    In the request body, the client must send the following properties for the vCloud Director resource that must be assigned to the company:

    • dataCenterUid
    • isWanAccelerationEnabled
    • wanAcceleratorUid

    Response

    The server returns the following response to the client.

    Response Code

    A successfully completed operation returns response code 201 Created.

    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 status and a message for an action.

    Example Create a vCD Resource

    The following example adds a new vCloud Director resource for a company with ID 2.

    Request:

    POST https://localhost:1281/v2/tenants/2/vcdResources

     

    Request Header:

    Content-Type: application/json

    Authorization: Bearer <Access-Token>

     

    Request Body:

    {

     "dataCenterUid": "f178f57a-a997-4245-8bfc-ef0902cd4f9a",

     "isWanAccelerationEnabled": true,

     "wanAcceleratorUid": "e75db85f-1672-40bf-a693-f4c07d44baf9",

    }

     

    Response Code:

    201 Created

    I want to report a typo

    There is a misspelling right here:

     

    I want to let the Veeam Documentation Team know about that.