Share via


VMDiskSecurityProfile Class

Specifies the security profile settings for the managed disk. Note: It can only be set for Confidential VMs and is required when using Confidential VMs.

Constructor

VMDiskSecurityProfile(*, security_encryption_type: str | _models.SecurityEncryptionTypes | None = None, **kwargs: Any)

Keyword-Only Parameters

Name Description
security_encryption_type

Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs. Known values are: "NonPersistedTPM" and "VMGuestStateOnly".

Default value: None

Variables

Name Description
security_encryption_type

Specifies the EncryptionType of the managed disk. It is set to VMGuestStateOnly for encryption of just the VMGuestState blob, and NonPersistedTPM for not persisting firmware state in the VMGuestState blob. Note: It can be set for only Confidential VMs and required when using Confidential VMs. Known values are: "NonPersistedTPM" and "VMGuestStateOnly".