[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Update Data Center V2
DescriptionThis API is used to update a data center.
Request
URLURL
https://localhost:8080/lcm/lcops/api/v2/datacenters/{dataCenterVmid}
Path Parameters
Path Parameters
string
dataCenterVmid
Required
dataCenterVmid
Request Body
Request Body
{
"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
Authentication
This operation uses the following authentication methods.
Authorization
Scopes:
global
Response
Response
Response BodyResponse 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
201 Created
Created
Operation doesn't return any data structure.
Errors
GenericErrorResponseDTO
400
Bad Request
401
Unauthorized
403
Forbidden
GenericErrorResponseDTO
404
Not Found
GenericErrorResponseDTO
500
Internal Server Error
Code Samples
cURL Command
curl -X PUT -H "Content-Type: application/json" -d '{"dataCenterName":"Datacenter-1","dataCenterVmid":"d250f635-df41-44b9-b44c-1705c1ed304f","primaryLocation":"Bangalore;Karnataka;IN;12.97194;77.59369"}' https://localhost:8080/lcm/lcops/api/v2/datacenters/{dataCenterVmid}
[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
On This Page
Data Center Controller Operations
post
delete
delete
get
get
post
post