ResourceGroup 類別

資源群組資訊。

變數只會由伺服器填入,而且會在傳送要求時予以忽略。

必須填入所有必要的參數,才能傳送至 Azure。

繼承
azure.mgmt.resource.resources._serialization.Model
ResourceGroup

建構函式

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

僅限關鍵字參數

名稱 Description
properties

資源群組屬性。

location
str

資源群組的位置。 建立資源群組之後無法變更它。 它必須是其中一個支援的 Azure 位置。 必要。

managed_by
str

管理此資源群組之資源的識別碼。

tags

附加至資源群組的標記。

變數

名稱 Description
id
str

資源群組的識別碼。

name
str

資源群組的名稱。

type
str

資源群組的類型。

properties

資源群組屬性。

location
str

資源群組的位置。 建立資源群組之後無法變更它。 它必須是其中一個支援的 Azure 位置。 必要。

managed_by
str

管理此資源群組之資源的識別碼。

tags

附加至資源群組的標記。