Closed mariobede closed 5 years ago
When picking up the azure resource id from the portal it adds extra information in the begnining, triggering a 404 when calling the api.
e.g: /subscriptions/xxxx-xxxx-xxxx/resourceGroups/service-rg/providers/Microsoft.ServiceBus/namespaces/servicebus
when it is expected by the exporter like this: /resourceGroups/service-rg/providers/Microsoft.ServiceBus/namespaces/servicebus
subscription/subscription-id bit is not needed, otherwise we get:
{"message":"No HTTP resource was found that matches the request URI 'https://management.azure.com/subscripti........
Suggestion, doc to be updated.
Would you like to send a PR?
Done
When picking up the azure resource id from the portal it adds extra information in the begnining, triggering a 404 when calling the api.
e.g: /subscriptions/xxxx-xxxx-xxxx/resourceGroups/service-rg/providers/Microsoft.ServiceBus/namespaces/servicebus
when it is expected by the exporter like this: /resourceGroups/service-rg/providers/Microsoft.ServiceBus/namespaces/servicebus
subscription/subscription-id bit is not needed, otherwise we get:
{"message":"No HTTP resource was found that matches the request URI 'https://management.azure.com/subscripti........
Suggestion, doc to be updated.