Share via


MockableAdvisorSubscriptionResource.GetGenerateStatusRecommendation Method

Definition

Retrieves the status of the recommendation computation or generation process. Invoke this API after calling the generation recommendation. The URI of this API is returned in the Location field of the response header.

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

Parameters

operationId
Guid

The operation ID, which can be found from the Location field in the generate recommendation response header.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

Applies to