1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. BillingInstance
tencentcloud 1.82.68 published on Friday, Feb 6, 2026 by tencentcloudstack
tencentcloud logo
tencentcloud 1.82.68 published on Friday, Feb 6, 2026 by tencentcloudstack

    Provides a resource to create a Billing instance

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const example = new tencentcloud.BillingInstance("example", {
        productCode: "p_cloudfirewall",
        subProductCode: "sp_cloudfirewall_svv1",
        regionCode: "ap-guangzhou",
        zoneCode: "ap-guangzhou-6",
        payMode: "PrePay",
        parameter: JSON.stringify({
            goodsNum: 1,
            pid: 1002147,
            productCode: "p_cloudfirewall",
            subProductCode: "sp_cloudfirewall_svv1",
            sv_cloudfirewall_basic_aeps: 1,
            sv_cloudfirewall_basic_eeps: 0,
            sv_cloudfirewall_basic_ipsmonth: 0,
            sv_cloudfirewall_basic_mon: 0,
            sv_cloudfirewall_basic_ueps: 0,
            sv_cloudfirewall_extended_ates: 0,
            sv_cloudfirewall_extended_clasps: 1,
            sv_cloudfirewall_extended_clsesps: 0,
            sv_cloudfirewall_extended_ex: 0,
            sv_cloudfirewall_extended_ibtesps: 0,
            sv_cloudfirewall_extended_nats: 0,
            sv_cloudfirewall_extended_ndr: 0,
            sv_cloudfirewall_extended_pcs: 0,
            sv_cloudfirewall_extended_spt: 0,
            sv_cloudfirewall_extended_sra: 0,
            sv_cloudfirewall_extended_srb: 0,
            sv_cloudfirewall_extended_sub: 0,
            sv_cloudfirewall_extended_subs: 0,
            sv_cloudfirewall_extended_vpcbges: 0,
            timeSpan: 1,
            timeUnit: "m",
        }),
        projectId: 0,
        period: 1,
        periodUnit: "m",
        renewFlag: "NOTIFY_AND_MANUAL_RENEW",
    });
    
    import pulumi
    import json
    import pulumi_tencentcloud as tencentcloud
    
    example = tencentcloud.BillingInstance("example",
        product_code="p_cloudfirewall",
        sub_product_code="sp_cloudfirewall_svv1",
        region_code="ap-guangzhou",
        zone_code="ap-guangzhou-6",
        pay_mode="PrePay",
        parameter=json.dumps({
            "goodsNum": 1,
            "pid": 1002147,
            "productCode": "p_cloudfirewall",
            "subProductCode": "sp_cloudfirewall_svv1",
            "sv_cloudfirewall_basic_aeps": 1,
            "sv_cloudfirewall_basic_eeps": 0,
            "sv_cloudfirewall_basic_ipsmonth": 0,
            "sv_cloudfirewall_basic_mon": 0,
            "sv_cloudfirewall_basic_ueps": 0,
            "sv_cloudfirewall_extended_ates": 0,
            "sv_cloudfirewall_extended_clasps": 1,
            "sv_cloudfirewall_extended_clsesps": 0,
            "sv_cloudfirewall_extended_ex": 0,
            "sv_cloudfirewall_extended_ibtesps": 0,
            "sv_cloudfirewall_extended_nats": 0,
            "sv_cloudfirewall_extended_ndr": 0,
            "sv_cloudfirewall_extended_pcs": 0,
            "sv_cloudfirewall_extended_spt": 0,
            "sv_cloudfirewall_extended_sra": 0,
            "sv_cloudfirewall_extended_srb": 0,
            "sv_cloudfirewall_extended_sub": 0,
            "sv_cloudfirewall_extended_subs": 0,
            "sv_cloudfirewall_extended_vpcbges": 0,
            "timeSpan": 1,
            "timeUnit": "m",
        }),
        project_id=0,
        period=1,
        period_unit="m",
        renew_flag="NOTIFY_AND_MANUAL_RENEW")
    
    package main
    
    import (
    	"encoding/json"
    
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		tmpJSON0, err := json.Marshal(map[string]interface{}{
    			"goodsNum":                          1,
    			"pid":                               1002147,
    			"productCode":                       "p_cloudfirewall",
    			"subProductCode":                    "sp_cloudfirewall_svv1",
    			"sv_cloudfirewall_basic_aeps":       1,
    			"sv_cloudfirewall_basic_eeps":       0,
    			"sv_cloudfirewall_basic_ipsmonth":   0,
    			"sv_cloudfirewall_basic_mon":        0,
    			"sv_cloudfirewall_basic_ueps":       0,
    			"sv_cloudfirewall_extended_ates":    0,
    			"sv_cloudfirewall_extended_clasps":  1,
    			"sv_cloudfirewall_extended_clsesps": 0,
    			"sv_cloudfirewall_extended_ex":      0,
    			"sv_cloudfirewall_extended_ibtesps": 0,
    			"sv_cloudfirewall_extended_nats":    0,
    			"sv_cloudfirewall_extended_ndr":     0,
    			"sv_cloudfirewall_extended_pcs":     0,
    			"sv_cloudfirewall_extended_spt":     0,
    			"sv_cloudfirewall_extended_sra":     0,
    			"sv_cloudfirewall_extended_srb":     0,
    			"sv_cloudfirewall_extended_sub":     0,
    			"sv_cloudfirewall_extended_subs":    0,
    			"sv_cloudfirewall_extended_vpcbges": 0,
    			"timeSpan":                          1,
    			"timeUnit":                          "m",
    		})
    		if err != nil {
    			return err
    		}
    		json0 := string(tmpJSON0)
    		_, err = tencentcloud.NewBillingInstance(ctx, "example", &tencentcloud.BillingInstanceArgs{
    			ProductCode:    pulumi.String("p_cloudfirewall"),
    			SubProductCode: pulumi.String("sp_cloudfirewall_svv1"),
    			RegionCode:     pulumi.String("ap-guangzhou"),
    			ZoneCode:       pulumi.String("ap-guangzhou-6"),
    			PayMode:        pulumi.String("PrePay"),
    			Parameter:      pulumi.String(json0),
    			ProjectId:      pulumi.Float64(0),
    			Period:         pulumi.Float64(1),
    			PeriodUnit:     pulumi.String("m"),
    			RenewFlag:      pulumi.String("NOTIFY_AND_MANUAL_RENEW"),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using System.Text.Json;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Tencentcloud.BillingInstance("example", new()
        {
            ProductCode = "p_cloudfirewall",
            SubProductCode = "sp_cloudfirewall_svv1",
            RegionCode = "ap-guangzhou",
            ZoneCode = "ap-guangzhou-6",
            PayMode = "PrePay",
            Parameter = JsonSerializer.Serialize(new Dictionary<string, object?>
            {
                ["goodsNum"] = 1,
                ["pid"] = 1002147,
                ["productCode"] = "p_cloudfirewall",
                ["subProductCode"] = "sp_cloudfirewall_svv1",
                ["sv_cloudfirewall_basic_aeps"] = 1,
                ["sv_cloudfirewall_basic_eeps"] = 0,
                ["sv_cloudfirewall_basic_ipsmonth"] = 0,
                ["sv_cloudfirewall_basic_mon"] = 0,
                ["sv_cloudfirewall_basic_ueps"] = 0,
                ["sv_cloudfirewall_extended_ates"] = 0,
                ["sv_cloudfirewall_extended_clasps"] = 1,
                ["sv_cloudfirewall_extended_clsesps"] = 0,
                ["sv_cloudfirewall_extended_ex"] = 0,
                ["sv_cloudfirewall_extended_ibtesps"] = 0,
                ["sv_cloudfirewall_extended_nats"] = 0,
                ["sv_cloudfirewall_extended_ndr"] = 0,
                ["sv_cloudfirewall_extended_pcs"] = 0,
                ["sv_cloudfirewall_extended_spt"] = 0,
                ["sv_cloudfirewall_extended_sra"] = 0,
                ["sv_cloudfirewall_extended_srb"] = 0,
                ["sv_cloudfirewall_extended_sub"] = 0,
                ["sv_cloudfirewall_extended_subs"] = 0,
                ["sv_cloudfirewall_extended_vpcbges"] = 0,
                ["timeSpan"] = 1,
                ["timeUnit"] = "m",
            }),
            ProjectId = 0,
            Period = 1,
            PeriodUnit = "m",
            RenewFlag = "NOTIFY_AND_MANUAL_RENEW",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.BillingInstance;
    import com.pulumi.tencentcloud.BillingInstanceArgs;
    import static com.pulumi.codegen.internal.Serialization.*;
    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) {
            var example = new BillingInstance("example", BillingInstanceArgs.builder()
                .productCode("p_cloudfirewall")
                .subProductCode("sp_cloudfirewall_svv1")
                .regionCode("ap-guangzhou")
                .zoneCode("ap-guangzhou-6")
                .payMode("PrePay")
                .parameter(serializeJson(
                    jsonObject(
                        jsonProperty("goodsNum", 1),
                        jsonProperty("pid", 1002147),
                        jsonProperty("productCode", "p_cloudfirewall"),
                        jsonProperty("subProductCode", "sp_cloudfirewall_svv1"),
                        jsonProperty("sv_cloudfirewall_basic_aeps", 1),
                        jsonProperty("sv_cloudfirewall_basic_eeps", 0),
                        jsonProperty("sv_cloudfirewall_basic_ipsmonth", 0),
                        jsonProperty("sv_cloudfirewall_basic_mon", 0),
                        jsonProperty("sv_cloudfirewall_basic_ueps", 0),
                        jsonProperty("sv_cloudfirewall_extended_ates", 0),
                        jsonProperty("sv_cloudfirewall_extended_clasps", 1),
                        jsonProperty("sv_cloudfirewall_extended_clsesps", 0),
                        jsonProperty("sv_cloudfirewall_extended_ex", 0),
                        jsonProperty("sv_cloudfirewall_extended_ibtesps", 0),
                        jsonProperty("sv_cloudfirewall_extended_nats", 0),
                        jsonProperty("sv_cloudfirewall_extended_ndr", 0),
                        jsonProperty("sv_cloudfirewall_extended_pcs", 0),
                        jsonProperty("sv_cloudfirewall_extended_spt", 0),
                        jsonProperty("sv_cloudfirewall_extended_sra", 0),
                        jsonProperty("sv_cloudfirewall_extended_srb", 0),
                        jsonProperty("sv_cloudfirewall_extended_sub", 0),
                        jsonProperty("sv_cloudfirewall_extended_subs", 0),
                        jsonProperty("sv_cloudfirewall_extended_vpcbges", 0),
                        jsonProperty("timeSpan", 1),
                        jsonProperty("timeUnit", "m")
                    )))
                .projectId(0.0)
                .period(1.0)
                .periodUnit("m")
                .renewFlag("NOTIFY_AND_MANUAL_RENEW")
                .build());
    
        }
    }
    
    resources:
      example:
        type: tencentcloud:BillingInstance
        properties:
          productCode: p_cloudfirewall
          subProductCode: sp_cloudfirewall_svv1
          regionCode: ap-guangzhou
          zoneCode: ap-guangzhou-6
          payMode: PrePay
          parameter:
            fn::toJSON:
              goodsNum: 1
              pid: 1.002147e+06
              productCode: p_cloudfirewall
              subProductCode: sp_cloudfirewall_svv1
              sv_cloudfirewall_basic_aeps: 1
              sv_cloudfirewall_basic_eeps: 0
              sv_cloudfirewall_basic_ipsmonth: 0
              sv_cloudfirewall_basic_mon: 0
              sv_cloudfirewall_basic_ueps: 0
              sv_cloudfirewall_extended_ates: 0
              sv_cloudfirewall_extended_clasps: 1
              sv_cloudfirewall_extended_clsesps: 0
              sv_cloudfirewall_extended_ex: 0
              sv_cloudfirewall_extended_ibtesps: 0
              sv_cloudfirewall_extended_nats: 0
              sv_cloudfirewall_extended_ndr: 0
              sv_cloudfirewall_extended_pcs: 0
              sv_cloudfirewall_extended_spt: 0
              sv_cloudfirewall_extended_sra: 0
              sv_cloudfirewall_extended_srb: 0
              sv_cloudfirewall_extended_sub: 0
              sv_cloudfirewall_extended_subs: 0
              sv_cloudfirewall_extended_vpcbges: 0
              timeSpan: 1
              timeUnit: m
          projectId: 0
          period: 1
          periodUnit: m
          renewFlag: NOTIFY_AND_MANUAL_RENEW
    

    Create BillingInstance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BillingInstance(name: string, args: BillingInstanceArgs, opts?: CustomResourceOptions);
    @overload
    def BillingInstance(resource_name: str,
                        args: BillingInstanceArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def BillingInstance(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        parameter: Optional[str] = None,
                        pay_mode: Optional[str] = None,
                        product_code: Optional[str] = None,
                        region_code: Optional[str] = None,
                        sub_product_code: Optional[str] = None,
                        zone_code: Optional[str] = None,
                        billing_instance_id: Optional[str] = None,
                        period: Optional[float] = None,
                        period_unit: Optional[str] = None,
                        project_id: Optional[float] = None,
                        renew_flag: Optional[str] = None,
                        timeouts: Optional[BillingInstanceTimeoutsArgs] = None)
    func NewBillingInstance(ctx *Context, name string, args BillingInstanceArgs, opts ...ResourceOption) (*BillingInstance, error)
    public BillingInstance(string name, BillingInstanceArgs args, CustomResourceOptions? opts = null)
    public BillingInstance(String name, BillingInstanceArgs args)
    public BillingInstance(String name, BillingInstanceArgs args, CustomResourceOptions options)
    
    type: tencentcloud:BillingInstance
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args BillingInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args BillingInstanceArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args BillingInstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BillingInstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BillingInstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    BillingInstance Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The BillingInstance resource accepts the following input properties:

    Parameter string
    Product detailed information.
    PayMode string
    Payment mode. Available values: PrePay: upfront charge.
    ProductCode string
    Product code.
    RegionCode string
    Region code.
    SubProductCode string
    Sub-product code.
    ZoneCode string
    Availability zone code.
    BillingInstanceId string
    ID of the resource.
    Period double
    Purchase duration, max number is 36, default value is 1.
    PeriodUnit string
    Purchase duration unit. valid values: m: month, y: year. default value is: m.
    ProjectId double
    Project id, default value is 0.
    RenewFlag string
    Auto-renewal flag. valid values: NOTIFY_AND_MANUAL_RENEW: manually renew, NOTIFY_AND_AUTO_RENEW: automatically renew, DISABLE_NOTIFY_AND_MANUAL_RENEW: renewal is disabled. default value is NOTIFY_AND_MANUAL_RENEW.
    Timeouts BillingInstanceTimeouts
    Parameter string
    Product detailed information.
    PayMode string
    Payment mode. Available values: PrePay: upfront charge.
    ProductCode string
    Product code.
    RegionCode string
    Region code.
    SubProductCode string
    Sub-product code.
    ZoneCode string
    Availability zone code.
    BillingInstanceId string
    ID of the resource.
    Period float64
    Purchase duration, max number is 36, default value is 1.
    PeriodUnit string
    Purchase duration unit. valid values: m: month, y: year. default value is: m.
    ProjectId float64
    Project id, default value is 0.
    RenewFlag string
    Auto-renewal flag. valid values: NOTIFY_AND_MANUAL_RENEW: manually renew, NOTIFY_AND_AUTO_RENEW: automatically renew, DISABLE_NOTIFY_AND_MANUAL_RENEW: renewal is disabled. default value is NOTIFY_AND_MANUAL_RENEW.
    Timeouts BillingInstanceTimeoutsArgs
    parameter String
    Product detailed information.
    payMode String
    Payment mode. Available values: PrePay: upfront charge.
    productCode String
    Product code.
    regionCode String
    Region code.
    subProductCode String
    Sub-product code.
    zoneCode String
    Availability zone code.
    billingInstanceId String
    ID of the resource.
    period Double
    Purchase duration, max number is 36, default value is 1.
    periodUnit String
    Purchase duration unit. valid values: m: month, y: year. default value is: m.
    projectId Double
    Project id, default value is 0.
    renewFlag String
    Auto-renewal flag. valid values: NOTIFY_AND_MANUAL_RENEW: manually renew, NOTIFY_AND_AUTO_RENEW: automatically renew, DISABLE_NOTIFY_AND_MANUAL_RENEW: renewal is disabled. default value is NOTIFY_AND_MANUAL_RENEW.
    timeouts BillingInstanceTimeouts
    parameter string
    Product detailed information.
    payMode string
    Payment mode. Available values: PrePay: upfront charge.
    productCode string
    Product code.
    regionCode string
    Region code.
    subProductCode string
    Sub-product code.
    zoneCode string
    Availability zone code.
    billingInstanceId string
    ID of the resource.
    period number
    Purchase duration, max number is 36, default value is 1.
    periodUnit string
    Purchase duration unit. valid values: m: month, y: year. default value is: m.
    projectId number
    Project id, default value is 0.
    renewFlag string
    Auto-renewal flag. valid values: NOTIFY_AND_MANUAL_RENEW: manually renew, NOTIFY_AND_AUTO_RENEW: automatically renew, DISABLE_NOTIFY_AND_MANUAL_RENEW: renewal is disabled. default value is NOTIFY_AND_MANUAL_RENEW.
    timeouts BillingInstanceTimeouts
    parameter str
    Product detailed information.
    pay_mode str
    Payment mode. Available values: PrePay: upfront charge.
    product_code str
    Product code.
    region_code str
    Region code.
    sub_product_code str
    Sub-product code.
    zone_code str
    Availability zone code.
    billing_instance_id str
    ID of the resource.
    period float
    Purchase duration, max number is 36, default value is 1.
    period_unit str
    Purchase duration unit. valid values: m: month, y: year. default value is: m.
    project_id float
    Project id, default value is 0.
    renew_flag str
    Auto-renewal flag. valid values: NOTIFY_AND_MANUAL_RENEW: manually renew, NOTIFY_AND_AUTO_RENEW: automatically renew, DISABLE_NOTIFY_AND_MANUAL_RENEW: renewal is disabled. default value is NOTIFY_AND_MANUAL_RENEW.
    timeouts BillingInstanceTimeoutsArgs
    parameter String
    Product detailed information.
    payMode String
    Payment mode. Available values: PrePay: upfront charge.
    productCode String
    Product code.
    regionCode String
    Region code.
    subProductCode String
    Sub-product code.
    zoneCode String
    Availability zone code.
    billingInstanceId String
    ID of the resource.
    period Number
    Purchase duration, max number is 36, default value is 1.
    periodUnit String
    Purchase duration unit. valid values: m: month, y: year. default value is: m.
    projectId Number
    Project id, default value is 0.
    renewFlag String
    Auto-renewal flag. valid values: NOTIFY_AND_MANUAL_RENEW: manually renew, NOTIFY_AND_AUTO_RENEW: automatically renew, DISABLE_NOTIFY_AND_MANUAL_RENEW: renewal is disabled. default value is NOTIFY_AND_MANUAL_RENEW.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BillingInstance resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    Instance id.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceId string
    Instance id.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    Instance id.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceId string
    Instance id.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_id str
    Instance id.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceId String
    Instance id.

    Look up Existing BillingInstance Resource

    Get an existing BillingInstance resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: BillingInstanceState, opts?: CustomResourceOptions): BillingInstance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            billing_instance_id: Optional[str] = None,
            instance_id: Optional[str] = None,
            parameter: Optional[str] = None,
            pay_mode: Optional[str] = None,
            period: Optional[float] = None,
            period_unit: Optional[str] = None,
            product_code: Optional[str] = None,
            project_id: Optional[float] = None,
            region_code: Optional[str] = None,
            renew_flag: Optional[str] = None,
            sub_product_code: Optional[str] = None,
            timeouts: Optional[BillingInstanceTimeoutsArgs] = None,
            zone_code: Optional[str] = None) -> BillingInstance
    func GetBillingInstance(ctx *Context, name string, id IDInput, state *BillingInstanceState, opts ...ResourceOption) (*BillingInstance, error)
    public static BillingInstance Get(string name, Input<string> id, BillingInstanceState? state, CustomResourceOptions? opts = null)
    public static BillingInstance get(String name, Output<String> id, BillingInstanceState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:BillingInstance    get:      id: ${id}
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    BillingInstanceId string
    ID of the resource.
    InstanceId string
    Instance id.
    Parameter string
    Product detailed information.
    PayMode string
    Payment mode. Available values: PrePay: upfront charge.
    Period double
    Purchase duration, max number is 36, default value is 1.
    PeriodUnit string
    Purchase duration unit. valid values: m: month, y: year. default value is: m.
    ProductCode string
    Product code.
    ProjectId double
    Project id, default value is 0.
    RegionCode string
    Region code.
    RenewFlag string
    Auto-renewal flag. valid values: NOTIFY_AND_MANUAL_RENEW: manually renew, NOTIFY_AND_AUTO_RENEW: automatically renew, DISABLE_NOTIFY_AND_MANUAL_RENEW: renewal is disabled. default value is NOTIFY_AND_MANUAL_RENEW.
    SubProductCode string
    Sub-product code.
    Timeouts BillingInstanceTimeouts
    ZoneCode string
    Availability zone code.
    BillingInstanceId string
    ID of the resource.
    InstanceId string
    Instance id.
    Parameter string
    Product detailed information.
    PayMode string
    Payment mode. Available values: PrePay: upfront charge.
    Period float64
    Purchase duration, max number is 36, default value is 1.
    PeriodUnit string
    Purchase duration unit. valid values: m: month, y: year. default value is: m.
    ProductCode string
    Product code.
    ProjectId float64
    Project id, default value is 0.
    RegionCode string
    Region code.
    RenewFlag string
    Auto-renewal flag. valid values: NOTIFY_AND_MANUAL_RENEW: manually renew, NOTIFY_AND_AUTO_RENEW: automatically renew, DISABLE_NOTIFY_AND_MANUAL_RENEW: renewal is disabled. default value is NOTIFY_AND_MANUAL_RENEW.
    SubProductCode string
    Sub-product code.
    Timeouts BillingInstanceTimeoutsArgs
    ZoneCode string
    Availability zone code.
    billingInstanceId String
    ID of the resource.
    instanceId String
    Instance id.
    parameter String
    Product detailed information.
    payMode String
    Payment mode. Available values: PrePay: upfront charge.
    period Double
    Purchase duration, max number is 36, default value is 1.
    periodUnit String
    Purchase duration unit. valid values: m: month, y: year. default value is: m.
    productCode String
    Product code.
    projectId Double
    Project id, default value is 0.
    regionCode String
    Region code.
    renewFlag String
    Auto-renewal flag. valid values: NOTIFY_AND_MANUAL_RENEW: manually renew, NOTIFY_AND_AUTO_RENEW: automatically renew, DISABLE_NOTIFY_AND_MANUAL_RENEW: renewal is disabled. default value is NOTIFY_AND_MANUAL_RENEW.
    subProductCode String
    Sub-product code.
    timeouts BillingInstanceTimeouts
    zoneCode String
    Availability zone code.
    billingInstanceId string
    ID of the resource.
    instanceId string
    Instance id.
    parameter string
    Product detailed information.
    payMode string
    Payment mode. Available values: PrePay: upfront charge.
    period number
    Purchase duration, max number is 36, default value is 1.
    periodUnit string
    Purchase duration unit. valid values: m: month, y: year. default value is: m.
    productCode string
    Product code.
    projectId number
    Project id, default value is 0.
    regionCode string
    Region code.
    renewFlag string
    Auto-renewal flag. valid values: NOTIFY_AND_MANUAL_RENEW: manually renew, NOTIFY_AND_AUTO_RENEW: automatically renew, DISABLE_NOTIFY_AND_MANUAL_RENEW: renewal is disabled. default value is NOTIFY_AND_MANUAL_RENEW.
    subProductCode string
    Sub-product code.
    timeouts BillingInstanceTimeouts
    zoneCode string
    Availability zone code.
    billing_instance_id str
    ID of the resource.
    instance_id str
    Instance id.
    parameter str
    Product detailed information.
    pay_mode str
    Payment mode. Available values: PrePay: upfront charge.
    period float
    Purchase duration, max number is 36, default value is 1.
    period_unit str
    Purchase duration unit. valid values: m: month, y: year. default value is: m.
    product_code str
    Product code.
    project_id float
    Project id, default value is 0.
    region_code str
    Region code.
    renew_flag str
    Auto-renewal flag. valid values: NOTIFY_AND_MANUAL_RENEW: manually renew, NOTIFY_AND_AUTO_RENEW: automatically renew, DISABLE_NOTIFY_AND_MANUAL_RENEW: renewal is disabled. default value is NOTIFY_AND_MANUAL_RENEW.
    sub_product_code str
    Sub-product code.
    timeouts BillingInstanceTimeoutsArgs
    zone_code str
    Availability zone code.
    billingInstanceId String
    ID of the resource.
    instanceId String
    Instance id.
    parameter String
    Product detailed information.
    payMode String
    Payment mode. Available values: PrePay: upfront charge.
    period Number
    Purchase duration, max number is 36, default value is 1.
    periodUnit String
    Purchase duration unit. valid values: m: month, y: year. default value is: m.
    productCode String
    Product code.
    projectId Number
    Project id, default value is 0.
    regionCode String
    Region code.
    renewFlag String
    Auto-renewal flag. valid values: NOTIFY_AND_MANUAL_RENEW: manually renew, NOTIFY_AND_AUTO_RENEW: automatically renew, DISABLE_NOTIFY_AND_MANUAL_RENEW: renewal is disabled. default value is NOTIFY_AND_MANUAL_RENEW.
    subProductCode String
    Sub-product code.
    timeouts Property Map
    zoneCode String
    Availability zone code.

    Supporting Types

    BillingInstanceTimeouts, BillingInstanceTimeoutsArgs

    Create string
    Delete string
    Update string
    Create string
    Delete string
    Update string
    create String
    delete String
    update String
    create string
    delete string
    update string
    create str
    delete str
    update str
    create String
    delete String
    update String

    Package Details

    Repository
    tencentcloud tencentcloudstack/terraform-provider-tencentcloud
    License
    Notes
    This Pulumi package is based on the tencentcloud Terraform Provider.
    tencentcloud logo
    tencentcloud 1.82.68 published on Friday, Feb 6, 2026 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate