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.
- Pay
Mode string - Payment mode. Available values: PrePay: upfront charge.
- Product
Code string - Product code.
- Region
Code string - Region code.
- Sub
Product stringCode - Sub-product code.
- Zone
Code string - Availability zone code.
- Billing
Instance stringId - ID of the resource.
- Period double
- Purchase duration, max number is 36, default value is 1.
- Period
Unit string - Purchase duration unit. valid values: m: month, y: year. default value is: m.
- Project
Id double - Project id, default value is 0.
- Renew
Flag 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
Billing
Instance Timeouts
- Parameter string
- Product detailed information.
- Pay
Mode string - Payment mode. Available values: PrePay: upfront charge.
- Product
Code string - Product code.
- Region
Code string - Region code.
- Sub
Product stringCode - Sub-product code.
- Zone
Code string - Availability zone code.
- Billing
Instance stringId - ID of the resource.
- Period float64
- Purchase duration, max number is 36, default value is 1.
- Period
Unit string - Purchase duration unit. valid values: m: month, y: year. default value is: m.
- Project
Id float64 - Project id, default value is 0.
- Renew
Flag 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
Billing
Instance Timeouts Args
- parameter String
- Product detailed information.
- pay
Mode String - Payment mode. Available values: PrePay: upfront charge.
- product
Code String - Product code.
- region
Code String - Region code.
- sub
Product StringCode - Sub-product code.
- zone
Code String - Availability zone code.
- billing
Instance StringId - ID of the resource.
- period Double
- Purchase duration, max number is 36, default value is 1.
- period
Unit String - Purchase duration unit. valid values: m: month, y: year. default value is: m.
- project
Id Double - Project id, default value is 0.
- renew
Flag 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
Billing
Instance Timeouts
- parameter string
- Product detailed information.
- pay
Mode string - Payment mode. Available values: PrePay: upfront charge.
- product
Code string - Product code.
- region
Code string - Region code.
- sub
Product stringCode - Sub-product code.
- zone
Code string - Availability zone code.
- billing
Instance stringId - ID of the resource.
- period number
- Purchase duration, max number is 36, default value is 1.
- period
Unit string - Purchase duration unit. valid values: m: month, y: year. default value is: m.
- project
Id number - Project id, default value is 0.
- renew
Flag 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
Billing
Instance Timeouts
- 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_ strcode - Sub-product code.
- zone_
code str - Availability zone code.
- billing_
instance_ strid - 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
Billing
Instance Timeouts Args
- parameter String
- Product detailed information.
- pay
Mode String - Payment mode. Available values: PrePay: upfront charge.
- product
Code String - Product code.
- region
Code String - Region code.
- sub
Product StringCode - Sub-product code.
- zone
Code String - Availability zone code.
- billing
Instance StringId - ID of the resource.
- period Number
- Purchase duration, max number is 36, default value is 1.
- period
Unit String - Purchase duration unit. valid values: m: month, y: year. default value is: m.
- project
Id Number - Project id, default value is 0.
- renew
Flag 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.
- Instance
Id string - Instance id.
- Id string
- The provider-assigned unique ID for this managed resource.
- Instance
Id string - Instance id.
- id String
- The provider-assigned unique ID for this managed resource.
- instance
Id String - Instance id.
- id string
- The provider-assigned unique ID for this managed resource.
- instance
Id 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.
- instance
Id 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) -> BillingInstancefunc 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.
- Billing
Instance stringId - ID of the resource.
- Instance
Id string - Instance id.
- Parameter string
- Product detailed information.
- Pay
Mode string - Payment mode. Available values: PrePay: upfront charge.
- Period double
- Purchase duration, max number is 36, default value is 1.
- Period
Unit string - Purchase duration unit. valid values: m: month, y: year. default value is: m.
- Product
Code string - Product code.
- Project
Id double - Project id, default value is 0.
- Region
Code string - Region code.
- Renew
Flag 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.
- Sub
Product stringCode - Sub-product code.
- Timeouts
Billing
Instance Timeouts - Zone
Code string - Availability zone code.
- Billing
Instance stringId - ID of the resource.
- Instance
Id string - Instance id.
- Parameter string
- Product detailed information.
- Pay
Mode string - Payment mode. Available values: PrePay: upfront charge.
- Period float64
- Purchase duration, max number is 36, default value is 1.
- Period
Unit string - Purchase duration unit. valid values: m: month, y: year. default value is: m.
- Product
Code string - Product code.
- Project
Id float64 - Project id, default value is 0.
- Region
Code string - Region code.
- Renew
Flag 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.
- Sub
Product stringCode - Sub-product code.
- Timeouts
Billing
Instance Timeouts Args - Zone
Code string - Availability zone code.
- billing
Instance StringId - ID of the resource.
- instance
Id String - Instance id.
- parameter String
- Product detailed information.
- pay
Mode String - Payment mode. Available values: PrePay: upfront charge.
- period Double
- Purchase duration, max number is 36, default value is 1.
- period
Unit String - Purchase duration unit. valid values: m: month, y: year. default value is: m.
- product
Code String - Product code.
- project
Id Double - Project id, default value is 0.
- region
Code String - Region code.
- renew
Flag 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.
- sub
Product StringCode - Sub-product code.
- timeouts
Billing
Instance Timeouts - zone
Code String - Availability zone code.
- billing
Instance stringId - ID of the resource.
- instance
Id string - Instance id.
- parameter string
- Product detailed information.
- pay
Mode string - Payment mode. Available values: PrePay: upfront charge.
- period number
- Purchase duration, max number is 36, default value is 1.
- period
Unit string - Purchase duration unit. valid values: m: month, y: year. default value is: m.
- product
Code string - Product code.
- project
Id number - Project id, default value is 0.
- region
Code string - Region code.
- renew
Flag 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.
- sub
Product stringCode - Sub-product code.
- timeouts
Billing
Instance Timeouts - zone
Code string - Availability zone code.
- billing_
instance_ strid - 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_ strcode - Sub-product code.
- timeouts
Billing
Instance Timeouts Args - zone_
code str - Availability zone code.
- billing
Instance StringId - ID of the resource.
- instance
Id String - Instance id.
- parameter String
- Product detailed information.
- pay
Mode String - Payment mode. Available values: PrePay: upfront charge.
- period Number
- Purchase duration, max number is 36, default value is 1.
- period
Unit String - Purchase duration unit. valid values: m: month, y: year. default value is: m.
- product
Code String - Product code.
- project
Id Number - Project id, default value is 0.
- region
Code String - Region code.
- renew
Flag 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.
- sub
Product StringCode - Sub-product code.
- timeouts Property Map
- zone
Code String - Availability zone code.
Supporting Types
BillingInstanceTimeouts, BillingInstanceTimeoutsArgs
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloudTerraform Provider.
