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

Get All Environment From Data Center V2

Description

This API is used to list all environments associated with a data center.

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
dataCenterVmid Required

dataCenterVmid


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

400

Bad Request


401

Unauthorized


403

Forbidden


404

Not Found


500

Internal Server Error

Code Samples

Code Samples

cURL Command

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


Feedback

Was this page helpful?