Freigeben über


HostingEnvironmentRecommendationResource.GetAsync Methode

Definition

Beschreibung für Abrufen einer Empfehlungsregel für eine App.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/hostingEnvironments/{hostingEnvironmentName}/recommendations/{name}
  • Vorgangs-IdRecommendations_GetRuleDetailsByHostingEnvironment
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentRecommendationResource>> GetAsync (bool? updateSeen = default, string recommendationId = default, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentRecommendationResource>>
override this.GetAsync : Nullable<bool> * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppService.HostingEnvironmentRecommendationResource>>
Public Overridable Function GetAsync (Optional updateSeen As Nullable(Of Boolean) = Nothing, Optional recommendationId As String = Nothing, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of HostingEnvironmentRecommendationResource))

Parameter

updateSeen
Nullable<Boolean>

Geben Sie <Code>true</code> an, um den zuletzt angezeigten Zeitstempel des Empfehlungsobjekts zu aktualisieren.

recommendationId
String

Die GUID des Empfehlungsobjekts, wenn Sie eine abgelaufene Abfrage abfragen. Sie müssen ihn nicht angeben, um einen aktiven Eintrag abzufragen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Gilt für: