ServicePrincipalType Class

public final class ServicePrincipalType
extends ExpandableStringEnum<ServicePrincipalType>

Service principal type.

Field Summary

Modifier and Type Field and Description
static final ServicePrincipalType NONE

Static value None for ServicePrincipalType.

static final ServicePrincipalType SYSTEM_ASSIGNED

Static value SystemAssigned for ServicePrincipalType.

Constructor Summary

Constructor Description
ServicePrincipalType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServicePrincipalType value.

Method Summary

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

Creates or finds a ServicePrincipalType from its string representation.

static Collection<ServicePrincipalType> values()

Gets known ServicePrincipalType values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

NONE

public static final ServicePrincipalType NONE

Static value None for ServicePrincipalType.

SYSTEM_ASSIGNED

public static final ServicePrincipalType SYSTEM_ASSIGNED

Static value SystemAssigned for ServicePrincipalType.

Constructor Details

ServicePrincipalType

@Deprecated
public ServicePrincipalType()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ServicePrincipalType value.

Method Details

fromString

public static ServicePrincipalType fromString(String name)

Creates or finds a ServicePrincipalType from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ServicePrincipalType.

values

public static Collection values()

Gets known ServicePrincipalType values.

Returns:

known ServicePrincipalType values.

Applies to