import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ServerVulnerabilityAssessments } from "../operationsInterfaces"; import { SqlManagementClient } from "../sqlManagementClient"; import { ServerVulnerabilityAssessment, ServerVulnerabilityAssessmentsListByServerOptionalParams, VulnerabilityAssessmentName, ServerVulnerabilityAssessmentsGetOptionalParams, ServerVulnerabilityAssessmentsGetResponse, ServerVulnerabilityAssessmentsCreateOrUpdateOptionalParams, ServerVulnerabilityAssessmentsCreateOrUpdateResponse, ServerVulnerabilityAssessmentsDeleteOptionalParams } from "../models"; /** Class containing ServerVulnerabilityAssessments operations. */ export declare class ServerVulnerabilityAssessmentsImpl implements ServerVulnerabilityAssessments { private readonly client; /** * Initialize a new instance of the class ServerVulnerabilityAssessments class. * @param client Reference to the service client */ constructor(client: SqlManagementClient); /** * Lists the vulnerability assessment policies associated with a server. * @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 options The options parameters. */ listByServer(resourceGroupName: string, serverName: string, options?: ServerVulnerabilityAssessmentsListByServerOptionalParams): PagedAsyncIterableIterator; private listByServerPagingPage; private listByServerPagingAll; /** * Gets the server'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 serverName The name of the server for which the vulnerability assessment is defined. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param options The options parameters. */ get(resourceGroupName: string, serverName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, options?: ServerVulnerabilityAssessmentsGetOptionalParams): Promise; /** * Creates or updates the server's vulnerability assessment. Learn more about setting SQL vulnerability * assessment with managed identity - * https://docs.microsoft.com/azure/azure-sql/database/sql-database-vulnerability-assessment-storage * @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 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, serverName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, parameters: ServerVulnerabilityAssessment, options?: ServerVulnerabilityAssessmentsCreateOrUpdateOptionalParams): Promise; /** * Removes the server'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 serverName The name of the server for which the vulnerability assessment is defined. * @param vulnerabilityAssessmentName The name of the vulnerability assessment. * @param options The options parameters. */ delete(resourceGroupName: string, serverName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, options?: ServerVulnerabilityAssessmentsDeleteOptionalParams): Promise; /** * Lists the vulnerability assessment policies associated with a server. * @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 options The options parameters. */ private _listByServer; /** * ListByServerNext * @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 nextLink The nextLink from the previous successful call to the ListByServer method. * @param options The options parameters. */ private _listByServerNext; } //# sourceMappingURL=serverVulnerabilityAssessments.d.ts.map