Class ClusterPrincipalRole
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<ClusterPrincipalRole>
-
- com.azure.resourcemanager.synapse.models.ClusterPrincipalRole
-
public final class ClusterPrincipalRole extends com.azure.core.util.ExpandableStringEnum<ClusterPrincipalRole>
Defines values for ClusterPrincipalRole.
-
-
Field Summary
Fields Modifier and Type Field Description static ClusterPrincipalRole
ALL_DATABASES_ADMIN
Static value AllDatabasesAdmin for ClusterPrincipalRole.static ClusterPrincipalRole
ALL_DATABASES_VIEWER
Static value AllDatabasesViewer for ClusterPrincipalRole.
-
Constructor Summary
Constructors Constructor Description ClusterPrincipalRole()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ClusterPrincipalRole
fromString(String name)
Creates or finds a ClusterPrincipalRole from its string representation.static Collection<ClusterPrincipalRole>
values()
-
-
-
Field Detail
-
ALL_DATABASES_ADMIN
public static final ClusterPrincipalRole ALL_DATABASES_ADMIN
Static value AllDatabasesAdmin for ClusterPrincipalRole.
-
ALL_DATABASES_VIEWER
public static final ClusterPrincipalRole ALL_DATABASES_VIEWER
Static value AllDatabasesViewer for ClusterPrincipalRole.
-
-
Method Detail
-
fromString
public static ClusterPrincipalRole fromString(String name)
Creates or finds a ClusterPrincipalRole from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding ClusterPrincipalRole.
-
values
public static Collection<ClusterPrincipalRole> values()
- Returns:
- known ClusterPrincipalRole values.
-
-