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. <br> It is set to DiskWithVMGuestState for encryption of the
managed disk along with VMGuestState blob, and VMGuestStateOnly for encryption of just the VMGuestState blob.
<br><br> NOTE: It can be set for only Confidential VMs.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SecurityEncryptionTypesStatic value DiskWithVMGuestState 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.
-
-
Constructor Details
-
SecurityEncryptionTypes
public SecurityEncryptionTypes()
-
-
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.
-