Resource Groups - Get

Gets a resource group.

GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}?api-version=2018-05-01

URI Parameters

Name In Required Type Description
subscriptionId
path True
  • string

The ID of the target subscription.

resourceGroupName
path True
  • string

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

Regex pattern: ^[-\w\._\(\)]+$

api-version
query True
  • string

The API version to use for this operation.

Responses

Name Type Description
200 OK

OK - Returns information about the resource group.

Security

azure_auth

Azure Active Directory OAuth2 Flow

Type: oauth2
Flow: implicit
Authorization URL: https://login.microsoftonline.com/common/oauth2/authorize

Scopes

Name Description
user_impersonation impersonate your user account

Definitions

ResourceGroup

Resource group information.

ResourceGroupProperties

The resource group properties.

ResourceGroup

Resource group information.

Name Type Description
id
  • string

The ID of the resource group.

location
  • string

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.

managedBy
  • string

The ID of the resource that manages this resource group.

name
  • string

The name of the resource group.

properties

The resource group properties.

tags
  • object

The tags attached to the resource group.

type
  • string

The type of the resource group.

ResourceGroupProperties

The resource group properties.

Name Type Description
provisioningState
  • string

The provisioning state.