Closed JunyiYi closed 5 years ago
@JunyiYi it looks like it's available in the top level object: https://github.com/Azure/azure-sdk-for-go/blob/master/services/apimanagement/mgmt/2018-01-01/apimanagement/models.go#L5485 :)
Tom is correct, please see here https://github.com/Azure/azure-sdk-for-go/blob/master/services/apimanagement/mgmt/2018-01-01/apimanagement/models.go#L5485
Hi @tombuildsstuff @jhendrixMSFT , it is my fault of not explaining it clearly. The Resource ID here represents properties.resourceId
, not the ID
of the logger.
For example, in the response body of this example, I mean the resourceId
property is missing.
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ApiManagement/service/apimService1/loggers/loggerId",
...
"properties": {
...
"resourceId": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.EventHub/namespaces/hydraeventhub-ns"
}
}
Thanks for clarifying. Since this is an issue with the swagger I've ported this issue to https://github.com/Azure/azure-rest-api-specs/issues/5318
Bug Report
Resource ID
is missing in API Management Logger response.