Create or update a management lock by scope.
For more information, see the official documentation for Management Locks: Create or update by scope.
| Field | Type | Description | Required |
|---|---|---|---|
| subscriptionId | string | The ID of the target subscription. | Required |
| scope | string | The scope for the lock. | Required |
| lockName | string | The name of lock. | Required |
Returns fields as described in ManagementLockObject.
Delete a management lock by scope.
For more information, see the official documentation for Management Locks: Delete by scope.
| Field | Type | Description | Required |
|---|---|---|---|
| subscriptionId | string | The ID of the target subscription. | Required |
| scope | string | The scope for the lock. | Required |
| lockName | string | The name of lock. | Required |
The action does not have an output.
Gets all the management locks for a scope.
For more information, see the official documentation for Management Locks: List by scope.
| Field | Type | Description | Required |
|---|---|---|---|
| subscriptionId | string | The ID of the target subscription. | Required |
| scope | string | The scope for the lock. | Required |
Returns an array of ManagementLockObject objects.