Usage Details - List

Mencantumkan detail penggunaan untuk cakupan yang ditentukan. Detail penggunaan tersedia melalui API ini hanya untuk 1 Mei 2014 atau yang lebih baru.

Catatan:Microsoft akan menghentikan API Detail Penggunaan Konsumsi di beberapa titik di masa mendatang. Kami tidak menyarankan Agar Anda mengambil dependensi baru pada API ini. Silakan gunakan API Detail Biaya sebagai gantinya. Kami akan memberi tahu pelanggan setelah tanggal penghentian telah ditentukan. Untuk Mempelajari selengkapnya, lihat Membuat Laporan Detail Biaya - Membuat operasi

GET https://management.azure.com/{scope}/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01
GET https://management.azure.com/{scope}/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01&$expand={$expand}&$filter={$filter}&$skiptoken={$skiptoken}&$top={$top}&metric={metric}

Parameter URI

Nama Dalam Diperlukan Jenis Deskripsi
scope
path True

string

Pengidentifikasi manajer sumber daya Azure Resource yang memenuhi syarat sepenuhnya.

api-version
query True

string

minLength: 1

Versi API yang akan digunakan untuk operasi ini.

$expand
query

string

Dapat digunakan untuk memperluas properti/additionalInfo atau properties/meterDetails dalam daftar detail penggunaan. Secara default, bidang ini tidak disertakan saat mencantumkan detail penggunaan.

$filter
query

string

Dapat digunakan untuk memfilter usageDetails menurut properti/resourceGroup, properties/resourceName, properties/resourceId, properties/chargeType, properties/reservationId, properties/publisherType atau tag. Filter mendukung 'eq', 'lt', 'gt', 'le', 'ge', dan 'and'. Saat ini tidak mendukung 'ne', 'or', atau 'not'. Filter tag adalah string pasangan nilai kunci di mana kunci dan nilai dipisahkan oleh titik dua (:). Filter PublisherType menerima dua nilai azure dan marketplace dan saat ini didukung untuk Jenis Penawaran Langsung Web

$skiptoken
query

string

Skiptoken hanya digunakan jika operasi sebelumnya mengembalikan hasil parsial. Jika respons sebelumnya berisi elemen nextLink, nilai elemen nextLink akan menyertakan parameter skiptoken yang menentukan titik awal yang akan digunakan untuk panggilan berikutnya.

$top
query

integer (int32)

minimum: 1
maximum: 1000

Dapat digunakan untuk membatasi jumlah hasil ke N usageDetails terbaru.

metric
query

Metrictype

Memungkinkan untuk memilih berbagai jenis catatan biaya/penggunaan.

Respons

Nama Jenis Deskripsi
200 OK

UsageDetailsListResult

Permintaan telah berhasil.

204 No Content

Operasi berhasil diselesaikan.

Other Status Codes

ErrorResponse

Respons kesalahan yang tidak terduga.

Keamanan

azure_auth

Alur OAuth2 Azure Active Directory.

Jenis: oauth2
Alur: implicit
URL Otorisasi: https://login.microsoftonline.com/common/oauth2/authorize

Cakupan

Nama Deskripsi
user_impersonation meniru akun pengguna Anda

Contoh

BillingAccountUsageDetailsList-Legacy
BillingAccountUsageDetailsList-Modern
BillingAccountUsageDetailsListForBillingPeriod-Legacy
BillingProfileUsageDetailsList-Modern
CustomerUsageDetailsList-Modern
DepartmentUsageDetailsList-Legacy
DepartmentUsageDetailsListForBillingPeriod-Legacy
EnrollmentAccountUsageDetailsList-Legacy
EnrollmentAccountUsageDetailsListForBillingPeriod-Legacy
InvoiceSectionUsageDetailsList-Modern
ManagementGroupUsageDetailsList-Legacy
ManagementGroupUsageDetailsListForBillingPeriod-Legacy
UsageDetailsExpand-Legacy
UsageDetailsList-Legacy
UsageDetailsListByMetricActualCost-Legacy
UsageDetailsListByMetricAmortizedCost-Legacy
UsageDetailsListByMetricUsage-Legacy
UsageDetailsListFilterByTag-Legacy
UsageDetailsListForBillingPeriod-Legacy

BillingAccountUsageDetailsList-Legacy

Permintaan sampel

GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 1",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000295194820065,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.000402776395232,
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product Name 1",
        "quantity": 0.7329,
        "resourceGroup": "Resource Group 1",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "unitPrice": 4.38
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

BillingAccountUsageDetailsList-Modern

Permintaan sampel

GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234:56789/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/providers/Microsoft.Billing/BillingAccounts/1234:56789/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "modern",
      "properties": {
        "additionalInfo": "{  \"UsageType\": \"ComputeHR\",  \"ImageType\": \"Windows Client BYOL\",  \"ServiceType\": \"Standard_D1\",  \"VMName\": null,  \"VMProperties\": null,  \"VCPUs\": 1,  \"CPUs\": 0}",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "1234:56789",
        "billingAccountName": "Account Name 1",
        "billingCurrencyCode": "USD",
        "billingPeriodEndDate": "2019-10-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-09-01T00:00:00.0000000Z",
        "billingProfileId": "2468",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "costCenter": "DEV",
        "costInBillingCurrency": 1.84763819095477,
        "costInPricingCurrency": 1.84763819095477,
        "costInUSD": 1.84763819095477,
        "customerName": "Modern Azure Customer 1",
        "customerTenantId": "00000000-0000-0000-0000-000000000000",
        "date": "2019-10-30T00:00:00.0000000Z",
        "exchangeRate": "1",
        "exchangeRateDate": "2019-09-30T00:00:00Z",
        "exchangeRatePricingToBilling": 0.077,
        "frequency": "UsageBased",
        "instanceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "invoiceId": "",
        "invoiceSectionId": "98765",
        "invoiceSectionName": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "marketPrice": 0.077,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "partnerEarnedCreditApplied": "0",
        "partnerEarnedCreditRate": 0.077,
        "partnerName": "Partner Name 1",
        "partnerTenantId": "00000000-0000-0000-0000-000000000000",
        "paygCostInBillingCurrency": 1.848,
        "paygCostInUSD": 1.848,
        "previousInvoiceId": "",
        "pricingCurrencyCode": "USD",
        "product": "Virtual Machines D Series - D1 - US East",
        "productIdentifier": "DZH318Z0BQ4B00FV",
        "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a",
        "productOrderName": "Azure plan",
        "publisherId": "",
        "publisherName": "Microsoft",
        "publisherType": "Microsoft",
        "quantity": 0.7329,
        "resellerMpnId": "",
        "resellerName": "Reseller Name 1",
        "reservationId": "",
        "reservationName": "",
        "resourceGroup": "Resource Group 1",
        "resourceLocation": "USEast",
        "resourceLocationNormalized": "US East",
        "serviceInfo1": "",
        "serviceInfo2": "Windows Client BYOL",
        "servicePeriodEndDate": "2019-12-01T00:00:00Z",
        "servicePeriodStartDate": "2019-09-01T00:00:00Z",
        "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "term": "",
        "unitPrice": 4.38
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

BillingAccountUsageDetailsListForBillingPeriod-Legacy

Permintaan sampel

GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/providers/Microsoft.Billing/BillingAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 1",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000342194841184,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.010534556373432,
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product Name 1",
        "quantity": 0.8234,
        "resourceGroup": "Resource Group 1",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "unitPrice": 3.74
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

BillingProfileUsageDetailsList-Modern

Permintaan sampel

GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234:56789/billingProfiles/2468/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/providers/Microsoft.Billing/BillingAccounts/1234:56789/billingProfiles/2468/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "modern",
      "properties": {
        "additionalInfo": "{  \"UsageType\": \"ComputeHR\",  \"ImageType\": \"Windows Client BYOL\",  \"ServiceType\": \"Standard_D1\",  \"VMName\": null,  \"VMProperties\": null,  \"VCPUs\": 1,  \"CPUs\": 0}",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "1234:56789",
        "billingAccountName": "Account Name 1",
        "billingCurrencyCode": "USD",
        "billingPeriodEndDate": "2019-10-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-09-01T00:00:00.0000000Z",
        "billingProfileId": "2468",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "costCenter": "DEV",
        "costInBillingCurrency": 1.84763819095477,
        "costInPricingCurrency": 1.84763819095477,
        "costInUSD": 1.84763819095477,
        "customerName": "Modern Azure Customer 1",
        "customerTenantId": "00000000-0000-0000-0000-000000000000",
        "date": "2019-10-30T00:00:00.0000000Z",
        "exchangeRate": "1",
        "exchangeRateDate": "2019-09-30T00:00:00Z",
        "exchangeRatePricingToBilling": 0.077,
        "frequency": "UsageBased",
        "instanceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "invoiceId": "",
        "invoiceSectionId": "98765",
        "invoiceSectionName": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "marketPrice": 0.077,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "partnerEarnedCreditApplied": "0",
        "partnerEarnedCreditRate": 0.077,
        "partnerName": "Partner Name 1",
        "partnerTenantId": "00000000-0000-0000-0000-000000000000",
        "paygCostInBillingCurrency": 1.848,
        "paygCostInUSD": 1.848,
        "previousInvoiceId": "",
        "pricingCurrencyCode": "USD",
        "product": "Virtual Machines D Series - D1 - US East",
        "productIdentifier": "DZH318Z0BQ4B00FV",
        "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a",
        "productOrderName": "Azure plan",
        "publisherId": "",
        "publisherName": "Microsoft",
        "publisherType": "Microsoft",
        "quantity": 0.7329,
        "resellerMpnId": "",
        "resellerName": "Reseller Name 1",
        "reservationId": "",
        "reservationName": "",
        "resourceGroup": "Resource Group 1",
        "resourceLocation": "USEast",
        "resourceLocationNormalized": "US East",
        "serviceInfo1": "",
        "serviceInfo2": "Windows Client BYOL",
        "servicePeriodEndDate": "2019-12-01T00:00:00Z",
        "servicePeriodStartDate": "2019-09-01T00:00:00Z",
        "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "term": "",
        "unitPrice": 4.38
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

CustomerUsageDetailsList-Modern

Permintaan sampel

GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234:56789/customers/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/providers/Microsoft.Billing/BillingAccounts/1234:56789/customers/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "modern",
      "properties": {
        "additionalInfo": "{  \"UsageType\": \"ComputeHR\",  \"ImageType\": \"Windows Client BYOL\",  \"ServiceType\": \"Standard_D1\",  \"VMName\": null,  \"VMProperties\": null,  \"VCPUs\": 1,  \"CPUs\": 0}",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "1234:56789",
        "billingAccountName": "Account Name 1",
        "billingCurrencyCode": "USD",
        "billingPeriodEndDate": "2019-10-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-09-01T00:00:00.0000000Z",
        "billingProfileId": "2468",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "costCenter": "DEV",
        "costInBillingCurrency": 1.84763819095477,
        "costInPricingCurrency": 1.84763819095477,
        "costInUSD": 1.84763819095477,
        "customerName": "Modern Azure Customer 1",
        "customerTenantId": "00000000-0000-0000-0000-000000000000",
        "date": "2019-10-30T00:00:00.0000000Z",
        "exchangeRate": "1",
        "exchangeRateDate": "2019-09-30T00:00:00Z",
        "exchangeRatePricingToBilling": 0.077,
        "frequency": "UsageBased",
        "instanceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "invoiceId": "",
        "invoiceSectionId": "98765",
        "invoiceSectionName": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "marketPrice": 0.077,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "partnerEarnedCreditApplied": "0",
        "partnerEarnedCreditRate": 0.077,
        "partnerName": "Partner Name 1",
        "partnerTenantId": "00000000-0000-0000-0000-000000000000",
        "paygCostInBillingCurrency": 1.848,
        "paygCostInUSD": 1.848,
        "previousInvoiceId": "",
        "pricingCurrencyCode": "USD",
        "product": "Virtual Machines D Series - D1 - US East",
        "productIdentifier": "DZH318Z0BQ4B00FV",
        "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a",
        "productOrderName": "Azure plan",
        "publisherId": "",
        "publisherName": "Microsoft",
        "publisherType": "Microsoft",
        "quantity": 0.7329,
        "resellerMpnId": "",
        "resellerName": "Reseller Name 1",
        "reservationId": "",
        "reservationName": "",
        "resourceGroup": "Resource Group 1",
        "resourceLocation": "USEast",
        "resourceLocationNormalized": "US East",
        "serviceInfo1": "",
        "serviceInfo2": "Windows Client BYOL",
        "servicePeriodEndDate": "2019-12-01T00:00:00Z",
        "servicePeriodStartDate": "2019-09-01T00:00:00Z",
        "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "term": "",
        "unitPrice": 4.38
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

DepartmentUsageDetailsList-Legacy

Permintaan sampel

GET https://management.azure.com/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 1",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000295194820065,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.000402776395232,
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product Name 1",
        "quantity": 0.7329,
        "resourceGroup": "Resource Group 1",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "unitPrice": 4.38
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

DepartmentUsageDetailsListForBillingPeriod-Legacy

Permintaan sampel

GET https://management.azure.com/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/providers/Microsoft.Billing/Departments/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 1",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000342194841184,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.010534556373432,
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product Name 1",
        "quantity": 0.8234,
        "resourceGroup": "Resource Group 1",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "unitPrice": 3.74
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

EnrollmentAccountUsageDetailsList-Legacy

Permintaan sampel

GET https://management.azure.com/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 1",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000295194820065,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.000402776395232,
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product Name 1",
        "quantity": 0.7329,
        "resourceGroup": "Resource Group 1",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "unitPrice": 4.38
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

EnrollmentAccountUsageDetailsListForBillingPeriod-Legacy

Permintaan sampel

GET https://management.azure.com/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/providers/Microsoft.Billing/EnrollmentAccounts/1234/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 1",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000342194841184,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.010534556373432,
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product Name 1",
        "quantity": 0.8234,
        "resourceGroup": "Resource Group 1",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "unitPrice": 3.74
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

InvoiceSectionUsageDetailsList-Modern

Permintaan sampel

GET https://management.azure.com/providers/Microsoft.Billing/BillingAccounts/1234:56789/invoiceSections/98765/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/providers/Microsoft.Billing/BillingAccounts/1234:56789/invoiceSections/98765/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "modern",
      "properties": {
        "additionalInfo": "{  \"UsageType\": \"ComputeHR\",  \"ImageType\": \"Windows Client BYOL\",  \"ServiceType\": \"Standard_D1\",  \"VMName\": null,  \"VMProperties\": null,  \"VCPUs\": 1,  \"CPUs\": 0}",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "1234:56789",
        "billingAccountName": "Account Name 1",
        "billingCurrencyCode": "USD",
        "billingPeriodEndDate": "2019-10-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-09-01T00:00:00.0000000Z",
        "billingProfileId": "2468",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "costCenter": "DEV",
        "costInBillingCurrency": 1.84763819095477,
        "costInPricingCurrency": 1.84763819095477,
        "costInUSD": 1.84763819095477,
        "customerName": "Modern Azure Customer 1",
        "customerTenantId": "00000000-0000-0000-0000-000000000000",
        "date": "2019-10-30T00:00:00.0000000Z",
        "exchangeRate": "1",
        "exchangeRateDate": "2019-09-30T00:00:00Z",
        "exchangeRatePricingToBilling": 0.077,
        "frequency": "UsageBased",
        "instanceName": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "invoiceId": "",
        "invoiceSectionId": "98765",
        "invoiceSectionName": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "marketPrice": 0.077,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "partnerEarnedCreditApplied": "0",
        "partnerEarnedCreditRate": 0.077,
        "partnerName": "Partner Name 1",
        "partnerTenantId": "00000000-0000-0000-0000-000000000000",
        "paygCostInBillingCurrency": 1.848,
        "paygCostInUSD": 1.848,
        "previousInvoiceId": "",
        "pricingCurrencyCode": "USD",
        "product": "Virtual Machines D Series - D1 - US East",
        "productIdentifier": "DZH318Z0BQ4B00FV",
        "productOrderId": "a3db7880-70eb-4b4c-6a79-1425a058df5a",
        "productOrderName": "Azure plan",
        "publisherId": "",
        "publisherName": "Microsoft",
        "publisherType": "Microsoft",
        "quantity": 0.7329,
        "resellerMpnId": "",
        "resellerName": "Reseller Name 1",
        "reservationId": "",
        "reservationName": "",
        "resourceGroup": "Resource Group 1",
        "resourceLocation": "USEast",
        "resourceLocationNormalized": "US East",
        "serviceInfo1": "",
        "serviceInfo2": "Windows Client BYOL",
        "servicePeriodEndDate": "2019-12-01T00:00:00Z",
        "servicePeriodStartDate": "2019-09-01T00:00:00Z",
        "subscriptionGuid": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "term": "",
        "unitPrice": 4.38
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

ManagementGroupUsageDetailsList-Legacy

Permintaan sampel

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 1",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000342194841184,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.010534556373432,
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product Name 1",
        "quantity": 0.8234,
        "resourceGroup": "Resource Group 1",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "unitPrice": 3.74
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    },
    {
      "name": "usageDetails_Id2",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/scope/providers/Microsoft.Billing/billingPeriods/20180801/providers/Microsoft.Consumption/usageDetails/usageDetails_Id2",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 1",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 2",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 2",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000295194820065,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.000402776395232,
        "invoiceSection": "Invoice Section 2",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "11111111-1111-1111-1111-111111111111",
        "offerId": "Offer Id 2",
        "partNumber": "Part Number 2",
        "product": "Product Name 2",
        "quantity": 0.7329,
        "resourceGroup": "Resource Group 2",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 2/providers/Microsoft.Storage/storageAccounts/Resource Name 2",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 2",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "unitPrice": 4.38
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

ManagementGroupUsageDetailsListForBillingPeriod-Legacy

Permintaan sampel

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 1",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000342194841184,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.010534556373432,
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product Name 1",
        "quantity": 0.8234,
        "resourceGroup": "Resource Group 1",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "unitPrice": 3.74
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    },
    {
      "name": "usageDetails_Id2",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/scope/providers/Microsoft.Billing/billingPeriods/billingPeriodName/providers/Microsoft.Consumption/usageDetails/usageDetails_Id2",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 2",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 2",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 2",
        "chargeType": "UnusedReservation",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000821821271948,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.073488920944598,
        "invoiceSection": "Invoice Section 2",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "11111111-1111-1111-1111-111111111111",
        "offerId": "Offer Id 2",
        "partNumber": "Part Number 2",
        "product": "Product Name 2",
        "quantity": 0.4759,
        "resourceGroup": "Resource Group 2",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 2/providers/Microsoft.Storage/storageAccounts/Resource Name 2",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 2",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 2",
        "unitPrice": 5.74
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

UsageDetailsExpand-Legacy

Permintaan sampel

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01&$expand=meterDetails,additionalInfo&$filter=tags eq 'dev:tools'&$top=1

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 1",
        "additionalInfo": "{\"MyType\":\"\",\"ServiceType\":\"\",\"VMName\":\"\",\"UsageType\":\"MyUsage\"}",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000342194841184,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.010464556322455,
        "frequency": "UsageBased",
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": {
          "meterCategory": "Networking",
          "meterName": "Data Transfer Out (GB)",
          "meterSubCategory": "ExpressRoute",
          "serviceFamily": "Compute",
          "unitOfMeasure": "GB"
        },
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product Name 1",
        "quantity": 0.8234,
        "resourceGroup": "Resource Group 1",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "unitPrice": 3.54
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

UsageDetailsList-Legacy

Permintaan sampel

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "AccountName",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Customer Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Customer Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.ClassicStorage",
        "cost": 1.980949998E-06,
        "costCenter": "BAS",
        "date": "2019-04-09T00:00:00.0000000Z",
        "effectivePrice": 0.054693034210767,
        "frequency": "UsageBased",
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product1",
        "quantity": 3.6E-05,
        "resourceGroup": "Resource-Group-westus",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
        "resourceLocation": "uswest",
        "resourceName": "ResourceName1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "SubscriptionName 1",
        "unitPrice": 5.47
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

UsageDetailsListByMetricActualCost-Legacy

Permintaan sampel

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01&metric=actualcost

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "AccountName",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Customer Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Customer Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.ClassicStorage",
        "cost": 1.968949998E-06,
        "costCenter": "BAS",
        "date": "2019-04-09T00:00:00.0000000Z",
        "effectivePrice": 0.054693055510767,
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product1",
        "quantity": 3.6E-05,
        "resourceGroup": "Resource-Group-westus",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
        "resourceLocation": "uswest",
        "resourceName": "ResourceName1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "SubscriptionName 1",
        "unitPrice": 5.47
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

UsageDetailsListByMetricAmortizedCost-Legacy

Permintaan sampel

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01&metric=amortizedcost

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "AccountName",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Customer Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Customer Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.ClassicStorage",
        "cost": 1.968949998E-06,
        "costCenter": "BAS",
        "date": "2019-04-09T00:00:00.0000000Z",
        "effectivePrice": 0.054693055510767,
        "frequency": "UsageBased",
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product1",
        "quantity": 3.6E-05,
        "resourceGroup": "Resource-Group-westus",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
        "resourceLocation": "uswest",
        "resourceName": "ResourceName1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "SubscriptionName 1",
        "unitPrice": 5.47
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

UsageDetailsListByMetricUsage-Legacy

Permintaan sampel

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01&metric=usage

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "AccountName",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Customer Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-04-30T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-04-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Customer Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.ClassicStorage",
        "cost": 1.968949998E-06,
        "costCenter": "BAS",
        "date": "2019-04-09T00:00:00.0000000Z",
        "effectivePrice": 0.054693055510767,
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product1",
        "quantity": 3.6E-05,
        "resourceGroup": "Resource-Group-westus",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource-Group-westus/providers/Microsoft.ClassicStorage/storageAccounts/ResourceName1",
        "resourceLocation": "uswest",
        "resourceName": "ResourceName1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "SubscriptionName 1",
        "unitPrice": 5.47
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

UsageDetailsListFilterByTag-Legacy

Permintaan sampel

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01&$filter=tags eq 'dev:tools'

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 1",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000342194841184,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.010534556373432,
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product Name 1",
        "quantity": 0.8234,
        "resourceGroup": "Resource Group 1",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "unitPrice": 3.74
      },
      "tags": {
        "dev": "tools"
      }
    }
  ]
}

