[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Get All vCenters V2
DescriptionThis API is used to get all vCenters details.
Request
URLURL
https://localhost:8080/lcm/lcops/api/v2/datacenters/{dataCenterVmid}/vcenters
Path Parameters
Path Parameters
string
dataCenterVmid
Required
dataCenterVmid
Authentication
This operation uses the following authentication methods.
Authorization
Scopes:
global
Response
Response
Response BodyResponse Body
200 OK
Returns
array
of
VCenterRequestDTO
of type(s) application/json
{
"vCenterHost": "vcenter-1.example.com",
"vCenterName": "vCenter-1",
"vcDataCollectionStatus": "SUCCESS",
"vcPassword": "locker:password:<vmid>:<alias>",
"vcUsedAs": "MANAGEMENT",
"vcUsername": "administrator@vsphere.local"
}
string
vCenterHost
Optional
vCenter Server Host
string
vCenterName
Optional
vCenter Server Name
string
vcDataCollectionStatus
Optional
vCenter Data Collection Status
string
vcPassword
Optional
vCenter Server Password
string
vcUsedAs
Optional
vCenter Server Used As
string
vcUsername
Optional
vCenter Server Username
Errors
GenericErrorResponseDTO
400
Bad Request
401
Unauthorized
403
Forbidden
GenericErrorResponseDTO
404
Not Found
GenericErrorResponseDTO
500
Internal Server Error
Code Samples
cURL Command
curl https://localhost:8080/lcm/lcops/api/v2/datacenters/{dataCenterVmid}/vcenters
[{"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