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

Download Product Logs V2

Description

This API is used to download all product log bundles. Before triggering this API make sure you have generated product log bundles.

Request

Request

URL

URL


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

Path Parameters

Path Parameters

string
environmentId Required

environmentId


string
productId Required

productId


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

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


Feedback

Was this page helpful?