你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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.
- Inheritance
-
azure.mgmt.resource.resources._serialization.ModelResourceGroup
Constructor
ResourceGroup(*, location: str, name: str | None = None, properties: _models.ResourceGroupProperties | None = None, tags: Dict[str, str] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
name
|
The Name of the resource group. |
properties
|
The resource group properties. |
location
|
The location of the resource group. It cannot be changed after the resource group has been created. Has to be one of the supported Azure Locations, such as West US, East US, West Europe, East Asia, etc. Required. |
tags
|
The tags attached to the resource group. |
Variables
Name | Description |
---|---|
id
|
The ID of the resource group. |
name
|
The Name of the resource group. |
properties
|
The resource group properties. |
location
|
The location of the resource group. It cannot be changed after the resource group has been created. Has to be one of the supported Azure Locations, such as West US, East US, West Europe, East Asia, etc. Required. |
tags
|
The tags attached to the resource group. |