我很难匹配来自ratesCARD API响应的meterID(GUID)和来自UsageAggregation API响应的meterID。我甚至看过这张桌子 ( azure.microsoft.com/de-de/support/guid-migration / ) 但这也没有帮助。 UsageAggregatio API响应中的meterID与旧GUID匹配,但旧GUID和新GUID都与rateCARD API响应中的id不匹配。 这是我的请求查询。
management.azure.com/subscriptions/ {SubID} /providers/Microsoft.Commerce/UsageAggregates?api-version=2015-06-01-preview&reportedstartTime=2016-05-22+00%3a00% 3a00Z&安培; reportedEndTime = 2016年5月23日+ 00%3A00%3a00Z&安培; aggregationGranularity =每日&安培; showDetails =真
management.azure.com/subscriptions/ {SubID} /providers/Microsoft.Commerce/RateCard?api-version=2015-06-01-preview&$filter=OfferDurableId%20eq%20'MS -AZR-0025P'%20于是%20Currency%20当量%20' EUR'%20于是%20Locale%20当量%20' DE-DE'%20于是%20RegionInfo%20当量%20' DE'
有人可以帮我吗?
更新
以下是此类响应的示例。我从UsageAggregation API获得了使用米标识的使用情况汇总。
"id": "/subscriptions/ /providers/Microsoft.Commerce/UsageAggregates/Daily_BRSDT_20160520_0000",
"name": "Daily_BRSDT_20160520_0000",
"type": "Microsoft.Commerce/UsageAggregate",
"properties": {
"subscriptionId": "5948833b-863b-4fde-9059-e0c93523da27",
"usageStartTime": "2016-05-23T00:00:00+00:00",
"usageEndTime": "2016-05-24T00:00:00+00:00",
"meterName": "Compute Hours",
"meterRegion": "EU North",
"meterCategory": "Virtual Machines",
"meterSubCategory": "BASIC.A2 VM (Windows)",
"unit": "Hours",
"instanceData": "{\"Microsoft.Resources\":{\"resourceUri\":\"/subscriptions/
"meterId": "782591e9-abf5-4c5b-b764-aaf746e71e85",
"infoFields": {},
"quantity": 1.600012
}
我没有从RateCard API获得此资源的确切条目,这是我能找到的最近的资源。 UsageCard API响应中不存在UsageAggregation API响应中列出的资源条目。
"MeterId": "5261a49e-27cc-4b42-b264-15e332882525",
"MeterName": "Computestunden",
"MeterCategory": "Virtual Machines",
"MeterSubCategory": "VM BASIC.A2 (Windows)",
"Unit": "Stunden",
"MeterTags": [],
"MeterRegion": "Brasilien, Süden",
"MeterRates": {
"0": 0.1501074
更新25.05.2016 Offer ID screenshot
答案 0 :(得分:0)
我尝试在azure VM上运行完全相同的项目,它运行得很好。显然这个问题是由基础设施引起的。