Class PrincipalType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PrincipalType>
com.azure.resourcemanager.authorization.models.PrincipalType
The principal type of the assigned principal ID.
-
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()Gets known 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
Deprecated.Use thefromString(String)factory method.Creates a new instance of PrincipalType value.
-
-
Method Details
-
fromString
Creates or finds a PrincipalType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding PrincipalType.
-
values
Gets known PrincipalType values.- Returns:
- known PrincipalType values.
-
fromString(String)factory method.