IdentityType Class

public final class IdentityType
extends ExpandableStringEnum<IdentityType>

The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an identity created by the system and a set of user assigned identities. The type 'None' will remove all identities from the service.

Field Summary

Modifier and Type Field and Description
static final IdentityType NONE

Indicates that any identity associated with the search service needs to be removed.

static final IdentityType SYSTEM_ASSIGNED

Indicates that system-assigned identity for the search service will be enabled.

static final IdentityType SYSTEM_ASSIGNED_USER_ASSIGNED

Indicates that system-assigned identity for the search service will be enabled along with the assignment of one or more user assigned identities.

static final IdentityType USER_ASSIGNED

Indicates that one or more user assigned identities will be assigned to the search service.

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

Indicates that any identity associated with the search service needs to be removed.

SYSTEM_ASSIGNED

public static final IdentityType SYSTEM_ASSIGNED

Indicates that system-assigned identity for the search service will be enabled.

SYSTEM_ASSIGNED_USER_ASSIGNED

public static final IdentityType SYSTEM_ASSIGNED_USER_ASSIGNED

Indicates that system-assigned identity for the search service will be enabled along with the assignment of one or more user assigned identities.

USER_ASSIGNED

public static final IdentityType USER_ASSIGNED

Indicates that one or more user assigned identities will be assigned to the search service.

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