Compartir a través de


ManagedDatabaseResource.GetManagedDatabaseSecurityAlertPolicyAsync Método

Definición

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

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/securityAlertPolicies/{securityAlertPolicyName}
  • IdManagedDatabaseSecurityAlertPolicies_Get de operaciones
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedDatabaseSecurityAlertPolicyResource>> GetManagedDatabaseSecurityAlertPolicyAsync (Azure.ResourceManager.Sql.Models.SqlSecurityAlertPolicyName securityAlertPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedDatabaseSecurityAlertPolicyAsync : Azure.ResourceManager.Sql.Models.SqlSecurityAlertPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedDatabaseSecurityAlertPolicyResource>>
override this.GetManagedDatabaseSecurityAlertPolicyAsync : Azure.ResourceManager.Sql.Models.SqlSecurityAlertPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedDatabaseSecurityAlertPolicyResource>>
Public Overridable Function GetManagedDatabaseSecurityAlertPolicyAsync (securityAlertPolicyName As SqlSecurityAlertPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedDatabaseSecurityAlertPolicyResource))

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