tencentcloud.TcaplusIdl
Explore with Pulumi AI
Use this resource to create TcaplusDB IDL file.
Example Usage
Create a tcaplus database idl file
The file will be with a specified cluster and tablegroup.
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const config = new pulumi.Config();
const availabilityZone = config.get("availabilityZone") || "ap-guangzhou-3";
const vpc = tencentcloud.getVpcSubnets({
    isDefault: true,
    availabilityZone: availabilityZone,
});
const vpcId = vpc.then(vpc => vpc.instanceLists?.[0]?.vpcId);
const subnetId = vpc.then(vpc => vpc.instanceLists?.[0]?.subnetId);
const exampleTcaplusCluster = new tencentcloud.TcaplusCluster("exampleTcaplusCluster", {
    idlType: "PROTO",
    clusterName: "tf_example_tcaplus_cluster",
    vpcId: vpcId,
    subnetId: subnetId,
    password: "your_pw_123111",
    oldPasswordExpireLast: 3600,
});
const exampleTcaplusTablegroup = new tencentcloud.TcaplusTablegroup("exampleTcaplusTablegroup", {
    clusterId: exampleTcaplusCluster.tcaplusClusterId,
    tablegroupName: "tf_example_group_name",
});
const main = new tencentcloud.TcaplusIdl("main", {
    clusterId: exampleTcaplusCluster.tcaplusClusterId,
    tablegroupId: exampleTcaplusTablegroup.tcaplusTablegroupId,
    fileName: "tf_example_tcaplus_idl",
    fileType: "PROTO",
    fileExtType: "proto",
    fileContent: `    syntax = "proto2";
    package myTcaplusTable;
    import "tcaplusservice.optionv1.proto";
    message tb_online {
        option(tcaplusservice.tcaplus_primary_key) = "uin,name,region";
        required int64 uin = 1;
        required string name = 2;
        required int32 region = 3;
        required int32 gamesvrid = 4;
        optional int32 logintime = 5 [default = 1];
        repeated int64 lockid = 6 [packed = true];
        optional bool is_available = 7 [default = false];
        optional pay_info pay = 8;
    }
    message pay_info {
        required int64 pay_id = 1;
        optional uint64 total_money = 2;
        optional uint64 pay_times = 3;
        optional pay_auth_info auth = 4;
        message pay_auth_info {
            required string pay_keys = 1;
            optional int64 update_time = 2;
        }
    }
`,
});
import pulumi
import pulumi_tencentcloud as tencentcloud
config = pulumi.Config()
availability_zone = config.get("availabilityZone")
if availability_zone is None:
    availability_zone = "ap-guangzhou-3"
vpc = tencentcloud.get_vpc_subnets(is_default=True,
    availability_zone=availability_zone)
vpc_id = vpc.instance_lists[0].vpc_id
subnet_id = vpc.instance_lists[0].subnet_id
example_tcaplus_cluster = tencentcloud.TcaplusCluster("exampleTcaplusCluster",
    idl_type="PROTO",
    cluster_name="tf_example_tcaplus_cluster",
    vpc_id=vpc_id,
    subnet_id=subnet_id,
    password="your_pw_123111",
    old_password_expire_last=3600)
example_tcaplus_tablegroup = tencentcloud.TcaplusTablegroup("exampleTcaplusTablegroup",
    cluster_id=example_tcaplus_cluster.tcaplus_cluster_id,
    tablegroup_name="tf_example_group_name")
