"use strict";
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSqlVulnerabilityAssessmentRuleBaselineOutput = exports.getSqlVulnerabilityAssessmentRuleBaseline = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Gets a system database's sql vulnerability assessment rule baseline.
 *
 * Uses Azure REST API version 2023-08-01.
 *
 * Other available API versions: 2022-02-01-preview, 2022-05-01-preview, 2022-08-01-preview, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native sql [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getSqlVulnerabilityAssessmentRuleBaseline(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:sql:getSqlVulnerabilityAssessmentRuleBaseline", {
        "baselineName": args.baselineName,
        "resourceGroupName": args.resourceGroupName,
        "ruleId": args.ruleId,
        "serverName": args.serverName,
        "systemDatabaseName": args.systemDatabaseName,
        "vulnerabilityAssessmentName": args.vulnerabilityAssessmentName,
    }, opts);
}
exports.getSqlVulnerabilityAssessmentRuleBaseline = getSqlVulnerabilityAssessmentRuleBaseline;
/**
 * Gets a system database's sql vulnerability assessment rule baseline.
 *
 * Uses Azure REST API version 2023-08-01.
 *
 * Other available API versions: 2022-02-01-preview, 2022-05-01-preview, 2022-08-01-preview, 2022-11-01-preview, 2023-02-01-preview, 2023-05-01-preview, 2023-08-01-preview, 2024-05-01-preview, 2024-11-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native sql [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getSqlVulnerabilityAssessmentRuleBaselineOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:sql:getSqlVulnerabilityAssessmentRuleBaseline", {
        "baselineName": args.baselineName,
        "resourceGroupName": args.resourceGroupName,
        "ruleId": args.ruleId,
        "serverName": args.serverName,
        "systemDatabaseName": args.systemDatabaseName,
        "vulnerabilityAssessmentName": args.vulnerabilityAssessmentName,
    }, opts);
}
exports.getSqlVulnerabilityAssessmentRuleBaselineOutput = getSqlVulnerabilityAssessmentRuleBaselineOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0U3FsVnVsbmVyYWJpbGl0eUFzc2Vzc21lbnRSdWxlQmFzZWxpbmUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcWwvZ2V0U3FsVnVsbmVyYWJpbGl0eUFzc2Vzc21lbnRSdWxlQmFzZWxpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNFQUFzRTtBQUN0RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFJekMsMENBQTBDO0FBRTFDOzs7Ozs7R0FNRztBQUNILFNBQWdCLHlDQUF5QyxDQUFDLElBQW1ELEVBQUUsSUFBMkI7SUFDdEksSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsU0FBUyxDQUFDLG9CQUFvQixFQUFFLEVBQUUsSUFBSSxJQUFJLEVBQUUsQ0FBQyxDQUFDO0lBQ3pFLE9BQU8sTUFBTSxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsNERBQTRELEVBQUU7UUFDdkYsY0FBYyxFQUFFLElBQUksQ0FBQyxZQUFZO1FBQ2pDLG1CQUFtQixFQUFFLElBQUksQ0FBQyxpQkFBaUI7UUFDM0MsUUFBUSxFQUFFLElBQUksQ0FBQyxNQUFNO1FBQ3JCLFlBQVksRUFBRSxJQUFJLENBQUMsVUFBVTtRQUM3QixvQkFBb0Is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