Partager via


SqlDatabaseSqlVulnerabilityAssessmentBaselineCollection.GetAsync Méthode

Définition

Obtient une liste des bases de référence des règles d’évaluation des vulnérabilités sql de la base de données.

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

Paramètres

baselineName
SqlVulnerabilityAssessmentBaselineName

SqlVulnerabilityAssessmentBaselineName à utiliser.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

S’applique à