Class PrincipalType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PrincipalType>
com.azure.resourcemanager.postgresqlflexibleserver.models.PrincipalType
The principal type used to represent the type of Active Directory Administrator.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PrincipalType
Static value Group for PrincipalType.static final PrincipalType
Static value ServicePrincipal for PrincipalType.static final PrincipalType
Static value Unknown for PrincipalType.static final PrincipalType
Static value User for PrincipalType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PrincipalType
fromString
(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
-
UNKNOWN
Static value Unknown for PrincipalType. -
USER
Static value User for PrincipalType. -
GROUP
Static value Group for PrincipalType. -
SERVICE_PRINCIPAL
Static value ServicePrincipal 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.