Compartir a través de


ManagedDatabaseVulnerabilityAssessmentResource.GetManagedDatabaseVulnerabilityAssessmentScanAsync Método

Definición

Obtiene un registro de examen de evaluación de vulnerabilidades de una base de datos.

  • Ruta de acceso de solicitud/suscripciones/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans/{scanId}
  • IdManagedDatabaseVulnerabilityAssessmentScans_Get de operaciones
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))

Parámetros

scanId
String

Identificador de examen de evaluación de vulnerabilidades del examen que se va a recuperar.

cancellationToken
CancellationToken

Token de cancelación que se va a usar.

Devoluciones

Excepciones

scanId es una cadena vacía y se esperaba que no estuviera vacía.

scanId es null.

Se aplica a