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

Download Environment Logs V2

Description

This API is used to get all environment log bundles generated. Before triggering this API, make sure you have generated environment log bundles.

Request

Request

URL

URL


get
https://localhost:8080/lcm/lcops/api/v2/environments/{environmentId}/log-bundles
Copy

Path Parameters

Path Parameters

string
environmentId Required

environmentId


Authentication

Authentication

This operation uses the following authentication methods.

Authorization

Scopes: global

Response

Response

Response Body

Response Body

200 OK

Returns array of EnvironmentLogsDTO of type(s) application/json
{
    "logGeneratedTime": 1606220143135,
    "logLocation": "https://<vrslcm_hostname>/repo/logBundleRepo/environment/<environmentId>/<productId>/log-<environmentId>-<logGeneratedTime>.tar.gz"
}
integer as int64
logGeneratedTime Optional

Log Generated Time


string
logLocation Optional

Log Location

Errors

Errors

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/environments/{environmentId}/log-bundles


Feedback

Was this page helpful?