Compartilhar via


SynapseIPFirewallRuleInfoCollection.GetAsync Método

Definição

Obter uma regra de firewall

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/firewallRules/{ruleName}
  • Operação IdIpFirewallRules_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseIPFirewallRuleInfoResource>> GetAsync (string ruleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseIPFirewallRuleInfoResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseIPFirewallRuleInfoResource>>
Public Overridable Function GetAsync (ruleName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SynapseIPFirewallRuleInfoResource))

Parâmetros

ruleName
String

O nome da regra de firewall de IP.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

ruleName é nulo.

Aplica-se a