Class DatabasePrincipalRole
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DatabasePrincipalRole>
com.azure.resourcemanager.kusto.models.DatabasePrincipalRole
public final class DatabasePrincipalRole
extends com.azure.core.util.ExpandableStringEnum<DatabasePrincipalRole>
Database principal role.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DatabasePrincipalRole
Static value Admin for DatabasePrincipalRole.static final DatabasePrincipalRole
Static value Ingestor for DatabasePrincipalRole.static final DatabasePrincipalRole
Static value Monitor for DatabasePrincipalRole.static final DatabasePrincipalRole
Static value UnrestrictedViewer for DatabasePrincipalRole.static final DatabasePrincipalRole
Static value User for DatabasePrincipalRole.static final DatabasePrincipalRole
Static value Viewer for DatabasePrincipalRole. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DatabasePrincipalRole
fromString
(String name) Creates or finds a DatabasePrincipalRole from its string representation.static Collection<DatabasePrincipalRole>
values()
Gets known DatabasePrincipalRole values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ADMIN
Static value Admin for DatabasePrincipalRole. -
INGESTOR
Static value Ingestor for DatabasePrincipalRole. -
MONITOR
Static value Monitor for DatabasePrincipalRole. -
USER
Static value User for DatabasePrincipalRole. -
UNRESTRICTED_VIEWER
Static value UnrestrictedViewer for DatabasePrincipalRole. -
VIEWER
Static value Viewer for DatabasePrincipalRole.
-
-
Constructor Details
-
DatabasePrincipalRole
public DatabasePrincipalRole()
-
-
Method Details
-
fromString
Creates or finds a DatabasePrincipalRole from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding DatabasePrincipalRole.
-
values
Gets known DatabasePrincipalRole values.- Returns:
- known DatabasePrincipalRole values.
-