Share via


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
String

Rule name

cancellationToken
CancellationToken

The cancellation token.

Returns

Remarks

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

Applies to