Partager via


SqlDatabaseSqlVulnerabilityAssessmentResource.GetSqlDatabaseSqlVulnerabilityAssessmentScanAsync Méthode

Définition

Obtenez un résultat d’analyse d’évaluation des vulnérabilités de base de données.

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

Paramètres

scanId
String

ID d’analyse de l’évaluation des vulnérabilités de l’analyse à récupérer.

cancellationToken
CancellationToken

Jeton d’annulation à utiliser.

Retours

Exceptions

scanId est une chaîne vide et devait être non vide.

scanId a la valeur null.

S’applique à