Description | : Calculate price for placing a `ReservationOrder`. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "ReservationOrder_Calculate", "$parameters": { "body": { "$properties": { "properties": [ { "#name": "reservedResourceType", "Description": { "new": "The type of the resource that is being reserved. In addition to below types we have also added the following: OpenAIPTU, MDC, Sentinel.", "old": "The type of the resource that is being reserved." } } ] } } } }
⚼ Request
POST:
/providers/Microsoft.Capacity/calculatePrice
{
api-version:
string
,
body:
}
{
,
sku:
{
,
name:
string
,
}
location:
string
,
properties:
}
{
,
reservedResourceType:
enum
,
billingScopeId:
string
,
term:
enum
,
billingPlan:
enum
,
quantity:
integer
,
displayName:
string
,
appliedScopeType:
enum
,
appliedScopes:
[
,
string
,
]
appliedScopeProperties:
{
,
tenantId:
string
,
managementGroupId:
string
,
subscriptionId:
string
,
resourceGroupId:
string
,
displayName:
string
,
}
renew:
boolean
,
reservedResourceProperties:
{
,
instanceFlexibility:
enum
,
}
reviewDateTime:
string
,
}
⚐ Response (200)
{
properties:
}
{
,
billingCurrencyTotal:
{
,
currencyCode:
string
,
amount:
number
,
}
netTotal:
number
,
taxTotal:
number
,
grandTotal:
number
,
isTaxIncluded:
boolean
,
isBillingPartnerManaged:
boolean
,
reservationOrderId:
string
,
skuTitle:
string
,
skuDescription:
string
,
pricingCurrencyTotal:
{
,
currencyCode:
string
,
amount:
number
,
}
paymentSchedule:
}
[
]
,
{
,
dueDate:
string
,
paymentDate:
string
,
pricingCurrencyTotal:
{
,
currencyCode:
string
,
amount:
number
,
}
billingCurrencyTotal:
{
,
currencyCode:
string
,
amount:
number
,
}
billingAccount:
string
,
status:
enum
,
extendedStatusInfo:
}
{
,
statusCode:
enum
,
message:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
enum
,
message:
string
,
}