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

Get vCenter V2

Description

This API is used to get vCenter details.

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
dataCenterVmid Required

dataCenterVmid


string
vCenterName Required

vCenterName


Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response 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"
}
array of VCContentLibrary
contentLibraries Optional

string
dataCollectionStatus Optional

string
name Optional

templateCustomSpecs Optional

array of VCDataCenter
vCDataCenters Optional

string
vCenterHost Optional

string
vCenterName Optional

string
vcPassword Optional

string
vcUsedAs Optional

string
vcUsername Optional

string
version Optional
Errors

Errors

GenericErrorResponseDTO
400

Bad Request


401

Unauthorized


403

Forbidden


GenericErrorResponseDTO
404

Not Found


GenericErrorResponseDTO
500

Internal Server Error

Code Samples

Code Samples

cURL Command

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


Feedback

Was this page helpful?