Partager via


SqlDatabaseSqlVulnerabilityAssessmentCollection.GetAsync 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>> GetAsync (Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName vulnerabilityAssessmentName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentResource>>
override this.GetAsync : Azure.ResourceManager.Sql.Models.VulnerabilityAssessmentName * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.SqlDatabaseSqlVulnerabilityAssessmentResource>>
Public Overridable Function GetAsync (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 à