Get Resource Usage Metrics By Project

Get Resource Usage Metrics By Project

Returns aggregated metrics values of the given project

Request
URI
GET
https://vra-interop-222-139.lvn.broadcom.net/aggregator/api/metrics/deployment/aggregate/projects/{projectId}
COPY
Path Parameters
string
projectId
Required

projectId

Query Parameters
string
apiVersion
Optional

The version of the API in yyyy-MM-dd format (UTC). For versioning information refer to /approval/api/about


Authentication
This operation uses the following authentication methods.
Responses
200

Success

Returns QPResourceUsageMetrics of type(s) application/json
{
    "metrics": [
        {
            "displayName": "string",
            "id": 0,
            "name": "string",
            "unit": "string",
            "unitShort": "string",
            "value": 0
        }
    ]
}
array of object
metrics
Optional

metrics


401

Unauthorized

Operation doesn't return any data structure

403

Access Denied

Operation doesn't return any data structure

404

Not Found

Operation doesn't return any data structure

Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/aggregator/api/metrics/deployment/aggregate/projects/{projectId}