RecommendationsOperationsExtensions.GetAsync Método

Definição

Obtém detalhes de uma recomendação armazenada em cache.

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)

Parâmetros

operations
IRecommendationsOperations

O grupo de operações para esse método de extensão.

resourceUri
String

O identificador de Resource Manager do Azure totalmente qualificado do recurso ao qual a recomendação se aplica.

recommendationId
String

A ID da recomendação.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a