azure.mgmt.resource.locks.v2016_09_01.models module

class azure.mgmt.resource.locks.v2016_09_01.models.ManagementLockOwner(application_id=None)[source]

Bases: msrest.serialization.Model

Lock owner properties.

Parameters:application_id (str) – The application ID of the lock owner.
class azure.mgmt.resource.locks.v2016_09_01.models.ManagementLockObject(level, notes=None, owners=None, name=None)[source]

Bases: msrest.serialization.Model

The lock information.

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

Parameters:
  • level (str or 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. Possible values include: ‘NotSpecified’, ‘CanNotDelete’, ‘ReadOnly’
  • notes (str) – Notes about the lock. Maximum of 512 characters.
  • owners (list of ManagementLockOwner) – The owners of the lock.
  • name (str) – The name of the lock.
Variables:
  • id (str) – The resource ID of the lock.
  • type (str) – The resource type of the lock - Microsoft.Authorization/locks.
class azure.mgmt.resource.locks.v2016_09_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.v2016_09_01.models.LockLevel[source]

Bases: enum.Enum

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