UNPKG

@volcengine/pulumi

Version:

A Pulumi package for creating and managing volcengine cloud resources.

97 lines 3.8 kB
"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.instancePriceDifferencesOutput = exports.instancePriceDifferences = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Use this data source to query detailed information of rds postgresql instance price differences * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.rds_postgresql.getInstancePriceDifferences({ * chargeInfo: { * chargeType: "PostPaid", * number: 1, * }, * instanceId: "postgres-72715e0d9f58", * modifyType: "Usually", * nodeInfos: [ * { * nodeId: "postgres-72715e0d9f58", * nodeSpec: "rds.postgres.2c4g", * nodeType: "Primary", * zoneId: "cn-beijing-a", * }, * { * nodeId: "postgres-72715e0d9f58-iyys", * nodeSpec: "rds.postgres.2c4g", * nodeType: "Secondary", * zoneId: "cn-beijing-a", * }, * ], * storageSpace: 100, * storageType: "LocalSSD", * }); * ``` */ /** @deprecated volcengine.rds_postgresql.InstancePriceDifferences has been deprecated in favor of volcengine.rds_postgresql.getInstancePriceDifferences */ function instancePriceDifferences(args, opts) { pulumi.log.warn("instancePriceDifferences is deprecated: volcengine.rds_postgresql.InstancePriceDifferences has been deprecated in favor of volcengine.rds_postgresql.getInstancePriceDifferences"); opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("volcengine:rds_postgresql/instancePriceDifferences:InstancePriceDifferences", { "chargeInfo": args.chargeInfo, "instanceId": args.instanceId, "modifyType": args.modifyType, "nodeInfos": args.nodeInfos, "outputFile": args.outputFile, "rollbackTime": args.rollbackTime, "storageSpace": args.storageSpace, "storageType": args.storageType, }, opts); } exports.instancePriceDifferences = instancePriceDifferences; /** * Use this data source to query detailed information of rds postgresql instance price differences * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as volcengine from "@pulumi/volcengine"; * * const example = volcengine.rds_postgresql.getInstancePriceDifferences({ * chargeInfo: { * chargeType: "PostPaid", * number: 1, * }, * instanceId: "postgres-72715e0d9f58", * modifyType: "Usually", * nodeInfos: [ * { * nodeId: "postgres-72715e0d9f58", * nodeSpec: "rds.postgres.2c4g", * nodeType: "Primary", * zoneId: "cn-beijing-a", * }, * { * nodeId: "postgres-72715e0d9f58-iyys", * nodeSpec: "rds.postgres.2c4g", * nodeType: "Secondary", * zoneId: "cn-beijing-a", * }, * ], * storageSpace: 100, * storageType: "LocalSSD", * }); * ``` */ /** @deprecated volcengine.rds_postgresql.InstancePriceDifferences has been deprecated in favor of volcengine.rds_postgresql.getInstancePriceDifferences */ function instancePriceDifferencesOutput(args, opts) { return pulumi.output(args).apply((a) => instancePriceDifferences(a, opts)); } exports.instancePriceDifferencesOutput = instancePriceDifferencesOutput; //# sourceMappingURL=instancePriceDifferences.js.map