Udostępnij za pośrednictwem


DeploymentOperationsExtensions.DeleteAsync Method

Definition

Delete deployment and all of its resources.

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

Parameters

operations
IDeploymentOperations

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

resourceGroupName
String

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

deploymentName
String

Required. The name of the deployment to be deleted.

Returns

Task<Microsoft.Azure.AzureOperationResponse>

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

Applies to