Compartir a través de


SqlDatabaseResource.GetSqlDatabaseSecurityAlertPolicy Método

Definición

Obtiene la directiva de alertas de seguridad de una base de datos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}
  • IdDatabaseSecurityAlertPolicies_Get de operaciones
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

Nombre de la directiva de alertas de seguridad.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Se aplica a