Compartir a través de


ManagedDatabaseSecurityAlertPolicyCollection.GetAsync 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>> GetAsync (Azure.ResourceManager.Sql.Models.SqlSecurityAlertPolicyName securityAlertPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.ResourceManager.Sql.Models.SqlSecurityAlertPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedDatabaseSecurityAlertPolicyResource>>
override this.GetAsync : Azure.ResourceManager.Sql.Models.SqlSecurityAlertPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedDatabaseSecurityAlertPolicyResource>>
Public Overridable Function GetAsync (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