Description | : Details of a reservation recommendation for what-if analysis of reserved instances. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "ReservationRecommendationDetails_Get", "$responses": { "200": { "$properties": { "properties": [ { "resource": [ { "#name": "onDemandRate", "Description": { "new": "On-demand rate of the resource. Most resources use hourly rates, except for BlockBlob, ManagedDisk, Backup, and Azure Files, which use monthly rates. Only hardware rates are included; software rates are excluded. Note: there could be new resources that use hourly rates in the future.", "old": "Hourly on-demand rate of the resource. Includes only hardware rate i.e, software rate is not included." } } ] } ] } } } }
⚼ Request
GET:
/{resourceScope}/providers/Microsoft.Consumption/reservationRecommendationDetails
{
api-version:
string
,
resourceScope:
string
,
scope:
string
,
region:
string
,
term:
string
,
lookBackPeriod:
string
,
product:
string
,
$filter:
string
,
}
⚐ Response (200)
{
location:
string
,
sku:
string
,
properties:
}
{
,
currency:
string
,
resource:
{
,
appliedScopes:
[
,
string
,
]
onDemandRate:
number
,
product:
string
,
region:
string
,
reservationRate:
number
,
resourceType:
string
,
}
resourceGroup:
string
,
savings:
{
,
calculatedSavings:
[
]
,
{
,
onDemandCost:
number
,
overageCost:
number
,
quantity:
number
,
reservationCost:
number
,
totalReservationCost:
number
,
reservedUnitCount:
number
,
savings:
number
,
}
lookBackPeriod:
integer
,
recommendedQuantity:
number
,
reservationOrderTerm:
string
,
savingsType:
string
,
unitOfMeasure:
string
,
}
scope:
string
,
usage:
}
{
,
firstConsumptionDate:
string
,
lastConsumptionDate:
string
,
lookBackUnitType:
string
,
usageData:
[
,
number
,
]
usageGrain:
string
,
}
⚐ Response (204)
{}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
}