Share via


SqlVulnerabilityAssessmentScanResource.GetSqlVulnerabilityAssessmentScanResults Method

Definition

Gets a list of scan results for a single scan record.

  • Request Path: /{resourceId}/providers/Microsoft.Security/sqlVulnerabilityAssessments/default/scans/{scanId}/scanResults
  • Operation Id: SqlVulnerabilityAssessmentScanResults_List
  • Default Api Version: 2023-02-01-preview
public virtual Azure.Pageable<Azure.ResourceManager.SecurityCenter.Models.SqlVulnerabilityAssessmentScanResult> GetSqlVulnerabilityAssessmentScanResults (Guid workspaceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlVulnerabilityAssessmentScanResults : Guid * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.Models.SqlVulnerabilityAssessmentScanResult>
override this.GetSqlVulnerabilityAssessmentScanResults : Guid * System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.SecurityCenter.Models.SqlVulnerabilityAssessmentScanResult>
Public Overridable Function GetSqlVulnerabilityAssessmentScanResults (workspaceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of SqlVulnerabilityAssessmentScanResult)

Parameters

workspaceId
Guid

The workspace Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

A collection of SqlVulnerabilityAssessmentScanResult that may take multiple service requests to iterate over.

Applies to