LockLevel Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. resources. models. LockLevel
- com.
- com.
public final class LockLevel
extends ExpandableStringEnum<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
Modifier and Type | Field and Description |
---|---|
static final
Lock |
CAN_NOT_DELETE
Static value Can |
static final
Lock |
NOT_SPECIFIED
Static value Not |
static final
Lock |
READ_ONLY
Static value Read |
Constructor Summary
Constructor | Description |
---|---|
LockLevel() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Lock |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Lock |
fromString(String name)
Creates or finds a Lock |
static
Collection<Lock |
values()
Gets known Lock |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
CAN_NOT_DELETE
public static final LockLevel CAN_NOT_DELETE
Static value CanNotDelete for LockLevel.
NOT_SPECIFIED
public static final LockLevel NOT_SPECIFIED
Static value NotSpecified for LockLevel.
READ_ONLY
public static final LockLevel READ_ONLY
Static value ReadOnly for LockLevel.
Constructor Details
LockLevel
@Deprecated
public LockLevel()
Deprecated
Creates a new instance of LockLevel value.
Method Details
fromString
public static LockLevel fromString(String name)
Creates or finds a LockLevel from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known LockLevel values.
Returns:
Applies to
Azure SDK for Java