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

Get All Environments With vCenter V2

Description

This API is used to get all environments associated with a vCenter.

Request

Request

URL

URL


get
https://localhost:8080/lcm/lcops/api/v2/datacenters/{dataCenterVmid}/vcenters/{vCenterName}/environments
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 array of EnvironmentRequestDTO of type(s) application/json
{
    "environmentDescription": "vRealize Automation Environment",
    "environmentName": "vRealize Automation Environment",
    "environmentStatus": "COMPLETED"
}
string
environmentDescription Optional

Environment Description


string
environmentHealth Optional

Environment Health Data


string
environmentId Optional

Environment ID


string
environmentName Optional

Environment Name


string
environmentStatus Optional

Status of the environment


infrastructure Optional

string
logHistory Optional

Log History Data


map of string
metaData Optional

array of Product
products 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}/environments


Feedback

Was this page helpful?