Create a data center to back vRealize Suite environments in vRealize Suite Lifecycle Manager.

Prerequisites

Verify that you have a valid authentication token that matches your login credentials. See Request an Authentication Token.

Procedure

  1. Log in to vRealize Suite Lifecycle Manager.
    curl POST "https://LCM-Hostname/lcm/api/v1/login" \
  2. Submit a request for a new data center with parameters inline.
    curl -X POST "https://LCM-Hostname/lcm/api/v1/action/create/datacenter" \
            -H "accept: application/json" \
            -H "x-xenon-auth-token: $token" \
            -H "content-type: application/json" \
            -d '{"datacenterName": "$name",
                 "city": "$city",
                 "country": "$country",
                 "latitude": "$latitude",
                 "longitude": "$longitude",
                 "state": "$state"}'
  3. Examine the response to verify that the request is successful.
  4. (Optional) View data center details.
    curl GET  "https://LCM-Hostname/lcm/api/v1/view/datacenter?datacenterId={datacenterId}"

Create a Data Center Response

When the data center is successfully completed, vRealize Suite Lifecycle Manager returns a response similar to the following:

{
  "id": "$DataCenterID",
  "type": null,
  "state": null,
  "status": "SUCCESS",
  "isRetriable": null,
  "retryParameters": null
}