Freigeben über


AppPlatformAppResource.GetAppPlatformCustomDomainAsync Methode

Definition

Rufen Sie die benutzerdefinierte Domäne einer Lebenszyklusanwendung ab.

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

Parameter

domainName
String

Der Name der benutzerdefinierten Domänenressource.

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: