Partager via


SqlDatabaseResource.GetSqlDatabaseSqlVulnerabilityAssessmentAsync Méthode

Définition

Obtient la stratégie d’évaluation des vulnérabilités SQL pour la base de données.

  • Chemin de la demande/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/servers/{serverName}/databases/{databaseName}/sqlVulnerabilityAssessments/{vulnerabilityAssessmentName}
  • IdDatabaseSqlVulnerabilityAssessmentsSettings_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentResource>> GetSqlDatabaseSqlVulnerabilityAssessmentAsync (Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName vulnerabilityAssessmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlDatabaseSqlVulnerabilityAssessmentAsync : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentResource>>
override this.GetSqlDatabaseSqlVulnerabilityAssessmentAsync : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentResource>>
Public Overridable Function GetSqlDatabaseSqlVulnerabilityAssessmentAsync (vulnerabilityAssessmentName As VulnerabilityAssessmentName, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SqlDatabaseSqlVulnerabilityAssessmentResource))

Paramètres

vulnerabilityAssessmentName
VulnerabilityAssessmentName

Nom de l’évaluation des vulnérabilités SQL.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à