public void deleteAtResourceLevel(String resourceGroupName, String resourceProviderNamespace, String parentResourcePath, String resourceType, String resourceName, String lockName) {
        deleteAtResourceLevelWithServiceResponseAsync(resourceGroupName, resourceProviderNamespace, parentResourcePath, resourceType, resourceName, lockName).toBlocking().single().body();
    }
public void deleteAtResourceLevel ( String resourceGroupName , String resourceProviderNamespace , String parentResourcePath , String resourceType , String resourceName , String lockName ) { deleteAtResourceLevelWithServiceResponseAsync ( resourceGroupName , resourceProviderNamespace , parentResourcePath , resourceType , resourceName , lockName ) . toBlocking ( ) . single ( ) . body ( ) ; }
Deletes the management lock of a resource or any level below the resource.
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.

@param resourceGroupName The name of the resource group containing the resource with the lock to delete.
@param resourceProviderNamespace The resource provider namespace of the resource with the lock to delete.
@param parentResourcePath The parent resource identity.
@param resourceType The resource type of the resource with the lock to delete.
@param resourceName The name of the resource with the lock to delete.
@param lockName The name of the lock to delete.
@throws IllegalArgumentException thrown if parameters fail the validation
@throws CloudException thrown if the request is rejected by server
@throws RuntimeException all other wrapped checked exceptions if the request fails to be sent