Partager via


SqlServerResource.GetSqlServerSecurityAlertPolicy Méthode

Définition

Obtenir la stratégie d’alerte de sécurité d’un serveur.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/securityAlertPolicies/{securityAlertPolicyName}
  • IdServerSecurityAlertPolicies_Get d’opération
public virtual Azure.Response<Azure.ResourceManager.Sql.SqlServerSecurityAlertPolicyResource> GetSqlServerSecurityAlertPolicy (Azure.ResourceManager.Sql.Models.SqlSecurityAlertPolicyName securityAlertPolicyName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlServerSecurityAlertPolicy : Azure.ResourceManager.Sql.Models.SqlSecurityAlertPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlServerSecurityAlertPolicyResource>
override this.GetSqlServerSecurityAlertPolicy : Azure.ResourceManager.Sql.Models.SqlSecurityAlertPolicyName * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.SqlServerSecurityAlertPolicyResource>
Public Overridable Function GetSqlServerSecurityAlertPolicy (securityAlertPolicyName As SqlSecurityAlertPolicyName, Optional cancellationToken As CancellationToken = Nothing) As Response(Of SqlServerSecurityAlertPolicyResource)

Paramètres

securityAlertPolicyName
SqlSecurityAlertPolicyName

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

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à