"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.getRetentionPolicyOutput = exports.getRetentionPolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Get a Retention Policy
 *
 * Uses Azure REST API version 2025-04-01-preview.
 *
 * Other available API versions: 2025-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native durabletask [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getRetentionPolicy(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:durabletask:getRetentionPolicy", {
        "resourceGroupName": args.resourceGroupName,
        "schedulerName": args.schedulerName,
    }, opts);
}
exports.getRetentionPolicy = getRetentionPolicy;
/**
 * Get a Retention Policy
 *
 * Uses Azure REST API version 2025-04-01-preview.
 *
 * Other available API versions: 2025-11-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native durabletask [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getRetentionPolicyOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:durabletask:getRetentionPolicy", {
        "resourceGroupName": args.resourceGroupName,
        "schedulerName": args.schedulerName,
    }, opts);
}
exports.getRetentionPolicyOutput = getRetentionPolicyOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0UmV0ZW50aW9uUG9saWN5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vZHVyYWJsZXRhc2svZ2V0UmV0ZW50aW9uUG9saWN5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxzRUFBc0U7QUFDdEUsaUZBQWlGOzs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