RecommendationsOperationsExtensions.DisableRecommendationForSubscriptionAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET