import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { DatabaseVulnerabilityAssessmentScans } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { SimplePollerLike, OperationState } from "@azure/core-lro"; import { VulnerabilityAssessmentScanRecord, VulnerabilityAssessmentName, DatabaseVulnerabilityAssessmentScansListByDatabaseOptionalParams, DatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams, DatabaseVulnerabilityAssessmentScansGetOptionalParams, DatabaseVulnerabilityAssessmentScansGetResponse, DatabaseVulnerabilityAssessmentScansExportOptionalParams, DatabaseVulnerabilityAssessmentScansExportResponse } from "../models"; /** Class containing DatabaseVulnerabilityAssessmentScans operations. */ export declare class DatabaseVulnerabilityAssessmentScansImpl implements DatabaseVulnerabilityAssessmentScans { private readonly client; /** * Initialize a new instance of the class DatabaseVulnerabilityAssessmentScans 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 serverName The name of the server. * @param databaseName The name of the database. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param options The options parameters. */ listByDatabase(resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, options?: DatabaseVulnerabilityAssessmentScansListByDatabaseOptionalParams): 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 serverName The name of the server. * @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, serverName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, scanId: string, options?: DatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams): 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 serverName The name of the server. * @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, serverName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, scanId: string, options?: DatabaseVulnerabilityAssessmentScansInitiateScanOptionalParams): 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 serverName The name of the server. * @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 serverName The name of the server. * @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, serverName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, scanId: string, options?: DatabaseVulnerabilityAssessmentScansGetOptionalParams): 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 serverName The name of the server. * @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, serverName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, scanId: string, options?: DatabaseVulnerabilityAssessmentScansExportOptionalParams): 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 serverName The name of the server. * @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=databaseVulnerabilityAssessmentScans.d.ts.map