Partilhar via


AppPlatformApiPortalResource.GetAppPlatformApiPortalCustomDomainAsync Método

Definição

Obtenha o domínio personalizado do portal de API.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.AppPlatform/Spring/{serviceName}/apiPortals/{apiPortalName}/domains/{domainName}
  • IdApiPortalCustomDomains_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformApiPortalCustomDomainResource>> GetAppPlatformApiPortalCustomDomainAsync (string domainName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAppPlatformApiPortalCustomDomainAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformApiPortalCustomDomainResource>>
override this.GetAppPlatformApiPortalCustomDomainAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.AppPlatform.AppPlatformApiPortalCustomDomainResource>>
Public Overridable Function GetAppPlatformApiPortalCustomDomainAsync (domainName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of AppPlatformApiPortalCustomDomainResource))

Parâmetros

domainName
String

O nome do domínio personalizado do portal de API.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

domainName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

domainName é nulo.

Aplica-se a