ManagementLockObject Class
The lock information.
Variables are only populated by the server, and will be ignored when sending a request.
All required parameters must be populated in order to send to Azure.
- Inheritance
-
ManagementLockObject
Constructor
ManagementLockObject(*, level: Union[str, azure.mgmt.resource.locks.v2016_09_01.models._management_lock_client_enums.LockLevel], notes: Optional[str] = None, owners: Optional[List[azure.mgmt.resource.locks.v2016_09_01.models._models_py3.ManagementLockOwner]] = None, **kwargs)
Variables
- id
- str
The resource ID of the lock.
- type
- str
The resource type of the lock - Microsoft.Authorization/locks.
- name
- str
The name of the lock.
Required. 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[ManagementLockOwner]
The owners of the lock.
Feedback
Submit and view feedback for