Partilhar via


DnsForwardingRulesetResource.GetDnsForwardingRulesetVirtualNetworkLinkAsync Método

Definição

Obtém propriedades de um link de rede virtual para um conjunto de regras de encaminhamento de DNS.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/dnsForwardingRulesets/{dnsForwardingRulesetName}/virtualNetworkLinks/{virtualNetworkLinkName}
  • Operação IdVirtualNetworkLinks_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsForwardingRulesetVirtualNetworkLinkResource>> GetDnsForwardingRulesetVirtualNetworkLinkAsync (string virtualNetworkLinkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetDnsForwardingRulesetVirtualNetworkLinkAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsForwardingRulesetVirtualNetworkLinkResource>>
override this.GetDnsForwardingRulesetVirtualNetworkLinkAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsForwardingRulesetVirtualNetworkLinkResource>>
Public Overridable Function GetDnsForwardingRulesetVirtualNetworkLinkAsync (virtualNetworkLinkName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of DnsForwardingRulesetVirtualNetworkLinkResource))

Parâmetros

virtualNetworkLinkName
String

O nome do link da rede virtual.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

virtualNetworkLinkName é nulo.

Aplica-se a