"use strict";
// *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
Object.defineProperty(exports, "__esModule", { value: true });
exports.getInstanceSpecsOutput = exports.getInstanceSpecs = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("../utilities");
/**
 * Use this data source to query detailed information of rds postgresql instance specs
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.rds_postgresql.getInstanceSpecs({
 *     dbEngineVersion: "PostgreSQL_12",
 *     specCode: "rds.postgres.32c128g",
 *     storageType: "LocalSSD",
 *     zoneId: "cn-chongqing-a",
 * });
 * ```
 */
function getInstanceSpecs(args, opts) {
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:rds_postgresql/getInstanceSpecs:getInstanceSpecs", {
        "dbEngineVersion": args.dbEngineVersion,
        "outputFile": args.outputFile,
        "specCode": args.specCode,
        "storageType": args.storageType,
        "zoneId": args.zoneId,
    }, opts);
}
exports.getInstanceSpecs = getInstanceSpecs;
/**
 * Use this data source to query detailed information of rds postgresql instance specs
 * ## Example Usage
 *
 * ```typescript
 * import * as pulumi from "@pulumi/pulumi";
 * import * as volcengine from "@pulumi/volcengine";
 *
 * const example = volcengine.rds_postgresql.getInstanceSpecs({
 *     dbEngineVersion: "PostgreSQL_12",
 *     specCode: "rds.postgres.32c128g",
 *     storageType: "LocalSSD",
 *     zoneId: "cn-chongqing-a",
 * });
 * ```
 */
function getInstanceSpecsOutput(args, opts) {
    return pulumi.output(args).apply((a) => getInstanceSpecs(a, opts));
}
exports.getInstanceSpecsOutput = getInstanceSpecsOutput;
//# sourceMappingURL=getInstanceSpecs.js.map