Aracılığıyla paylaş


RecommendationsOperationsExtensions.GetAsync Method

Definition

Obtains details of a cached recommendation.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Advisor.Models.ResourceRecommendationBase> GetAsync (this Microsoft.Azure.Management.Advisor.IRecommendationsOperations operations, string resourceUri, string recommendationId, System.Threading.CancellationToken cancellationToken = default);
static member GetAsync : Microsoft.Azure.Management.Advisor.IRecommendationsOperations * string * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Advisor.Models.ResourceRecommendationBase>
<Extension()>
Public Function GetAsync (operations As IRecommendationsOperations, resourceUri As String, recommendationId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of ResourceRecommendationBase)

Parameters

operations
IRecommendationsOperations

The operations group for this extension method.

resourceUri
String

The fully qualified Azure Resource Manager identifier of the resource to which the recommendation applies.

recommendationId
String

The recommendation ID.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to