java.lang.Object
com.azure.core.util.ExpandableStringEnum<PrincipalType>
com.azure.resourcemanager.postgresqlflexibleserver.models.PrincipalType

public final class PrincipalType extends com.azure.core.util.ExpandableStringEnum<PrincipalType>
The principal type used to represent the type of Active Directory Administrator.
  • Field Details

    • UNKNOWN

      public static final PrincipalType UNKNOWN
      Static value Unknown for PrincipalType.
    • USER

      public static final PrincipalType USER
      Static value User for PrincipalType.
    • GROUP

      public static final PrincipalType GROUP
      Static value Group for PrincipalType.
    • SERVICE_PRINCIPAL

      public static final PrincipalType SERVICE_PRINCIPAL
      Static value ServicePrincipal for PrincipalType.
  • Constructor Details

    • PrincipalType

      @Deprecated public PrincipalType()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding PrincipalType.
    • values

      public static Collection<PrincipalType> values()
      Gets known PrincipalType values.
      Returns:
      known PrincipalType values.