DeploymentsOperationsExtensions.DeleteAsync Method

Definition

Operation to delete a Deployment.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.AppPlatform.IDeploymentsOperations operations, string resourceGroupName, string serviceName, string appName, string deploymentName, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.AppPlatform.IDeploymentsOperations * string * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IDeploymentsOperations, resourceGroupName As String, serviceName As String, appName As String, deploymentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IDeploymentsOperations

The operations group for this extension method.

resourceGroupName
System.String

The name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal.

serviceName
System.String

The name of the Service resource.

appName
System.String

The name of the App resource.

deploymentName
System.String

The name of the Deployment resource.

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Applies to