/* * 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 { SimplePollerLike, OperationState } from "@azure/core-lro"; import { VulnerabilityAssessmentName, DatabaseSqlVulnerabilityAssessmentExecuteScanExecuteOptionalParams } from "../models"; /** Interface representing a DatabaseSqlVulnerabilityAssessmentExecuteScan. */ export interface DatabaseSqlVulnerabilityAssessmentExecuteScan { /** * 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 options The options parameters. */ beginExecute( resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, options?: DatabaseSqlVulnerabilityAssessmentExecuteScanExecuteOptionalParams ): 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 options The options parameters. */ beginExecuteAndWait( resourceGroupName: string, serverName: string, databaseName: string, vulnerabilityAssessmentName: VulnerabilityAssessmentName, options?: DatabaseSqlVulnerabilityAssessmentExecuteScanExecuteOptionalParams ): Promise; }