共用方式為


SqlVulnerabilityAssessmentScanResource.GetSqlVulnerabilityAssessmentScanResultsAsync 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.AsyncPageable<Azure.ResourceManager.SecurityCenter.Models.SqlVulnerabilityAssessmentScanResult> GetSqlVulnerabilityAssessmentScanResultsAsync (Guid workspaceId, System.Threading.CancellationToken cancellationToken = default);
abstract member GetSqlVulnerabilityAssessmentScanResultsAsync : Guid * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.Models.SqlVulnerabilityAssessmentScanResult>
override this.GetSqlVulnerabilityAssessmentScanResultsAsync : Guid * System.Threading.CancellationToken -> Azure.AsyncPageable<Azure.ResourceManager.SecurityCenter.Models.SqlVulnerabilityAssessmentScanResult>
Public Overridable Function GetSqlVulnerabilityAssessmentScanResultsAsync (workspaceId As Guid, Optional cancellationToken As CancellationToken = Nothing) As AsyncPageable(Of SqlVulnerabilityAssessmentScanResult)

Parameters

workspaceId
Guid

The workspace Id.

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to