"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.getDiscountOutput = exports.getDiscount = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Get discount at resource group level
 *
 * Uses Azure REST API version 2024-11-01-preview.
 */
function getDiscount(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:billingbenefits:getDiscount", {
        "discountName": args.discountName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getDiscount = getDiscount;
/**
 * Get discount at resource group level
 *
 * Uses Azure REST API version 2024-11-01-preview.
 */
function getDiscountOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:billingbenefits:getDiscount", {
        "discountName": args.discountName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getDiscountOutput = getDiscountOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0RGlzY291bnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9iaWxsaW5nYmVuZWZpdHMvZ2V0RGlzY291bnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNFQUFzRTtBQUN0RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFJekMsMENBQTBDO0FBRTFDOzs7O0dBSUc7QUFDSCxTQUFnQixXQUFXLENBQUMsSUFBcUIsRUFBRSxJQUEyQjtJQUMxRSxJQUFJLEdBQUcsTUFBTSxDQUFDLFlBQVksQ0FBQyxTQUFTLENBQUMsb0JBQW9CLEVBQUUsRUFBRSxJQUFJLElBQUksRUFBRSxDQUFDLENBQUM7SUFDekUsT0FBTyxNQUFNLENBQUMsT0FBTyxDQUFDLE1BQU0sQ0FBQywwQ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