Share via


ManagedDatabaseVulnerabilityAssessmentScanCollection.GetAll Method

Definition

Lists the vulnerability assessment scans of a database.

  • Request Path: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Sql/managedInstances/{managedInstanceName}/databases/{databaseName}/vulnerabilityAssessments/{vulnerabilityAssessmentName}/scans
  • Operation Id: ManagedDatabaseVulnerabilityAssessmentScans_ListByDatabase
  • Default Api Version: 2020-11-01-preview
  • Resource: ManagedDatabaseVulnerabilityAssessmentScanResource
public virtual Azure.Pageable<Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentScanResource> GetAll (System.Threading.CancellationToken cancellationToken = default);
abstract member GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentScanResource>
override this.GetAll : System.Threading.CancellationToken -> Azure.Pageable<Azure.ResourceManager.Sql.ManagedDatabaseVulnerabilityAssessmentScanResource>
Public Overridable Function GetAll (Optional cancellationToken As CancellationToken = Nothing) As Pageable(Of ManagedDatabaseVulnerabilityAssessmentScanResource)

Parameters

cancellationToken
CancellationToken

The cancellation token to use.

Returns

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

Applies to