"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.getObjectReplicationPolicyOutput = exports.getObjectReplicationPolicy = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Get the object replication policy of the storage account by policy ID.
 *
 * Uses Azure REST API version 2024-01-01.
 *
 * Other available API versions: 2022-09-01, 2023-01-01, 2023-04-01, 2023-05-01, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native storage [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getObjectReplicationPolicy(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:storage:getObjectReplicationPolicy", {
        "accountName": args.accountName,
        "objectReplicationPolicyId": args.objectReplicationPolicyId,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getObjectReplicationPolicy = getObjectReplicationPolicy;
/**
 * Get the object replication policy of the storage account by policy ID.
 *
 * Uses Azure REST API version 2024-01-01.
 *
 * Other available API versions: 2022-09-01, 2023-01-01, 2023-04-01, 2023-05-01, 2025-01-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native storage [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getObjectReplicationPolicyOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:storage:getObjectReplicationPolicy", {
        "accountName": args.accountName,
        "objectReplicationPolicyId": args.objectReplicationPolicyId,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getObjectReplicationPolicyOutput = getObjectReplicationPolicyOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0T2JqZWN0UmVwbGljYXRpb25Qb2xpY3k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