1

当我在下面调用 azure 使用 api 时,azure 返回了无效的计量 ID,例如 00000000-0000-0000-0000-000000000000

我找不到这样的参考,所以我们的计费批次每天都失败,meterid 00000000-0000-0000-0000-000000000000 的含义是什么?

  1. 发布 azure api

https://management.azure.com/subscriptions/e2850eff-22cd-4c21-8418-12703b5631aa/providers/Microsoft.Commerce/UsageAggregates?api-version=2015-06-01-preview&reportedStartTime=2017-11-11&reportedEndTime=2017- 11-12&aggregationGranularity=每日&showDetails=false

  1. 返回无效值列表(它是值的一部分)

"meterId":"00000000-0000-0000-0000-000000000000","quantity":0.001,"subscriptionId":"e2850eff-22cd-4c21-8418-12703b5631aa","usageEndTime":"2017-11-12T00:00 :00+00:00","usageStartTime":"2017-11-11T00:00:00+00:00"},"type":"Microsoft.Commerce/UsageAggregate"},{"id":"/subscriptions /e2850eff-22cd-4c21-8418-12703b5631aa/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20171111_0000","name":"Daily_BRSDT_20171111_0000","properties":{"infoFields":{},"instanceData":"{\" Microsoft.Resources\":{\"resourceUri\":\"/subscriptions/e2850eff-22cd-4c21-8418-12703b5631aa/resourceGroups/rsgroup02/providers/Microsoft。Storage/storageAccounts/rsgroup02diag930\",\"location\":\"jaeast\"}}","meterCategory":"数据管理"

"meterId":"00000000-0000-0000-0000-000000000000","quantity":6.0E-4,"subscriptionId":"e2850eff-22cd-4c21-8418-12703b5631aa","usageEndTime":"2017-11- 12T00:00:00+00:00","usageStartTime":"2017-11-11T00:00:00+00:00"},"type":"Microsoft.Commerce/UsageAggregate"},{"id": "/subscriptions/e2850eff-22cd-4c21-8418-12703b5631aa/providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20171111_0000","name":"Daily_BRSDT_20171111_0000","properties":{"infoFields":{},"instanceData":" {\"Microsoft.Resources\":{\"resourceUri\":\"/subscriptions/e2850eff-22cd-4c21-8418-12703b5631aa/resourceGroups/rsgroup02/providers/Microsoft.Storage/storageAccounts/rsgroup02diag930\",\"location\":\"jaeast\"}}","meterCategory":"数据管理"

4

0 回答 0