Azure Resource Manager API - List Resources not including properties

Viewed 192

I am using the REST API Resources - List endpoint to pull information about client azure resources. The GET request is working successfully, but the GenericResourceExpanded.properties object is missing from the response. I am only seeing id, name, type, location, and tags. Is there something I need to enable or configure in order to get the resource properties?

1 Answers

I can confirm, that the result of the Resource List endpoint doesn't include the GenericResourceExpanded.properties. I think the documentation is not quite right here. However, you could iterate over the result and invoke the Resources - Get endpoint to retrieve the GenericResourceExpanded.properties object.

Related