"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.getPostgresInstanceOutput = exports.getPostgresInstance = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Retrieves a postgres Instance resource
 *
 * Uses Azure REST API version 2025-03-01-preview.
 *
 * Other available API versions: 2023-01-15-preview, 2024-01-01, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurearcdata [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getPostgresInstance(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("azure-native:azurearcdata:getPostgresInstance", {
        "postgresInstanceName": args.postgresInstanceName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getPostgresInstance = getPostgresInstance;
/**
 * Retrieves a postgres Instance resource
 *
 * Uses Azure REST API version 2025-03-01-preview.
 *
 * Other available API versions: 2023-01-15-preview, 2024-01-01, 2024-05-01-preview. These can be accessed by generating a local SDK package using the CLI command `pulumi package add azure-native azurearcdata [ApiVersion]`. See the [version guide](../../../version-guide/#accessing-any-api-version-via-local-packages) for details.
 */
function getPostgresInstanceOutput(args, opts) {
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invokeOutput("azure-native:azurearcdata:getPostgresInstance", {
        "postgresInstanceName": args.postgresInstanceName,
        "resourceGroupName": args.resourceGroupName,
    }, opts);
}
exports.getPostgresInstanceOutput = getPostgresInstanceOutput;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ2V0UG9zdGdyZXNJbnN0YW5jZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL2F6dXJlYXJjZGF0YS9nZXRQb3N0Z3Jlc0luc3Rh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