Compartir a través de


ManagedInstanceResource.GetManagedServerSecurityAlertPolicyAsync Método

Definición

Obtenga la directiva de detección de amenazas de un servidor administrado.

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

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