Partager via


SqlDatabaseSecurityAlertPolicyCollection.ExistsAsync Méthode

Définition

Vérifie si la ressource existe dans Azure.

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

Paramètres

securityAlertPolicyName
SqlSecurityAlertPolicyName

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

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à