@azure/arm-security
Version:
A generated SDK for SecurityCenter.
47 lines (44 loc) • 1.72 kB
text/typescript
/*
* 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 {
SqlVulnerabilityAssessmentScanResultsGetOptionalParams,
SqlVulnerabilityAssessmentScanResultsGetResponse,
SqlVulnerabilityAssessmentScanResultsListOptionalParams,
SqlVulnerabilityAssessmentScanResultsListResponse
} from "../models";
/** Interface representing a SqlVulnerabilityAssessmentScanResults. */
export interface SqlVulnerabilityAssessmentScanResults {
/**
* Gets the scan results of a single rule in a scan record.
* @param scanId The scan Id. Type 'latest' to get the scan results for the latest scan.
* @param scanResultId The rule Id of the results.
* @param workspaceId The workspace Id.
* @param resourceId The identifier of the resource.
* @param options The options parameters.
*/
get(
scanId: string,
scanResultId: string,
workspaceId: string,
resourceId: string,
options?: SqlVulnerabilityAssessmentScanResultsGetOptionalParams
): Promise<SqlVulnerabilityAssessmentScanResultsGetResponse>;
/**
* Gets a list of scan results for a single scan record.
* @param scanId The scan Id. Type 'latest' to get the scan results for the latest scan.
* @param workspaceId The workspace Id.
* @param resourceId The identifier of the resource.
* @param options The options parameters.
*/
list(
scanId: string,
workspaceId: string,
resourceId: string,
options?: SqlVulnerabilityAssessmentScanResultsListOptionalParams
): Promise<SqlVulnerabilityAssessmentScanResultsListResponse>;
}