Class DiskEncryptionSetIdentityType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DiskEncryptionSetIdentityType>
com.azure.resourcemanager.compute.models.DiskEncryptionSetIdentityType
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final DiskEncryptionSetIdentityTypeStatic value None for DiskEncryptionSetIdentityType.static final DiskEncryptionSetIdentityTypeStatic value SystemAssigned for DiskEncryptionSetIdentityType.static final DiskEncryptionSetIdentityTypeStatic value SystemAssigned, UserAssigned for DiskEncryptionSetIdentityType.static final DiskEncryptionSetIdentityTypeStatic value UserAssigned for DiskEncryptionSetIdentityType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfromString(String name) Creates or finds a DiskEncryptionSetIdentityType from its string representation.values()Gets known DiskEncryptionSetIdentityType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
SYSTEM_ASSIGNED
Static value SystemAssigned for DiskEncryptionSetIdentityType. -
USER_ASSIGNED
Static value UserAssigned for DiskEncryptionSetIdentityType. -
SYSTEM_ASSIGNED_USER_ASSIGNED
Static value SystemAssigned, UserAssigned for DiskEncryptionSetIdentityType. -
NONE
Static value None for DiskEncryptionSetIdentityType.
-
-
Constructor Details
-
DiskEncryptionSetIdentityType
Deprecated.Use thefromString(String)factory method.Creates a new instance of DiskEncryptionSetIdentityType value.
-
-
Method Details
-
fromString
Creates or finds a DiskEncryptionSetIdentityType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding DiskEncryptionSetIdentityType.
-
values
Gets known DiskEncryptionSetIdentityType values.- Returns:
- known DiskEncryptionSetIdentityType values.
-
fromString(String)factory method.