Closed ghost closed 5 years ago
After reviewing how the Azure SDK handles this scenario, I have modified the type for the resourceUri property from URI to String. We will need to look into the other places where the URI type is used to ensure they will not have the same issue.
Version 1.13.6 has been released. It includes the fix for this issue.
The utilization request:
GET /v1/customers/{customerId}/subscriptions/{subscriptionId}/utilizations/azure?start_time=2019-07-04T08:00:00Z&end_time=2019-07-05T00:00:00Z&granularity=hourly&show_details=true&size=500
returns values with invalid URI as a resourceUri propertiy:
"resourceUri": "/SUBSCRIPTIONS/{subId}/RESOURCEGROUPS/DATAPLATFORM/PROVIDERS/MICROSOFT.DEVICES/IOTHUBS/NCCDATAPLATFORM_[1846181]",