MockableAdvisorSubscriptionResource.GenerateRecommendation Method

Definition

Initiates the recommendation generation or computation process for a subscription. This operation is asynchronous. The generated recommendations are stored in a cache in the Advisor service.

  • Request Path: /subscriptions/{subscriptionId}/providers/Microsoft.Advisor/generateRecommendations
  • Operation Id: Recommendations_Generate
public virtual Azure.Response GenerateRecommendation (System.Threading.CancellationToken cancellationToken = default);
abstract member GenerateRecommendation : System.Threading.CancellationToken -> Azure.Response
override this.GenerateRecommendation : System.Threading.CancellationToken -> Azure.Response
Public Overridable Function GenerateRecommendation (Optional cancellationToken As CancellationToken = Nothing) As Response

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to