Usage Details - List

A megadott hatókör használati adatait sorolja fel. A használati adatok ezen AZ API-on keresztül csak 2014. május 1-ére vagy újabbra érhetők el.

Megjegyzés:A Microsoft a jövőben egy bizonyos ponton visszavonul a Consumption Usage Details API-tól. Nem javasoljuk, hogy új függőséget válasszon az API-tól. Használja inkább a Cost Details API-t. Amint meghatároztuk a kivonás dátumát, értesítjük az ügyfeleket. További információ: Költségadatok létrehozása – Művelet létrehozása

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

URI-paraméterek

Name In Kötelező Típus Description
scope
path True

string

Az erőforrás teljes Azure Resource Manager-azonosítója.

api-version
query True

string

minLength: 1

A művelethez használandó API-verzió.

$expand
query

string

Használható a tulajdonságok/kiegészítőInfo vagy tulajdonságok/meterDetails kibontására a használati adatok listájában. Alapértelmezés szerint ezek a mezők nem szerepelnek a használati adatok felsorolásakor.

$filter
query

string

Használható a usageDetails szűrésére tulajdonságok/resourceGroup, properties/resourceName, properties/resourceId, properties/chargeType, properties/reservationId, properties/publisherType vagy tags szerint. A szűrő támogatja az "eq", az "lt", a "gt", a "le", a "ge" és az "and" elemet. Jelenleg nem támogatja a "ne", "vagy" vagy "nem" elemet. A címkeszűrő egy kulcsértékpár sztringje, amelyben a kulcs és az érték kettősponttal (:)) van elválasztva. A PublisherType Filter két értéket fogad el az Azure-ban és a Marketplace-en, és jelenleg a közvetlen webes ajánlattípus esetében támogatott

$skiptoken
query

string

A Skiptoken csak akkor használatos, ha egy korábbi művelet részleges eredményt adott vissza. Ha egy előző válasz tartalmaz nextLink elemet, a nextLink elem értéke tartalmaz egy skiptoken paramétert, amely megadja a kezdőpontot, amelyet a későbbi hívásokhoz használhat.

$top
query

integer (int32)

minimum: 1
maximum: 1000

Az eredmények számát a legutóbbi N usageDetails értékre korlátozhatja.

metric
query

Metrictype

Lehetővé teszi különböző típusú költség-/használati rekordok kiválasztását.

Válaszok

Name Típus Description
200 OK

UsageDetailsListResult

A kérés sikeres volt.

204 No Content

A művelet sikeresen befejeződött.

Other Status Codes

ErrorResponse

Váratlan hibaválasz.

Biztonság

azure_auth

Azure Active Directory Oauth2-folyamat.

Típus: oauth2
Folyamat: implicit
Engedélyezési URL: https://login.microsoftonline.com/common/oauth2/authorize

Hatókörök

Name Description
user_impersonation a felhasználói fiók megszemélyesítése

Példák

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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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

Mintakérelem

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

Mintaválasz

{
  "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"
      }
    }
  ]
}

Definíciók

Name Description
createdByType

Az erőforrást létrehozó identitás típusa.

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

ErrorDetail

A hiba részletei.

ErrorResponse

Hibaválasz

LegacyUsageDetail

Régi használati adatok.

MeterDetailsResponse

A mérő részleteinek tulajdonságai.

Metrictype
ModernUsageDetail

Modern használati adatok.

PricingModelType

A fogyasztásmérő díjszabását jelző azonosító.

systemData

Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.

UsageDetailsKind

Megadja a használati adatok típusát.

UsageDetailsListResult

A használati adatok felsorolásának eredménye. A rendelkezésre álló használati adatok listáját tartalmazza fordított időrendi sorrendben a számlázási időszak szerint.

createdByType

Az erőforrást létrehozó identitás típusa.

Érték Description
User
Application
ManagedIdentity
Key

ErrorAdditionalInfo

Az erőforrás-kezelési hiba további információi.

Name Típus Description
info

object

A további információk.

type

string

A további információtípus.

ErrorDetail

A hiba részletei.

Name Típus Description
additionalInfo

ErrorAdditionalInfo[]

A hiba további információi.

code

string

A hibakód.

details

ErrorDetail[]

A hiba részletei.

message

string

A hibaüzenet.

target

string

A hibacél.

ErrorResponse

Hibaválasz

Name Típus Description
error

ErrorDetail

A hibaobjektum.

LegacyUsageDetail

Régi használati adatok.

Name Típus Description
etag

string

Az erőforrás etagje.

id

string

Az erőforrás teljes erőforrás-azonosítója. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

kind string:

legacy

Megadja a használati adatok típusát.

name

string

Az erőforrás neve

properties.accountName

string

Fiók neve.

properties.accountOwnerId

string

Fióktulajdonos azonosítója.

properties.additionalInfo

string

A használati elem további részletei. Alapértelmezés szerint ez nem lesz kitöltve, kivéve, ha az $expand van megadva. Ezzel a mezővel lekérheti a használati sor elemeinek részleteit, például a virtuális gép tényleges méretét (ServiceType) vagy azt az arányt, amelyben a foglalási kedvezményt alkalmazták.

properties.benefitId

string

Az alkalmazandó juttatás egyedi azonosítója.

properties.benefitName

string

Az alkalmazandó juttatás neve.

properties.billingAccountId

string

Számlázási fiók azonosítója.

properties.billingAccountName

string

Számlázási fiók neve.

properties.billingCurrency

string

Számlázási pénznem.

properties.billingPeriodEndDate

string (date-time)

A számlázási időszak záró dátuma.

properties.billingPeriodStartDate

string (date-time)

A számlázási időszak kezdő dátuma.

properties.billingProfileId

string

Számlázási profil azonosítója.

properties.billingProfileName

string

Számlázási profil neve.

properties.chargeType

string

A díj krediteket, használatot, Marketplace-vásárlást, foglalási díjat vagy visszatérítést jelöl.

properties.consumedService

string

Felhasznált szolgáltatásnév. A használatot kibocsátó vagy megvásárolt Azure-erőforrás-szolgáltató neve. Ez az érték nincs megadva a marketplace-használathoz.

properties.cost

number (decimal)

Az adó előtti költség összege.

properties.costCenter

string

A részleg költségközpontja, ha részleg és költséghely van megadva.

properties.date

string (date-time)

A használati rekord dátuma.

properties.effectivePrice

number (decimal)

A használatért felszámított érvényes ár.

properties.frequency

string

Azt jelzi, hogy milyen gyakran fordul elő ez a díj. OneTime az olyan vásárlásokhoz, amelyek csak egyszer történnek, havonta ismétlődő díjakért havonta, és a használatalapú használat alapján a UsageBased díjakért.

properties.invoiceSection

string

Számlaszakasz neve.

properties.isAzureCreditEligible

boolean

Jogosult az Azure-kreditre.

properties.meterDetails

MeterDetailsResponse

A mérő adatai. Alapértelmezés szerint ez nem lesz kitöltve, kivéve, ha az $expand van megadva.

properties.meterId

string (uuid)

A fogyasztásmérő azonosítója (GUID). A piactéren nem érhető el. Fenntartott példány esetén ez azt az elsődleges mérőt jelöli, amelyhez a foglalást megvásárolták. A foglalás tényleges virtuálisgép-méretének megtekintéséhez lásd: productOrderName.

properties.offerId

string

Ajánlatazonosító. Például: MS-AZR-0017P, MS-AZR-0148P.

properties.partNumber

string

A használt szolgáltatás részszáma. Az árlistához való csatlakozáshoz használható. A piactéren nem érhető el.

properties.payGPrice

number (decimal)

Az erőforrás kiskereskedelmi ára.

properties.planName

string

Terv neve.

properties.pricingModel

PricingModelType

A fogyasztásmérő díjszabását jelző azonosító.

properties.product

string

A felhasznált szolgáltatás vagy vásárlás termékneve. A Marketplace-en nem érhető el.

properties.productOrderId

string

Termékrendelés azonosítója. Foglalások esetén ez a foglalási rendelés azonosítója.

properties.productOrderName

string

Termékrendelés neve. Foglalások esetén ez a megvásárolt termékváltozat.

properties.publisherName

string

Közzétevő neve.

properties.publisherType

string

Közzétevő típusa.

properties.quantity

number (decimal)

A használati mennyiség.

properties.reservationId

string

A foglalás ARM-erőforrás-azonosítója. Csak a foglalásokra vonatkozó rekordokra vonatkozik.

properties.reservationName

string

A felhasználó által megadott megjelenítendő név a foglaláshoz. Egy adott nap vezetéknevét a napi adatok töltik ki. Csak a foglalásokra vonatkozó rekordokra vonatkozik.

properties.resourceGroup

string

Erőforráscsoport neve.

properties.resourceId

string

Az Azure Resource Manager használati adatainak egyedi azonosítója.

properties.resourceLocation

string

Erőforrás helye.

properties.resourceName

string

Erőforrás neve.

properties.serviceInfo1

string

Szolgáltatásspecifikus metaadatok.

