Partilhar via


PostgreSqlFlexibleServerResource.GetPostgreSqlFlexibleServerFirewallRule Método

Definição

Liste todas as regras de firewall em um determinado servidor.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/flexibleServers/{serverName}/firewallRules/{firewallRuleName}
  • Operação IdFirewallRules_Get
public virtual Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerFirewallRuleResource> GetPostgreSqlFlexibleServerFirewallRule (string firewallRuleName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPostgreSqlFlexibleServerFirewallRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerFirewallRuleResource>
override this.GetPostgreSqlFlexibleServerFirewallRule : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.FlexibleServers.PostgreSqlFlexibleServerFirewallRuleResource>
Public Overridable Function GetPostgreSqlFlexibleServerFirewallRule (firewallRuleName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PostgreSqlFlexibleServerFirewallRuleResource)

Parâmetros

firewallRuleName
String

O nome da regra de firewall do servidor.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

firewallRuleName é nulo.

Aplica-se a