Share via


ResourceGroup Class

Resource group information.

Variables are only populated by the server, and will be ignored when sending a request.

All required parameters must be populated in order to send to server.

Constructor

ResourceGroup(*, ___location: str, name: str | None = None, properties: _models.ResourceGroupProperties | None = None, managed_by: str | None = None, tags: Dict[str, str] | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
name
str

The name of the resource group.

Default value: None
properties

The resource group properties.

Default value: None
___location
str

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

managed_by
str

The ID of the resource that manages this resource group.

Default value: None
tags

The tags attached to the resource group.

Default value: None

Variables

Name Description
id
str

The ID of the resource group.

name
str

The name of the resource group.

properties

The resource group properties.

___location
str

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

managed_by
str

The ID of the resource that manages this resource group.

tags

The tags attached to the resource group.