Skip to main content

resource_groups

Overview

Nameresource_groups
TypeResource
Idazure.resources.resource_groups

Fields

NameDatatypeDescription
idstringThe ID of the resource group.
namestringThe name of the resource group.
locationstringThe 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.
managedBystringThe ID of the resource that manages this resource group.
propertiesobjectThe resource group properties.
tagsobjectThe tags attached to the resource group.
typestringThe type of the resource group.

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, subscriptionIdGets a resource group.
listSELECTsubscriptionIdGets all the resource groups for a subscription.
create_or_updateINSERTresourceGroupName, subscriptionId, data__locationCreates or updates a resource group.
deleteDELETEresourceGroupName, subscriptionIdWhen you delete a resource group, all of its resources are also deleted. Deleting a resource group deletes all of its template deployments and currently stored operations.
_listEXECsubscriptionIdGets all the resource groups for a subscription.
check_existenceEXECresourceGroupName, subscriptionIdChecks whether a resource group exists.
export_templateEXECresourceGroupName, subscriptionIdCaptures the specified resource group as a template.
updateEXECresourceGroupName, subscriptionIdResource 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.