DiskEncryptionSetIdentityType Class

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 DiskEncryptionSetIdentityType NONE

Static value None for DiskEncryptionSetIdentityType.

static final DiskEncryptionSetIdentityType SYSTEM_ASSIGNED

Static value SystemAssigned for DiskEncryptionSetIdentityType.

static final DiskEncryptionSetIdentityType SYSTEM_ASSIGNED_USER_ASSIGNED

Static value SystemAssigned, UserAssigned for DiskEncryptionSetIdentityType.

static final DiskEncryptionSetIdentityType USER_ASSIGNED

Static value UserAssigned for DiskEncryptionSetIdentityType.

Constructor Summary

Constructor Description
DiskEncryptionSetIdentityType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of DiskEncryptionSetIdentityType value.

Method Summary

Modifier and Type Method and Description
static DiskEncryptionSetIdentityType fromString(String name)

Creates or finds a DiskEncryptionSetIdentityType from its string representation.

static Collection<DiskEncryptionSetIdentityType> values()

Gets known DiskEncryptionSetIdentityType values.

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

Use the fromString(String name) 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 values()

Gets known DiskEncryptionSetIdentityType values.

Returns:

known DiskEncryptionSetIdentityType values.

Applies to