main = tencentcloud.TcaplusIdl("main",
    cluster_id=example_tcaplus_cluster.tcaplus_cluster_id,
    tablegroup_id=example_tcaplus_tablegroup.tcaplus_tablegroup_id,
    file_name="tf_example_tcaplus_idl",
    file_type="PROTO",
    file_ext_type="proto",
    file_content="""    syntax = "proto2";
    package myTcaplusTable;
    import "tcaplusservice.optionv1.proto";
    message tb_online {
        option(tcaplusservice.tcaplus_primary_key) = "uin,name,region";
        required int64 uin = 1;
        required string name = 2;
        required int32 region = 3;
        required int32 gamesvrid = 4;
        optional int32 logintime = 5 [default = 1];
        repeated int64 lockid = 6 [packed = true];
        optional bool is_available = 7 [default = false];
        optional pay_info pay = 8;
    }
    message pay_info {
        required int64 pay_id = 1;
        optional uint64 total_money = 2;
        optional uint64 pay_times = 3;
        optional pay_auth_info auth = 4;
        message pay_auth_info {
            required string pay_keys = 1;
            optional int64 update_time = 2;
        }
    }
""")
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		cfg := config.New(ctx, "")
		availabilityZone := "ap-guangzhou-3"
		if param := cfg.Get("availabilityZone"); param != "" {
			availabilityZone = param
		}
		vpc, err := tencentcloud.GetVpcSubnets(ctx, &tencentcloud.GetVpcSubnetsArgs{
			IsDefault:        pulumi.BoolRef(true),
			AvailabilityZone: pulumi.StringRef(availabilityZone),
		}, nil)
		if err != nil {
			return err
		}
		vpcId := vpc.InstanceLists[0].VpcId
		subnetId := vpc.InstanceLists[0].SubnetId
		exampleTcaplusCluster, err := tencentcloud.NewTcaplusCluster(ctx, "exampleTcaplusCluster", &tencentcloud.TcaplusClusterArgs{
			IdlType:               pulumi.String("PROTO"),
			ClusterName:           pulumi.String("tf_example_tcaplus_cluster"),
			VpcId:                 pulumi.String(vpcId),
			SubnetId:              pulumi.String(subnetId),
			Password:              pulumi.String("your_pw_123111"),
			OldPasswordExpireLast: pulumi.Float64(3600),
		})
		if err != nil {
			return err
		}
		exampleTcaplusTablegroup, err := tencentcloud.NewTcaplusTablegroup(ctx, "exampleTcaplusTablegroup", &tencentcloud.TcaplusTablegroupArgs{
			ClusterId:      exampleTcaplusCluster.TcaplusClusterId,
			TablegroupName: pulumi.String("tf_example_group_name"),
		})
		if err != nil {
			return err
		}
		_, err = tencentcloud.NewTcaplusIdl(ctx, "main", &tencentcloud.TcaplusIdlArgs{
			ClusterId:    exampleTcaplusCluster.TcaplusClusterId,
			TablegroupId: exampleTcaplusTablegroup.TcaplusTablegroupId,
			FileName:     pulumi.String("tf_example_tcaplus_idl"),
			FileType:     pulumi.String("PROTO"),
			FileExtType:  pulumi.String("proto"),
			FileContent: pulumi.String(`    syntax = "proto2";
    package myTcaplusTable;
    import "tcaplusservice.optionv1.proto";
    message tb_online {
        option(tcaplusservice.tcaplus_primary_key) = "uin,name,region";
        required int64 uin = 1;
        required string name = 2;
        required int32 region = 3;
        required int32 gamesvrid = 4;
        optional int32 logintime = 5 [default = 1];
        repeated int64 lockid = 6 [packed = true];
        optional bool is_available = 7 [default = false];
        optional pay_info pay = 8;
    }
    message pay_info {
        required int64 pay_id = 1;
        optional uint64 total_money = 2;
        optional uint64 pay_times = 3;
        optional pay_auth_info auth = 4;
        message pay_auth_info {
            required string pay_keys = 1;
            optional int64 update_time = 2;
        }
    }
`),
		})
		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 config = new Config();
    var availabilityZone = config.Get("availabilityZone") ?? "ap-guangzhou-3";
    var vpc = Tencentcloud.GetVpcSubnets.Invoke(new()
    {
        IsDefault = true,
        AvailabilityZone = availabilityZone,
    });
    var vpcId = vpc.Apply(getVpcSubnetsResult => getVpcSubnetsResult.InstanceLists[0]?.VpcId);
    var subnetId = vpc.Apply(getVpcSubnetsResult => getVpcSubnetsResult.InstanceLists[0]?.SubnetId);
    var exampleTcaplusCluster = new Tencentcloud.TcaplusCluster("exampleTcaplusCluster", new()
    {
        IdlType = "PROTO",
        ClusterName = "tf_example_tcaplus_cluster",
        VpcId = vpcId,
        SubnetId = subnetId,
        Password = "your_pw_123111",
        OldPasswordExpireLast = 3600,
    });
    var exampleTcaplusTablegroup = new Tencentcloud.TcaplusTablegroup("exampleTcaplusTablegroup", new()
    {
        ClusterId = exampleTcaplusCluster.TcaplusClusterId,
        TablegroupName = "tf_example_group_name",
    });
    var main = new Tencentcloud.TcaplusIdl("main", new()
    {
        ClusterId = exampleTcaplusCluster.TcaplusClusterId,
        TablegroupId = exampleTcaplusTablegroup.TcaplusTablegroupId,
        FileName = "tf_example_tcaplus_idl",
        FileType = "PROTO",
        FileExtType = "proto",
        FileContent = @"    syntax = ""proto2"";
    package myTcaplusTable;
    import ""tcaplusservice.optionv1.proto"";
    message tb_online {
        option(tcaplusservice.tcaplus_primary_key) = ""uin,name,region"";
        required int64 uin = 1;
        required string name = 2;
        required int32 region = 3;
        required int32 gamesvrid = 4;
        optional int32 logintime = 5 [default = 1];
        repeated int64 lockid = 6 [packed = true];
        optional bool is_available = 7 [default = false];
        optional pay_info pay = 8;
    }
    message pay_info {
        required int64 pay_id = 1;
        optional uint64 total_money = 2;
        optional uint64 pay_times = 3;
        optional pay_auth_info auth = 4;
        message pay_auth_info {
            required string pay_keys = 1;
            optional int64 update_time = 2;
        }
    }
",
    });
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.TencentcloudFunctions;
import com.pulumi.tencentcloud.inputs.GetVpcSubnetsArgs;
import com.pulumi.tencentcloud.TcaplusCluster;
import com.pulumi.tencentcloud.TcaplusClusterArgs;
import com.pulumi.tencentcloud.TcaplusTablegroup;
import com.pulumi.tencentcloud.TcaplusTablegroupArgs;
import com.pulumi.tencentcloud.TcaplusIdl;
import com.pulumi.tencentcloud.TcaplusIdlArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
    public static void main(String[] args) {
        Pulumi.run(App::stack);
    }
    public static void stack(Context ctx) {
        final var config = ctx.config();
        final var availabilityZone = config.get("availabilityZone").orElse("ap-guangzhou-3");
        final var vpc = TencentcloudFunctions.getVpcSubnets(GetVpcSubnetsArgs.builder()
            .isDefault(true)
            .availabilityZone(availabilityZone)
            .build());
        final var vpcId = vpc.applyValue(getVpcSubnetsResult -> getVpcSubnetsResult.instanceLists()[0].vpcId());
        final var subnetId = vpc.applyValue(getVpcSubnetsResult -> getVpcSubnetsResult.instanceLists()[0].subnetId());
        var exampleTcaplusCluster = new TcaplusCluster("exampleTcaplusCluster", TcaplusClusterArgs.builder()
            .idlType("PROTO")
            .clusterName("tf_example_tcaplus_cluster")
            .vpcId(vpcId)
            .subnetId(subnetId)
            .password("your_pw_123111")
            .oldPasswordExpireLast(3600)
            .build());
        var exampleTcaplusTablegroup = new TcaplusTablegroup("exampleTcaplusTablegroup", TcaplusTablegroupArgs.builder()
            .clusterId(exampleTcaplusCluster.tcaplusClusterId())
            .tablegroupName("tf_example_group_name")
            .build());
        var main = new TcaplusIdl("main", TcaplusIdlArgs.builder()
            .clusterId(exampleTcaplusCluster.tcaplusClusterId())
            .tablegroupId(exampleTcaplusTablegroup.tcaplusTablegroupId())
            .fileName("tf_example_tcaplus_idl")
            .fileType("PROTO")
            .fileExtType("proto")
            .fileContent("""
    syntax = "proto2";
    package myTcaplusTable;
    import "tcaplusservice.optionv1.proto";
    message tb_online {
        option(tcaplusservice.tcaplus_primary_key) = "uin,name,region";
        required int64 uin = 1;
        required string name = 2;
        required int32 region = 3;
        required int32 gamesvrid = 4;
        optional int32 logintime = 5 [default = 1];
        repeated int64 lockid = 6 [packed = true];
        optional bool is_available = 7 [default = false];
        optional pay_info pay = 8;
    }
    message pay_info {
        required int64 pay_id = 1;
        optional uint64 total_money = 2;
        optional uint64 pay_times = 3;
        optional pay_auth_info auth = 4;
        message pay_auth_info {
            required string pay_keys = 1;
            optional int64 update_time = 2;
        }
    }
            """)
            .build());
    }
}
configuration:
  availabilityZone:
    type: string
    default: ap-guangzhou-3
