AppServiceEnvironmentsOperationsExtensions.BeginDeleteAsync(IAppServiceEnvironmentsOperations, String, String, Nullable<Boolean>, CancellationToken) Method

Definition

Delete an App Service Environment.

public static System.Threading.Tasks.Task BeginDeleteAsync (this Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, Nullable<bool> forceDelete = null, System.Threading.CancellationToken cancellationToken = null);
static member BeginDeleteAsync : Microsoft.Azure.Management.WebSites.IAppServiceEnvironmentsOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task

Parameters

operations
IAppServiceEnvironmentsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

name
System.String

Name of the App Service Environment.

forceDelete
System.Nullable<System.Boolean>

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

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Remarks

Delete an App Service Environment.

Applies to