你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
DiskSecurityProfile Class
Contains the security related information for the resource.
- Inheritance
-
azure.mgmt.compute._serialization.ModelDiskSecurityProfile
Constructor
DiskSecurityProfile(*, security_type: str | _models.DiskSecurityTypes | None = None, secure_vm_disk_encryption_set_id: str | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
security_type
|
Specifies the SecurityType of the VM. Applicable for OS disks only. Known values are: "TrustedLaunch", "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey", "ConfidentialVM_DiskEncryptedWithPlatformKey", "ConfidentialVM_DiskEncryptedWithCustomerKey", and "ConfidentialVM_NonPersistedTPM". |
secure_vm_disk_encryption_set_id
|
ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key. |
Variables
Name | Description |
---|---|
security_type
|
Specifies the SecurityType of the VM. Applicable for OS disks only. Known values are: "TrustedLaunch", "ConfidentialVM_VMGuestStateOnlyEncryptedWithPlatformKey", "ConfidentialVM_DiskEncryptedWithPlatformKey", "ConfidentialVM_DiskEncryptedWithCustomerKey", and "ConfidentialVM_NonPersistedTPM". |
secure_vm_disk_encryption_set_id
|
ResourceId of the disk encryption set associated to Confidential VM supported disk encrypted with customer managed key. |