Partilhar via


DnsForwardingRulesetCollection.GetAsync(String, CancellationToken) Método

Definição

Obtém uma propriedade de conjunto de regras de encaminhamento DNS.

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

Parâmetros

rulesetName
String

O nome do conjunto de regras de encaminhamento DNS.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

rulesetName é nulo.

Aplica-se a