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 Details

    • VMGUEST_STATE_ONLY

      public static final SecurityEncryptionTypes VMGUEST_STATE_ONLY
      Static value VMGuestStateOnly for SecurityEncryptionTypes.
    • DISK_WITH_VMGUEST_STATE

      public static final SecurityEncryptionTypes DISK_WITH_VMGUEST_STATE
      Static value DiskWithVMGuestState for SecurityEncryptionTypes.
  • Constructor Details

    • SecurityEncryptionTypes

      public SecurityEncryptionTypes()
  • Method Details

    • fromString

      public static SecurityEncryptionTypes fromString(String name)
      Creates or finds a SecurityEncryptionTypes from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding SecurityEncryptionTypes.
    • values

      public static Collection<SecurityEncryptionTypes> values()
      Gets known SecurityEncryptionTypes values.
      Returns:
      known SecurityEncryptionTypes values.