List Usage Meters Using GET
Get a list of usage meters. Supported selectors: serviceProvider.name, serviceProvider.prmId, serviceProvider.countryRegion, name, instanceId, version, mode, connectionMode, uploadHealthStatus.
Pre-authorized roles: Read Only
Request
URI
GET
https://{api_host}//vcp.vmware.com/api/aggregator/v1/usageMeters
COPY
Query Parameters
string
filter
Optional
FIQL format
integer
limit
Optional
limit
integer
offset
Optional
offset
string
sort
Optional
sort
Responses
200
OK
Returns PageOfUsageMeter of type(s) application/json
{
"content": [
{
"serviceProvider": {
"name": "Sp Corp",
"prmId": 1111111,
"countryRegion": "US"
},
"id": "6a2ac963-xxxx-xxxx-xxxx-64151fe188f9",
"instanceId": "de16af2a-xxxx-xxxx-xxxx-8cd5d5bdad1e",
"name": "my_um",
"version": "4.0.0.0",
"mode": "PRODUCTION",
"connectionMode": "ONLINE",
"lastUploadTime": "2022-05-06T00:00:00Z",
"uploadHealthStatus": "GREEN",
"lastModifiedTime": "2022-05-06T00:00:00Z"
}
],
"total": 1
}
integer As int64 As int64
total
Optional
total
400
Bad Request
Operation doesn't return any data structure
401
Unauthorized
Operation doesn't return any data structure
403
Forbidden
Operation doesn't return any data structure
Usage Meter Operations
GET
List Usage Meters Using GET