Partager via


ManagedDatabaseVulnerabilityAssessmentResource.GetManagedDatabaseVulnerabilityAssessmentScan 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 Azure.Response<Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentScanResource> GetManagedDatabaseVulnerabilityAssessmentScan (string scanId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetManagedDatabaseVulnerabilityAssessmentScan : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentScanResource>
override this.GetManagedDatabaseVulnerabilityAssessmentScan : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentScanResource>
Public Overridable Function GetManagedDatabaseVulnerabilityAssessmentScan (scanId As String, Optional cancellationToken As CancellationToken = Nothing) As 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 à