Freigeben über


AppPlatformApiPortalCollection.GetAsync(String, CancellationToken) Methode

Definition

Rufen Sie das API-Portal und die zugehörigen Eigenschaften ab.

  • Anforderungspfad/abonnements/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apiPortals/{apiPortalName}
  • Vorgangs-IdApiPortals_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformApiPortalResource>> GetAsync (string apiPortalName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformApiPortalResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformApiPortalResource>>
Public Overridable Function GetAsync (apiPortalName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformApiPortalResource))

Parameter

apiPortalName
String

Der Name des API-Portals.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

apiPortalName ist NULL.

Gilt für: