Share via


AppServiceEnvironmentsOperationsExtensions.DeleteAsync Method

Definition

Delete an App Service Environment.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, bool? forceDelete = default, System.Threading.CancellationToken cancellationToken = default);
static member DeleteAsync : Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DeleteAsync (operations As IAppServiceEnvironmentsOperations, resourceGroupName As String, name As String, Optional forceDelete As Nullable(Of Boolean) = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IAppServiceEnvironmentsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

name
String

Name of the App Service Environment.

forceDelete
Nullable<Boolean>

Specify <code>true</code> to force the deletion even if the App Service Environment contains resources. The default is <code>false</code>.

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

Description for Delete an App Service Environment.

Applies to