import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ManagedDatabaseVulnerabilityAssessments } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { DatabaseVulnerabilityAssessment, ManagedDatabaseVulnerabilityAssessmentsListByDatabaseOptionalParams, VulnerabilityAssessmentName, ManagedDatabaseVulnerabilityAssessmentsGetOptionalParams, ManagedDatabaseVulnerabilityAssessmentsGetResponse, ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateOptionalParams, ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateResponse, ManagedDatabaseVulnerabilityAssessmentsDeleteOptionalParams } from "../models"; /** Class containing ManagedDatabaseVulnerabilityAssessments operations. */ export declare class ManagedDatabaseVulnerabilityAssessmentsImpl implements ManagedDatabaseVulnerabilityAssessments { private readonly client; /** * Initialize a new instance of the class ManagedDatabaseVulnerabilityAssessments class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Lists the vulnerability assessments of a managed 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 for which the vulnerability assessment is defined. * @param options The options parameters. */ listByDatabase(resourceGroupName: string, managedInstanceName: string, databaseName: string, options?: ManagedDatabaseVulnerabilityAssessmentsListByDatabaseOptionalParams): PagedAsyncIterableIterator; private listByDatabasePagingPage; private listByDatabasePagingAll; /** * Gets the database's vulnerability assessment. * @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 for which the vulnerability assessment is defined. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param options The options parameters. */ get(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, options?: ManagedDatabaseVulnerabilityAssessmentsGetOptionalParams): Promise; /** * Creates or updates the database's vulnerability assessment. * @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 for which the vulnerability assessment is defined. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param parameters The requested resource. * @param options The options parameters. */ createOrUpdate(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, parameters: DatabaseVulnerabilityAssessment, options?: ManagedDatabaseVulnerabilityAssessmentsCreateOrUpdateOptionalParams): Promise; /** * Removes the database's vulnerability assessment. * @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 for which the vulnerability assessment is defined. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param options The options parameters. */ delete(resourceGroupName: string, managedInstanceName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, options?: ManagedDatabaseVulnerabilityAssessmentsDeleteOptionalParams): Promise; /** * Lists the vulnerability assessments of a managed 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 for which the vulnerability assessment is defined. * @param options The options parameters. */ private _listByDatabase; /** * 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 for which the vulnerability assessment is defined. * @param nextLink The nextLink from the previous successful call to the ListByDatabase method. * @param options The options parameters. */ private _listByDatabaseNext; } //# sourceMappingURL=managedDatabaseVulnerabilityAssessments.d.ts.map