RecommendationsOperationsExtensions.DisableRecommendationForSubscriptionAsync Method

Definition

Disables the specified rule so it will not apply to a subscription in the future.

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

Parameters

operations
IRecommendationsOperations

The operations group for this extension method.

name
System.String

Rule name

cancellationToken
System.Threading.CancellationToken

The cancellation token.

Returns

System.Threading.Tasks.Task

Remarks

Description for Disables the specified rule so it will not apply to a subscription in the future.

Applies to