resources:
  exampleTcaplusCluster:
    type: tencentcloud:TcaplusCluster
    properties:
      idlType: PROTO
      clusterName: tf_example_tcaplus_cluster
      vpcId: ${vpcId}
      subnetId: ${subnetId}
      password: your_pw_123111
      oldPasswordExpireLast: 3600
  exampleTcaplusTablegroup:
    type: tencentcloud:TcaplusTablegroup
    properties:
      clusterId: ${exampleTcaplusCluster.tcaplusClusterId}
      tablegroupName: tf_example_group_name
  main:
    type: tencentcloud:TcaplusIdl
    properties:
      clusterId: ${exampleTcaplusCluster.tcaplusClusterId}
      tablegroupId: ${exampleTcaplusTablegroup.tcaplusTablegroupId}
      fileName: tf_example_tcaplus_idl
      fileType: PROTO
      fileExtType: proto
      fileContent: |2
            syntax = "proto2";
            package myTcaplusTable;
            import "tcaplusservice.optionv1.proto";
            message tb_online {
                option(tcaplusservice.tcaplus_primary_key) = "uin,name,region";
                required int64 uin = 1;
                required string name = 2;
                required int32 region = 3;
                required int32 gamesvrid = 4;
                optional int32 logintime = 5 [default = 1];
                repeated int64 lockid = 6 [packed = true];
                optional bool is_available = 7 [default = false];
                optional pay_info pay = 8;
            }
            message pay_info {
                required int64 pay_id = 1;
                optional uint64 total_money = 2;
                optional uint64 pay_times = 3;
                optional pay_auth_info auth = 4;
                message pay_auth_info {
                    required string pay_keys = 1;
                    optional int64 update_time = 2;
                }
            }
variables:
  vpcId: ${vpc.instanceLists[0].vpcId}
  subnetId: ${vpc.instanceLists[0].subnetId}
  vpc:
    fn::invoke:
      function: tencentcloud:getVpcSubnets
      arguments:
        isDefault: true
        availabilityZone: ${availabilityZone}
Create TcaplusIdl Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TcaplusIdl(name: string, args: TcaplusIdlArgs, opts?: CustomResourceOptions);@overload
def TcaplusIdl(resource_name: str,
               args: TcaplusIdlArgs,
               opts: Optional[ResourceOptions] = None)
@overload
def TcaplusIdl(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               cluster_id: Optional[str] = None,
               file_content: Optional[str] = None,
               file_ext_type: Optional[str] = None,
               file_name: Optional[str] = None,
               file_type: Optional[str] = None,
               tablegroup_id: Optional[str] = None,
               tcaplus_idl_id: Optional[str] = None)func NewTcaplusIdl(ctx *Context, name string, args TcaplusIdlArgs, opts ...ResourceOption) (*TcaplusIdl, error)public TcaplusIdl(string name, TcaplusIdlArgs args, CustomResourceOptions? opts = null)
public TcaplusIdl(String name, TcaplusIdlArgs args)
public TcaplusIdl(String name, TcaplusIdlArgs args, CustomResourceOptions options)
type: tencentcloud:TcaplusIdl
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 TcaplusIdlArgs
- 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 TcaplusIdlArgs
- 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 TcaplusIdlArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TcaplusIdlArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TcaplusIdlArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
TcaplusIdl 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 TcaplusIdl resource accepts the following input properties:
- ClusterId string
- ID of the TcaplusDB cluster to which the table group belongs.
- FileContent string
- IDL file content of the TcaplusDB table.
- FileExt stringType 
- File ext type of the IDL file. If file_typeisPROTO,file_ext_typemust be 'proto'; Iffile_typeisTDR,file_ext_typemust be 'xml'.
- FileName string
- Name of the IDL file.
- FileType string
- Type of the IDL file. Valid values are PROTO and TDR.
- TablegroupId string
- ID of the table group to which the IDL file belongs.
- TcaplusIdl stringId 
- ID of the resource.
- ClusterId string
- ID of the TcaplusDB cluster to which the table group belongs.
- FileContent string
- IDL file content of the TcaplusDB table.
- FileExt stringType 
- File ext type of the IDL file. If file_typeisPROTO,file_ext_typemust be 'proto'; Iffile_typeisTDR,file_ext_typemust be 'xml'.
- FileName string
- Name of the IDL file.
- FileType string
- Type of the IDL file. Valid values are PROTO and TDR.
- TablegroupId string
- ID of the table group to which the IDL file belongs.
- TcaplusIdl stringId 
- ID of the resource.
- clusterId String
- ID of the TcaplusDB cluster to which the table group belongs.
- fileContent String
- IDL file content of the TcaplusDB table.
- fileExt StringType 
- File ext type of the IDL file. If file_typeisPROTO,file_ext_typemust be 'proto'; Iffile_typeisTDR,file_ext_typemust be 'xml'.
- fileName String
- Name of the IDL file.
- fileType String
- Type of the IDL file. Valid values are PROTO and TDR.
- tablegroupId String
- ID of the table group to which the IDL file belongs.
- tcaplusIdl StringId 
- ID of the resource.
- clusterId string
- ID of the TcaplusDB cluster to which the table group belongs.
- fileContent string
- IDL file content of the TcaplusDB table.
- fileExt stringType 
- File ext type of the IDL file. If file_typeisPROTO,file_ext_typemust be 'proto'; Iffile_typeisTDR,file_ext_typemust be 'xml'.
- fileName string
- Name of the IDL file.
- fileType string
- Type of the IDL file. Valid values are PROTO and TDR.
- tablegroupId string
- ID of the table group to which the IDL file belongs.
- tcaplusIdl stringId 
- ID of the resource.
- cluster_id str
- ID of the TcaplusDB cluster to which the table group belongs.
- file_content str
- IDL file content of the TcaplusDB table.
- file_ext_ strtype 
- File ext type of the IDL file. If file_typeisPROTO,file_ext_typemust be 'proto'; Iffile_typeisTDR,file_ext_typemust be 'xml'.
- file_name str
- Name of the IDL file.
- file_type str
- Type of the IDL file. Valid values are PROTO and TDR.
- tablegroup_id str
- ID of the table group to which the IDL file belongs.
- tcaplus_idl_ strid 
- ID of the resource.
- clusterId String
- ID of the TcaplusDB cluster to which the table group belongs.
- fileContent String
- IDL file content of the TcaplusDB table.
- fileExt StringType 
- File ext type of the IDL file. If file_typeisPROTO,file_ext_typemust be 'proto'; Iffile_typeisTDR,file_ext_typemust be 'xml'.
- fileName String
- Name of the IDL file.
- fileType String
- Type of the IDL file. Valid values are PROTO and TDR.
- tablegroupId String
- ID of the table group to which the IDL file belongs.
- tcaplusIdl StringId 
- ID of the resource.
Outputs
All input properties are implicitly available as output properties. Additionally, the TcaplusIdl resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- TableInfos List<TcaplusIdl Table Info> 
- Table info of the IDL.
- Id string
- The provider-assigned unique ID for this managed resource.
- TableInfos []TcaplusIdl Table Info 
- Table info of the IDL.
- id String
- The provider-assigned unique ID for this managed resource.
- tableInfos List<TcaplusIdl Table Info> 
- Table info of the IDL.
- id string
- The provider-assigned unique ID for this managed resource.
- tableInfos TcaplusIdl Table Info[] 
- Table info of the IDL.
- id str
- The provider-assigned unique ID for this managed resource.
- table_infos Sequence[TcaplusIdl Table Info] 
- Table info of the IDL.
- id String
- The provider-assigned unique ID for this managed resource.
- tableInfos List<Property Map>
- Table info of the IDL.
Look up Existing TcaplusIdl Resource
Get an existing TcaplusIdl 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?: TcaplusIdlState, opts?: CustomResourceOptions): TcaplusIdl@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        cluster_id: Optional[str] = None,
        file_content: Optional[str] = None,
        file_ext_type: Optional[str] = None,
        file_name: Optional[str] = None,
        file_type: Optional[str] = None,
        table_infos: Optional[Sequence[TcaplusIdlTableInfoArgs]] = None,
        tablegroup_id: Optional[str] = None,
        tcaplus_idl_id: Optional[str] = None) -> TcaplusIdlfunc GetTcaplusIdl(ctx *Context, name string, id IDInput, state *TcaplusIdlState, opts ...ResourceOption) (*TcaplusIdl, error)public static TcaplusIdl Get(string name, Input<string> id, TcaplusIdlState? state, CustomResourceOptions? opts = null)public static TcaplusIdl get(String name, Output<String> id, TcaplusIdlState state, CustomResourceOptions options)resources:  _:    type: tencentcloud:TcaplusIdl    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.
