ResourceGroupOperationsExtensions.DeleteAsync Method

Definition

Delete resource group and all of its resources.

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

Parameters

operations
IResourceGroupOperations

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

resourceGroupName
String

Required. The name of the resource group to be deleted. The name is case insensitive.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to