PrincipalType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. billing. models. PrincipalType
- com.
- com.
public final class PrincipalType
extends ExpandableStringEnum<PrincipalType>
The type of a role Assignment.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Principal |
DIRECTORY_ROLE
Static value Directory |
|
static final
Principal |
EVERYONE
Static value Everyone for Principal |
|
static final
Principal |
GROUP
Static value Group for Principal |
|
static final
Principal |
NONE
Static value None for Principal |
|
static final
Principal |
SERVICE_PRINCIPAL
Static value Service |
|
static final
Principal |
UNKNOWN
Static value Unknown for Principal |
|
static final
Principal |
USER
Static value User for Principal |
Constructor Summary
| Constructor | Description |
|---|---|
| PrincipalType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Principal |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Principal |
fromString(String name)
Creates or finds a Principal |
|
static
Collection<Principal |
values()
Gets known Principal |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DIRECTORY_ROLE
public static final PrincipalType DIRECTORY_ROLE
Static value DirectoryRole for PrincipalType.
EVERYONE
public static final PrincipalType EVERYONE
Static value Everyone for PrincipalType.
GROUP
public static final PrincipalType GROUP
Static value Group for PrincipalType.
NONE
public static final PrincipalType NONE
Static value None for PrincipalType.
SERVICE_PRINCIPAL
public static final PrincipalType SERVICE_PRINCIPAL
Static value ServicePrincipal for PrincipalType.
UNKNOWN
public static final PrincipalType UNKNOWN
Static value Unknown for PrincipalType.
USER
public static final PrincipalType USER
Static value User for PrincipalType.
Constructor Details
PrincipalType
@Deprecated
public PrincipalType()
Deprecated
Creates a new instance of PrincipalType value.
Method Details
fromString
public static PrincipalType fromString(String name)
Creates or finds a PrincipalType from its string representation.
Parameters:
Returns:
values
public static Collection<PrincipalType> values()
Gets known PrincipalType values.
Returns: