Description | : Warning: This operation has been deprecated and will be removed after September 30, 2024. Please see https://azure.microsoft.com/updates?id=azure-batch-pool-list-usage-metrics-api-will-be-retired-on-30-september-2024 for more information. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "Pool_ListUsageMetrics", "Description": { "new": "Warning: This operation has been deprecated and will be removed after September 30, 2024. Please see https://azure.microsoft.com/updates?id=azure-batch-pool-list-usage-metrics-api-will-be-retired-on-30-september-2024 for more information.", "old": "If you do not specify a $filter clause including a poolId, the response includes all Pools that existed in the Account in the time range of the returned aggregation intervals. If you do not specify a $filter clause including a startTime or endTime these filters default to the start and end times of the last aggregation interval currently available; that is, only the last aggregation interval is returned." } }
⚼ Request
GET:
/poolusagemetrics
{
starttime:
string
,
endtime:
string
,
$filter:
string
,
maxresults:
integer
,
timeout:
integer
,
client-request-id:
string
,
return-client-request-id:
boolean
,
ocp-date:
string
,
api-version:
string
,
}
⚐ Response (200)
{
$headers:
{
,
client-request-id:
string
,
request-id:
string
,
etag:
string
,
last-modified:
string
,
}
$schema:
}
{
,
value:
[
]
,
{
,
poolId:
string
,
startTime:
string
,
endTime:
string
,
vmSize:
string
,
totalCoreHours:
number
,
}
odata.nextLink:
string
,
}
⚐ Response (default)
{
code:
string
,
message:
{
,
lang:
string
,
value:
string
,
}
values:
}
[
]
,
{
,
key:
string
,
value:
string
,
}