Share via


ManagementLocksOperationsExtensions.DeleteAtSubscriptionLevel Method

Definition

Deletes the management lock at the subscription level.

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

Parameters

operations
IManagementLocksOperations

The operations group for this extension method.

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