Class PrincipalType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PrincipalType>
com.azure.resourcemanager.authorization.models.PrincipalType
Defines values for PrincipalType.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PrincipalTypeStatic value Device for PrincipalType.static final PrincipalTypeStatic value ForeignGroup for PrincipalType.static final PrincipalTypeStatic value Group for PrincipalType.static final PrincipalTypeStatic value ServicePrincipal for PrincipalType.static final PrincipalTypeStatic value User for PrincipalType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PrincipalTypefromString(String name) Creates or finds a PrincipalType from its string representation.static Collection<PrincipalType>values()Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
USER
Static value User for PrincipalType. -
GROUP
Static value Group for PrincipalType. -
SERVICE_PRINCIPAL
Static value ServicePrincipal for PrincipalType. -
FOREIGN_GROUP
Static value ForeignGroup for PrincipalType. -
DEVICE
Static value Device for PrincipalType.
-
-
Constructor Details
-
PrincipalType
public PrincipalType()
-
-
Method Details
-
fromString
Creates or finds a PrincipalType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PrincipalType.
-
values
- Returns:
- known PrincipalType values.
-