WebAppsOperationsExtensions.DeleteAsync(IWebAppsOperations, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>, CancellationToken) Method
Definition
Deletes a web, mobile, or API app, or one of the deployment slots.
public static System.Threading.Tasks.Task DeleteAsync (this Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations operations, string resourceGroupName, string name, Nullable<bool> deleteMetrics = null, Nullable<bool> deleteEmptyServerFarm = null, Nullable<bool> skipDnsRegistration = null, System.Threading.CancellationToken cancellationToken = null);
static member DeleteAsync : Microsoft.Azure.Management.AppService.Fluent.IWebAppsOperations * string * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * System.Threading.CancellationToken -> System.Threading.Tasks.Task
Parameters
- operations
- IWebAppsOperations
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 to delete.
Specify true if the App Service plan will be empty after app deletion and you want to delete the empty App Service plan. By default, the empty App Service plan is not deleted.
- cancellationToken
- CancellationToken
The cancellation token.
Returns
Remarks
Deletes a web, mobile, or API app, or one of the deployment slots.