ManagementLocksOperations.DeleteAtResourceGroupLevel(String, String, CancellationToken) Method

Definition

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.

Returns

Response

Applies to