tencentcloud.BillingBudget
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:
- Bill
Type string - BILL: system bill, CONSUMPTION: consumption bill.
- Budget
Name string - Budget name.
- Budget
Quota 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"}].
- Cycle
Type string - Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
- Fee
Type 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).
- Period
Begin string - Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
- Period
End string - Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
- Plan
Type string - FIX: fixed budget, CYCLE: planned budget.
- Warn
Jsons List<BillingBudget Warn Json> - Threshold reminder.
- Billing
Budget stringId - ID of the resource.
- Budget
Note string - Budget remarks.
- Dimensions
Range BillingBudget Dimensions Range - Budget dimension range conditions.
- Wave
Threshold List<BillingJsons Budget Wave Threshold Json> - Volatility reminder.
- Bill
Type string - BILL: system bill, CONSUMPTION: consumption bill.
- Budget
Name string - Budget name.
- Budget
Quota 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"}].
- Cycle
Type string - Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
- Fee
Type 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).
- Period
Begin string - Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
- Period
End string - Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
- Plan
Type string - FIX: fixed budget, CYCLE: planned budget.
- Warn
Jsons []BillingBudget Warn Json Args - Threshold reminder.
- Billing
Budget stringId - ID of the resource.
- Budget
Note string - Budget remarks.
- Dimensions
Range BillingBudget Dimensions Range Args - Budget dimension range conditions.
- Wave
Threshold []BillingJsons Budget Wave Threshold Json Args - Volatility reminder.
- bill
Type String - BILL: system bill, CONSUMPTION: consumption bill.
- budget
Name String - Budget name.
- budget
Quota 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"}].
- cycle
Type String - Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
- fee
Type 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).
- period
Begin String - Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
- period
End String - Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
- plan
Type String - FIX: fixed budget, CYCLE: planned budget.
- warn
Jsons List<BillingBudget Warn Json> - Threshold reminder.
- billing
Budget StringId - ID of the resource.
- budget
Note String - Budget remarks.
- dimensions
Range BillingBudget Dimensions Range - Budget dimension range conditions.
- wave
Threshold List<BillingJsons Budget Wave Threshold Json> - Volatility reminder.
- bill
Type string - BILL: system bill, CONSUMPTION: consumption bill.
- budget
Name string - Budget name.
- budget
Quota 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"}].
- cycle
Type string - Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
- fee
Type 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).
- period
Begin string - Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
- period
End string - Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
- plan
Type string - FIX: fixed budget, CYCLE: planned budget.
- warn
Jsons BillingBudget Warn Json[] - Threshold reminder.
- billing
Budget stringId - ID of the resource.
- budget
Note string - Budget remarks.
- dimensions
Range BillingBudget Dimensions Range - Budget dimension range conditions.
- wave
Threshold BillingJsons Budget Wave Threshold Json[] - 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[BillingBudget Warn Json Args] - Threshold reminder.
- billing_
budget_ strid - ID of the resource.
- budget_
note str - Budget remarks.
- dimensions_
range BillingBudget Dimensions Range Args - Budget dimension range conditions.
- wave_
threshold_ Sequence[Billingjsons Budget Wave Threshold Json Args] - Volatility reminder.
- bill
Type String - BILL: system bill, CONSUMPTION: consumption bill.
- budget
Name String - Budget name.
- budget
Quota 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"}].
- cycle
Type String - Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
- fee
Type 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).
- period
Begin String - Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
- period
End String - Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
- plan
Type String - FIX: fixed budget, CYCLE: planned budget.
- warn
Jsons List<Property Map> - Threshold reminder.
- billing
Budget StringId - ID of the resource.
- budget
Note String - Budget remarks.
- dimensions
Range Property Map - Budget dimension range conditions.
- wave
Threshold List<Property Map>Jsons - 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.
- Bill
Type string - BILL: system bill, CONSUMPTION: consumption bill.
- Billing
Budget stringId - ID of the resource.
- Budget
Name string - Budget name.
- Budget
Note string - Budget remarks.
- Budget
Quota 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"}].
- Cycle
Type string - Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
- Dimensions
Range BillingBudget Dimensions Range - Budget dimension range conditions.
- Fee
Type 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).
- Period
Begin string - Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
- Period
End string - Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
- Plan
Type string - FIX: fixed budget, CYCLE: planned budget.
- Warn
Jsons List<BillingBudget Warn Json> - Threshold reminder.
- Wave
Threshold List<BillingJsons Budget Wave Threshold Json> - Volatility reminder.
- Bill
Type string - BILL: system bill, CONSUMPTION: consumption bill.
- Billing
Budget stringId - ID of the resource.
- Budget
Name string - Budget name.
- Budget
Note string - Budget remarks.
- Budget
Quota 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"}].
- Cycle
Type string - Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
- Dimensions
Range BillingBudget Dimensions Range Args - Budget dimension range conditions.
- Fee
Type 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).
- Period
Begin string - Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
- Period
End string - Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
- Plan
Type string - FIX: fixed budget, CYCLE: planned budget.
- Warn
Jsons []BillingBudget Warn Json Args - Threshold reminder.
- Wave
Threshold []BillingJsons Budget Wave Threshold Json Args - Volatility reminder.
- bill
Type String - BILL: system bill, CONSUMPTION: consumption bill.
- billing
Budget StringId - ID of the resource.
- budget
Name String - Budget name.
- budget
Note String - Budget remarks.
- budget
Quota 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"}].
- cycle
Type String - Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
- dimensions
Range BillingBudget Dimensions Range - Budget dimension range conditions.
- fee
Type 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).
- period
Begin String - Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
- period
End String - Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
- plan
Type String - FIX: fixed budget, CYCLE: planned budget.
- warn
Jsons List<BillingBudget Warn Json> - Threshold reminder.
- wave
Threshold List<BillingJsons Budget Wave Threshold Json> - Volatility reminder.
- bill
Type string - BILL: system bill, CONSUMPTION: consumption bill.
- billing
Budget stringId - ID of the resource.
- budget
Name string - Budget name.
- budget
Note string - Budget remarks.
- budget
Quota 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"}].
- cycle
Type string - Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
- dimensions
Range BillingBudget Dimensions Range - Budget dimension range conditions.
- fee
Type 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).
- period
Begin string - Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
- period
End string - Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
- plan
Type string - FIX: fixed budget, CYCLE: planned budget.
- warn
Jsons BillingBudget Warn Json[] - Threshold reminder.
- wave
Threshold BillingJsons Budget Wave Threshold Json[] - Volatility reminder.
- bill_
type str - BILL: system bill, CONSUMPTION: consumption bill.
- billing_
budget_ strid - 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 BillingBudget Dimensions Range Args - 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[BillingBudget Warn Json Args] - Threshold reminder.
- wave_
threshold_ Sequence[Billingjsons Budget Wave Threshold Json Args] - Volatility reminder.
- bill
Type String - BILL: system bill, CONSUMPTION: consumption bill.
- billing
Budget StringId - ID of the resource.
- budget
Name String - Budget name.
- budget
Note String - Budget remarks.
- budget
Quota 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"}].
- cycle
Type String - Cycle type, valid values: DAY, MONTH, QUARTER, YEAR.
- dimensions
Range Property Map - Budget dimension range conditions.
- fee
Type 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).
- period
Begin String - Valid period starting time 2025-01-01(cycle: days) / 2025-01 (cycle: months).
- period
End String - Expiration period end time 2025-12-01(cycle: days) / 2025-12 (cycle: months).
- plan
Type String - FIX: fixed budget, CYCLE: planned budget.
- warn
Jsons List<Property Map> - Threshold reminder.
- wave
Threshold List<Property Map>Jsons - Volatility reminder.
Supporting Types
BillingBudgetDimensionsRange, BillingBudgetDimensionsRangeArgs
- Action
Types List<string> - Action types.
- Businesses List<string>
- Products.
- Component
Codes List<string> - Component codes.
- Consumption
Types List<string> - Consumption types.
- Owner
Uins List<string> - Owner uins.
- Pay
Modes List<string> - Pay mode.
- Payer
Uins List<string> - Payer uins.
- Product
Codes List<string> - Sub-product.
- Project
Ids List<string> - Project ids.
- Region
Ids List<string> - Region ids.
- List<Billing
Budget Dimensions Range Tag> - Tags.
- Tree
Node List<string>Uniq Keys - Unique key for end-level ledger unit.
- Zone
Ids List<string> - Zone ids.
- Action
Types []string - Action types.
- Businesses []string
- Products.
- Component
Codes []string - Component codes.
- Consumption
Types []string - Consumption types.
- Owner
Uins []string - Owner uins.
- Pay
Modes []string - Pay mode.
- Payer
Uins []string - Payer uins.
- Product
Codes []string - Sub-product.
- Project
Ids []string - Project ids.
- Region
Ids []string - Region ids.
- []Billing
Budget Dimensions Range Tag - Tags.
- Tree
Node []stringUniq Keys - Unique key for end-level ledger unit.
- Zone
Ids []string - Zone ids.
- action
Types List<String> - Action types.
- businesses List<String>
- Products.
- component
Codes List<String> - Component codes.
- consumption
Types List<String> - Consumption types.
- owner
Uins List<String> - Owner uins.
- pay
Modes List<String> - Pay mode.
- payer
Uins List<String> - Payer uins.
- product
Codes List<String> - Sub-product.
- project
Ids List<String> - Project ids.
- region
Ids List<String> - Region ids.
- List<Billing
Budget Dimensions Range Tag> - Tags.
- tree
Node List<String>Uniq Keys - Unique key for end-level ledger unit.
- zone
Ids List<String> - Zone ids.
- action
Types string[] - Action types.
- businesses string[]
- Products.
- component
Codes string[] - Component codes.
- consumption
Types string[] - Consumption types.
- owner
Uins string[] - Owner uins.
- pay
Modes string[] - Pay mode.
- payer
Uins string[] - Payer uins.
- product
Codes string[] - Sub-product.
- project
Ids string[] - Project ids.
- region
Ids string[] - Region ids.
- Billing
Budget Dimensions Range Tag[] - Tags.
- tree
Node string[]Uniq Keys - Unique key for end-level ledger unit.
- zone
Ids 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.
- Sequence[Billing
Budget Dimensions Range Tag] - Tags.
- tree_
node_ Sequence[str]uniq_ keys - Unique key for end-level ledger unit.
- zone_
ids Sequence[str] - Zone ids.
- action
Types List<String> - Action types.
- businesses List<String>
- Products.
- component
Codes List<String> - Component codes.
- consumption
Types List<String> - Consumption types.
- owner
Uins List<String> - Owner uins.
- pay
Modes List<String> - Pay mode.
- payer
Uins List<String> - Payer uins.
- product
Codes List<String> - Sub-product.
- project
Ids List<String> - Project ids.
- region
Ids List<String> - Region ids.
- List<Property Map>
- Tags.
- tree
Node List<String>Uniq Keys - Unique key for end-level ledger unit.
- zone
Ids List<String> - Zone ids.
BillingBudgetDimensionsRangeTag, BillingBudgetDimensionsRangeTagArgs
- tag_
key str - Tag key.
- tag_
values Sequence[str] - Tag value.
BillingBudgetWarnJson, BillingBudgetWarnJsonArgs
- Cal
Type string - PERCENTAGE: Percentage of budget amount, ABS: fixed value.
- Threshold
Value string - Threshold (greater than or equal to 0).
- Warn
Type string - ACTUAL: actual amount, FORECAST: forecast amount.
- Cal
Type string - PERCENTAGE: Percentage of budget amount, ABS: fixed value.
- Threshold
Value string - Threshold (greater than or equal to 0).
- Warn
Type string - ACTUAL: actual amount, FORECAST: forecast amount.
- cal
Type String - PERCENTAGE: Percentage of budget amount, ABS: fixed value.
- threshold
Value String - Threshold (greater than or equal to 0).
- warn
Type String - ACTUAL: actual amount, FORECAST: forecast amount.
- cal
Type string - PERCENTAGE: Percentage of budget amount, ABS: fixed value.
- threshold
Value string - Threshold (greater than or equal to 0).
- warn
Type 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.
- cal
Type String - PERCENTAGE: Percentage of budget amount, ABS: fixed value.
- threshold
Value String - Threshold (greater than or equal to 0).
- warn
Type String - ACTUAL: actual amount, FORECAST: forecast amount.
BillingBudgetWaveThresholdJson, BillingBudgetWaveThresholdJsonArgs
- Meta
Type 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).
- Period
Type 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).
- Warn
Type string - ACTUAL: actual amount, FORECAST: forecast amount.
- Meta
Type 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).
- Period
Type 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).
- Warn
Type string - ACTUAL: actual amount, FORECAST: forecast amount.
- meta
Type 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).
- period
Type 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).
- warn
Type String - ACTUAL: actual amount, FORECAST: forecast amount.
- meta
Type 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).
- period
Type 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).
- warn
Type 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.
- meta
Type 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).
- period
Type 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).
- warn
Type 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.