企業ユーザー向けの Reporting API - 価格シート

注意

2024 年 5 月 1 日に、Azure Enterprise Reporting API は廃止されます。 残りのエンタープライズ レポート API は、要求への応答を停止します。 お客様は、その前に Microsoft Cost Management API の使用に移行する必要があります。 詳細については、 Azure Enterprise Reporting から Microsoft Cost Management API への移行の概要に関するページを参照してください。

Price Sheet API を使用すると、特定の加入契約と請求期間に対する各測定に適用可能な課金率が提供されます。

要求

追加する必要がある一般的なヘッダー プロパティについては、Enterprise 顧客向けの Reporting API の概要に関する記事をご覧ください。 請求期間が指定されていない場合は、現在の請求期間のデータが返されます。

Method 要求 URI
GET https://consumption.azure.com/v3/enrollments/{enrollmentNumber}/pricesheet
GET https://consumption.azure.com/v3/enrollments/{enrollmentNumber}/billingPeriods/{billingPeriod}/pricesheet

注意

以前のバージョンの API を使用するには、上記の URL で v3 を v2 に置き換えます。 v2 を使用する場合、一部のフィールドは使用できません。

Response

          [
            {
                  "id": "enrollments/57354989/billingperiods/201601/products/343/pricesheets",
                  "billingPeriodId": "201704",
                "meterId": "dc210ecb-97e8-4522-8134-2385494233c0",
                  "meterName": "A1 VM",
                  "unitOfMeasure": "100 Hours",
                  "includedQuantity": 0,
                  "partNumber": "N7H-00015",
                  "unitPrice": 0.00,
                  "currencyCode": "USD"
            },
            {
                  "id": "enrollments/57354989/billingperiods/201601/products/2884/pricesheets",
                  "billingPeriodId": "201404",
                "meterId": "dc210ecb-97e8-4522-8134-5385494233c0",
                  "meterName": "Locally Redundant Storage Premium Storage - Snapshots - AU East",
                  "unitOfMeasure": "100 GB",
                  "includedQuantity": 0,
                  "partNumber": "N9H-00402",
                  "unitPrice": 0.00,
                  "currencyCode": "USD"
            },
            ...
        ]

注意

プレビュー API を使用している場合、meterId フィールドは使用できません。

応答プロパティの定義

プロパティ名 Type 説明
id string 一意の ID は PriceSheet アイテムを表します (課金期間ごとの測定)
billingPeriodId string 特定の請求期間を表す一意の ID
meterId string メーターの識別子。 使用状況の meterID にマップできます。
meterName string 測定名
unitOfMeasure string サービスを測定するための測定単位
includedQuantity decimal 含まれる数量
partNumber string 測定に関連付けられている部品番号
unitPrice decimal 測定の単価
currencyCode string 単価の通貨コード

こちらもご覧ください