v14

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

Updates a resource group.

Resource groups can be updated through a simple PATCH operation to a group address. The format of the request is the same as that for creating a resource group. If a field is unspecified, the current value is retained.

patch/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}

Path parameters

resourceGroupNamestring required

The name of the resource group to update. 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.

Request body

namestring

The name of the resource group.

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 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.