java.lang.Object
com.azure.core.util.ExpandableStringEnum<LockLevel>
com.azure.resourcemanager.resources.models.LockLevel
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class LockLevel extends com.azure.core.util.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 Details

    • NOT_SPECIFIED

      public static final LockLevel NOT_SPECIFIED
      Static value NotSpecified for LockLevel.
    • CAN_NOT_DELETE

      public static final LockLevel CAN_NOT_DELETE
      Static value CanNotDelete for LockLevel.
    • READ_ONLY

      public static final LockLevel READ_ONLY
      Static value ReadOnly for LockLevel.
  • Constructor Details

  • Method Details

    • fromString

      public static LockLevel fromString(String name)
      Creates or finds a LockLevel from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding LockLevel.
    • values

      public static Collection<LockLevel> values()
      Gets known LockLevel values.
      Returns:
      known LockLevel values.