ManagementLocksOperations.DeleteAtResourceGroupLevel(String, String, CancellationToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
To delete management locks, you must have access to Microsoft.Authorization/* or Microsoft.Authorization/locks/* actions. Of the built-in roles, only Owner and User Access Administrator are granted those actions.
public virtual Azure.Response DeleteAtResourceGroupLevel (string resourceGroupName, string lockName, System.Threading.CancellationToken cancellationToken = default);
abstract member DeleteAtResourceGroupLevel : string * string * System.Threading.CancellationToken -> Azure.Response
override this.DeleteAtResourceGroupLevel : string * string * System.Threading.CancellationToken -> Azure.Response
Public Overridable Function DeleteAtResourceGroupLevel (resourceGroupName As String, lockName As String, Optional cancellationToken As CancellationToken = Nothing) As Response
Parameters
- resourceGroupName
- System.String
The name of the resource group containing the lock.
- lockName
- System.String
The name of lock to delete.
- cancellationToken
- System.Threading.CancellationToken
The cancellation token to use.