Partilhar via


DnsResolverOutboundEndpointCollection.GetAsync Método

Definição

Obtém propriedades de um ponto de extremidade de saída para um resolvedor DNS.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsResolvers/{dnsResolverName}/outboundEndpoints/{outboundEndpointName}
  • Operação IdOutboundEndpoints_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverOutboundEndpointResource>> GetAsync (string outboundEndpointName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverOutboundEndpointResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsResolverOutboundEndpointResource>>
Public Overridable Function GetAsync (outboundEndpointName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DnsResolverOutboundEndpointResource))

Parâmetros

outboundEndpointName
String

O nome do ponto de extremidade de saída para o resolvedor DNS.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

outboundEndpointName é nulo.

Aplica-se a