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
An enumeration.
-
can_not_delete
= 'CanNotDelete'¶
-
not_specified
= 'NotSpecified'¶
-
read_only
= 'ReadOnly'¶
-
-
class
azure.mgmt.resource.locks.v2015_01_01.models.
ManagementLockObject
(*, level=None, notes: Optional[str] = None, name: Optional[str] = None, **kwargs)[source]¶ Bases:
msrest.serialization.Model
Management lock information.
Variables are only populated by the server, and will be ignored when sending a request.
- Parameters
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.
name (str) – The name of the lock.
- Variables
id (str) – The Id of the lock.
type (str) – The type 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
objectBring async to Paging.
“async_command” is mandatory keyword argument for this mixin to work.