"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.instanceSpecsOutput = exports.instanceSpecs = 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",
 * });
 * ```
 */
/** @deprecated volcengine.rds_postgresql.InstanceSpecs has been deprecated in favor of volcengine.rds_postgresql.getInstanceSpecs */
function instanceSpecs(args, opts) {
    pulumi.log.warn("instanceSpecs is deprecated: volcengine.rds_postgresql.InstanceSpecs has been deprecated in favor of volcengine.rds_postgresql.getInstanceSpecs");
    args = args || {};
    opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
    return pulumi.runtime.invoke("volcengine:rds_postgresql/instanceSpecs:InstanceSpecs", {
        "dbEngineVersion": args.dbEngineVersion,
        "outputFile": args.outputFile,
        "specCode": args.specCode,
        "storageType": args.storageType,
        "zoneId": args.zoneId,
    }, opts);
}
exports.instanceSpecs = instanceSpecs;
/**
 * 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",
 * });
 * ```
 */
/** @deprecated volcengine.rds_postgresql.InstanceSpecs has been deprecated in favor of volcengine.rds_postgresql.getInstanceSpecs */
function instanceSpecsOutput(args, opts) {
    return pulumi.output(args).apply((a) => instanceSpecs(a, opts));
}
exports.instanceSpecsOutput = instanceSpecsOutput;
//# sourceMappingURL=instanceSpecs.js.map