UsageDetailsListForBillingPeriod-Legacy

Permintaan sampel

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Consumption/usageDetails?api-version=2026-06-01

Respon sampel

{
  "value": [
    {
      "name": "usageDetails_Id1",
      "type": "Microsoft.Consumption/usageDetails",
      "id": "/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.Billing/billingPeriods/201903/providers/Microsoft.Consumption/usageDetails/usageDetails_Id1",
      "kind": "legacy",
      "properties": {
        "accountName": "Account Name 1",
        "benefitId": "00000000-0000-0000-0000-000000000000",
        "benefitName": "Reservation_purchase_03-09-2018_10-59",
        "billingAccountId": "xxxxxxxx",
        "billingAccountName": "Account Name 1",
        "billingCurrency": "CAD",
        "billingPeriodEndDate": "2019-03-31T00:00:00.0000000Z",
        "billingPeriodStartDate": "2019-03-01T00:00:00.0000000Z",
        "billingProfileId": "xxxxxxxx",
        "billingProfileName": "Account Name 1",
        "chargeType": "Usage",
        "consumedService": "Microsoft.Storage",
        "cost": 0.000342194841184,
        "costCenter": "DEV",
        "date": "2019-03-30T00:00:00.0000000Z",
        "effectivePrice": 0.010534556373432,
        "invoiceSection": "Invoice Section 1",
        "isAzureCreditEligible": false,
        "meterDetails": null,
        "meterId": "00000000-0000-0000-0000-000000000000",
        "offerId": "Offer Id 1",
        "partNumber": "Part Number 1",
        "product": "Product Name 1",
        "quantity": 0.8234,
        "resourceGroup": "Resource Group 1",
        "resourceId": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/Resource Group 1/providers/Microsoft.Storage/storageAccounts/Resource Name 1",
        "resourceLocation": "USEast",
        "resourceName": "Resource Name 1",
        "subscriptionId": "00000000-0000-0000-0000-000000000000",
        "subscriptionName": "Subscription Name 1",
        "unitPrice": 3.74
      },
      "tags": {
        "dev": "tools",
        "env": "newcrp"
      }
    }
  ]
}

Definisi

Nama Deskripsi
createdByType

Jenis identitas yang membuat sumber daya tersebut.

ErrorAdditionalInfo

Informasi tambahan tentang kesalahan pengelolaan sumber daya.

ErrorDetail

Detail kesalahan.

ErrorResponse

Tanggapan kesalahan

LegacyUsageDetail

Detail penggunaan warisan.

MeterDetailsResponse

Properti detail meteran.

Metrictype
ModernUsageDetail

Detail penggunaan modern.

PricingModelType

Pengidentifikasi yang menunjukkan cara penetapan harga meteran.

systemData

Metadata yang berkaitan dengan pembuatan dan modifikasi terakhir sumber daya.

UsageDetailsKind

Menentukan jenis detail penggunaan.

UsageDetailsListResult

Hasil daftar detail penggunaan. Ini berisi daftar detail penggunaan yang tersedia dalam urutan kronologis terbalik berdasarkan periode penagihan.

createdByType

Jenis identitas yang membuat sumber daya tersebut.

Nilai Deskripsi
User
Application
ManagedIdentity
Key

ErrorAdditionalInfo

Informasi tambahan tentang kesalahan pengelolaan sumber daya.

Nama Jenis Deskripsi
info

object

Info tambahan.

type

string

Jenis informasi tambahan.

