[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager

Get Data Center V2

Description

This API is used to get a data center from ID or name.

Request

Request

URL

URL


get
https://localhost:8080/lcm/lcops/api/v2/datacenters/{dataCenterVmid}
Copy

Path Parameters

Path Parameters

string
dataCenterVmid Required

dataCenterVmid


Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK returns DataCenterRequestResponseDTO of type(s) application/json
{
	"dataCenterName": "Datacenter-1",
	"dataCenterVmid": "d250f635-df41-44b9-b44c-1705c1ed304f",
	"primaryLocation": "Bangalore;Karnataka;IN;12.97194;77.59369"
}
string
dataCenterName Optional

Data Center Name


string
dataCenterVmid Optional

Data Center ID


string
primaryLocation Optional

Primary Location

Errors

Errors

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Server Error

Code Samples

Code Samples

cURL Command

curl https://localhost:8080/lcm/lcops/api/v2/datacenters/{dataCenterVmid}


Feedback

Was this page helpful?