"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.getCloudHsmClusterPrivateEndpointConnectionOutput = exports.getCloudHsmClusterPrivateEndpointConnection = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Gets the private endpoint connection for the Cloud Hsm Cluster.
 *
 * Uses Azure REST API version 2024-06-30-preview.
 *
 * Other available API versions: 2022-08-31-preview, 2023-12-10-preview, 2025-03-31. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native hardwaresecuritymodules [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getCloudHsmClusterPrivateEndpointConnection(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:hardwaresecuritymodules:getCloudHsmClusterPrivateEndpointConnection", {
        "cloudHsmClusterName": args.cloudHsmClusterName,
        "peConnectionName": args.peConnectionName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getCloudHsmClusterPrivateEndpointConnection = getCloudHsmClusterPrivateEndpointConnection;
/**
 * Gets the private endpoint connection for the Cloud Hsm Cluster.
 *
 * Uses Azure REST API version 2024-06-30-preview.
 *
 * Other available API versions: 2022-08-31-preview, 2023-12-10-preview, 2025-03-31. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native hardwaresecuritymodules [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getCloudHsmClusterPrivateEndpointConnectionOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:hardwaresecuritymodules:getCloudHsmClusterPrivateEndpointConnection", {
        "cloudHsmClusterName": args.cloudHsmClusterName,
        "peConnectionName": args.peConnectionName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getCloudHsmClusterPrivateEndpointConnectionOutput = getCloudHsmClusterPrivateEndpointConnectionOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0Q2xvdWRIc21DbHVzdGVyUHJpdmF0ZUVuZHBvaW50Q29ubmVjdGlvbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2hhcmR3YXJlc2VjdXJpdHltb2R1bGVzL2dldENsb3VkSHNtQ2x1c3RlclByaXZhdGVFbmRwb2ludENvbm5lY3Rpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHNFQUFzRTtBQUN0RSxpRkFBaUY7OztBQUVqRix5Q0FBeUM7QUFJekMsMENBQTBDO0FBRTFDOzs7Ozs7R0FNRztBQUNILFNBQWdCLDJDQUEyQyxDQUFDLElBQXFELEVBQUUsSUFBMkI7SUFDMUksSUFBSSxHQUFHLE1BQU0sQ0FBQyxZQUFZLENBQUMsU0FBUyxDQUFDLG9CQUFvQixFQUFFLEVBQUUsSUFBSSxJQUFJLEVBQUUsQ0FBQyxDQUFDO0lBQ3pFLE9BQU8sTUFBTSxDQUFDLE9BQU8sQ0FBQyxNQUFNLENBQUMsa0ZBQWtGLEVBQUU7UUFDN0cscUJBQXFCLEVBQUUsSUFBSSxDQUFDLG1CQUFtQjtRQUMvQyxrQkFBa0IsRUFBRSxJQUFJLENBQUMsZ0JBQWdCO1FBQ3pDLG1CQUFtQixFQUFFLElBQUksQ0FBQyxpQkFBaUI7S0FDOUMsRUFBRSxJQUFJLENBQUMsQ0FBQztBQUNiLENBQUM7QUFQRCxrR0FPQztBQThERDs7Ozs7O0dBTUc7QUFDSCxTQUFnQixpREFBaUQsQ0FBQyxJQUEyRCxFQUFFLElBQWlDO0lBQzVKLElBQUksR0FBRyxNQUFNLENBQUMsWUFBWSxDQUFDLFNBQVMsQ0FBQyxvQkFBb0IsRUFBRSxFQUFFLElBQUksSUFBSSx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