1. Packages
  2. Volcengine
  3. API Docs
  4. rds_postgresql
  5. getInstancePriceDifferences
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
volcengine logo
Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine

    Use this data source to query detailed information of rds postgresql instance price differences

    Example Usage

    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",
    });
    
    import pulumi
    import pulumi_volcengine as volcengine
    
    example = volcengine.rds_postgresql.get_instance_price_differences(charge_info=volcengine.rds_postgresql.GetInstancePriceDifferencesChargeInfoArgs(
            charge_type="PostPaid",
            number=1,
        ),
        instance_id="postgres-72715e0d9f58",
        modify_type="Usually",
        node_infos=[
            volcengine.rds_postgresql.GetInstancePriceDifferencesNodeInfoArgs(
                node_id="postgres-72715e0d9f58",
                node_spec="rds.postgres.2c4g",
                node_type="Primary",
                zone_id="cn-beijing-a",
            ),
            volcengine.rds_postgresql.GetInstancePriceDifferencesNodeInfoArgs(
                node_id="postgres-72715e0d9f58-iyys",
                node_spec="rds.postgres.2c4g",
                node_type="Secondary",
                zone_id="cn-beijing-a",
            ),
        ],
        storage_space=100,
        storage_type="LocalSSD")
    
    package main
    
    import (
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/volcengine/pulumi-volcengine/sdk/go/volcengine/rds_postgresql"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := rds_postgresql.GetInstancePriceDifferences(ctx, &rds_postgresql.GetInstancePriceDifferencesArgs{
    			ChargeInfo: rds_postgresql.GetInstancePriceDifferencesChargeInfo{
    				ChargeType: "PostPaid",
    				Number:     pulumi.IntRef(1),
    			},
    			InstanceId: "postgres-72715e0d9f58",
    			ModifyType: pulumi.StringRef("Usually"),
    			NodeInfos: []rds_postgresql.GetInstancePriceDifferencesNodeInfo{
    				{
    					NodeId:   pulumi.StringRef("postgres-72715e0d9f58"),
    					NodeSpec: "rds.postgres.2c4g",
    					NodeType: "Primary",
    					ZoneId:   "cn-beijing-a",
    				},
    				{
    					NodeId:   pulumi.StringRef("postgres-72715e0d9f58-iyys"),
    					NodeSpec: "rds.postgres.2c4g",
    					NodeType: "Secondary",
    					ZoneId:   "cn-beijing-a",
    				},
    			},
    			StorageSpace: 100,
    			StorageType:  "LocalSSD",
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Volcengine = Pulumi.Volcengine;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Volcengine.Rds_postgresql.GetInstancePriceDifferences.Invoke(new()
        {
            ChargeInfo = new Volcengine.Rds_postgresql.Inputs.GetInstancePriceDifferencesChargeInfoInputArgs
            {
                ChargeType = "PostPaid",
                Number = 1,
            },
            InstanceId = "postgres-72715e0d9f58",
            ModifyType = "Usually",
            NodeInfos = new[]
            {
                new Volcengine.Rds_postgresql.Inputs.GetInstancePriceDifferencesNodeInfoInputArgs
                {
                    NodeId = "postgres-72715e0d9f58",
                    NodeSpec = "rds.postgres.2c4g",
                    NodeType = "Primary",
                    ZoneId = "cn-beijing-a",
                },
                new Volcengine.Rds_postgresql.Inputs.GetInstancePriceDifferencesNodeInfoInputArgs
                {
                    NodeId = "postgres-72715e0d9f58-iyys",
                    NodeSpec = "rds.postgres.2c4g",
                    NodeType = "Secondary",
                    ZoneId = "cn-beijing-a",
                },
            },
            StorageSpace = 100,
            StorageType = "LocalSSD",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.volcengine.rds_postgresql.Rds_postgresqlFunctions;
    import com.pulumi.volcengine.rds_postgresql.inputs.GetInstancePriceDifferencesArgs;
    import com.pulumi.volcengine.rds_postgresql.inputs.GetInstancePriceDifferencesChargeInfoArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = Rds_postgresqlFunctions.getInstancePriceDifferences(GetInstancePriceDifferencesArgs.builder()
                .chargeInfo(GetInstancePriceDifferencesChargeInfoArgs.builder()
                    .chargeType("PostPaid")
                    .number(1)
                    .build())
                .instanceId("postgres-72715e0d9f58")
                .modifyType("Usually")
                .nodeInfos(            
                    GetInstancePriceDifferencesNodeInfoArgs.builder()
                        .nodeId("postgres-72715e0d9f58")
                        .nodeSpec("rds.postgres.2c4g")
                        .nodeType("Primary")
                        .zoneId("cn-beijing-a")
                        .build(),
                    GetInstancePriceDifferencesNodeInfoArgs.builder()
                        .nodeId("postgres-72715e0d9f58-iyys")
                        .nodeSpec("rds.postgres.2c4g")
                        .nodeType("Secondary")
                        .zoneId("cn-beijing-a")
                        .build())
                .storageSpace(100)
                .storageType("LocalSSD")
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          Function: volcengine:rds_postgresql:getInstancePriceDifferences
          Arguments:
            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
    

    Using getInstancePriceDifferences

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getInstancePriceDifferences(args: GetInstancePriceDifferencesArgs, opts?: InvokeOptions): Promise<GetInstancePriceDifferencesResult>
    function getInstancePriceDifferencesOutput(args: GetInstancePriceDifferencesOutputArgs, opts?: InvokeOptions): Output<GetInstancePriceDifferencesResult>
    def get_instance_price_differences(charge_info: Optional[GetInstancePriceDifferencesChargeInfo] = None,
                                       instance_id: Optional[str] = None,
                                       modify_type: Optional[str] = None,
                                       node_infos: Optional[Sequence[GetInstancePriceDifferencesNodeInfo]] = None,
                                       output_file: Optional[str] = None,
                                       rollback_time: Optional[str] = None,
                                       storage_space: Optional[int] = None,
                                       storage_type: Optional[str] = None,
                                       opts: Optional[InvokeOptions] = None) -> GetInstancePriceDifferencesResult
    def get_instance_price_differences_output(charge_info: Optional[pulumi.Input[GetInstancePriceDifferencesChargeInfoArgs]] = None,
                                       instance_id: Optional[pulumi.Input[str]] = None,
                                       modify_type: Optional[pulumi.Input[str]] = None,
                                       node_infos: Optional[pulumi.Input[Sequence[pulumi.Input[GetInstancePriceDifferencesNodeInfoArgs]]]] = None,
                                       output_file: Optional[pulumi.Input[str]] = None,
                                       rollback_time: Optional[pulumi.Input[str]] = None,
                                       storage_space: Optional[pulumi.Input[int]] = None,
                                       storage_type: Optional[pulumi.Input[str]] = None,
                                       opts: Optional[InvokeOptions] = None) -> Output[GetInstancePriceDifferencesResult]
    func GetInstancePriceDifferences(ctx *Context, args *GetInstancePriceDifferencesArgs, opts ...InvokeOption) (*GetInstancePriceDifferencesResult, error)
    func GetInstancePriceDifferencesOutput(ctx *Context, args *GetInstancePriceDifferencesOutputArgs, opts ...InvokeOption) GetInstancePriceDifferencesResultOutput

    > Note: This function is named GetInstancePriceDifferences in the Go SDK.

    public static class GetInstancePriceDifferences 
    {
        public static Task<GetInstancePriceDifferencesResult> InvokeAsync(GetInstancePriceDifferencesArgs args, InvokeOptions? opts = null)
        public static Output<GetInstancePriceDifferencesResult> Invoke(GetInstancePriceDifferencesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInstancePriceDifferencesResult> getInstancePriceDifferences(GetInstancePriceDifferencesArgs args, InvokeOptions options)
    public static Output<GetInstancePriceDifferencesResult> getInstancePriceDifferences(GetInstancePriceDifferencesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: volcengine:rds_postgresql/getInstancePriceDifferences:getInstancePriceDifferences
      arguments:
        # arguments dictionary

    The following arguments are supported:

    ChargeInfo GetInstancePriceDifferencesChargeInfo
    Charge info of the instance.
    InstanceId string
    Instance ID.
    NodeInfos List<GetInstancePriceDifferencesNodeInfo>
    Instance spec nodes. Primary=1, Secondary=1, ReadOnly=0~10.
    StorageSpace int
    The storage space of the instance. Value range: [20, 3000], unit: GB, step 10GB.
    StorageType string
    The type of the storage. Valid values: LocalSSD.
    ModifyType string
    Spec change type. Usually or Temporary. Default value: Usually. This parameter can only take the value Temporary when the billing type of the instance is a yearly/monthly subscription instance.
    OutputFile string
    File name where to save data source results.
    RollbackTime string
    Rollback time for Temporary change, UTC format yyyy-MM-ddTHH:mm:ss.sssZ. This parameter is required when the modify_type is set to Temporary.
    ChargeInfo GetInstancePriceDifferencesChargeInfo
    Charge info of the instance.
    InstanceId string
    Instance ID.
    NodeInfos []GetInstancePriceDifferencesNodeInfo
    Instance spec nodes. Primary=1, Secondary=1, ReadOnly=0~10.
    StorageSpace int
    The storage space of the instance. Value range: [20, 3000], unit: GB, step 10GB.
    StorageType string
    The type of the storage. Valid values: LocalSSD.
    ModifyType string
    Spec change type. Usually or Temporary. Default value: Usually. This parameter can only take the value Temporary when the billing type of the instance is a yearly/monthly subscription instance.
    OutputFile string
    File name where to save data source results.
    RollbackTime string
    Rollback time for Temporary change, UTC format yyyy-MM-ddTHH:mm:ss.sssZ. This parameter is required when the modify_type is set to Temporary.
    chargeInfo GetInstancePriceDifferencesChargeInfo
    Charge info of the instance.
    instanceId String
    Instance ID.
    nodeInfos List<GetInstancePriceDifferencesNodeInfo>
    Instance spec nodes. Primary=1, Secondary=1, ReadOnly=0~10.
    storageSpace Integer
    The storage space of the instance. Value range: [20, 3000], unit: GB, step 10GB.
    storageType String
    The type of the storage. Valid values: LocalSSD.
    modifyType String
    Spec change type. Usually or Temporary. Default value: Usually. This parameter can only take the value Temporary when the billing type of the instance is a yearly/monthly subscription instance.
    outputFile String
    File name where to save data source results.
    rollbackTime String
    Rollback time for Temporary change, UTC format yyyy-MM-ddTHH:mm:ss.sssZ. This parameter is required when the modify_type is set to Temporary.
    chargeInfo GetInstancePriceDifferencesChargeInfo
    Charge info of the instance.
    instanceId string
    Instance ID.
    nodeInfos GetInstancePriceDifferencesNodeInfo[]
    Instance spec nodes. Primary=1, Secondary=1, ReadOnly=0~10.
    storageSpace number
    The storage space of the instance. Value range: [20, 3000], unit: GB, step 10GB.
    storageType string
    The type of the storage. Valid values: LocalSSD.
    modifyType string
    Spec change type. Usually or Temporary. Default value: Usually. This parameter can only take the value Temporary when the billing type of the instance is a yearly/monthly subscription instance.
    outputFile string
    File name where to save data source results.
    rollbackTime string
    Rollback time for Temporary change, UTC format yyyy-MM-ddTHH:mm:ss.sssZ. This parameter is required when the modify_type is set to Temporary.
    charge_info GetInstancePriceDifferencesChargeInfo
    Charge info of the instance.
    instance_id str
    Instance ID.
    node_infos Sequence[GetInstancePriceDifferencesNodeInfo]
    Instance spec nodes. Primary=1, Secondary=1, ReadOnly=0~10.
    storage_space int
    The storage space of the instance. Value range: [20, 3000], unit: GB, step 10GB.
    storage_type str
    The type of the storage. Valid values: LocalSSD.
    modify_type str
    Spec change type. Usually or Temporary. Default value: Usually. This parameter can only take the value Temporary when the billing type of the instance is a yearly/monthly subscription instance.
    output_file str
    File name where to save data source results.
    rollback_time str
    Rollback time for Temporary change, UTC format yyyy-MM-ddTHH:mm:ss.sssZ. This parameter is required when the modify_type is set to Temporary.
    chargeInfo Property Map
    Charge info of the instance.
    instanceId String
    Instance ID.
    nodeInfos List<Property Map>
    Instance spec nodes. Primary=1, Secondary=1, ReadOnly=0~10.
    storageSpace Number
    The storage space of the instance. Value range: [20, 3000], unit: GB, step 10GB.
    storageType String
    The type of the storage. Valid values: LocalSSD.
    modifyType String
    Spec change type. Usually or Temporary. Default value: Usually. This parameter can only take the value Temporary when the billing type of the instance is a yearly/monthly subscription instance.
    outputFile String
    File name where to save data source results.
    rollbackTime String
    Rollback time for Temporary change, UTC format yyyy-MM-ddTHH:mm:ss.sssZ. This parameter is required when the modify_type is set to Temporary.

    getInstancePriceDifferences Result

    The following output properties are available:

    ChargeInfo GetInstancePriceDifferencesChargeInfo
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    InstancesPrices List<GetInstancePriceDifferencesInstancesPrice>
    The collection of query.
    NodeInfos List<GetInstancePriceDifferencesNodeInfo>
    StorageSpace int
    StorageType string
    TotalCount int
    The total count of query.
    ModifyType string
    OutputFile string
    RollbackTime string
    ChargeInfo GetInstancePriceDifferencesChargeInfo
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    InstancesPrices []GetInstancePriceDifferencesInstancesPrice
    The collection of query.
    NodeInfos []GetInstancePriceDifferencesNodeInfo
    StorageSpace int
    StorageType string
    TotalCount int
    The total count of query.
    ModifyType string
    OutputFile string
    RollbackTime string
    chargeInfo GetInstancePriceDifferencesChargeInfo
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    instancesPrices List<GetInstancePriceDifferencesInstancesPrice>
    The collection of query.
    nodeInfos List<GetInstancePriceDifferencesNodeInfo>
    storageSpace Integer
    storageType String
    totalCount Integer
    The total count of query.
    modifyType String
    outputFile String
    rollbackTime String
    chargeInfo GetInstancePriceDifferencesChargeInfo
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    instancesPrices GetInstancePriceDifferencesInstancesPrice[]
    The collection of query.
    nodeInfos GetInstancePriceDifferencesNodeInfo[]
    storageSpace number
    storageType string
    totalCount number
    The total count of query.
    modifyType string
    outputFile string
    rollbackTime string
    chargeInfo Property Map
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    instancesPrices List<Property Map>
    The collection of query.
    nodeInfos List<Property Map>
    storageSpace Number
    storageType String
    totalCount Number
    The total count of query.
    modifyType String
    outputFile String
    rollbackTime String

    Supporting Types

    GetInstancePriceDifferencesChargeInfo

    ChargeType string
    The charge type of the instance. Valid values: PostPaid, PrePaid.
    AutoRenew bool
    Whether to auto renew the subscription in a pre-paid scenario.
    Number int
    Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
    Period int
    Subscription duration in a pre-paid scenario.Default value:1.
    PeriodUnit string
    Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
    ChargeType string
    The charge type of the instance. Valid values: PostPaid, PrePaid.
    AutoRenew bool
    Whether to auto renew the subscription in a pre-paid scenario.
    Number int
    Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
    Period int
    Subscription duration in a pre-paid scenario.Default value:1.
    PeriodUnit string
    Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
    chargeType String
    The charge type of the instance. Valid values: PostPaid, PrePaid.
    autoRenew Boolean
    Whether to auto renew the subscription in a pre-paid scenario.
    number Integer
    Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
    period Integer
    Subscription duration in a pre-paid scenario.Default value:1.
    periodUnit String
    Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
    chargeType string
    The charge type of the instance. Valid values: PostPaid, PrePaid.
    autoRenew boolean
    Whether to auto renew the subscription in a pre-paid scenario.
    number number
    Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
    period number
    Subscription duration in a pre-paid scenario.Default value:1.
    periodUnit string
    Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
    charge_type str
    The charge type of the instance. Valid values: PostPaid, PrePaid.
    auto_renew bool
    Whether to auto renew the subscription in a pre-paid scenario.
    number int
    Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
    period int
    Subscription duration in a pre-paid scenario.Default value:1.
    period_unit str
    Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
    chargeType String
    The charge type of the instance. Valid values: PostPaid, PrePaid.
    autoRenew Boolean
    Whether to auto renew the subscription in a pre-paid scenario.
    number Number
    Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
    period Number
    Subscription duration in a pre-paid scenario.Default value:1.
    periodUnit String
    Purchase cycle in a pre-paid scenario. Valid values: Month, Year.

    GetInstancePriceDifferencesInstancesPrice

    ChargeItemPrices List<GetInstancePriceDifferencesInstancesPriceChargeItemPrice>
    Currency string
    Currency unit.
    DiscountPrice double
    Instance price after discount.
    OriginalPrice double
    Instance price before discount.
    PayablePrice double
    Price payable of instance.
    ChargeItemPrices []GetInstancePriceDifferencesInstancesPriceChargeItemPrice
    Currency string
    Currency unit.
    DiscountPrice float64
    Instance price after discount.
    OriginalPrice float64
    Instance price before discount.
    PayablePrice float64
    Price payable of instance.
    chargeItemPrices List<GetInstancePriceDifferencesInstancesPriceChargeItemPrice>
    currency String
    Currency unit.
    discountPrice Double
    Instance price after discount.
    originalPrice Double
    Instance price before discount.
    payablePrice Double
    Price payable of instance.
    chargeItemPrices GetInstancePriceDifferencesInstancesPriceChargeItemPrice[]
    currency string
    Currency unit.
    discountPrice number
    Instance price after discount.
    originalPrice number
    Instance price before discount.
    payablePrice number
    Price payable of instance.
    charge_item_prices Sequence[GetInstancePriceDifferencesInstancesPriceChargeItemPrice]
    currency str
    Currency unit.
    discount_price float
    Instance price after discount.
    original_price float
    Instance price before discount.
    payable_price float
    Price payable of instance.
    chargeItemPrices List<Property Map>
    currency String
    Currency unit.
    discountPrice Number
    Instance price after discount.
    originalPrice Number
    Instance price before discount.
    payablePrice Number
    Price payable of instance.

    GetInstancePriceDifferencesInstancesPriceChargeItemPrice

    ChargeItemKey string
    If charge_item_key is Primary, Secondary, or ReadOnly, this parameter returns the instance specification, such as rds.pg.d1.1c2g. If charge_item_key is Storage, this parameter returns the stored key, such as rds.pg.d1.localssd.
    ChargeItemType string
    Billing item name. Values:Primary, Secondary, ReadOnly, Storage.
    ChargeItemValue int
    If charge_item_key is Primary, Secondary, or ReadOnly, this parameter returns the number of nodes, with a value of "1". If charge_item_key is Storage, his parameter returns the storage size in GB.
    DiscountPrice double
    Instance price after discount.
    NodeNumPerInstance int
    Number of nodes of each instance.
    OriginalPrice double
    Instance price before discount.
    PayablePrice double
    Price payable of instance.
    ChargeItemKey string
    If charge_item_key is Primary, Secondary, or ReadOnly, this parameter returns the instance specification, such as rds.pg.d1.1c2g. If charge_item_key is Storage, this parameter returns the stored key, such as rds.pg.d1.localssd.
    ChargeItemType string
    Billing item name. Values:Primary, Secondary, ReadOnly, Storage.
    ChargeItemValue int
    If charge_item_key is Primary, Secondary, or ReadOnly, this parameter returns the number of nodes, with a value of "1". If charge_item_key is Storage, his parameter returns the storage size in GB.
    DiscountPrice float64
    Instance price after discount.
    NodeNumPerInstance int
    Number of nodes of each instance.
    OriginalPrice float64
    Instance price before discount.
    PayablePrice float64
    Price payable of instance.
    chargeItemKey String
    If charge_item_key is Primary, Secondary, or ReadOnly, this parameter returns the instance specification, such as rds.pg.d1.1c2g. If charge_item_key is Storage, this parameter returns the stored key, such as rds.pg.d1.localssd.
    chargeItemType String
    Billing item name. Values:Primary, Secondary, ReadOnly, Storage.
    chargeItemValue Integer
    If charge_item_key is Primary, Secondary, or ReadOnly, this parameter returns the number of nodes, with a value of "1". If charge_item_key is Storage, his parameter returns the storage size in GB.
    discountPrice Double
    Instance price after discount.
    nodeNumPerInstance Integer
    Number of nodes of each instance.
    originalPrice Double
    Instance price before discount.
    payablePrice Double
    Price payable of instance.
    chargeItemKey string
    If charge_item_key is Primary, Secondary, or ReadOnly, this parameter returns the instance specification, such as rds.pg.d1.1c2g. If charge_item_key is Storage, this parameter returns the stored key, such as rds.pg.d1.localssd.
    chargeItemType string
    Billing item name. Values:Primary, Secondary, ReadOnly, Storage.
    chargeItemValue number
    If charge_item_key is Primary, Secondary, or ReadOnly, this parameter returns the number of nodes, with a value of "1". If charge_item_key is Storage, his parameter returns the storage size in GB.
    discountPrice number
    Instance price after discount.
    nodeNumPerInstance number
    Number of nodes of each instance.
    originalPrice number
    Instance price before discount.
    payablePrice number
    Price payable of instance.
    charge_item_key str
    If charge_item_key is Primary, Secondary, or ReadOnly, this parameter returns the instance specification, such as rds.pg.d1.1c2g. If charge_item_key is Storage, this parameter returns the stored key, such as rds.pg.d1.localssd.
    charge_item_type str
    Billing item name. Values:Primary, Secondary, ReadOnly, Storage.
    charge_item_value int
    If charge_item_key is Primary, Secondary, or ReadOnly, this parameter returns the number of nodes, with a value of "1". If charge_item_key is Storage, his parameter returns the storage size in GB.
    discount_price float
    Instance price after discount.
    node_num_per_instance int
    Number of nodes of each instance.
    original_price float
    Instance price before discount.
    payable_price float
    Price payable of instance.
    chargeItemKey String
    If charge_item_key is Primary, Secondary, or ReadOnly, this parameter returns the instance specification, such as rds.pg.d1.1c2g. If charge_item_key is Storage, this parameter returns the stored key, such as rds.pg.d1.localssd.
    chargeItemType String
    Billing item name. Values:Primary, Secondary, ReadOnly, Storage.
    chargeItemValue Number
    If charge_item_key is Primary, Secondary, or ReadOnly, this parameter returns the number of nodes, with a value of "1". If charge_item_key is Storage, his parameter returns the storage size in GB.
    discountPrice Number
    Instance price after discount.
    nodeNumPerInstance Number
    Number of nodes of each instance.
    originalPrice Number
    Instance price before discount.
    payablePrice Number
    Price payable of instance.

    GetInstancePriceDifferencesNodeInfo

    NodeSpec string
    The specification of the node.
    NodeType string
    The type of the node. Valid values: Primary, Secondary, ReadOnly.
    ZoneId string
    The AZ of the node.
    NodeId string
    The id of the node.When the modify_type is set to Temporary, this parameter is required.
    NodeOperateType string
    The operate type of the node. Valid values: Create, Modify.
    NodeSpec string
    The specification of the node.
    NodeType string
    The type of the node. Valid values: Primary, Secondary, ReadOnly.
    ZoneId string
    The AZ of the node.
    NodeId string
    The id of the node.When the modify_type is set to Temporary, this parameter is required.
    NodeOperateType string
    The operate type of the node. Valid values: Create, Modify.
    nodeSpec String
    The specification of the node.
    nodeType String
    The type of the node. Valid values: Primary, Secondary, ReadOnly.
    zoneId String
    The AZ of the node.
    nodeId String
    The id of the node.When the modify_type is set to Temporary, this parameter is required.
    nodeOperateType String
    The operate type of the node. Valid values: Create, Modify.
    nodeSpec string
    The specification of the node.
    nodeType string
    The type of the node. Valid values: Primary, Secondary, ReadOnly.
    zoneId string
    The AZ of the node.
    nodeId string
    The id of the node.When the modify_type is set to Temporary, this parameter is required.
    nodeOperateType string
    The operate type of the node. Valid values: Create, Modify.
    node_spec str
    The specification of the node.
    node_type str
    The type of the node. Valid values: Primary, Secondary, ReadOnly.
    zone_id str
    The AZ of the node.
    node_id str
    The id of the node.When the modify_type is set to Temporary, this parameter is required.
    node_operate_type str
    The operate type of the node. Valid values: Create, Modify.
    nodeSpec String
    The specification of the node.
    nodeType String
    The type of the node. Valid values: Primary, Secondary, ReadOnly.
    zoneId String
    The AZ of the node.
    nodeId String
    The id of the node.When the modify_type is set to Temporary, this parameter is required.
    nodeOperateType String
    The operate type of the node. Valid values: Create, Modify.

    Package Details

    Repository
    volcengine volcengine/pulumi-volcengine
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the volcengine Terraform Provider.
    volcengine logo
    Volcengine v0.0.43 published on Friday, Jan 16, 2026 by Volcengine
      Meet Neo: Your AI Platform Teammate