ErrorDetail

Detail kesalahan.

Nama Jenis Deskripsi
additionalInfo

ErrorAdditionalInfo[]

Informasi tambahan tentang kesalahan.

code

string

Kode kesalahan.

details

ErrorDetail[]

Rincian kesalahan.

message

string

Pesan kesalahan.

target

string

Sasaran kesalahan.

ErrorResponse

Tanggapan kesalahan

Nama Jenis Deskripsi
error

ErrorDetail

Objek kesalahan.

LegacyUsageDetail

Detail penggunaan warisan.

Nama Jenis Deskripsi
etag

string

Etag untuk sumber daya.

id

string

ID sumber daya lengkap untuk sumber daya tersebut. Contoh - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

kind string:

legacy

Menentukan jenis detail penggunaan.

name

string

Nama sumber daya.

properties.accountName

string

Nama Akun.

properties.accountOwnerId

string

Id Pemilik Akun.

properties.additionalInfo

string

Detail tambahan dari item penggunaan ini. Secara default ini tidak diisi, kecuali ditentukan dalam $expand. Gunakan bidang ini untuk mendapatkan detail spesifik item baris penggunaan seperti Ukuran VM aktual (ServiceType) atau rasio di mana diskon reservasi diterapkan.

properties.benefitId

string

Pengidentifikasi unik untuk manfaat yang berlaku.

properties.benefitName

string

Nama manfaat yang berlaku.

properties.billingAccountId

string

Pengidentifikasi Akun Penagihan.

properties.billingAccountName

string

Nama Akun Penagihan.

properties.billingCurrency

string

Mata Uang Penagihan.

properties.billingPeriodEndDate

string (date-time)

Tanggal akhir periode penagihan.

properties.billingPeriodStartDate

string (date-time)

Tanggal mulai periode penagihan.

properties.billingProfileId

string

Pengidentifikasi Profil Penagihan.

properties.billingProfileName

string

Nama Profil Penagihan.

properties.chargeType

string

Menunjukkan biaya mewakili kredit, penggunaan, pembelian Marketplace, biaya reservasi, atau pengembalian dana.

properties.consumedService

string

Nama layanan yang digunakan. Nama penyedia sumber daya azure yang memancarkan penggunaan atau dibeli. Nilai ini tidak disediakan untuk penggunaan marketplace.

properties.cost

number (decimal)

Jumlah biaya sebelum pajak.

properties.costCenter

string

Pusat biaya departemen ini jika merupakan departemen dan pusat biaya disediakan.

properties.date

string (date-time)

Tanggal untuk catatan penggunaan.

properties.effectivePrice

number (decimal)

Harga Efektif yang dikenakan untuk penggunaan.

properties.frequency

string

Menunjukkan seberapa sering biaya ini akan terjadi. OneTime untuk pembelian yang hanya terjadi sekali, Bulanan untuk biaya yang berulang setiap bulan, dan UsageBased untuk biaya berdasarkan berapa banyak layanan yang digunakan.

properties.invoiceSection

string

Nama Bagian Faktur.

properties.isAzureCreditEligible

boolean

Apakah Kredit Azure Memenuhi Syarat.

properties.meterDetails

MeterDetailsResponse

Detail tentang meteran. Secara default ini tidak diisi, kecuali ditentukan dalam $expand.

properties.meterId

string (uuid)

Id meter (GUID). Tidak tersedia untuk marketplace. Untuk instans yang dipesan, ini mewakili pengukur utama tempat reservasi dibeli. Untuk Ukuran VM aktual tempat reservasi dibeli, lihat productOrderName.

properties.offerId

string

Id Penawaran. Misalnya: MS-AZR-0017P, MS-AZR-0148P.

properties.partNumber

string

Nomor Bagian layanan yang digunakan. Dapat digunakan untuk bergabung dengan lembar harga. Tidak tersedia untuk marketplace.

properties.payGPrice

number (decimal)

Harga eceran untuk sumber daya.

properties.planName

string

Nama Rencana.

properties.pricingModel

PricingModelType

Pengidentifikasi yang menunjukkan cara penetapan harga meteran.

properties.product

string

Nama produk untuk layanan atau pembelian yang digunakan. Tidak tersedia untuk Marketplace.

properties.productOrderId

string

Id Pesanan Produk. Untuk reservasi, ini adalah ID Pesanan Reservasi.

properties.productOrderName

string

Nama Pesanan Produk. Untuk reservasi, ini adalah SKU yang dibeli.

properties.publisherName

string

Nama Penerbit.

properties.publisherType

string

Jenis Penerbit.

properties.quantity

number (decimal)

Kuantitas penggunaan.

properties.reservationId

string

Id sumber daya ARM dari reservasi. Hanya berlaku untuk rekaman yang relevan dengan reservasi.

properties.reservationName

string

Nama tampilan reservasi yang disediakan pengguna. Nama terakhir yang diketahui untuk hari tertentu diisi dalam data harian. Hanya berlaku untuk rekaman yang relevan dengan reservasi.

properties.resourceGroup

string

Nama Grup Sumber Daya.

properties.resourceId

string

Pengidentifikasi unik sumber daya detail penggunaan Azure Resource Manager.

properties.resourceLocation

string

Lokasi Sumber Daya.

properties.resourceName

string

Nama Sumber Daya.

properties.serviceInfo1

string

Metadata khusus layanan.

properties.serviceInfo2

string

Kolom lama dengan metadata khusus layanan yang bersifat opsional.

properties.subscriptionId

string

Panduan langganan.

properties.subscriptionName

string

Nama langganan.

properties.term

string

Jangka waktu (dalam bulan). 1 bulan untuk pembelian berulang bulanan. 12 bulan untuk reservasi 1 tahun. 36 bulan untuk reservasi 3 tahun.

properties.unitPrice

number (decimal)

Harga Satuan adalah harga yang berlaku untuk Anda. (EA Anda atau harga kontrak lainnya).

systemData

systemData

Metadata Azure Resource Manager yang berisi informasi createBy dan modifiedBy.

tags

object

Tag sumber daya.

type

string

Jenis sumber daya. Misalnya, "Microsoft.Compute/virtualMachines" atau "Microsoft.Storage/storageAccounts"

MeterDetailsResponse

Properti detail meteran.

Nama Jenis Deskripsi
meterCategory

string

Kategori meteran, misalnya, 'Layanan cloud', 'Jaringan', dll..

meterName

string

Nama meteran, dalam kategori meteran yang diberikan

meterSubCategory

string

Subkataan meteran, misalnya, 'A6 Cloud services', 'ExpressRoute (IXP)', dll..

serviceFamily

string

Keluarga layanan.

unitOfMeasure

string

Unit tempat konsumsi meteran dibebankan, misalnya, 'Jam', 'GB', dll.

Metrictype

Nilai Deskripsi
actualcost

Data biaya aktual.

amortizedcost

Data biaya yang diamortisasi.

usage

Data penggunaan.

ModernUsageDetail

Detail penggunaan modern.

Nama Jenis Deskripsi
etag

string

Etag untuk sumber daya.

id

string

ID sumber daya lengkap untuk sumber daya tersebut. Contoh - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

kind string:

modern

Menentukan jenis detail penggunaan.

name

string

Nama sumber daya.

properties.additionalInfo

string

Detail tambahan dari item penggunaan ini. Gunakan bidang ini untuk mendapatkan detail spesifik item baris penggunaan seperti Ukuran VM aktual (ServiceType) atau rasio di mana diskon reservasi diterapkan.

properties.benefitId

string

Pengidentifikasi unik untuk manfaat yang berlaku.

properties.benefitName

string

Nama manfaat yang berlaku.

properties.billingAccountId

string

Pengidentifikasi Akun Penagihan.

properties.billingAccountName

string

Nama Akun Penagihan.

properties.billingCurrencyCode

string

Mata uang yang menentukan biaya yang ditagih.

properties.billingPeriodEndDate

string (date-time)

Tanggal Akhir Periode Penagihan seperti dalam faktur.

properties.billingPeriodStartDate

string (date-time)

Tanggal Mulai Periode Penagihan seperti dalam faktur.

properties.billingProfileId

string

Pengidentifikasi untuk profil penagihan yang mengelompokkan biaya di seluruh faktur dalam mata uang penagihan tunggal di seluruh pelanggan yang telah melakukan onboarding perjanjian pelanggan Microsoft dan pelanggan di CSP yang telah melakukan pembelian hak seperti SaaS, Marketplace, RI, dll.

properties.billingProfileName

string

Nama profil penagihan yang mengelompokkan biaya di seluruh faktur dalam mata uang penagihan tunggal di seluruh pelanggan yang telah melakukan onboarding perjanjian pelanggan Microsoft dan pelanggan di CSP yang telah melakukan pembelian hak seperti SaaS, Marketplace, RI, dll.

properties.chargeType

string

Menunjukkan biaya mewakili kredit, penggunaan, pembelian Marketplace, biaya reservasi, atau pengembalian dana.

properties.consumedService

string

Nama layanan yang digunakan. Nama penyedia sumber daya azure yang memancarkan penggunaan atau dibeli. Nilai ini tidak disediakan untuk penggunaan marketplace.

properties.costAllocationRuleName

string

Nama untuk Aturan Alokasi Biaya.

properties.costCenter

string

Pusat biaya departemen ini jika merupakan departemen dan pusat biaya disediakan.

properties.costInBillingCurrency

number (decimal)

ExtendedCost atau biaya campuran sebelum pajak dalam mata uang yang ditagih.

properties.costInPricingCurrency

number (decimal)

ExtendedCost atau biaya campuran sebelum pajak dalam mata uang harga agar sesuai dengan harga.

properties.costInUSD

number (decimal)

Estimasi extendedCost atau biaya campuran sebelum pajak dalam USD.

properties.customerName

string

Nama penyewa AAD pelanggan.

properties.customerTenantId

string

Pengidentifikasi penyewa AAD pelanggan.

properties.date

string (date-time)

Tanggal untuk catatan penggunaan.

properties.effectivePrice

number (decimal)

Harga Efektif yang dikenakan untuk penggunaan.

properties.exchangeRate

string

Nilai tukar yang digunakan dalam konversi dari mata uang harga ke mata uang penagihan.

properties.exchangeRateDate

string (date-time)

Tanggal di mana nilai tukar yang digunakan dalam konversi dari mata uang harga ke mata uang penagihan.

properties.exchangeRatePricingToBilling

number (decimal)

Nilai tukar dari mata uang harga ke mata uang penagihan.

properties.frequency

string

Menunjukkan seberapa sering biaya ini akan terjadi. OneTime untuk pembelian yang hanya terjadi sekali, Bulanan untuk biaya yang berulang setiap bulan, dan UsageBased untuk biaya berdasarkan berapa banyak layanan yang digunakan.

properties.instanceName

string

Nama Instans.

properties.invoiceId

string

ID Faktur seperti pada faktur tempat transaksi tertentu muncul.

properties.invoiceSectionId

string

Identifikasi proyek yang ditagih pada faktur. Tidak berlaku untuk Perjanjian Pelanggan Microsoft yang di-onboarding oleh mitra.

properties.invoiceSectionName

string

Nama proyek yang ditagih dalam faktur. Tidak berlaku untuk Perjanjian Pelanggan Microsoft yang di-onboarding oleh mitra.

properties.isAzureCreditEligible

boolean

Menentukan apakah biaya memenuhi syarat untuk dibayar menggunakan kredit Azure.

properties.marketPrice

number (decimal)

Harga Pasar yang dibebankan untuk penggunaan.

properties.meterCategory

string

Mengidentifikasi layanan tingkat atas untuk penggunaan.

properties.meterId

string (uuid)

Id meter (GUID). Tidak tersedia untuk marketplace. Untuk instans yang dipesan, ini mewakili pengukur utama tempat reservasi dibeli. Untuk Ukuran VM aktual tempat reservasi dibeli, lihat productOrderName.

properties.meterName

string

Mengidentifikasi nama meteran tempat konsumsi diukur.

properties.meterRegion

string

Mengidentifikasi lokasi pusat data untuk layanan tertentu yang diberi harga berdasarkan lokasi pusat data.

properties.meterSubCategory

string

Menentukan jenis atau subkategori layanan Azure yang dapat memengaruhi tarif.

properties.partnerEarnedCreditApplied

string

Bendera untuk menunjukkan apakah kredit yang diperoleh mitra telah diterapkan atau tidak.

properties.partnerEarnedCreditRate

number (decimal)

Tingkat diskon diterapkan jika ada kredit yang diperoleh mitra (PEC) berdasarkan akses tautan admin mitra.

properties.partnerName

string

Nama penyewa AAD mitra.

properties.partnerTenantId

string

Pengidentifikasi untuk penyewa AAD mitra.

properties.payGPrice

number (decimal)

Harga eceran untuk sumber daya.

properties.paygCostInBillingCurrency

number (decimal)

Jumlah biaya PayG sebelum pajak dalam mata uang penagihan.

properties.paygCostInUSD

number (decimal)

Jumlah biaya PayG sebelum pajak dalam mata uang Dolar AS.

properties.previousInvoiceId

string

Referensi ke faktur asli ada pengembalian dana (biaya negatif). Ini hanya diisi ketika ada pengembalian dana.

properties.pricingCurrencyCode

string

Mata Uang Penagihan Harga.

properties.pricingModel

PricingModelType

Pengidentifikasi yang menunjukkan bagaimana meteran dihargai

properties.product

string

Nama produk yang telah dikenakan biaya berdasarkan konsumsi atau pembelian seperti yang tercantum dalam faktur. Tidak tersedia untuk Marketplace.

properties.productIdentifier

string

Pengidentifikasi untuk produk yang telah dikenakan biaya berdasarkan konsumsi atau pembelian . Ini adalah kunci yang digabungkan dari productId dan SkuId di pusat mitra.

properties.productOrderId

string

Pengidentifikasi untuk aset atau nama paket Azure tempat langganan berada. Misalnya: Paket Azure. Untuk reservasi, ini adalah ID Pesanan Reservasi.

properties.productOrderName

string

Nama Pesanan Produk. Untuk reservasi, ini adalah SKU yang dibeli.

properties.provider

string

Pengidentifikasi untuk Kategori Produk atau Lini Bisnis, Ex - Azure, Microsoft 365, AWS e.t.c

properties.publisherId

string

id Publisher.

properties.publisherName

string

Nama penerbit layanan termasuk penerbit Microsoft atau Pihak Ketiga.

properties.publisherType

string

Jenis penerbit yang mengidentifikasi apakah penerbit adalah pihak pertama, penjual pihak ketiga, atau agensi pihak ketiga.

properties.quantity

number (decimal)

Ukur kuantitas yang dibeli atau dikonsumsi. Jumlah meteran yang digunakan selama periode penagihan.

properties.resellerMpnId

string

MPNId untuk penjual yang terkait dengan langganan.

properties.resellerName

string

Nama Penjual.

properties.reservationId

string

Id sumber daya ARM dari reservasi. Hanya berlaku untuk rekaman yang relevan dengan reservasi.

properties.reservationName

string

Nama tampilan reservasi yang disediakan pengguna. Nama terakhir yang diketahui untuk hari tertentu diisi dalam data harian. Hanya berlaku untuk rekaman yang relevan dengan reservasi.

properties.resourceGroup

string

Nama grup sumber daya Azure yang digunakan untuk manajemen siklus hidup sumber daya yang kohesif.

properties.resourceLocation

string

Nama lokasi sumber daya.

properties.resourceLocationNormalized

string

Lokasi Sumber Daya Dinormalisasi.

properties.serviceFamily

string

Mencantumkan keluarga layanan untuk produk yang dibeli atau ditagih (Contoh: Penyimpanan ; Komputasi).

properties.serviceInfo1

string

Metadata khusus layanan.

properties.serviceInfo2

string

Kolom lama dengan metadata khusus layanan yang bersifat opsional.

properties.servicePeriodEndDate

string (date-time)

Tanggal akhir untuk periode ketika penggunaan layanan dinilai untuk biaya. Harga untuk layanan Azure ditentukan berdasarkan periode peringkat.

properties.servicePeriodStartDate

string (date-time)

Tanggal mulai untuk periode penilaian ketika penggunaan layanan dinilai dan dikenakan biaya. Harga untuk layanan Azure ditentukan untuk periode penilaian.

properties.subscriptionGuid

string

Pengidentifikasi unik yang dihasilkan Microsoft untuk Langganan Azure.

properties.subscriptionName

string

Nama Langganan Azure.

properties.term

string

Jangka waktu (dalam bulan). Menampilkan jangka waktu validitas penawaran. Contohnya. Dalam kasus instans yang dipesan, instans tersebut menampilkan 12 bulan untuk jangka waktu tahunan instans yang dipesan. Untuk pembelian satu kali atau pembelian berulang, persyaratan ditampilkan 1 bulan; Ini tidak berlaku untuk konsumsi Azure.

properties.unitOfMeasure

string

Mengidentifikasi Unit tempat layanan ditagih. Misalnya, GB, jam, 10.000 dtk.

properties.unitPrice

number (decimal)

Harga Satuan adalah harga yang berlaku untuk Anda. (EA Anda atau harga kontrak lainnya).

systemData

systemData

Metadata Azure Resource Manager yang berisi informasi createBy dan modifiedBy.

tags

object

Tag sumber daya.

type

string

Jenis sumber daya. Misalnya, "Microsoft.Compute/virtualMachines" atau "Microsoft.Storage/storageAccounts"

PricingModelType

Pengidentifikasi yang menunjukkan cara penetapan harga meteran.

Nilai Deskripsi
On Demand
Reservation
Spot

systemData

Metadata yang berkaitan dengan pembuatan dan modifikasi terakhir sumber daya.

Nama Jenis Deskripsi
createdAt

string (date-time)

Tanda waktu pembuatan sumber daya (UTC).

createdBy

string

Identitas yang membuat sumber daya tersebut.

createdByType

createdByType

Jenis identitas yang membuat sumber daya tersebut.

lastModifiedAt

string (date-time)

Tanda waktu modifikasi terakhir sumber daya (UTC)

lastModifiedBy

string

Identitas yang terakhir kali mengubah sumber daya.

lastModifiedByType

createdByType

Jenis identitas yang terakhir memodifikasi sumber daya.

UsageDetailsKind

Menentukan jenis detail penggunaan.

Nilai Deskripsi
legacy
modern

UsageDetailsListResult

Hasil daftar detail penggunaan. Ini berisi daftar detail penggunaan yang tersedia dalam urutan kronologis terbalik berdasarkan periode penagihan.

Nama Jenis Deskripsi
nextLink

string

Tautan (url) ke halaman hasil berikutnya.

value UsageDetail[]:

Daftar detail penggunaan.