Gallery 類別
指定您要建立或更新之共用映射庫的相關資訊。
變數只會由伺服器填入,而且會在傳送要求時予以忽略。
必須填入所有必要的參數,才能傳送至 Azure。
- 繼承
-
azure.mgmt.compute.v2022_03_03.models._models_py3.ResourceGallery
建構函式
Gallery(*, location: str, tags: Dict[str, str] | None = None, description: str | None = None, identifier: _models.GalleryIdentifier | None = None, sharing_profile: _models.SharingProfile | None = None, soft_delete_policy: _models.SoftDeletePolicy | None = None, **kwargs: Any)
Keyword-Only Parameters
- location
- str
資源位置。 必要。
- description
- str
此共用映射庫資源的描述。 這個屬性是可更新的。
- identifier
- GalleryIdentifier
描述資源庫唯一名稱。
- sharing_profile
- SharingProfile
資源庫共用至訂用帳戶或租使用者的設定檔。
- soft_delete_policy
- SoftDeletePolicy
包含資源庫虛刪除原則的相關資訊。
變數
- id
- str
資源識別碼。
- name
- str
資源名稱。
- type
- str
資源類型。
- location
- str
資源位置。 必要。
- description
- str
此共用映射庫資源的描述。 這個屬性是可更新的。
- identifier
- GalleryIdentifier
描述資源庫唯一名稱。
- provisioning_state
- str 或 GalleryProvisioningState
布建狀態,只會出現在回應中。 已知值為:「建立」、「更新」、「失敗」、「成功」、「刪除」和「移轉」。
- sharing_profile
- SharingProfile
資源庫共用至訂用帳戶或租使用者的設定檔。
- soft_delete_policy
- SoftDeletePolicy
包含資源庫虛刪除原則的相關資訊。
- sharing_status
- SharingStatus
目前資源庫的共用狀態。