通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

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<ServicePrincipalType> values()

Gets known ServicePrincipalType values.

Returns:

known ServicePrincipalType values.

Applies to