ManagementLocksOperationsExtensions.DeleteAtResourceGroupLevel 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.
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
Azure SDK for .NET