Compartilhar via


PostgreSqlServerResource.GetPostgreSqlServerSecurityAlertPolicy Método

Definição

Obter a política de alerta de segurança de um servidor.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DBforPostgreSQL/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}
  • IdServerSecurityAlertPolicies_Get de operação
public virtual Azure.Response<Azure.ResourceManager.PostgreSql.PostgreSqlServerSecurityAlertPolicyResource> GetPostgreSqlServerSecurityAlertPolicy (Azure.ResourceManager.PostgreSql.Models.PostgreSqlSecurityAlertPolicyName securityAlertPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetPostgreSqlServerSecurityAlertPolicy : Azure.ResourceManager.PostgreSql.Models.PostgreSqlSecurityAlertPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.PostgreSqlServerSecurityAlertPolicyResource>
override this.GetPostgreSqlServerSecurityAlertPolicy : Azure.ResourceManager.PostgreSql.Models.PostgreSqlSecurityAlertPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.PostgreSql.PostgreSqlServerSecurityAlertPolicyResource>
Public Overridable Function GetPostgreSqlServerSecurityAlertPolicy (securityAlertPolicyName As PostgreSqlSecurityAlertPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of PostgreSqlServerSecurityAlertPolicyResource)

Parâmetros

securityAlertPolicyName
PostgreSqlSecurityAlertPolicyName

O nome da política de alerta de segurança.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a