Azure使用api返回无效的仪表ID(00000000-0000-0000-0000-000000000000)

时间:2017-11-15 02:32:28

标签: api azure meter

当我在下面调用azure usage api时,azure返回了无效的meterid,如00000000-0000-0000-0000-000000000000

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

的平均值是多少
  1. 发布了azure api
  2.   

    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=Daily&showDetails=false

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

      “meterId”: “00000000-0000-0000-0000-000000000000”, “量”:0.001, “subscriptionId”: “e2850eff-22cd-4c21-8418-12703b5631aa”, “usageEndTime”:“2017-11- 12T00:00:00 + 00:00" , “usageStartTime”: “2017-11-11T00:00:00 + 00:00”}, “类型”: “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 \”:\ “/订阅/ e2850eff-22cd-4c21-8418-12703b5631aa / resourceGroups / rsgroup02 /提供商/ Microsoft.Storage / storageAccounts / rsgroup02diag930 \”,\“位置\“:\”jaeast \“}}”,“meterCategory”:“数据管理”

           

      “meterId”: “00000000-0000-0000-0000-000000000000”, “量”: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”}, “类型”: “Microsoft.Commerce / UsageAggregate”},{” ID “:”/订阅/ e2850eff-22cd-4c21-8418-12703b5631aa /提供商/ Microsoft.Commerce / UsageAggregates / Daily_BRSDT_20171111_0000" , “名称”: “Daily_BRSDT_20171111_0000”, “属性”:{ “infoFields”:{},“instanceData “:”{\ “Microsoft.Resources \”:{\ “resourceUri \”:\ “/订阅/ e2850eff-22cd-4c21-8418-12703b5631aa / resourceGroups / rsgroup02 /提供商/ Microsoft.Storage / storageAccounts / rsgroup02diag930 \”, \“location \”:\“jaeast \”}}“,”meterCategory“:”数据管理“

0 个答案:

没有答案