Partager via


ManagedDatabaseVulnerabilityAssessmentResource.GetManagedDatabaseVulnerabilityAssessmentScanAsync Méthode

Définition

Obtient un enregistrement d’analyse d’évaluation des vulnérabilités d’une base de données.

  • Chemin de la requête/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}
  • IdManagedDatabaseVulnerabilityAssessmentScans_Get d’opération
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentScanResource>> GetManagedDatabaseVulnerabilityAssessmentScanAsync (string scanId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedDatabaseVulnerabilityAssessmentScanAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentScanResource>>
override this.GetManagedDatabaseVulnerabilityAssessmentScanAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentScanResource>>
Public Overridable Function GetManagedDatabaseVulnerabilityAssessmentScanAsync (scanId As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagedDatabaseVulnerabilityAssessmentScanResource))

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 à