Compartilhar via


AppPlatformGatewayCustomDomainCollection.GetAsync Método

Definição

Obtenha o domínio personalizado do Spring Cloud Gateway.

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

Parâmetros

domainName
String

O nome do domínio personalizado do Spring Cloud Gateway.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

domainName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

domainName é nulo.

Aplica-se a