properties.serviceInfo2

string

Örökölt mező választható szolgáltatásspecifikus metaadatokkal.

properties.subscriptionId

string

Előfizetés guid azonosítója.

properties.subscriptionName

string

Előfizetés neve.

properties.term

string

Kifejezés (hónapokban). Havi rendszeres vásárlás esetén 1 hónap. 12 hónap egy 1 éves foglalás esetén. 36 hónap 3 éves foglalás esetén.

properties.unitPrice

number (decimal)

Az Egységár az Önre vonatkozó ár. (ea vagy egyéb szerződéses ár).

systemData

systemData

A createdBy és a modifiedBy adatokat tartalmazó Azure Resource Manager-metaadatok.

tags

object

Erőforráscímkék.

type

string

Az erőforrás típusa. Pl. "Microsoft.Compute/virtualMachines" vagy "Microsoft.Storage/storageAccounts"

MeterDetailsResponse

A mérő részleteinek tulajdonságai.

Name Típus Description
meterCategory

string

A fogyasztásmérő kategóriája, például "Felhőszolgáltatások", "Hálózatkezelés" stb.

meterName

string

A mérő neve az adott mérőkategórián belül

meterSubCategory

string

A mérő alkategóriája, például "A6 Cloud Services", "ExpressRoute (IXP)" stb.

serviceFamily

string

A szolgáltatáscsalád.

unitOfMeasure

string

Az az egység, amelyben a fogyasztásmérő-fogyasztást számítják fel, például "Óra", "GB", stb.

Metrictype

Érték Description
actualcost

Tényleges költségadatok.

amortizedcost

Amortizált költségadatok.

usage

Használati adatok.

ModernUsageDetail

Modern használati adatok.

Name Típus Description
etag

string

Az erőforrás etagje.

id

string

Az erőforrás teljes erőforrás-azonosítója. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

kind string:

modern

Megadja a használati adatok típusát.

name

string

Az erőforrás neve

properties.additionalInfo

string

A használati elem további részletei. Ezzel a mezővel lekérheti a használati sor elemeinek részleteit, például a virtuális gép tényleges méretét (ServiceType) vagy azt az arányt, amelyben a foglalási kedvezményt alkalmazták.

properties.benefitId

string

Az alkalmazandó juttatás egyedi azonosítója.

properties.benefitName

string

Az alkalmazandó juttatás neve.

properties.billingAccountId

string

Számlázási fiók azonosítója.

properties.billingAccountName

string

A számlázási fiók neve.

properties.billingCurrencyCode

string

A számlázott költséget meghatározó pénznem.

properties.billingPeriodEndDate

string (date-time)

Számlázási időszak záró dátuma a számlán szereplő módon.

properties.billingPeriodStartDate

string (date-time)

Számlázási időszak kezdő dátuma a számlán szereplő módon.

properties.billingProfileId

string

Annak a számlázási profilnak az azonosítója, amely a költségeket egy egyedi számlázási pénznemben csoportosítja a Microsoft-ügyfélszerződést bejegyző ügyfelek és azon CSP-ügyfelek között, akik jogosultsági vásárlásokat hajtottak végre( például SaaS, Marketplace, RI stb.).

properties.billingProfileName

string

Annak a számlázási profilnak a neve, amely a költségeket egy egyedi számlázási pénznemben csoportosítja a Microsoft-ügyfélszerződést bejegyző ügyfelek és azon CSP-ügyfelek között, akik jogosultsági vásárlásokat hajtottak végre( például SaaS, Marketplace, RI stb.).

properties.chargeType

string

A díj krediteket, használatot, Marketplace-vásárlást, foglalási díjat vagy visszatérítést jelöl.

properties.consumedService

string

Felhasznált szolgáltatásnév. A használatot kibocsátó vagy megvásárolt Azure-erőforrás-szolgáltató neve. Ez az érték nincs megadva a marketplace-használathoz.

properties.costAllocationRuleName

string

Költségfelosztási szabály neve.

properties.costCenter

string

A részleg költségközpontja, ha részleg és költséghely van megadva.

properties.costInBillingCurrency

number (decimal)

ExtendedCost vagy blended cost before tax in billed currency.

properties.costInPricingCurrency

number (decimal)

ExtendedCost vagy blended cost before tax in pricing currency, hogy korreláljon az árakkal.

properties.costInUSD

number (decimal)

Becsült extendedCost vagy kevert költség az adó előtt USD-ben.

properties.customerName

string

Az ügyfél AAD-bérlőjének neve.

properties.customerTenantId

string

Az ügyfél AAD-bérlőjének azonosítója.

