IManagementLockOperations.DeleteAtResourceLevelAsync Method

Definition

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

public System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse> DeleteAtResourceLevelAsync (string resourceGroupName, Microsoft.Azure.ResourceIdentity identity, string lockName, System.Threading.CancellationToken cancellationToken);
abstract member DeleteAtResourceLevelAsync : string * Microsoft.Azure.ResourceIdentity * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.AzureOperationResponse>
Public Function DeleteAtResourceLevelAsync (resourceGroupName As String, identity As ResourceIdentity, lockName As String, cancellationToken As CancellationToken) As Task(Of AzureOperationResponse)

Parameters

resourceGroupName
String

The name of the resource group.

identity
Microsoft.Azure.ResourceIdentity

Resource identity.

lockName
String

The name of lock.

cancellationToken
CancellationToken

Cancellation token.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to