Get Resource Usage Metrics By User

Get Resource Usage Metrics By User

Returns aggregated metrics values of the given user

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

userId

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/users/{userId}