Compartilhar via


SqlDatabaseResource.GetSqlDatabaseSecurityAlertPolicy Método

Definição

Obtém a política de alerta de segurança de um banco de dados.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}
  • Operação IdDatabaseSecurityAlertPolicies_Get
public virtual Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSecurityAlertPolicyResource> GetSqlDatabaseSecurityAlertPolicy (Azure.ResourceManager.Sql.Models.SqlSecurityAlertPolicyName securityAlertPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlDatabaseSecurityAlertPolicy : Azure.ResourceManager.Sql.Models.SqlSecurityAlertPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSecurityAlertPolicyResource>
override this.GetSqlDatabaseSecurityAlertPolicy : Azure.ResourceManager.Sql.Models.SqlSecurityAlertPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSecurityAlertPolicyResource>
Public Overridable Function GetSqlDatabaseSecurityAlertPolicy (securityAlertPolicyName As SqlSecurityAlertPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SqlDatabaseSecurityAlertPolicyResource)

Parâmetros

securityAlertPolicyName
SqlSecurityAlertPolicyName

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

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a