[{"label":"Latest (1.3.0)","version":"latest"}]
vrealize-suite-lifecycle-manager
Get vCenter V2
DescriptionThis API is used to get vCenter details.
Request
URLURL
https://localhost:8080/lcm/lcops/api/v2/datacenters/{dataCenterVmid}/vcenters/{vCenterName}
Path Parameters
Path Parameters
string
dataCenterVmid
Required
dataCenterVmid
string
vCenterName
Required
vCenterName
Authentication
This operation uses the following authentication methods.
Authorization
Scopes:
global
Response
Response
Response BodyResponse Body
200 OK
Returns
VCenter
of type(s) application/json
{
"contentLibraries": [
{
"contentLibraryId": "string",
"contentLibraryItems": [
{
"contentLibraryItemId": "string",
"contentLibraryItemName": "string"
}
],
"contentLibraryName": "string"
}
],
"dataCollectionStatus": "string",
"name": "string",
"templateCustomSpecs": [
{
"name": "string"
}
],
"vCDataCenters": [
{
"clusters": [
{
"clusterName": "string",
"cpu": 0,
"hosts": [
{
"cpu": 0,
"hostName": "string",
"memory": 0,
"networks": [
{
"isManaged": false,
"network": "string"
}
],
"storages": [
{
"availableSize": 0,
"isManaged": false,
"storageName": "string",
"totalSize": 0
}
],
"totalStorage": 0
}
],
"isManaged": false,
"memory": 0,
"networks": [
{
"isManaged": false,
"network": "string"
}
],
"resourcePools": [
{
"children": "ResourcePool Object",
"morId": "string",
"name": "string"
}
],
"storages": [
{
"availableSize": 0,
"isManaged": false,
"storageName": "string",
"totalSize": 0
}
],
"virtualMachineTemplates": [
{
"name": "string"
}
],
"virtualMachines": [
{
"hostName": "string",
"ipAddress": "string",
"name": "string",
"productName": "string",
"productVersion": "string",
"vCenter": "string",
"vmName": "string"
}
]
}
],
"folders": [
{
"children": "Folder Object",
"morId": "string",
"name": "string"
}
],
"hosts": [
{
"cpu": 0,
"hostName": "string",
"memory": 0,
"networks": [
{
"isManaged": false,
"network": "string"
}
],
"storages": [
{
"availableSize": 0,
"isManaged": false,
"storageName": "string",
"totalSize": 0
}
],
"totalStorage": 0
}
],
"vcDataCenterName": "string"
}
],
"vCenterHost": "string",
"vCenterName": "string",
"vcPassword": "string",
"vcUsedAs": "string",
"vcUsername": "string",
"version": "string"
}
string
dataCollectionStatus
Optional
string
name
Optional
string
vCenterHost
Optional
string
vCenterName
Optional
string
vcPassword
Optional
string
vcUsedAs
Optional
string
vcUsername
Optional
string
version
Optional
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/{vCenterName}
[{"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