WebAppsClient.deleteWithResponse(String resourceGroupName, String name, Boolean deleteMetrics, Boolean deleteEmptyServerFarm, Context context) Method

Definition

Description for Deletes a web, mobile, or API app, or one of the deployment slots.

public abstract Response<Void> deleteWithResponse(String resourceGroupName, String name, Boolean deleteMetrics, Boolean deleteEmptyServerFarm, Context context)

Parameters

resourceGroupName
java.lang.String

Name of the resource group to which the resource belongs.

name
java.lang.String

Name of the app to delete.

deleteMetrics
java.lang.Boolean

If true, web app metrics are also deleted.

deleteEmptyServerFarm
java.lang.Boolean

Specify false if you want to keep empty App Service plan. By default, empty App Service plan is deleted.

context
Context

The context to associate with this operation.

Returns

Response<java.lang.Void>

the response.

Applies to