Freigeben über


AppPlatformApiPortalCustomDomainCollection.GetAsync Methode

Definition

Rufen Sie die benutzerdefinierte Domäne des API-Portals ab.

  • Request Path/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apiPortals/{apiPortalName}/domains/{domainName}
  • Vorgang IdApiPortalCustomDomains_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformApiPortalCustomDomainResource>> GetAsync (string domainName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformApiPortalCustomDomainResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformApiPortalCustomDomainResource>>
Public Overridable Function GetAsync (domainName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformApiPortalCustomDomainResource))

Parameter

domainName
String

Der Name der benutzerdefinierten API-Portaldomäne.

cancellationToken
CancellationToken

Das zu verwendende Abbruchtoken.

Gibt zurück

Ausnahmen

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

domainName ist NULL.

Gilt für: