RecommendationsOperationsExtensions.DisableRecommendationForSiteAsync(IRecommendationsOperations, String, String, String, CancellationToken) Method

Definition

Disables the specific rule for a web site permanently.

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

Parameters

operations
IRecommendationsOperations

The operations group for this extension method.

resourceGroupName
String

Name of the resource group to which the resource belongs.

siteName
String

Site name

name
String

Rule name

cancellationToken
CancellationToken

The cancellation token.

Returns

Task

Remarks

Description for Disables the specific rule for a web site permanently.

Applies to