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

class azure.mgmt.resource.locks.v2015_01_01.models.ManagementLockObject(level=None, notes=None, id=None, type=None, name=None)[source]

Bases: msrest.serialization.Model

Management lock information.

  • level (str or LockLevel) – The lock level of the management lock. Possible values include: ‘NotSpecified’, ‘CanNotDelete’, ‘ReadOnly’
  • notes (str) – The notes of the management lock.
  • id (str) – The Id of the lock.
  • type (str) – The type of the lock.
  • name (str) – The name of the lock.
class azure.mgmt.resource.locks.v2015_01_01.models.ManagementLockObjectPaged(*args, **kwargs)[source]

Bases: msrest.paging.Paged

A paging container for iterating over a list of ManagementLockObject object

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

Bases: enum.Enum

can_not_delete = 'CanNotDelete'
not_specified = 'NotSpecified'
read_only = 'ReadOnly'