v14

latestSwagger 2.0raw.githubusercontent.com2022-04-018660175.5 KB
ResourceGroups

Gets all the resource groups for a subscription.

get/subscriptions/{subscriptionId}/resourcegroups

Path parameters

subscriptionIdstring required

The ID of the target subscription.

Query parameters

$filterstring

The filter to apply on the operation.<br><br>You can filter by tag names and values. For example, to filter for a tag name and value, use $filter=tagName eq 'tag1' and tagValue eq 'Value1'

$topinteger

The number of results to return. If null is passed, returns all resource groups.

api-versionstring required

The API version to use for this operation.

Response

OK - Returns an array of resource groups.

nextLinkstring

The URL to use for getting the next set of results.