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:
- Cluster
Id string - ID of the TcaplusDB cluster to which the table group belongs.
- File
Content string - IDL file content of the TcaplusDB table.
- File
Ext stringType - File ext type of the IDL file. If
file_type
isPROTO
,file_ext_type
must be 'proto'; Iffile_type
isTDR
,file_ext_type
must be 'xml'. - File
Name string - Name of the IDL file.
- File
Type string - Type of the IDL file. Valid values are PROTO and TDR.
- Tablegroup
Id string - ID of the table group to which the IDL file belongs.
- Tcaplus
Idl stringId - ID of the resource.
- Cluster
Id string - ID of the TcaplusDB cluster to which the table group belongs.
- File
Content string - IDL file content of the TcaplusDB table.
- File
Ext stringType - File ext type of the IDL file. If
file_type
isPROTO
,file_ext_type
must be 'proto'; Iffile_type
isTDR
,file_ext_type
must be 'xml'. - File
Name string - Name of the IDL file.
- File
Type string - Type of the IDL file. Valid values are PROTO and TDR.
- Tablegroup
Id string - ID of the table group to which the IDL file belongs.
- Tcaplus
Idl stringId - ID of the resource.
- cluster
Id String - ID of the TcaplusDB cluster to which the table group belongs.
- file
Content String - IDL file content of the TcaplusDB table.
- file
Ext StringType - File ext type of the IDL file. If
file_type
isPROTO
,file_ext_type
must be 'proto'; Iffile_type
isTDR
,file_ext_type
must be 'xml'. - file
Name String - Name of the IDL file.
- file
Type String - Type of the IDL file. Valid values are PROTO and TDR.
- tablegroup
Id String - ID of the table group to which the IDL file belongs.
- tcaplus
Idl StringId - ID of the resource.
- cluster
Id string - ID of the TcaplusDB cluster to which the table group belongs.
- file
Content string - IDL file content of the TcaplusDB table.
- file
Ext stringType - File ext type of the IDL file. If
file_type
isPROTO
,file_ext_type
must be 'proto'; Iffile_type
isTDR
,file_ext_type
must be 'xml'. - file
Name string - Name of the IDL file.
- file
Type string - Type of the IDL file. Valid values are PROTO and TDR.
- tablegroup
Id string - ID of the table group to which the IDL file belongs.
- tcaplus
Idl 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_type
isPROTO
,file_ext_type
must be 'proto'; Iffile_type
isTDR
,file_ext_type
must 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.
- cluster
Id String - ID of the TcaplusDB cluster to which the table group belongs.
- file
Content String - IDL file content of the TcaplusDB table.
- file
Ext StringType - File ext type of the IDL file. If
file_type
isPROTO
,file_ext_type
must be 'proto'; Iffile_type
isTDR
,file_ext_type
must be 'xml'. - file
Name String - Name of the IDL file.
- file
Type String - Type of the IDL file. Valid values are PROTO and TDR.
- tablegroup
Id String - ID of the table group to which the IDL file belongs.
- tcaplus
Idl 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.
- Table
Infos List<TcaplusIdl Table Info> - Table info of the IDL.
- Id string
- The provider-assigned unique ID for this managed resource.
- Table
Infos []TcaplusIdl Table Info - Table info of the IDL.
- id String
- The provider-assigned unique ID for this managed resource.
- table
Infos List<TcaplusIdl Table Info> - Table info of the IDL.
- id string
- The provider-assigned unique ID for this managed resource.
- table
Infos 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.
- table
Infos 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) -> TcaplusIdl
func 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.
- Cluster
Id string - ID of the TcaplusDB cluster to which the table group belongs.
- File
Content string - IDL file content of the TcaplusDB table.
- File
Ext stringType - File ext type of the IDL file. If
file_type
isPROTO
,file_ext_type
must be 'proto'; Iffile_type
isTDR
,file_ext_type
must be 'xml'. - File
Name string - Name of the IDL file.
- File
Type string - Type of the IDL file. Valid values are PROTO and TDR.
- Table
Infos List<TcaplusIdl Table Info> - Table info of the IDL.
- Tablegroup
Id string - ID of the table group to which the IDL file belongs.
- Tcaplus
Idl stringId - ID of the resource.
- Cluster
Id string - ID of the TcaplusDB cluster to which the table group belongs.
- File
Content string - IDL file content of the TcaplusDB table.
- File
Ext stringType - File ext type of the IDL file. If
file_type
isPROTO
,file_ext_type
must be 'proto'; Iffile_type
isTDR
,file_ext_type
must be 'xml'. - File
Name string - Name of the IDL file.
- File
Type string - Type of the IDL file. Valid values are PROTO and TDR.
- Table
Infos []TcaplusIdl Table Info Args - Table info of the IDL.
- Tablegroup
Id string - ID of the table group to which the IDL file belongs.
- Tcaplus
Idl stringId - ID of the resource.
- cluster
Id String - ID of the TcaplusDB cluster to which the table group belongs.
- file
Content String - IDL file content of the TcaplusDB table.
- file
Ext StringType - File ext type of the IDL file. If
file_type
isPROTO
,file_ext_type
must be 'proto'; Iffile_type
isTDR
,file_ext_type
must be 'xml'. - file
Name String - Name of the IDL file.
- file
Type String - Type of the IDL file. Valid values are PROTO and TDR.
- table
Infos List<TcaplusIdl Table Info> - Table info of the IDL.
- tablegroup
Id String - ID of the table group to which the IDL file belongs.
- tcaplus
Idl StringId - ID of the resource.
- cluster
Id string - ID of the TcaplusDB cluster to which the table group belongs.
- file
Content string - IDL file content of the TcaplusDB table.
- file
Ext stringType - File ext type of the IDL file. If
file_type
isPROTO
,file_ext_type
must be 'proto'; Iffile_type
isTDR
,file_ext_type
must be 'xml'. - file
Name string - Name of the IDL file.
- file
Type string - Type of the IDL file. Valid values are PROTO and TDR.
- table
Infos TcaplusIdl Table Info[] - Table info of the IDL.
- tablegroup
Id string - ID of the table group to which the IDL file belongs.
- tcaplus
Idl 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_type
isPROTO
,file_ext_type
must be 'proto'; Iffile_type
isTDR
,file_ext_type
must 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.
- cluster
Id String - ID of the TcaplusDB cluster to which the table group belongs.
- file
Content String - IDL file content of the TcaplusDB table.
- file
Ext StringType - File ext type of the IDL file. If
file_type
isPROTO
,file_ext_type
must be 'proto'; Iffile_type
isTDR
,file_ext_type
must be 'xml'. - file
Name String - Name of the IDL file.
- file
Type String - Type of the IDL file. Valid values are PROTO and TDR.
- table
Infos List<Property Map> - Table info of the IDL.
- tablegroup
Id String - ID of the table group to which the IDL file belongs.
- tcaplus
Idl StringId - ID of the resource.
Supporting Types
TcaplusIdlTableInfo, TcaplusIdlTableInfoArgs
- Error string
- Error messages for creating IDL file.
- Index
Key stringSet - Index key set of the TcaplusDB table.
- Key
Fields string - Primary key fields of the TcaplusDB table.
- Sum
Key doubleField Size - Total size of primary key field of the TcaplusDB table.
- Sum
Value doubleField Size - Total size of non-primary key fields of the TcaplusDB table.
- Table
Name string - Name of the TcaplusDB table.
- Value
Fields string - Non-primary key fields of the TcaplusDB table.
- Error string
- Error messages for creating IDL file.
- Index
Key stringSet - Index key set of the TcaplusDB table.
- Key
Fields string - Primary key fields of the TcaplusDB table.
- Sum
Key float64Field Size - Total size of primary key field of the TcaplusDB table.
- Sum
Value float64Field Size - Total size of non-primary key fields of the TcaplusDB table.
- Table
Name string - Name of the TcaplusDB table.
- Value
Fields string - Non-primary key fields of the TcaplusDB table.
- error String
- Error messages for creating IDL file.
- index
Key StringSet - Index key set of the TcaplusDB table.
- key
Fields String - Primary key fields of the TcaplusDB table.
- sum
Key DoubleField Size - Total size of primary key field of the TcaplusDB table.
- sum
Value DoubleField Size - Total size of non-primary key fields of the TcaplusDB table.
- table
Name String - Name of the TcaplusDB table.
- value
Fields String - Non-primary key fields of the TcaplusDB table.
- error string
- Error messages for creating IDL file.
- index
Key stringSet - Index key set of the TcaplusDB table.
- key
Fields string - Primary key fields of the TcaplusDB table.
- sum
Key numberField Size - Total size of primary key field of the TcaplusDB table.
- sum
Value numberField Size - Total size of non-primary key fields of the TcaplusDB table.
- table
Name string - Name of the TcaplusDB table.
- value
Fields 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.
- index
Key StringSet - Index key set of the TcaplusDB table.
- key
Fields String - Primary key fields of the TcaplusDB table.
- sum
Key NumberField Size - Total size of primary key field of the TcaplusDB table.
- sum
Value NumberField Size - Total size of non-primary key fields of the TcaplusDB table.
- table
Name String - Name of the TcaplusDB table.
- value
Fields 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
tencentcloud
Terraform Provider.