Class SecurityEncryptionTypes
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SecurityEncryptionTypes>
com.azure.resourcemanager.compute.models.SecurityEncryptionTypes
public final class SecurityEncryptionTypes
extends com.azure.core.util.ExpandableStringEnum<SecurityEncryptionTypes>
Specifies the EncryptionType of the managed disk. It is set to DiskWithVMGuestState for encryption of the managed
disk along with VMGuestState blob, 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.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SecurityEncryptionTypesStatic value DiskWithVMGuestState for SecurityEncryptionTypes.static final SecurityEncryptionTypesStatic value NonPersistedTPM for SecurityEncryptionTypes.static final SecurityEncryptionTypesStatic value VMGuestStateOnly for SecurityEncryptionTypes. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityEncryptionTypesfromString(String name) Creates or finds a SecurityEncryptionTypes from its string representation.static Collection<SecurityEncryptionTypes>values()Gets known SecurityEncryptionTypes values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
VMGUEST_STATE_ONLY
Static value VMGuestStateOnly for SecurityEncryptionTypes. -
DISK_WITH_VMGUEST_STATE
Static value DiskWithVMGuestState for SecurityEncryptionTypes. -
NON_PERSISTED_TPM
Static value NonPersistedTPM for SecurityEncryptionTypes.
-
-
Constructor Details
-
SecurityEncryptionTypes
Deprecated.Use thefromString(String)factory method.Creates a new instance of SecurityEncryptionTypes value.
-
-
Method Details
-
fromString
Creates or finds a SecurityEncryptionTypes from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SecurityEncryptionTypes.
-
values
Gets known SecurityEncryptionTypes values.- Returns:
- known SecurityEncryptionTypes values.
-
fromString(String)factory method.