Class LockLevel
java.lang.Object
com.azure.core.util.ExpandableStringEnum<LockLevel>
com.azure.resourcemanager.resources.models.LockLevel
The level of the lock. Possible values are: NotSpecified, CanNotDelete, ReadOnly. CanNotDelete means authorized users
are able to read and modify the resources, but not delete. ReadOnly means authorized users can only read from a
resource, but they can't modify or delete it.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic LockLevelfromString(String name) Creates or finds a LockLevel from its string representation.static Collection<LockLevel>values()Gets known LockLevel values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
NOT_SPECIFIED
Static value NotSpecified for LockLevel. -
CAN_NOT_DELETE
Static value CanNotDelete for LockLevel. -
READ_ONLY
Static value ReadOnly for LockLevel.
-
-
Constructor Details
-
LockLevel
Deprecated.Use thefromString(String)factory method.Creates a new instance of LockLevel value.
-
-
Method Details
-
fromString
Creates or finds a LockLevel from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding LockLevel.
-
values
Gets known LockLevel values.- Returns:
- known LockLevel values.
-
fromString(String)factory method.