Class DiskEncryptionSetIdentityType

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

public final class DiskEncryptionSetIdentityType extends com.azure.core.util.ExpandableStringEnum<DiskEncryptionSetIdentityType>
The type of Managed Identity used by the DiskEncryptionSet. Only SystemAssigned is supported for new creations. Disk Encryption Sets can be updated with Identity type None during migration of subscription to a new Azure Active Directory tenant; it will cause the encrypted resources to lose access to the keys.
  • Field Details

    • SYSTEM_ASSIGNED

      public static final DiskEncryptionSetIdentityType SYSTEM_ASSIGNED
      Static value SystemAssigned for DiskEncryptionSetIdentityType.
    • USER_ASSIGNED

      public static final DiskEncryptionSetIdentityType USER_ASSIGNED
      Static value UserAssigned for DiskEncryptionSetIdentityType.
    • SYSTEM_ASSIGNED_USER_ASSIGNED

      public static final DiskEncryptionSetIdentityType SYSTEM_ASSIGNED_USER_ASSIGNED
      Static value SystemAssigned, UserAssigned for DiskEncryptionSetIdentityType.
    • NONE

      public static final DiskEncryptionSetIdentityType NONE
      Static value None for DiskEncryptionSetIdentityType.
  • Constructor Details

    • DiskEncryptionSetIdentityType

      @Deprecated public DiskEncryptionSetIdentityType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of DiskEncryptionSetIdentityType value.
  • Method Details

    • fromString

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

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