import { PagedAsyncIterableIterator } from "@azure/core-paging"; import { ServerVulnerabilityAssessment, ServerVulnerabilityAssessmentsListByServerOptionalParams, VulnerabilityAssessmentName, ServerVulnerabilityAssessmentsGetOptionalParams, ServerVulnerabilityAssessmentsGetResponse, ServerVulnerabilityAssessmentsCreateOrUpdateOptionalParams, ServerVulnerabilityAssessmentsCreateOrUpdateResponse, ServerVulnerabilityAssessmentsDeleteOptionalParams } from "../models"; /** Interface representing a ServerVulnerabilityAssessments. */ export interface ServerVulnerabilityAssessments { /** * 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; /** * 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; } //# sourceMappingURL=serverVulnerabilityAssessments.d.ts.map