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 server.
- Inheritance
-
azure.mgmt.resource.locks._serialization.ModelManagementLockObject
Constructor
ManagementLockObject(*, level: str | _models.LockLevel, notes: str | None = None, owners: List[_models.ManagementLockOwner] | None = None, **kwargs: Any)
Keyword-Only Parameters
Name | Description |
---|---|
level
|
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. Required. Known values are: "NotSpecified", "CanNotDelete", and "ReadOnly". |
notes
|
Notes about the lock. Maximum of 512 characters. |
owners
|
The owners of the lock. |
Variables
Name | Description |
---|---|
id
|
The resource ID of the lock. |
type
|
The resource type of the lock - Microsoft.Authorization/locks. |
name
|
The name of the lock. |
level
|
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. Required. Known values are: "NotSpecified", "CanNotDelete", and "ReadOnly". |
notes
|
Notes about the lock. Maximum of 512 characters. |
owners
|
The owners of the lock. |
Azure SDK for Python