IdentityType Class

public final class IdentityType
extends ExpandableStringEnum<IdentityType>

The identity type. Set this to 'SystemAssigned' in order to automatically create and assign an Azure Active Directory principal for the resource.

Field Summary

Modifier and Type Field and Description
static final IdentityType NONE

None.

static final IdentityType SYSTEM_ASSIGNED

SystemAssigned.

static final IdentityType SYSTEM_ASSIGNED_USER_ASSIGNED

SystemAssigned,UserAssigned.

static final IdentityType USER_ASSIGNED

UserAssigned.

Constructor Summary

Constructor Description
IdentityType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IdentityType value.

Method Summary

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

Creates or finds a IdentityType from its string representation.

static Collection<IdentityType> values()

Gets known IdentityType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NONE

public static final IdentityType NONE

None.

SYSTEM_ASSIGNED

public static final IdentityType SYSTEM_ASSIGNED

SystemAssigned.

SYSTEM_ASSIGNED_USER_ASSIGNED

public static final IdentityType SYSTEM_ASSIGNED_USER_ASSIGNED

SystemAssigned,UserAssigned.

USER_ASSIGNED

public static final IdentityType USER_ASSIGNED

UserAssigned.

Constructor Details

IdentityType

@Deprecated
public IdentityType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IdentityType value.

Method Details

fromString

public static IdentityType fromString(String name)

Creates or finds a IdentityType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding IdentityType.

values

public static Collection<IdentityType> values()

Gets known IdentityType values.

Returns:

known IdentityType values.

Applies to