Share via


ManagementLockOperationsExtensions.DeleteAtResourceLevelAsync Method

Definition

Deletes the management lock of a resource or any level below resource.

public static System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAtResourceLevelAsync (this Microsoft.Azure.Management.Resources.IManagementLockOperations operations, string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, string lockName);
static member DeleteAtResourceLevelAsync : Microsoft.Azure.Management.Resources.IManagementLockOperations * string * Microsoft.Azure.ResourceIdentity * string -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
<Extension()>
Public Function DeleteAtResourceLevelAsync (operations As IManagementLockOperations, resourceGroupName As String, identity As ResourceIdentity, lockName As String) As Task(Of AzureOperationResponse)

Parameters

operations
IManagementLockOperations

Reference to the Microsoft.Azure.Management.Resources.IManagementLockOperations.

resourceGroupName
String

Required. The name of the resource group.

identity
Microsoft.Azure.ResourceIdentity

Required. Resource identity.

lockName
String

Required. The name of lock.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

A standard service response including an HTTP status code and request ID.

Applies to