Class RoleAssignmentMode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<RoleAssignmentMode>
com.azure.resourcemanager.containerregistry.models.RoleAssignmentMode
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class RoleAssignmentMode
extends com.azure.core.util.ExpandableStringEnum<RoleAssignmentMode>
Determines registry role assignment mode.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final RoleAssignmentModeStatic value AbacRepositoryPermissions for RoleAssignmentMode.static final RoleAssignmentModeStatic value LegacyRegistryPermissions for RoleAssignmentMode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RoleAssignmentModefromString(String name) Creates or finds a RoleAssignmentMode from its string representation.static Collection<RoleAssignmentMode> values()Gets known RoleAssignmentMode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ABAC_REPOSITORY_PERMISSIONS
Static value AbacRepositoryPermissions for RoleAssignmentMode. -
LEGACY_REGISTRY_PERMISSIONS
Static value LegacyRegistryPermissions for RoleAssignmentMode.
-
-
Constructor Details
-
RoleAssignmentMode
Deprecated.Use thefromString(String)factory method.Creates a new instance of RoleAssignmentMode value.
-
-
Method Details
-
fromString
Creates or finds a RoleAssignmentMode from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding RoleAssignmentMode.
-
values
Gets known RoleAssignmentMode values.- Returns:
- known RoleAssignmentMode values.
-
fromString(String)factory method.