azure.mgmt.resource.locks.v2015_01_01.models module

class azure.mgmt.resource.locks.v2015_01_01.models.LockLevel(value)[source]

Bases: str, enum.Enum

The lock level of the management lock.

CAN_NOT_DELETE = 'CanNotDelete'
NOT_SPECIFIED = 'NotSpecified'
READ_ONLY = 'ReadOnly'
class azure.mgmt.resource.locks.v2015_01_01.models.ManagementLockListResult(*, value: Optional[List[_models.ManagementLockObject]] = None, next_link: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.locks._serialization.Model

List of management locks.

Variables
Keyword Arguments
class azure.mgmt.resource.locks.v2015_01_01.models.ManagementLockObject(*, name: Optional[str] = None, level: Optional[Union[str, _models.LockLevel]] = None, notes: Optional[str] = None, **kwargs: Any)[source]

Bases: azure.mgmt.resource.locks._serialization.Model

Management lock information.

Variables are only populated by the server, and will be ignored when sending a request.

Variables
  • id (str) – The Id of the lock.

  • type (str) – The type of the lock.

  • name (str) – The name of the lock.

  • level (str or LockLevel) – The lock level of the management lock. Known values are: “NotSpecified”, “CanNotDelete”, and “ReadOnly”.

  • notes (str) – The notes of the management lock.

Keyword Arguments
  • name (str) – The name of the lock.

  • level (str or LockLevel) – The lock level of the management lock. Known values are: “NotSpecified”, “CanNotDelete”, and “ReadOnly”.

  • notes (str) – The notes of the management lock.