Partilhar via


SynapseWorkspaceResource.GetSynapseServerSecurityAlertPolicyAsync Método

Definição

Obtenha a política de alerta de segurança do sql server gerenciado por um workspace.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Synapse/workspaces/{workspaceName}/securityAlertPolicies/{securityAlertPolicyName}
  • IdWorkspaceManagedSqlServerSecurityAlertPolicy_Get de operação
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))

Parâmetros

securityAlertPolicyName
SqlServerSecurityAlertPolicyName

O nome da política de alerta de segurança.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Aplica-se a