共用方式為


DiskEncryptionSet 類別

磁片加密集資源。

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

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

繼承
azure.mgmt.compute.v2020_09_30.models._models_py3.Resource
DiskEncryptionSet

建構函式

DiskEncryptionSet(*, location: str, tags: Dict[str, str] | None = None, identity: _models.EncryptionSetIdentity | None = None, encryption_type: str | _models.DiskEncryptionSetType | None = None, active_key: _models.KeyForDiskEncryptionSet | None = None, **kwargs: Any)

Keyword-Only Parameters

location
str

資源位置。 必要。

tags
dict[str, str]

資源標籤。

identity
EncryptionSetIdentity

磁片加密集的受控識別。 它應該授與金鑰保存庫的許可權,才能用來加密磁片。

encryption_type
strDiskEncryptionSetType

用來加密磁片資料的金鑰類型。 已知值為:「EncryptionAtRestWithCustomerKey」和「EncryptionAtRestWithPlatformAndCustomerKeys」。

active_key
KeyForDiskEncryptionSet

此磁片加密集目前使用的金鑰保存庫金鑰。

變數

id
str

資源識別碼。

name
str

資源名稱。

type
str

資源類型。

location
str

資源位置。 必要。

tags
dict[str, str]

資源標籤。

identity
EncryptionSetIdentity

磁片加密集的受控識別。 它應該授與金鑰保存庫的許可權,才能用來加密磁片。

encryption_type
strDiskEncryptionSetType

用來加密磁片資料的金鑰類型。 已知值為:「EncryptionAtRestWithCustomerKey」和「EncryptionAtRestWithPlatformAndCustomerKeys」。

active_key
KeyForDiskEncryptionSet

此磁片加密集目前使用的金鑰保存庫金鑰。

previous_keys
list[KeyForDiskEncryptionSet]

金鑰輪替進行時,此磁片加密集先前使用的金鑰保存庫金鑰唯讀集合。 如果沒有進行中的金鑰輪替,則會是空的。

provisioning_state
str

磁片加密集布建狀態。