ManagementLockClient Class
Azure resources can be locked to prevent other users in your organization from deleting or modifying resources.
Constructor
ManagementLockClient(credential: TokenCredential, subscription_id: str, base_url: str | None = None, **kwargs: Any)
Parameters
| Name | Description |
|---|---|
|
credential
Required
|
Credential needed for the client to connect to Azure. Required. |
|
subscription_id
Required
|
The ID of the target subscription. Required. |
|
base_url
|
Service URL. Default value is None. Default value: None
|
Keyword-Only Parameters
| Name | Description |
|---|---|
|
api_version
|
Api Version. Default value is "2016-09-01". Note that overriding this default value may result in unsupported behavior. |
Variables
| Name | Description |
|---|---|
|
authorization_operations
|
AuthorizationOperationsOperations operations |
|
management_locks
|
ManagementLocksOperations operations |
Methods
| close |
close
close() -> None