ResourceOperationsExtensions.DeleteAsync Method

Definition

Delete resource and all of its resources.

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

Parameters

operations
IResourceOperations

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

resourceGroupName
String

Required. The name of the resource group. The name is case insensitive.

identity
Microsoft.Azure.ResourceIdentity

Required. Resource identity.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to