Description | : Gets a URL to download the current month's pricesheet for a billing profile. The operation is supported for billing accounts with agreement type Microsoft Partner Agreement or Microsoft Customer Agreement. You can use the new 2023-11-01 API version for billing periods January 2023 onwards. Azure Reserved Instance (RI) pricing is only available through the new version of the API. Due to Azure product growth, the Azure price sheet download experience in this preview version will be updated from a single csv/json file to a Zip file containing multiple csv/json files, each with max size of 75MB. |
Reference | : Link ¶ |
⚶ Changes
{ "#id": "PriceSheet_DownloadByBillingProfile", "$responses": { "200": { "$properties": { "downloadFileProperties": [ { "@added_6ce2f536968e4863a7ed1e8d202187a6": { "#name": "meterId", "Description": "Unique identifier of the meter ", "Required": false, "Type": "string" } } ] } } } }
⚼ Request
POST:
/providers/Microsoft.Billing/billingAccounts/{billingAccountName}/billingProfiles/{billingProfileName}/providers/Microsoft.CostManagement/pricesheets/default/download
{
api-version:
string
,
billingAccountName:
string
,
billingProfileName:
string
,
}
⚐ Response (202)
{
location:
string
,
retry-after:
string
,
odata-entityid:
string
,
}
⚐ Response (200)
{
expiryTime:
string
,
downloadUrl:
string
,
downloadFileProperties:
}
{
,
billingAccountID:
string
,
billingAccountName:
string
,
billingProfileId:
string
,
billingProfileName:
string
,
serviceFamily:
number
,
product:
string
,
productId:
string
,
skuId:
string
,
unitOfMeasure:
string
,
meterId:
string
,
meterName:
string
,
meterType:
string
,
meterCategory:
string
,
meterSubCategory:
string
,
meterRegion:
string
,
tierMinimumUnits:
string
,
effectiveStartDate:
string
,
effectiveEndDate:
string
,
unitPrice:
string
,
basePrice:
string
,
marketPrice:
string
,
currency:
string
,
billingCurrency:
string
,
term:
string
,
priceType:
string
,
}
⚐ Response (default)
{
error:
}
{
,
code:
string
,
message:
string
,
}