DiskEncryptionSetIdentityType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. DiskEncryptionSetIdentityType
- com.
- com.
public final class DiskEncryptionSetIdentityType
extends 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
Modifier and Type | Field and Description |
---|---|
static final
Disk |
NONE
Static value None for Disk |
static final
Disk |
SYSTEM_ASSIGNED
Static value System |
static final
Disk |
SYSTEM_ASSIGNED_USER_ASSIGNED
Static value System |
static final
Disk |
USER_ASSIGNED
Static value User |
Constructor Summary
Constructor | Description |
---|---|
DiskEncryptionSetIdentityType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Disk |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Disk |
fromString(String name)
Creates or finds a Disk |
static
Collection<Disk |
values()
Gets known Disk |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
NONE
public static final DiskEncryptionSetIdentityType NONE
Static value None for DiskEncryptionSetIdentityType.
SYSTEM_ASSIGNED
public static final DiskEncryptionSetIdentityType SYSTEM_ASSIGNED
Static value SystemAssigned for DiskEncryptionSetIdentityType.
SYSTEM_ASSIGNED_USER_ASSIGNED
public static final DiskEncryptionSetIdentityType SYSTEM_ASSIGNED_USER_ASSIGNED
Static value SystemAssigned, UserAssigned for DiskEncryptionSetIdentityType.
USER_ASSIGNED
public static final DiskEncryptionSetIdentityType USER_ASSIGNED
Static value UserAssigned for DiskEncryptionSetIdentityType.
Constructor Details
DiskEncryptionSetIdentityType
@Deprecated
public DiskEncryptionSetIdentityType()
Deprecated
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:
Returns:
values
public static Collection
Gets known DiskEncryptionSetIdentityType values.
Returns:
Applies to
Azure SDK for Java