Compartilhar via


DnsForwardingRulesetVirtualNetworkLinkCollection.GetAsync Método

Definição

Obtém as 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}
  • IdVirtualNetworkLinks_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsForwardingRulesetVirtualNetworkLinkResource>> GetAsync (string virtualNetworkLinkName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsForwardingRulesetVirtualNetworkLinkResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DnsResolver.DnsForwardingRulesetVirtualNetworkLinkResource>>
Public Overridable Function GetAsync (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 era esperado que não estivesse vazio.

virtualNetworkLinkName é nulo.

Aplica-se a