共用方式為


SystemCreatedStorageAccount 類別

繼承
builtins.object
SystemCreatedStorageAccount

建構函式

SystemCreatedStorageAccount(*, storage_account_hns: bool, storage_account_type: StorageAccountType | None, arm_resource_id: str | None = None, replicated_ids: List[str] | None = None, replication_count: int = 1)

參數

名稱 Description
arm_resource_id
必要
str

儲存體帳戶的資源識別碼。

storage_account_hns
必要

此儲存體帳戶是否已啟用階層命名空間。

storage_account_type
必要

允許的值:「Standard_LRS」、「Standard_GRS、Standard_RAGRS」、「Standard_ZRS」、「Standard_GZRS」、「Standard_RAGZRS」、「Premium_LRS」、「Premium_ZRS」

replication_count
必要
int

應該建立此儲存體帳戶的複本數目。 預設值為 1。 小於 1 的值無效。

replicated_ids
必要

如果複寫此儲存體,則這是具有此登錄之這些設定的所有儲存體識別碼清單。 針對未複寫的儲存體帳戶,預設為 none。

僅限關鍵字參數

名稱 Description
storage_account_hns
必要
storage_account_type
必要
arm_resource_id
必要
replicated_ids
必要
replication_count
預設值: 1