Partager via


SynapseWorkspaceResource.GetSynapseServerSecurityAlertPolicyAsync Méthode

Définition

Obtenir la stratégie d’alerte de sécurité d’un serveur Sql Server géré par un espace de travail.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies/{securityAlertPolicyName}
  • IdWorkspaceManagedSqlServerSecurityAlertPolicy_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseServerSecurityAlertPolicyResource>> GetSynapseServerSecurityAlertPolicyAsync (Azure.ResourceManager.Synapse.Models.SqlServerSecurityAlertPolicyName securityAlertPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSynapseServerSecurityAlertPolicyAsync : Azure.ResourceManager.Synapse.Models.SqlServerSecurityAlertPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseServerSecurityAlertPolicyResource>>
override this.GetSynapseServerSecurityAlertPolicyAsync : Azure.ResourceManager.Synapse.Models.SqlServerSecurityAlertPolicyName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Synapse.SynapseServerSecurityAlertPolicyResource>>
Public Overridable Function GetSynapseServerSecurityAlertPolicyAsync (securityAlertPolicyName As SqlServerSecurityAlertPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SynapseServerSecurityAlertPolicyResource))

Paramètres

securityAlertPolicyName
SqlServerSecurityAlertPolicyName

Nom de la stratégie d’alerte de sécurité.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à