properties.date

string (date-time)

A használati rekord dátuma.

properties.effectivePrice

number (decimal)

A használatért felszámított érvényes ár.

properties.exchangeRate

string

A díjszabási pénznemről a számlázási pénznemre való átváltáskor használt árfolyam.

properties.exchangeRateDate

string (date-time)

Az a dátum, amikor az árfolyam a díjszabási pénznemről a számlázási pénznemre való átváltáskor használatos.

properties.exchangeRatePricingToBilling

number (decimal)

Árfolyam a díjszabás pénznemétől a számlázási pénznemig.

properties.frequency

string

Azt jelzi, hogy milyen gyakran fordul elő ez a díj. OneTime az olyan vásárlásokhoz, amelyek csak egyszer történnek, havonta ismétlődő díjakért havonta, és a használatalapú használat alapján a UsageBased díjakért.

properties.instanceName

string

Példány neve.

properties.invoiceId

string

Számlaazonosító, mint azon a számlán, amelyen az adott tranzakció megjelenik.

properties.invoiceSectionId

string

A számlán számlázott projekt azonosítója. A partnerek által létrehozott Microsoft-ügyfélszerződésekre nem alkalmazható.

properties.invoiceSectionName

string

A számlán számlázott projekt neve. A partnerek által létrehozott Microsoft-ügyfélszerződésekre nem alkalmazható.

properties.isAzureCreditEligible

boolean

Meghatározza, hogy a költség jogosult-e az Azure-kreditek használatára.

properties.marketPrice

number (decimal)

A használatért felszámított piaci ár.

properties.meterCategory

string

A használat legfelső szintű szolgáltatását azonosítja.

properties.meterId

string (uuid)

A fogyasztásmérő azonosítója (GUID). A piactéren nem érhető el. Fenntartott példány esetén ez azt az elsődleges mérőt jelöli, amelyhez a foglalást megvásárolták. A foglalás tényleges virtuálisgép-méretének megtekintéséhez lásd: productOrderName.

properties.meterName

string

Annak a mérőnek a nevét határozza meg, amelyhez a fogyasztást mérik.

properties.meterRegion

string

Az igénybe vett vagy üzemeltető adatközpont elhelyezkedése, ha a szolgáltatás díjszabása az adatközpontok elhelyezkedésétől is függ.

properties.meterSubCategory

string

Meghatározza az Azure-szolgáltatás típusát vagy alkategóriáját, amely befolyásolhatja a díjszabást.

properties.partnerEarnedCreditApplied

string

Jelző, amely jelzi, hogy a partneri jóváírás alkalmazva van-e vagy sem.

properties.partnerEarnedCreditRate

number (decimal)

A kedvezmény mértéke akkor érvényes, ha a partner rendszergazdai kapcsolati hozzáférése alapján van partneri jóváírás (PEC).

properties.partnerName

string

A partner AAD-bérlőjének neve.

properties.partnerTenantId

string

A partner AAD-bérlőjének azonosítója.

properties.payGPrice

number (decimal)

Az erőforrás kiskereskedelmi ára.

properties.paygCostInBillingCurrency

number (decimal)

Az adó előtti payG-költség összege számlázási pénznemben.

properties.paygCostInUSD

number (decimal)

Az adó előtti PayG-költség összege amerikai dollár pénznemben.

properties.previousInvoiceId

string

Az eredeti számlára való hivatkozás visszatérítést (negatív költséget) jelent. Ezt csak visszatérítés esetén tölti ki a rendszer.

properties.pricingCurrencyCode

string

Díjszabás számlázási pénzneme.

properties.pricingModel

PricingModelType

A fogyasztásmérő díjszabását jelző azonosító

properties.product

string

Annak a terméknek a neve, amely használat vagy vásárlás alapján halmozott fel díjakat a számlán szereplő módon. A Marketplace-en nem érhető el.

properties.productIdentifier

string

Annak a terméknek az azonosítója, amely használat vagy vásárlás alapján halmozott fel díjakat. Ez a productId és az SkuId összefűzött kulcsa a partnerközpontban.

properties.productOrderId

string

Annak az eszköznek vagy Azure-csomagnak az azonosítója, amelyhez az előfizetés tartozik. Például: Azure-csomag. Foglalások esetén ez a foglalási rendelés azonosítója.

properties.productOrderName

string

Termékrendelés neve. Foglalások esetén ez a megvásárolt termékváltozat.

properties.provider

string

Termékkategória vagy üzletág azonosítója, például : Azure, Microsoft 365, AWS e.t.c

properties.publisherId

string

