UNPKG

@azure/arm-security

Version:
43 lines (40 loc) 1.44 kB
/* * 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 { SqlVulnerabilityAssessmentScansGetOptionalParams, SqlVulnerabilityAssessmentScansGetResponse, SqlVulnerabilityAssessmentScansListOptionalParams, SqlVulnerabilityAssessmentScansListResponse } from "../models"; /** Interface representing a SqlVulnerabilityAssessmentScans. */ export interface SqlVulnerabilityAssessmentScans { /** * Gets the scan details of a single scan record. * @param scanId The scan Id. Type 'latest' to get the scan record for the latest scan. * @param workspaceId The workspace Id. * @param resourceId The identifier of the resource. * @param options The options parameters. */ get( scanId: string, workspaceId: string, resourceId: string, options?: SqlVulnerabilityAssessmentScansGetOptionalParams ): Promise<SqlVulnerabilityAssessmentScansGetResponse>; /** * Gets a list of scan records. * @param workspaceId The workspace Id. * @param resourceId The identifier of the resource. * @param options The options parameters. */ list( workspaceId: string, resourceId: string, options?: SqlVulnerabilityAssessmentScansListOptionalParams ): Promise<SqlVulnerabilityAssessmentScansListResponse>; }