- ClusterId string
- ID of the TcaplusDB cluster to which the table group belongs.
- FileContent string
- IDL file content of the TcaplusDB table.
- FileExt stringType 
- File ext type of the IDL file. If file_typeisPROTO,file_ext_typemust be 'proto'; Iffile_typeisTDR,file_ext_typemust be 'xml'.
- FileName string
- Name of the IDL file.
- FileType string
- Type of the IDL file. Valid values are PROTO and TDR.
- TableInfos List<TcaplusIdl Table Info> 
- Table info of the IDL.
- TablegroupId string
- ID of the table group to which the IDL file belongs.
- TcaplusIdl stringId 
- ID of the resource.
- ClusterId string
- ID of the TcaplusDB cluster to which the table group belongs.
- FileContent string
- IDL file content of the TcaplusDB table.
- FileExt stringType 
- File ext type of the IDL file. If file_typeisPROTO,file_ext_typemust be 'proto'; Iffile_typeisTDR,file_ext_typemust be 'xml'.
- FileName string
- Name of the IDL file.
- FileType string
- Type of the IDL file. Valid values are PROTO and TDR.
- TableInfos []TcaplusIdl Table Info Args 
- Table info of the IDL.
- TablegroupId string
- ID of the table group to which the IDL file belongs.
- TcaplusIdl stringId 
- ID of the resource.
- clusterId String
- ID of the TcaplusDB cluster to which the table group belongs.
- fileContent String
- IDL file content of the TcaplusDB table.
- fileExt StringType 
- File ext type of the IDL file. If file_typeisPROTO,file_ext_typemust be 'proto'; Iffile_typeisTDR,file_ext_typemust be 'xml'.
- fileName String
- Name of the IDL file.
- fileType String
- Type of the IDL file. Valid values are PROTO and TDR.
- tableInfos List<TcaplusIdl Table Info> 
- Table info of the IDL.
- tablegroupId String
- ID of the table group to which the IDL file belongs.
- tcaplusIdl StringId 
- ID of the resource.
- clusterId string
- ID of the TcaplusDB cluster to which the table group belongs.
- fileContent string
- IDL file content of the TcaplusDB table.
- fileExt stringType 
- File ext type of the IDL file. If file_typeisPROTO,file_ext_typemust be 'proto'; Iffile_typeisTDR,file_ext_typemust be 'xml'.
- fileName string
- Name of the IDL file.
- fileType string
- Type of the IDL file. Valid values are PROTO and TDR.
- tableInfos TcaplusIdl Table Info[] 
- Table info of the IDL.
- tablegroupId string
- ID of the table group to which the IDL file belongs.
- tcaplusIdl stringId 
- ID of the resource.
- cluster_id str
- ID of the TcaplusDB cluster to which the table group belongs.
- file_content str
- IDL file content of the TcaplusDB table.
- file_ext_ strtype 
- File ext type of the IDL file. If file_typeisPROTO,file_ext_typemust be 'proto'; Iffile_typeisTDR,file_ext_typemust be 'xml'.
- file_name str
- Name of the IDL file.
- file_type str
- Type of the IDL file. Valid values are PROTO and TDR.
- table_infos Sequence[TcaplusIdl Table Info Args] 
- Table info of the IDL.
- tablegroup_id str
- ID of the table group to which the IDL file belongs.
- tcaplus_idl_ strid 
- ID of the resource.
- clusterId String
- ID of the TcaplusDB cluster to which the table group belongs.
- fileContent String
- IDL file content of the TcaplusDB table.
- fileExt StringType 
- File ext type of the IDL file. If file_typeisPROTO,file_ext_typemust be 'proto'; Iffile_typeisTDR,file_ext_typemust be 'xml'.
- fileName String
- Name of the IDL file.
- fileType String
- Type of the IDL file. Valid values are PROTO and TDR.
- tableInfos List<Property Map>
- Table info of the IDL.
- tablegroupId String
- ID of the table group to which the IDL file belongs.
- tcaplusIdl StringId 
- ID of the resource.
Supporting Types
TcaplusIdlTableInfo, TcaplusIdlTableInfoArgs        
- Error string
- Error messages for creating IDL file.
- IndexKey stringSet 
- Index key set of the TcaplusDB table.
- KeyFields string
- Primary key fields of the TcaplusDB table.
- SumKey doubleField Size 
- Total size of primary key field of the TcaplusDB table.
- SumValue doubleField Size 
- Total size of non-primary key fields of the TcaplusDB table.
- TableName string
- Name of the TcaplusDB table.
- ValueFields string
- Non-primary key fields of the TcaplusDB table.
- Error string
- Error messages for creating IDL file.
- IndexKey stringSet 
- Index key set of the TcaplusDB table.
- KeyFields string
- Primary key fields of the TcaplusDB table.
- SumKey float64Field Size 
- Total size of primary key field of the TcaplusDB table.
- SumValue float64Field Size 
- Total size of non-primary key fields of the TcaplusDB table.
- TableName string
- Name of the TcaplusDB table.
- ValueFields string
- Non-primary key fields of the TcaplusDB table.
- error String
- Error messages for creating IDL file.
- indexKey StringSet 
- Index key set of the TcaplusDB table.
- keyFields String
- Primary key fields of the TcaplusDB table.
- sumKey DoubleField Size 
- Total size of primary key field of the TcaplusDB table.
- sumValue DoubleField Size 
- Total size of non-primary key fields of the TcaplusDB table.
- tableName String
- Name of the TcaplusDB table.
- valueFields String
- Non-primary key fields of the TcaplusDB table.
- error string
- Error messages for creating IDL file.
- indexKey stringSet 
- Index key set of the TcaplusDB table.
- keyFields string
- Primary key fields of the TcaplusDB table.
- sumKey numberField Size 
- Total size of primary key field of the TcaplusDB table.
- sumValue numberField Size 
- Total size of non-primary key fields of the TcaplusDB table.
- tableName string
- Name of the TcaplusDB table.
- valueFields string
- Non-primary key fields of the TcaplusDB table.
- error str
- Error messages for creating IDL file.
- index_key_ strset 
- Index key set of the TcaplusDB table.
- key_fields str
- Primary key fields of the TcaplusDB table.
- sum_key_ floatfield_ size 
- Total size of primary key field of the TcaplusDB table.
- sum_value_ floatfield_ size 
- Total size of non-primary key fields of the TcaplusDB table.
- table_name str
- Name of the TcaplusDB table.
- value_fields str
- Non-primary key fields of the TcaplusDB table.
- error String
- Error messages for creating IDL file.
- indexKey StringSet 
- Index key set of the TcaplusDB table.
- keyFields String
- Primary key fields of the TcaplusDB table.
- sumKey NumberField Size 
- Total size of primary key field of the TcaplusDB table.
- sumValue NumberField Size 
- Total size of non-primary key fields of the TcaplusDB table.
- tableName String
- Name of the TcaplusDB table.
- valueFields String
- Non-primary key fields of the TcaplusDB table.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the tencentcloudTerraform Provider.