v14

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

Gets a resource group.

get/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}

Path parameters

resourceGroupNamestring required

The name of the resource group to get. The name is case insensitive.

subscriptionIdstring required

The ID of the target subscription.

Query parameters

api-versionstring required

The API version to use for this operation.

Response

OK - Returns information about the resource group.

idstring

The ID of the resource group.

namestring

The name of the resource group.

typestring

The type of the resource group.

locationstring required

The location of the resource group. It cannot be changed after the resource group has been created. It must be one of the supported Azure locations.

managedBystring

The ID of the resource that manages this resource group.

tagsobject

The tags attached to the resource group.