import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ManagedDatabaseVulnerabilityAssessmentScans } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { VulnerabilityAssessmentScanRecord, VulnerabilityAssessmentName, ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseOptionalParams, ManagedDatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams, ManagedDatabaseVulnerabilityAssessmentScansExportOptionalParams, ManagedDatabaseVulnerabilityAssessmentScansExportResponse, ManagedDatabaseVulnerabilityAssessmentScansGetOptionalParams, ManagedDatabaseVulnerabilityAssessmentScansGetResponse } from "../models"; /** Class containing ManagedDatabaseVulnerabilityAssessmentScans operations. */ export declare class ManagedDatabaseVulnerabilityAssessmentScansImpl implements ManagedDatabaseVulnerabilityAssessmentScans { private readonly client; /** * Initialize a new instance of the class ManagedDatabaseVulnerabilityAssessmentScans class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Lists the vulnerability assessment scans of a database. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param options The options parameters. */ listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, options?: ManagedDatabaseVulnerabilityAssessmentScansListByDatabaseOptionalParams): PagedAsyncIterableIterator; private listByDatabasePagingPage; private listByDatabasePagingAll; /** * Executes a Vulnerability Assessment database scan. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param scanId The vulnerability assessment scan Id of the scan to retrieve. * @param options The options parameters. */ beginInitiateScan(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, scanId: string, options?: ManagedDatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams): Promise, void>>; /** * Executes a Vulnerability Assessment database scan. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param scanId The vulnerability assessment scan Id of the scan to retrieve. * @param options The options parameters. */ beginInitiateScanAndWait(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, scanId: string, options?: ManagedDatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams): Promise; /** * Convert an existing scan result to a human readable format. If already exists nothing happens * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the scanned database. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param scanId The vulnerability assessment scan Id. * @param options The options parameters. */ export(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, scanId: string, options?: ManagedDatabaseVulnerabilityAssessmentScansExportOptionalParams): Promise; /** * Lists the vulnerability assessment scans of a database. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param options The options parameters. */ private _listByDatabase; /** * Gets a vulnerability assessment scan record of a database. * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param scanId The vulnerability assessment scan Id of the scan to retrieve. * @param options The options parameters. */ get(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, scanId: string, options?: ManagedDatabaseVulnerabilityAssessmentScansGetOptionalParams): Promise; /** * ListByDatabaseNext * @param resourceGroupName The name of the resource group that contains the resource. You can obtain * this value from the Azure Resource Manager API or the portal. * @param managedInstanceName The name of the managed instance. * @param databaseName The name of the database. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param nextLink The nextLink from the previous successful call to the ListByDatabase method. * @param options The options parameters. */ private _listByDatabaseNext; } //# sourceMappingURL=managedDatabaseVulnerabilityAssessmentScans.d.ts.map