Közzétevő azonosítója.

properties.publisherName

string

A szolgáltatás közzétevőjének neve, beleértve a Microsoft vagy harmadik fél közzétevőit is.

properties.publisherType

string

A közzétevő típusa, amely azonosítja, hogy a közzétevő első fél, harmadik fél viszonteladója vagy harmadik fél ügynöksége-e.

properties.quantity

number (decimal)

Mérje meg a megvásárolt vagy felhasznált mennyiséget. A számlázási időszakban használt fogyasztásmérő mennyisége.

properties.resellerMpnId

string

Az előfizetéshez társított viszonteladó MPNId azonosítója.

properties.resellerName

string

Viszonteladó neve.

properties.reservationId

string

A foglalás ARM-erőforrás-azonosítója. Csak a foglalásokra vonatkozó rekordokra vonatkozik.

properties.reservationName

string

A felhasználó által megadott megjelenítendő név a foglaláshoz. Egy adott nap vezetéknevét a napi adatok töltik ki. Csak a foglalásokra vonatkozó rekordokra vonatkozik.

properties.resourceGroup

string

Az erőforrások egységes életciklus-felügyeletéhez használt Azure-erőforráscsoport neve.

properties.resourceLocation

string

Az erőforrás helyének neve.

properties.resourceLocationNormalized

string

Az erőforrás helye normalizálva.

properties.serviceFamily

string

A megvásárolt vagy felszámított termék szolgáltatáscsaládjának listázása (például: Tárolás; Számítás).

properties.serviceInfo1

string

Szolgáltatásspecifikus metaadatok.

properties.serviceInfo2

string

Örökölt mező választható szolgáltatásspecifikus metaadatokkal.

properties.servicePeriodEndDate

string (date-time)

Annak az időszaknak a záródátuma, amikor a szolgáltatáshasználat díjbevallása megtörtént. Az Azure-szolgáltatások árait a minősítési időszak alapján határozzuk meg.

properties.servicePeriodStartDate

string (date-time)

Annak a minősítési időszaknak a kezdő dátuma, amikor a szolgáltatás kihasználtságát díjakra értékelték. Az Azure-szolgáltatások árai a minősítési időszakra vannak meghatározva.

properties.subscriptionGuid

string

Egyedi Microsoft által létrehozott azonosító az Azure-előfizetéshez.

properties.subscriptionName

string

Az Azure-előfizetés neve.

properties.term

string

Kifejezés (hónapokban). Megjeleníti az ajánlat érvényességének időtartamát. Például. Fenntartott példányok esetén a fenntartott példány éves időtartama 12 hónap. Egy egyszeri vásárlás vagy ismétlődő vásárlás esetén a feltételek 1 hónapot jelenítenek meg; Ez az Azure-használat esetében nem alkalmazható.

properties.unitOfMeasure

string

Azonosítja azt az egységet, amelyben a szolgáltatás díjat számít fel. Például GB, óra, 10 000 s.

properties.unitPrice

number (decimal)

Az Egységár az Önre vonatkozó ár. (ea vagy egyéb szerződéses ár).

systemData

systemData

A createdBy és a modifiedBy adatokat tartalmazó Azure Resource Manager-metaadatok.

tags

object

Erőforráscímkék.

type

string

Az erőforrás típusa. Pl. "Microsoft.Compute/virtualMachines" vagy "Microsoft.Storage/storageAccounts"

PricingModelType

A fogyasztásmérő díjszabását jelző azonosító.

Érték Description
On Demand
Reservation
Spot

systemData

Az erőforrás létrehozásával és utolsó módosításával kapcsolatos metaadatok.

Name Típus Description
createdAt

string (date-time)

Az erőforrás-létrehozás időbélyege (UTC).

createdBy

string

Az erőforrást létrehozó identitás.

createdByType

createdByType

Az erőforrást létrehozó identitás típusa.

lastModifiedAt

string (date-time)

Az erőforrás utolsó módosításának időbélyege (UTC)

lastModifiedBy

string

Az erőforrást legutóbb módosító identitás.

lastModifiedByType

createdByType

Az erőforrást legutóbb módosító identitás típusa.

UsageDetailsKind

Megadja a használati adatok típusát.

Érték Description
legacy
modern

UsageDetailsListResult

A használati adatok felsorolásának eredménye. A rendelkezésre álló használati adatok listáját tartalmazza fordított időrendi sorrendben a számlázási időszak szerint.

Name Típus Description
nextLink

string

Az eredmények következő oldalára mutató hivatkozás (URL- cím).

value UsageDetail[]:

A használati adatok listája.