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

Definition

Delete an App Service Environment.

public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.AppService.Fluent.IAppServiceEnvironmentsOperations operations, string resourceGroupName, string name, Nullable<bool> forceDelete = null, System.Threading.CancellationToken cancellationToken = null);
static member DeleteAsync : Microsoft.Azure.Management.AppService.Fluent.IAppServiceEnvironmentsOperations * string * string * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.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

Task

Remarks

Delete an App Service Environment.

Applies to