Sdílet prostřednictvím


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
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
String

The name of the Service resource.

appName
String

The name of the App resource.

deploymentName
String

The name of the Deployment resource.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to