MockableAdvisorSubscriptionResource.GetGenerateStatusRecommendation 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.
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
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