"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.getReplicationProtectedItemOutput = exports.getReplicationProtectedItem = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Gets the details of an ASR replication protected item.
 *
 * Uses Azure REST API version 2024-10-01.
 *
 * Other available API versions: 2023-02-01, 2023-04-01, 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2025-01-01, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native recoveryservices [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getReplicationProtectedItem(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:recoveryservices:getReplicationProtectedItem", {
        "fabricName": args.fabricName,
        "protectionContainerName": args.protectionContainerName,
        "replicatedProtectedItemName": args.replicatedProtectedItemName,
        "resourceGroupName": args.resourceGroupName,
        "resourceName": args.resourceName,
    }, opts);
}
exports.getReplicationProtectedItem = getReplicationProtectedItem;
/**
 * Gets the details of an ASR replication protected item.
 *
 * Uses Azure REST API version 2024-10-01.
 *
 * Other available API versions: 2023-02-01, 2023-04-01, 2023-06-01, 2023-08-01, 2024-01-01, 2024-02-01, 2024-04-01, 2025-01-01, 2025-02-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native recoveryservices [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getReplicationProtectedItemOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:recoveryservices:getReplicationProtectedItem", {
        "fabricName": args.fabricName,
        "protectionContainerName": args.protectionContainerName,
        "replicatedProtectedItemName": args.replicatedProtectedItemName,
        "resourceGroupName": args.resourceGroupName,
        "resourceName": args.resourceName,
    }, opts);
}
exports.getReplicationProtectedItemOutput = getReplicationProtectedItemOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0UmVwbGljYXRpb25Qcm90ZWN0ZWRJdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vcmVjb3ZlcnlzZXJ2aWNlcy9nZXRSZXBsaWNhdGlvblByb3RlY3RlZEl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNFQUFzRTtBQUN0RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFJekMsMENBQTBDO0FBRTFDOzs7Ozs7R0FNRztBQUNILFNBQWdCLDJCQUEyQixDQUFDLElBQXFDLEVBQUUsSUFBMkI7SUFDMUcsSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsU0FBUyxDQUFDLG9CQUFvQixFQUFFLEVBQUUsSUFBSSxJQUFJLEVBQUUsQ0FBQyxDQUFDO0lBQ3pFLE9BQU8sTUFBTSxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsMkRBQTJELEVBQUU7UUFDdEYsWUFBWSxFQUFFLElBQUksQ0FBQyxVQUFVO1FBQzdCLHlCQUF5QixFQUFFLElBQUksQ0FBQyx1QkFBdUI7UUFDdkQsNkJBQTZCLEVBQUUsSUFBSSxDQUFDLDJCQUEyQjtRQUMvRCxtQkFBbUIsRUFBRSxJQUFJLENBQUMsaUJBQWlCO1FBQzNDLGNBQWMsRUFBRSxJQUFJLENBQUMsWUFBWTtLQUNwQyxFQUFFLElBQUksQ0FBQyxDQUFDO0FBQ2IsQ0FBQztBQVRELGtFQVNDO0FBc0REOzs7Ozs7R0FNRztBQUNILFNBQWdCLGlDQUFpQyxDQUFDLElBQTJDLEVBQUUsSUFBaUM7SUFDNUgsSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsU0FBUyxDQUF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