RecommendationsOperationsExtensions.DisableAllForHostingEnvironmentAsync Method

Definition

Disable all recommendations for an app.

public static System.Threading.Tasks.Task DisableAllForHostingEnvironmentAsync (this Microsoft.Azure.Management.WebSites.IRecommendationsOperations operations, string resourceGroupName, string environmentName, string hostingEnvironmentName, System.Threading.CancellationToken cancellationToken = default);
static member DisableAllForHostingEnvironmentAsync : Microsoft.Azure.Management.WebSites.IRecommendationsOperations * string * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task
<Extension()>
Public Function DisableAllForHostingEnvironmentAsync (operations As IRecommendationsOperations, resourceGroupName As String, environmentName As String, hostingEnvironmentName As String, Optional cancellationToken As CancellationToken = Nothing) As Task

Parameters

operations
IRecommendationsOperations

The operations group for this extension method.

resourceGroupName
System.String

Name of the resource group to which the resource belongs.

environmentName
System.String

Name of the app.

hostingEnvironmentName
System.String
cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Remarks

Description for Disable all recommendations for an app.

Applies to