Freigeben über


AppPlatformApiPortalCollection.Get(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 Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformApiPortalResource> Get (string apiPortalName, System.Threading.CancellationToken cancellationToken = default);
abstract member Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformApiPortalResource>
override this.Get : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformApiPortalResource>
Public Overridable Function Get (apiPortalName As String, Optional cancellationToken As CancellationToken = Nothing) As 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: