Class SecurityEncryptionTypes

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SecurityEncryptionTypes>
com.azure.resourcemanager.compute.models.SecurityEncryptionTypes
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

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 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.
    • NON_PERSISTED_TPM

      public static final SecurityEncryptionTypes NON_PERSISTED_TPM
      Static value NonPersistedTPM for SecurityEncryptionTypes.
  • Constructor Details

    • SecurityEncryptionTypes

      @Deprecated public SecurityEncryptionTypes()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of SecurityEncryptionTypes value.
  • 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.