v14

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

Creates or updates a resource group.

put/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}

Path parameters

resourceGroupNamestring required

The name of the resource group to create or update. Can include alphanumeric, underscore, parentheses, hyphen, period (except at end), and Unicode characters that match the allowed characters.

subscriptionIdstring required

The ID of the target subscription.

Query parameters

api-versionstring required

The API version to use for this operation.

Request body

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.

Response

OK - Returns information about the new 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.