1. Packages
  2. Tencentcloud Provider
  3. API Docs
  4. BillingBudget
tencentcloud 1.82.29 published on Friday, Oct 10, 2025 by tencentcloudstack

tencentcloud.BillingBudget

Deploy with Pulumi
tencentcloud logo
tencentcloud 1.82.29 published on Friday, Oct 10, 2025 by tencentcloudstack

    Provides a resource to create a billing billing_budget

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as tencentcloud from "@pulumi/tencentcloud";
    
    const billingBudget = new tencentcloud.BillingBudget("billingBudget", {
        billType: "BILL",
        budgetName: "tf-test",
        budgetNote: "budget_note",
        budgetQuota: "10000.00",
        cycleType: "MONTH",
        dimensionsRange: {
            actionTypes: ["prepay_purchase"],
            businesses: ["p_cvm"],
            payModes: ["prePay"],
            productCodes: ["sp_cvm_s6"],
            projectIds: ["0"],
            regionIds: ["1"],
            zoneIds: ["100006"],
        },
        feeType: "REAL_COST",
        periodBegin: "2025-09",
        periodEnd: "2026-09",
        planType: "FIX",
        warnJsons: [{
            calType: "PERCENTAGE",
            thresholdValue: "60",
            warnType: "ACTUAL",
        }],
        waveThresholdJsons: [{
            metaType: "chain",
            periodType: "day",
            threshold: "20",
            warnType: "ACTUAL",
        }],
    });
    
    import pulumi
    import pulumi_tencentcloud as tencentcloud
    
    billing_budget = tencentcloud.BillingBudget("billingBudget",
        bill_type="BILL",
        budget_name="tf-test",
        budget_note="budget_note",
        budget_quota="10000.00",
        cycle_type="MONTH",
        dimensions_range={
            "action_types": ["prepay_purchase"],
            "businesses": ["p_cvm"],
            "pay_modes": ["prePay"],
            "product_codes": ["sp_cvm_s6"],
            "project_ids": ["0"],
            "region_ids": ["1"],
            "zone_ids": ["100006"],
        },
        fee_type="REAL_COST",
        period_begin="2025-09",
        period_end="2026-09",
        plan_type="FIX",
        warn_jsons=[{
            "cal_type": "PERCENTAGE",
            "threshold_value": "60",
            "warn_type": "ACTUAL",
        }],
        wave_threshold_jsons=[{
            "meta_type": "chain",
            "period_type": "day",
            "threshold": "20",
            "warn_type": "ACTUAL",
        }])
    
    package main
    
    import (
    	"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 {
    		_, err := tencentcloud.NewBillingBudget(ctx, "billingBudget", &tencentcloud.BillingBudgetArgs{
    			BillType:    pulumi.String("BILL"),
    			BudgetName:  pulumi.String("tf-test"),
    			BudgetNote:  pulumi.String("budget_note"),
    			BudgetQuota: pulumi.String("10000.00"),
    			CycleType:   pulumi.String("MONTH"),
    			DimensionsRange: &tencentcloud.BillingBudgetDimensionsRangeArgs{
    				ActionTypes: pulumi.StringArray{
    					pulumi.String("prepay_purchase"),
    				},
    				Businesses: pulumi.StringArray{
    					pulumi.String("p_cvm"),
    				},
    				PayModes: pulumi.StringArray{
    					pulumi.String("prePay"),
    				},
    				ProductCodes: pulumi.StringArray{
    					pulumi.String("sp_cvm_s6"),
    				},
    				ProjectIds: pulumi.StringArray{
    					pulumi.String("0"),
    				},
    				RegionIds: pulumi.StringArray{
    					pulumi.String("1"),
    				},
    				ZoneIds: pulumi.StringArray{
    					pulumi.String("100006"),
    				},
    			},
    			FeeType:     pulumi.String("REAL_COST"),
    			PeriodBegin: pulumi.String("2025-09"),
    			PeriodEnd:   pulumi.String("2026-09"),
    			PlanType:    pulumi.String("FIX"),
    			WarnJsons: tencentcloud.BillingBudgetWarnJsonArray{
    				&tencentcloud.BillingBudgetWarnJsonArgs{
    					CalType:        pulumi.String("PERCENTAGE"),
    					ThresholdValue: pulumi.String("60"),
    					WarnType:       pulumi.String("ACTUAL"),
    				},
    			},
    			WaveThresholdJsons: tencentcloud.BillingBudgetWaveThresholdJsonArray{
    				&tencentcloud.BillingBudgetWaveThresholdJsonArgs{
    					MetaType:   pulumi.String("chain"),
    					PeriodType: pulumi.String("day"),
    					Threshold:  pulumi.String("20"),
    					WarnType:   pulumi.String("ACTUAL"),
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Tencentcloud = Pulumi.Tencentcloud;
    
    return await Deployment.RunAsync(() => 
    {
        var billingBudget = new Tencentcloud.BillingBudget("billingBudget", new()
        {
            BillType = "BILL",
            BudgetName = "tf-test",
            BudgetNote = "budget_note",
            BudgetQuota = "10000.00",
            CycleType = "MONTH",
            DimensionsRange = new Tencentcloud.Inputs.BillingBudgetDimensionsRangeArgs
            {
                ActionTypes = new[]
                {
                    "prepay_purchase",
                },
                Businesses = new[]
                {
                    "p_cvm",
                },
                PayModes = new[]
                {
                    "prePay",
                },
                ProductCodes = new[]
                {
                    "sp_cvm_s6",
                },
                ProjectIds = new[]
                {
                    "0",
                },
                RegionIds = new[]
                {
                    "1",
                },
                ZoneIds = new[]
                {
                    "100006",
                },
            },
            FeeType = "REAL_COST",
            PeriodBegin = "2025-09",
            PeriodEnd = "2026-09",
            PlanType = "FIX",
            WarnJsons = new[]
            {
                new Tencentcloud.Inputs.BillingBudgetWarnJsonArgs
                {
                    CalType = "PERCENTAGE",
                    ThresholdValue = "60",
                    WarnType = "ACTUAL",
                },
            },
            WaveThresholdJsons = new[]
            {
                new Tencentcloud.Inputs.BillingBudgetWaveThresholdJsonArgs
                {
                    MetaType = "chain",
                    PeriodType = "day",
                    Threshold = "20",
                    WarnType = "ACTUAL",
                },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.tencentcloud.BillingBudget;
    import com.pulumi.tencentcloud.BillingBudgetArgs;
    import com.pulumi.tencentcloud.inputs.BillingBudgetDimensionsRangeArgs;
    import com.pulumi.tencentcloud.inputs.BillingBudgetWarnJsonArgs;
    import com.pulumi.tencentcloud.inputs.BillingBudgetWaveThresholdJsonArgs;
    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 billingBudget = new BillingBudget("billingBudget", BillingBudgetArgs.builder()
                .billType("BILL")
                .budgetName("tf-test")
                .budgetNote("budget_note")
                .budgetQuota("10000.00")
                .cycleType("MONTH")
                .dimensionsRange(BillingBudgetDimensionsRangeArgs.builder()
                    .actionTypes("prepay_purchase")
                    .businesses("p_cvm")
                    .payModes("prePay")
                    .productCodes("sp_cvm_s6")
                    .projectIds("0")
                    .regionIds("1")
                    .zoneIds("100006")
                    .build())
                .feeType("REAL_COST")
                .periodBegin("2025-09")
                .periodEnd("2026-09")
                .planType("FIX")
                .warnJsons(BillingBudgetWarnJsonArgs.builder()
                    .calType("PERCENTAGE")
                    .thresholdValue("60")
                    .warnType("ACTUAL")
                    .build())
                .waveThresholdJsons(BillingBudgetWaveThresholdJsonArgs.builder()
                    .metaType("chain")
                    .periodType("day")
                    .threshold("20")
                    .warnType("ACTUAL")
                    .build())
                .build());
    
        }
    }
    
    resources:
      billingBudget:
        type: tencentcloud:BillingBudget
        properties:
          billType: BILL
          budgetName: tf-test
          budgetNote: budget_note
          budgetQuota: '10000.00'
          cycleType: MONTH
          dimensionsRange:
            actionTypes:
              - prepay_purchase
            businesses:
              - p_cvm
            payModes:
              - prePay
            productCodes:
              - sp_cvm_s6
            projectIds:
              - '0'
            regionIds:
              - '1'
            zoneIds:
              - '100006'
          feeType: REAL_COST
          periodBegin: 2025-09
          periodEnd: 2026-09
          planType: FIX
          warnJsons:
            - calType: PERCENTAGE
              thresholdValue: '60'
              warnType: ACTUAL
          waveThresholdJsons:
            - metaType: chain
              periodType: day
              threshold: '20'
              warnType: ACTUAL
    

    Create BillingBudget Resource

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

    Constructor syntax

    new BillingBudget(name: string, args: BillingBudgetArgs, opts?: CustomResourceOptions);
    @overload
    def BillingBudget(resource_name: str,
                      args: BillingBudgetArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def BillingBudget(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      period_end: Optional[str] = None,
                      warn_jsons: Optional[Sequence[BillingBudgetWarnJsonArgs]] = None,
                      budget_name: Optional[str] = None,
                      bill_type: Optional[str] = None,
                      budget_quota: Optional[str] = None,
                      cycle_type: Optional[str] = None,
                      plan_type: Optional[str] = None,
                      fee_type: Optional[str] = None,
                      period_begin: Optional[str] = None,
                      budget_note: Optional[str] = None,
                      dimensions_range: Optional[BillingBudgetDimensionsRangeArgs] = None,
                      billing_budget_id: Optional[str] = None,
                      wave_threshold_jsons: Optional[Sequence[BillingBudgetWaveThresholdJsonArgs]] = None)
    func NewBillingBudget(ctx *Context, name string, args BillingBudgetArgs, opts ...ResourceOption) (*BillingBudget, error)
    public BillingBudget(string name, BillingBudgetArgs args, CustomResourceOptions? opts = null)
    public BillingBudget(String name, BillingBudgetArgs args)
    public BillingBudget(String name, BillingBudgetArgs args, CustomResourceOptions options)
    
    type: tencentcloud:BillingBudget
    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 BillingBudgetArgs
    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 BillingBudgetArgs
    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 BillingBudgetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BillingBudgetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BillingBudgetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    BillingBudget 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 BillingBudget resource accepts the following input properties:

    BillType string
    BILL: system bill, CONSUMPTION: consumption bill.
    BudgetName string
    Budget name.
    BudgetQuota string
    Budget value limit. Transfer fixed value when the budget plan type is FIX(Fixed Budget); Passed when the budget plan type is CYCLE(Planned Budget)[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}].
    CycleType string
    Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
    FeeType string
    COST original price, REAL_COST actual cost, CASH cash, INCENTIVE gift, VOUCHER voucher, TRANSFER share, TAX tax, AMOUNT_BEFORE_TAX cash payment (before tax).
    PeriodBegin string
    Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
    PeriodEnd string
    Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
    PlanType string
    FIX: fixed budget, CYCLE: planned budget.
    WarnJsons List<BillingBudgetWarnJson>
    Threshold reminder.
    BillingBudgetId string
    ID of the resource.
    BudgetNote string
    Budget remarks.
    DimensionsRange BillingBudgetDimensionsRange
    Budget dimension range conditions.
    WaveThresholdJsons List<BillingBudgetWaveThresholdJson>
    Volatility reminder.
    BillType string
    BILL: system bill, CONSUMPTION: consumption bill.
    BudgetName string
    Budget name.
    BudgetQuota string
    Budget value limit. Transfer fixed value when the budget plan type is FIX(Fixed Budget); Passed when the budget plan type is CYCLE(Planned Budget)[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}].
    CycleType string
    Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
    FeeType string
    COST original price, REAL_COST actual cost, CASH cash, INCENTIVE gift, VOUCHER voucher, TRANSFER share, TAX tax, AMOUNT_BEFORE_TAX cash payment (before tax).
    PeriodBegin string
    Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
    PeriodEnd string
    Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
    PlanType string
    FIX: fixed budget, CYCLE: planned budget.
    WarnJsons []BillingBudgetWarnJsonArgs
    Threshold reminder.
    BillingBudgetId string
    ID of the resource.
    BudgetNote string
    Budget remarks.
    DimensionsRange BillingBudgetDimensionsRangeArgs
    Budget dimension range conditions.
    WaveThresholdJsons []BillingBudgetWaveThresholdJsonArgs
    Volatility reminder.
    billType String
    BILL: system bill, CONSUMPTION: consumption bill.
    budgetName String
    Budget name.
    budgetQuota String
    Budget value limit. Transfer fixed value when the budget plan type is FIX(Fixed Budget); Passed when the budget plan type is CYCLE(Planned Budget)[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}].
    cycleType String
    Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
    feeType String
    COST original price, REAL_COST actual cost, CASH cash, INCENTIVE gift, VOUCHER voucher, TRANSFER share, TAX tax, AMOUNT_BEFORE_TAX cash payment (before tax).
    periodBegin String
    Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
    periodEnd String
    Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
    planType String
    FIX: fixed budget, CYCLE: planned budget.
    warnJsons List<BillingBudgetWarnJson>
    Threshold reminder.
    billingBudgetId String
    ID of the resource.
    budgetNote String
    Budget remarks.
    dimensionsRange BillingBudgetDimensionsRange
    Budget dimension range conditions.
    waveThresholdJsons List<BillingBudgetWaveThresholdJson>
    Volatility reminder.
    billType string
    BILL: system bill, CONSUMPTION: consumption bill.
    budgetName string
    Budget name.
    budgetQuota string
    Budget value limit. Transfer fixed value when the budget plan type is FIX(Fixed Budget); Passed when the budget plan type is CYCLE(Planned Budget)[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}].
    cycleType string
    Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
    feeType string
    COST original price, REAL_COST actual cost, CASH cash, INCENTIVE gift, VOUCHER voucher, TRANSFER share, TAX tax, AMOUNT_BEFORE_TAX cash payment (before tax).
    periodBegin string
    Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
    periodEnd string
    Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
    planType string
    FIX: fixed budget, CYCLE: planned budget.
    warnJsons BillingBudgetWarnJson[]
    Threshold reminder.
    billingBudgetId string
    ID of the resource.
    budgetNote string
    Budget remarks.
    dimensionsRange BillingBudgetDimensionsRange
    Budget dimension range conditions.
    waveThresholdJsons BillingBudgetWaveThresholdJson[]
    Volatility reminder.
    bill_type str
    BILL: system bill, CONSUMPTION: consumption bill.
    budget_name str
    Budget name.
    budget_quota str
    Budget value limit. Transfer fixed value when the budget plan type is FIX(Fixed Budget); Passed when the budget plan type is CYCLE(Planned Budget)[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}].
    cycle_type str
    Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
    fee_type str
    COST original price, REAL_COST actual cost, CASH cash, INCENTIVE gift, VOUCHER voucher, TRANSFER share, TAX tax, AMOUNT_BEFORE_TAX cash payment (before tax).
    period_begin str
    Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
    period_end str
    Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
    plan_type str
    FIX: fixed budget, CYCLE: planned budget.
    warn_jsons Sequence[BillingBudgetWarnJsonArgs]
    Threshold reminder.
    billing_budget_id str
    ID of the resource.
    budget_note str
    Budget remarks.
    dimensions_range BillingBudgetDimensionsRangeArgs
    Budget dimension range conditions.
    wave_threshold_jsons Sequence[BillingBudgetWaveThresholdJsonArgs]
    Volatility reminder.
    billType String
    BILL: system bill, CONSUMPTION: consumption bill.
    budgetName String
    Budget name.
    budgetQuota String
    Budget value limit. Transfer fixed value when the budget plan type is FIX(Fixed Budget); Passed when the budget plan type is CYCLE(Planned Budget)[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}].
    cycleType String
    Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
    feeType String
    COST original price, REAL_COST actual cost, CASH cash, INCENTIVE gift, VOUCHER voucher, TRANSFER share, TAX tax, AMOUNT_BEFORE_TAX cash payment (before tax).
    periodBegin String
    Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
    periodEnd String
    Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
    planType String
    FIX: fixed budget, CYCLE: planned budget.
    warnJsons List<Property Map>
    Threshold reminder.
    billingBudgetId String
    ID of the resource.
    budgetNote String
    Budget remarks.
    dimensionsRange Property Map
    Budget dimension range conditions.
    waveThresholdJsons List<Property Map>
    Volatility reminder.

    Outputs

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

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

    Look up Existing BillingBudget Resource

    Get an existing BillingBudget 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?: BillingBudgetState, opts?: CustomResourceOptions): BillingBudget
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            bill_type: Optional[str] = None,
            billing_budget_id: Optional[str] = None,
            budget_name: Optional[str] = None,
            budget_note: Optional[str] = None,
            budget_quota: Optional[str] = None,
            cycle_type: Optional[str] = None,
            dimensions_range: Optional[BillingBudgetDimensionsRangeArgs] = None,
            fee_type: Optional[str] = None,
            period_begin: Optional[str] = None,
            period_end: Optional[str] = None,
            plan_type: Optional[str] = None,
            warn_jsons: Optional[Sequence[BillingBudgetWarnJsonArgs]] = None,
            wave_threshold_jsons: Optional[Sequence[BillingBudgetWaveThresholdJsonArgs]] = None) -> BillingBudget
    func GetBillingBudget(ctx *Context, name string, id IDInput, state *BillingBudgetState, opts ...ResourceOption) (*BillingBudget, error)
    public static BillingBudget Get(string name, Input<string> id, BillingBudgetState? state, CustomResourceOptions? opts = null)
    public static BillingBudget get(String name, Output<String> id, BillingBudgetState state, CustomResourceOptions options)
    resources:  _:    type: tencentcloud:BillingBudget    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:
    BillType string
    BILL: system bill, CONSUMPTION: consumption bill.
    BillingBudgetId string
    ID of the resource.
    BudgetName string
    Budget name.
    BudgetNote string
    Budget remarks.
    BudgetQuota string
    Budget value limit. Transfer fixed value when the budget plan type is FIX(Fixed Budget); Passed when the budget plan type is CYCLE(Planned Budget)[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}].
    CycleType string
    Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
    DimensionsRange BillingBudgetDimensionsRange
    Budget dimension range conditions.
    FeeType string
    COST original price, REAL_COST actual cost, CASH cash, INCENTIVE gift, VOUCHER voucher, TRANSFER share, TAX tax, AMOUNT_BEFORE_TAX cash payment (before tax).
    PeriodBegin string
    Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
    PeriodEnd string
    Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
    PlanType string
    FIX: fixed budget, CYCLE: planned budget.
    WarnJsons List<BillingBudgetWarnJson>
    Threshold reminder.
    WaveThresholdJsons List<BillingBudgetWaveThresholdJson>
    Volatility reminder.
    BillType string
    BILL: system bill, CONSUMPTION: consumption bill.
    BillingBudgetId string
    ID of the resource.
    BudgetName string
    Budget name.
    BudgetNote string
    Budget remarks.
    BudgetQuota string
    Budget value limit. Transfer fixed value when the budget plan type is FIX(Fixed Budget); Passed when the budget plan type is CYCLE(Planned Budget)[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}].
    CycleType string
    Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
    DimensionsRange BillingBudgetDimensionsRangeArgs
    Budget dimension range conditions.
    FeeType string
    COST original price, REAL_COST actual cost, CASH cash, INCENTIVE gift, VOUCHER voucher, TRANSFER share, TAX tax, AMOUNT_BEFORE_TAX cash payment (before tax).
    PeriodBegin string
    Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
    PeriodEnd string
    Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
    PlanType string
    FIX: fixed budget, CYCLE: planned budget.
    WarnJsons []BillingBudgetWarnJsonArgs
    Threshold reminder.
    WaveThresholdJsons []BillingBudgetWaveThresholdJsonArgs
    Volatility reminder.
    billType String
    BILL: system bill, CONSUMPTION: consumption bill.
    billingBudgetId String
    ID of the resource.
    budgetName String
    Budget name.
    budgetNote String
    Budget remarks.
    budgetQuota String
    Budget value limit. Transfer fixed value when the budget plan type is FIX(Fixed Budget); Passed when the budget plan type is CYCLE(Planned Budget)[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}].
    cycleType String
    Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
    dimensionsRange BillingBudgetDimensionsRange
    Budget dimension range conditions.
    feeType String
    COST original price, REAL_COST actual cost, CASH cash, INCENTIVE gift, VOUCHER voucher, TRANSFER share, TAX tax, AMOUNT_BEFORE_TAX cash payment (before tax).
    periodBegin String
    Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
    periodEnd String
    Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
    planType String
    FIX: fixed budget, CYCLE: planned budget.
    warnJsons List<BillingBudgetWarnJson>
    Threshold reminder.
    waveThresholdJsons List<BillingBudgetWaveThresholdJson>
    Volatility reminder.
    billType string
    BILL: system bill, CONSUMPTION: consumption bill.
    billingBudgetId string
    ID of the resource.
    budgetName string
    Budget name.
    budgetNote string
    Budget remarks.
    budgetQuota string
    Budget value limit. Transfer fixed value when the budget plan type is FIX(Fixed Budget); Passed when the budget plan type is CYCLE(Planned Budget)[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}].
    cycleType string
    Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
    dimensionsRange BillingBudgetDimensionsRange
    Budget dimension range conditions.
    feeType string
    COST original price, REAL_COST actual cost, CASH cash, INCENTIVE gift, VOUCHER voucher, TRANSFER share, TAX tax, AMOUNT_BEFORE_TAX cash payment (before tax).
    periodBegin string
    Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
    periodEnd string
    Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
    planType string
    FIX: fixed budget, CYCLE: planned budget.
    warnJsons BillingBudgetWarnJson[]
    Threshold reminder.
    waveThresholdJsons BillingBudgetWaveThresholdJson[]
    Volatility reminder.
    bill_type str
    BILL: system bill, CONSUMPTION: consumption bill.
    billing_budget_id str
    ID of the resource.
    budget_name str
    Budget name.
    budget_note str
    Budget remarks.
    budget_quota str
    Budget value limit. Transfer fixed value when the budget plan type is FIX(Fixed Budget); Passed when the budget plan type is CYCLE(Planned Budget)[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}].
    cycle_type str
    Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
    dimensions_range BillingBudgetDimensionsRangeArgs
    Budget dimension range conditions.
    fee_type str
    COST original price, REAL_COST actual cost, CASH cash, INCENTIVE gift, VOUCHER voucher, TRANSFER share, TAX tax, AMOUNT_BEFORE_TAX cash payment (before tax).
    period_begin str
    Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
    period_end str
    Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
    plan_type str
    FIX: fixed budget, CYCLE: planned budget.
    warn_jsons Sequence[BillingBudgetWarnJsonArgs]
    Threshold reminder.
    wave_threshold_jsons Sequence[BillingBudgetWaveThresholdJsonArgs]
    Volatility reminder.
    billType String
    BILL: system bill, CONSUMPTION: consumption bill.
    billingBudgetId String
    ID of the resource.
    budgetName String
    Budget name.
    budgetNote String
    Budget remarks.
    budgetQuota String
    Budget value limit. Transfer fixed value when the budget plan type is FIX(Fixed Budget); Passed when the budget plan type is CYCLE(Planned Budget)[{"dateDesc":"2025-07","quota":"1000"},{"dateDesc":"2025-08","quota":"2000"}].
    cycleType String
    Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
    dimensionsRange Property Map
    Budget dimension range conditions.
    feeType String
    COST original price, REAL_COST actual cost, CASH cash, INCENTIVE gift, VOUCHER voucher, TRANSFER share, TAX tax, AMOUNT_BEFORE_TAX cash payment (before tax).
    periodBegin String
    Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
    periodEnd String
    Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
    planType String
    FIX: fixed budget, CYCLE: planned budget.
    warnJsons List<Property Map>
    Threshold reminder.
    waveThresholdJsons List<Property Map>
    Volatility reminder.

    Supporting Types

    BillingBudgetDimensionsRange, BillingBudgetDimensionsRangeArgs

    ActionTypes List<string>
    Action types.
    Businesses List<string>
    Products.
    ComponentCodes List<string>
    Component codes.
    ConsumptionTypes List<string>
    Consumption types.
    OwnerUins List<string>
    Owner uins.
    PayModes List<string>
    Pay mode.
    PayerUins List<string>
    Payer uins.
    ProductCodes List<string>
    Sub-product.
    ProjectIds List<string>
    Project ids.
    RegionIds List<string>
    Region ids.
    Tags List<BillingBudgetDimensionsRangeTag>
    Tags.
    TreeNodeUniqKeys List<string>
    Unique key for end-level ledger unit.
    ZoneIds List<string>
    Zone ids.
    ActionTypes []string
    Action types.
    Businesses []string
    Products.
    ComponentCodes []string
    Component codes.
    ConsumptionTypes []string
    Consumption types.
    OwnerUins []string
    Owner uins.
    PayModes []string
    Pay mode.
    PayerUins []string
    Payer uins.
    ProductCodes []string
    Sub-product.
    ProjectIds []string
    Project ids.
    RegionIds []string
    Region ids.
    Tags []BillingBudgetDimensionsRangeTag
    Tags.
    TreeNodeUniqKeys []string
    Unique key for end-level ledger unit.
    ZoneIds []string
    Zone ids.
    actionTypes List<String>
    Action types.
    businesses List<String>
    Products.
    componentCodes List<String>
    Component codes.
    consumptionTypes List<String>
    Consumption types.
    ownerUins List<String>
    Owner uins.
    payModes List<String>
    Pay mode.
    payerUins List<String>
    Payer uins.
    productCodes List<String>
    Sub-product.
    projectIds List<String>
    Project ids.
    regionIds List<String>
    Region ids.
    tags List<BillingBudgetDimensionsRangeTag>
    Tags.
    treeNodeUniqKeys List<String>
    Unique key for end-level ledger unit.
    zoneIds List<String>
    Zone ids.
    actionTypes string[]
    Action types.
    businesses string[]
    Products.
    componentCodes string[]
    Component codes.
    consumptionTypes string[]
    Consumption types.
    ownerUins string[]
    Owner uins.
    payModes string[]
    Pay mode.
    payerUins string[]
    Payer uins.
    productCodes string[]
    Sub-product.
    projectIds string[]
    Project ids.
    regionIds string[]
    Region ids.
    tags BillingBudgetDimensionsRangeTag[]
    Tags.
    treeNodeUniqKeys string[]
    Unique key for end-level ledger unit.
    zoneIds string[]
    Zone ids.
    action_types Sequence[str]
    Action types.
    businesses Sequence[str]
    Products.
    component_codes Sequence[str]
    Component codes.
    consumption_types Sequence[str]
    Consumption types.
    owner_uins Sequence[str]
    Owner uins.
    pay_modes Sequence[str]
    Pay mode.
    payer_uins Sequence[str]
    Payer uins.
    product_codes Sequence[str]
    Sub-product.
    project_ids Sequence[str]
    Project ids.
    region_ids Sequence[str]
    Region ids.
    tags Sequence[BillingBudgetDimensionsRangeTag]
    Tags.
    tree_node_uniq_keys Sequence[str]
    Unique key for end-level ledger unit.
    zone_ids Sequence[str]
    Zone ids.
    actionTypes List<String>
    Action types.
    businesses List<String>
    Products.
    componentCodes List<String>
    Component codes.
    consumptionTypes List<String>
    Consumption types.
    ownerUins List<String>
    Owner uins.
    payModes List<String>
    Pay mode.
    payerUins List<String>
    Payer uins.
    productCodes List<String>
    Sub-product.
    projectIds List<String>
    Project ids.
    regionIds List<String>
    Region ids.
    tags List<Property Map>
    Tags.
    treeNodeUniqKeys List<String>
    Unique key for end-level ledger unit.
    zoneIds List<String>
    Zone ids.

    BillingBudgetDimensionsRangeTag, BillingBudgetDimensionsRangeTagArgs

    TagKey string
    Tag key.
    TagValues List<string>
    Tag value.
    TagKey string
    Tag key.
    TagValues []string
    Tag value.
    tagKey String
    Tag key.
    tagValues List<String>
    Tag value.
    tagKey string
    Tag key.
    tagValues string[]
    Tag value.
    tag_key str
    Tag key.
    tag_values Sequence[str]
    Tag value.
    tagKey String
    Tag key.
    tagValues List<String>
    Tag value.

    BillingBudgetWarnJson, BillingBudgetWarnJsonArgs

    CalType string
    PERCENTAGE: Percentage of budget amount, ABS: fixed value.
    ThresholdValue string
    Threshold (greater than or equal to 0).
    WarnType string
    ACTUAL: actual amount, FORECAST: forecast amount.
    CalType string
    PERCENTAGE: Percentage of budget amount, ABS: fixed value.
    ThresholdValue string
    Threshold (greater than or equal to 0).
    WarnType string
    ACTUAL: actual amount, FORECAST: forecast amount.
    calType String
    PERCENTAGE: Percentage of budget amount, ABS: fixed value.
    thresholdValue String
    Threshold (greater than or equal to 0).
    warnType String
    ACTUAL: actual amount, FORECAST: forecast amount.
    calType string
    PERCENTAGE: Percentage of budget amount, ABS: fixed value.
    thresholdValue string
    Threshold (greater than or equal to 0).
    warnType string
    ACTUAL: actual amount, FORECAST: forecast amount.
    cal_type str
    PERCENTAGE: Percentage of budget amount, ABS: fixed value.
    threshold_value str
    Threshold (greater than or equal to 0).
    warn_type str
    ACTUAL: actual amount, FORECAST: forecast amount.
    calType String
    PERCENTAGE: Percentage of budget amount, ABS: fixed value.
    thresholdValue String
    Threshold (greater than or equal to 0).
    warnType String
    ACTUAL: actual amount, FORECAST: forecast amount.

    BillingBudgetWaveThresholdJson, BillingBudgetWaveThresholdJsonArgs

    MetaType string
    Alarm type: chain month-on-month, yoy year-on-year, fix fixed value (Supported types: daily month-on-month chain day, daily month-on-year chain weekday, daily month-on-year monthly month-on-year fixed value fix day, month-on-month chain month, monthly fixed value fix month).
    PeriodType string
    Alarm dimension: day day, month month, weekday week (Support types: day-to-day chain day, day-to-year weekly dimension chain weekday, day-to-year monthly dimension yoy day, daily fixed value fix day, month-to-month chain month, monthly fixed value fix month).
    Threshold string
    Volatility threshold (greater than or equal to 0).
    WarnType string
    ACTUAL: actual amount, FORECAST: forecast amount.
    MetaType string
    Alarm type: chain month-on-month, yoy year-on-year, fix fixed value (Supported types: daily month-on-month chain day, daily month-on-year chain weekday, daily month-on-year monthly month-on-year fixed value fix day, month-on-month chain month, monthly fixed value fix month).
    PeriodType string
    Alarm dimension: day day, month month, weekday week (Support types: day-to-day chain day, day-to-year weekly dimension chain weekday, day-to-year monthly dimension yoy day, daily fixed value fix day, month-to-month chain month, monthly fixed value fix month).
    Threshold string
    Volatility threshold (greater than or equal to 0).
    WarnType string
    ACTUAL: actual amount, FORECAST: forecast amount.
    metaType String
    Alarm type: chain month-on-month, yoy year-on-year, fix fixed value (Supported types: daily month-on-month chain day, daily month-on-year chain weekday, daily month-on-year monthly month-on-year fixed value fix day, month-on-month chain month, monthly fixed value fix month).
    periodType String
    Alarm dimension: day day, month month, weekday week (Support types: day-to-day chain day, day-to-year weekly dimension chain weekday, day-to-year monthly dimension yoy day, daily fixed value fix day, month-to-month chain month, monthly fixed value fix month).
    threshold String
    Volatility threshold (greater than or equal to 0).
    warnType String
    ACTUAL: actual amount, FORECAST: forecast amount.
    metaType string
    Alarm type: chain month-on-month, yoy year-on-year, fix fixed value (Supported types: daily month-on-month chain day, daily month-on-year chain weekday, daily month-on-year monthly month-on-year fixed value fix day, month-on-month chain month, monthly fixed value fix month).
    periodType string
    Alarm dimension: day day, month month, weekday week (Support types: day-to-day chain day, day-to-year weekly dimension chain weekday, day-to-year monthly dimension yoy day, daily fixed value fix day, month-to-month chain month, monthly fixed value fix month).
    threshold string
    Volatility threshold (greater than or equal to 0).
    warnType string
    ACTUAL: actual amount, FORECAST: forecast amount.
    meta_type str
    Alarm type: chain month-on-month, yoy year-on-year, fix fixed value (Supported types: daily month-on-month chain day, daily month-on-year chain weekday, daily month-on-year monthly month-on-year fixed value fix day, month-on-month chain month, monthly fixed value fix month).
    period_type str
    Alarm dimension: day day, month month, weekday week (Support types: day-to-day chain day, day-to-year weekly dimension chain weekday, day-to-year monthly dimension yoy day, daily fixed value fix day, month-to-month chain month, monthly fixed value fix month).
    threshold str
    Volatility threshold (greater than or equal to 0).
    warn_type str
    ACTUAL: actual amount, FORECAST: forecast amount.
    metaType String
    Alarm type: chain month-on-month, yoy year-on-year, fix fixed value (Supported types: daily month-on-month chain day, daily month-on-year chain weekday, daily month-on-year monthly month-on-year fixed value fix day, month-on-month chain month, monthly fixed value fix month).
    periodType String
    Alarm dimension: day day, month month, weekday week (Support types: day-to-day chain day, day-to-year weekly dimension chain weekday, day-to-year monthly dimension yoy day, daily fixed value fix day, month-to-month chain month, monthly fixed value fix month).
    threshold String
    Volatility threshold (greater than or equal to 0).
    warnType String
    ACTUAL: actual amount, FORECAST: forecast amount.

    Import

    billing billing_budget can be imported using the id, e.g.

    $ pulumi import tencentcloud:index/billingBudget:BillingBudget billing_budget billing_budget_id
    

    To learn more about importing existing cloud resources, see Importing resources.

    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.29 published on Friday, Oct 10, 2025 by tencentcloudstack
      Meet Neo: Your AI Platform Teammate