Freigeben über


ApiResource.GetApiTagDescriptionAsync(String, CancellationToken) Methode

Definition

Abrufen einer Tagbeschreibung im Bereich der API

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/apis/{apiId}/tagDescriptions/{tagDescriptionId}
  • Vorgang IdApiTagDescription_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiTagDescriptionResource>> GetApiTagDescriptionAsync (string tagDescriptionId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetApiTagDescriptionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiTagDescriptionResource>>
override this.GetApiTagDescriptionAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ApiManagement.ApiTagDescriptionResource>>
Public Overridable Function GetApiTagDescriptionAsync (tagDescriptionId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ApiTagDescriptionResource))

Parameter

tagDescriptionId
String

Tagbeschreibungsbezeichner. Wird beim Erstellen von tagDescription für die API/Tag-Zuordnung verwendet. Basierend auf API- und Tagnamen.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

tagDescriptionId ist eine leere Zeichenfolge und wurde erwartet, dass sie nicht leer ist.

tagDescriptionId ist NULL.

Gilt für: