Udostępnij za pośrednictwem


ManagementLocksOperationsExtensions.DeleteAtResourceGroupLevel Method

Definition

Deletes a management lock at the resource group level.

public static void DeleteAtResourceGroupLevel (this Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations operations, string resourceGroupName, string lockName);
static member DeleteAtResourceGroupLevel : Microsoft.Azure.Management.ResourceManager.IManagementLocksOperations * string * string -> unit
<Extension()>
Public Sub DeleteAtResourceGroupLevel (operations As IManagementLocksOperations, resourceGroupName As String, lockName As String)

Parameters

operations
IManagementLocksOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group containing the lock.

lockName
String

The name of lock to delete.

Remarks

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.

Applies to