"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.getVirtualEndpointOutput = exports.getVirtualEndpoint = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Gets information about a pair of virtual endpoints.
 *
 * Uses Azure REST API version 2024-08-01.
 *
 * Other available API versions: 2023-06-01-preview, 2023-12-01-preview, 2024-03-01-preview, 2024-11-01-preview, 2025-01-01-preview, 2025-06-01-preview, 2025-08-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dbforpostgresql [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getVirtualEndpoint(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:dbforpostgresql:getVirtualEndpoint", {
        "resourceGroupName": args.resourceGroupName,
        "serverName": args.serverName,
        "virtualEndpointName": args.virtualEndpointName,
    }, opts);
}
exports.getVirtualEndpoint = getVirtualEndpoint;
/**
 * Gets information about a pair of virtual endpoints.
 *
 * Uses Azure REST API version 2024-08-01.
 *
 * Other available API versions: 2023-06-01-preview, 2023-12-01-preview, 2024-03-01-preview, 2024-11-01-preview, 2025-01-01-preview, 2025-06-01-preview, 2025-08-01. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native dbforpostgresql [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getVirtualEndpointOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:dbforpostgresql:getVirtualEndpoint", {
        "resourceGroupName": args.resourceGroupName,
        "serverName": args.serverName,
        "virtualEndpointName": args.virtualEndpointName,
    }, opts);
}
exports.getVirtualEndpointOutput = getVirtualEndpointOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW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