/*
* Copyright (c) Microsoft Corporation.
* Licensed under the MIT License.
*
* Code generated by Microsoft (R) AutoRest Code Generator.
* Changes may cause incorrect behavior and will be lost if the code is regenerated.
*/
import { PagedAsyncIterableIterator } from "@azure/core-paging";
import {
SqlVulnerabilityAssessmentScanRecord,
VulnerabilityAssessmentName,
SqlVulnerabilityAssessmentScansListBySqlVulnerabilityAssessmentsOptionalParams,
SqlVulnerabilityAssessmentScansGetOptionalParams,
SqlVulnerabilityAssessmentScansGetResponse
} from "../models";
///
/** Interface representing a SqlVulnerabilityAssessmentScans. */
export interface SqlVulnerabilityAssessmentScans {
/**
* 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 vulnerabilityAssessmentName The name of the vulnerability assessment.
* @param options The options parameters.
*/
listBySqlVulnerabilityAssessments(
resourceGroupName: string,
serverName: string,
vulnerabilityAssessmentName: VulnerabilityAssessmentName,
options?: SqlVulnerabilityAssessmentScansListBySqlVulnerabilityAssessmentsOptionalParams
): PagedAsyncIterableIterator;
/**
* Get a system database vulnerability assessment scan record.
* @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 vulnerabilityAssessmentName The name of the vulnerability assessment.
* @param scanId
* @param options The options parameters.
*/
get(
resourceGroupName: string,
serverName: string,
vulnerabilityAssessmentName: VulnerabilityAssessmentName,
scanId: string,
options?: SqlVulnerabilityAssessmentScansGetOptionalParams
): Promise;
}