tencentcloud.CdwdorisInstance
Explore with Pulumi AI
Provides a resource to create a cdwdoris instance
Example Usage
Create a POSTPAID instance
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const config = new pulumi.Config();
const availabilityZone = config.get("availabilityZone") || "ap-guangzhou-6";
// create vpc
const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "172.16.0.0/16"});
// create subnet
const subnet = new tencentcloud.Subnet("subnet", {
availabilityZone: availabilityZone,
vpcId: vpc.vpcId,
cidrBlock: "172.16.0.0/24",
isMulticast: false,
});
// create security group
const exampleSecurityGroup = new tencentcloud.SecurityGroup("exampleSecurityGroup", {
description: "security group desc.",
tags: {
createBy: "Terraform",
},
});
// create POSTPAID instance
const exampleCdwdorisInstance = new tencentcloud.CdwdorisInstance("exampleCdwdorisInstance", {
zone: availabilityZone,
userVpcId: vpc.vpcId,
userSubnetId: subnet.subnetId,
productVersion: "2.1",
instanceName: "tf-example",
dorisUserPwd: "Password@test",
haFlag: false,
caseSensitive: 0,
enableMultiZones: false,
workloadGroupStatus: "open",
securityGroupIds: [exampleSecurityGroup.securityGroupId],
chargeProperties: {
chargeType: "POSTPAID_BY_HOUR",
},
feSpec: {
specName: "S_4_16_P",
count: 3,
diskSize: 200,
},
beSpec: {
specName: "S_4_16_P",
count: 3,
diskSize: 200,
},
tags: [{
tagKey: "createBy",
tagValue: "Terraform",
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
config = pulumi.Config()
availability_zone = config.get("availabilityZone")
if availability_zone is None:
availability_zone = "ap-guangzhou-6"
# create vpc
vpc = tencentcloud.Vpc("vpc", cidr_block="172.16.0.0/16")
# create subnet
subnet = tencentcloud.Subnet("subnet",
availability_zone=availability_zone,
vpc_id=vpc.vpc_id,
cidr_block="172.16.0.0/24",
is_multicast=False)
# create security group
example_security_group = tencentcloud.SecurityGroup("exampleSecurityGroup",
description="security group desc.",
tags={
"createBy": "Terraform",
})
# create POSTPAID instance
example_cdwdoris_instance = tencentcloud.CdwdorisInstance("exampleCdwdorisInstance",
zone=availability_zone,
user_vpc_id=vpc.vpc_id,
user_subnet_id=subnet.subnet_id,
product_version="2.1",
instance_name="tf-example",
doris_user_pwd="Password@test",
ha_flag=False,
case_sensitive=0,
enable_multi_zones=False,
workload_group_status="open",
security_group_ids=[example_security_group.security_group_id],
charge_properties={
"charge_type": "POSTPAID_BY_HOUR",
},
fe_spec={
"spec_name": "S_4_16_P",
"count": 3,
"disk_size": 200,
},
be_spec={
"spec_name": "S_4_16_P",
"count": 3,
"disk_size": 200,
},
tags=[{
"tag_key": "createBy",
"tag_value": "Terraform",
}])
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-6"
if param := cfg.Get("availabilityZone"); param != "" {
availabilityZone = param
}
// create vpc
vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
// create subnet
subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
AvailabilityZone: pulumi.String(availabilityZone),
VpcId: vpc.VpcId,
CidrBlock: pulumi.String("172.16.0.0/24"),
IsMulticast: pulumi.Bool(false),
})
if err != nil {
return err
}
// create security group
exampleSecurityGroup, err := tencentcloud.NewSecurityGroup(ctx, "exampleSecurityGroup", &tencentcloud.SecurityGroupArgs{
Description: pulumi.String("security group desc."),
Tags: pulumi.StringMap{
"createBy": pulumi.String("Terraform"),
},
})
if err != nil {
return err
}
// create POSTPAID instance
_, err = tencentcloud.NewCdwdorisInstance(ctx, "exampleCdwdorisInstance", &tencentcloud.CdwdorisInstanceArgs{
Zone: pulumi.String(availabilityZone),
UserVpcId: vpc.VpcId,
UserSubnetId: subnet.SubnetId,
ProductVersion: pulumi.String("2.1"),
InstanceName: pulumi.String("tf-example"),
DorisUserPwd: pulumi.String("Password@test"),
HaFlag: pulumi.Bool(false),
CaseSensitive: pulumi.Float64(0),
EnableMultiZones: pulumi.Bool(false),
WorkloadGroupStatus: pulumi.String("open"),
SecurityGroupIds: pulumi.StringArray{
exampleSecurityGroup.SecurityGroupId,
},
ChargeProperties: &tencentcloud.CdwdorisInstanceChargePropertiesArgs{
ChargeType: pulumi.String("POSTPAID_BY_HOUR"),
},
FeSpec: &tencentcloud.CdwdorisInstanceFeSpecArgs{
SpecName: pulumi.String("S_4_16_P"),
Count: pulumi.Float64(3),
DiskSize: pulumi.Float64(200),
},
BeSpec: &tencentcloud.CdwdorisInstanceBeSpecArgs{
SpecName: pulumi.String("S_4_16_P"),
Count: pulumi.Float64(3),
DiskSize: pulumi.Float64(200),
},
Tags: tencentcloud.CdwdorisInstanceTagArray{
&tencentcloud.CdwdorisInstanceTagArgs{
TagKey: pulumi.String("createBy"),
TagValue: pulumi.String("Terraform"),
},
},
})
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-6";
// create vpc
var vpc = new Tencentcloud.Vpc("vpc", new()
{
CidrBlock = "172.16.0.0/16",
});
// create subnet
var subnet = new Tencentcloud.Subnet("subnet", new()
{
AvailabilityZone = availabilityZone,
VpcId = vpc.VpcId,
CidrBlock = "172.16.0.0/24",
IsMulticast = false,
});
// create security group
var exampleSecurityGroup = new Tencentcloud.SecurityGroup("exampleSecurityGroup", new()
{
Description = "security group desc.",
Tags =
{
{ "createBy", "Terraform" },
},
});
// create POSTPAID instance
var exampleCdwdorisInstance = new Tencentcloud.CdwdorisInstance("exampleCdwdorisInstance", new()
{
Zone = availabilityZone,
UserVpcId = vpc.VpcId,
UserSubnetId = subnet.SubnetId,
ProductVersion = "2.1",
InstanceName = "tf-example",
DorisUserPwd = "Password@test",
HaFlag = false,
CaseSensitive = 0,
EnableMultiZones = false,
WorkloadGroupStatus = "open",
SecurityGroupIds = new[]
{
exampleSecurityGroup.SecurityGroupId,
},
ChargeProperties = new Tencentcloud.Inputs.CdwdorisInstanceChargePropertiesArgs
{
ChargeType = "POSTPAID_BY_HOUR",
},
FeSpec = new Tencentcloud.Inputs.CdwdorisInstanceFeSpecArgs
{
SpecName = "S_4_16_P",
Count = 3,
DiskSize = 200,
},
BeSpec = new Tencentcloud.Inputs.CdwdorisInstanceBeSpecArgs
{
SpecName = "S_4_16_P",
Count = 3,
DiskSize = 200,
},
Tags = new[]
{
new Tencentcloud.Inputs.CdwdorisInstanceTagArgs
{
TagKey = "createBy",
TagValue = "Terraform",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.Subnet;
import com.pulumi.tencentcloud.SubnetArgs;
import com.pulumi.tencentcloud.SecurityGroup;
import com.pulumi.tencentcloud.SecurityGroupArgs;
import com.pulumi.tencentcloud.CdwdorisInstance;
import com.pulumi.tencentcloud.CdwdorisInstanceArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisInstanceChargePropertiesArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisInstanceFeSpecArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisInstanceBeSpecArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisInstanceTagArgs;
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-6");
// create vpc
var vpc = new Vpc("vpc", VpcArgs.builder()
.cidrBlock("172.16.0.0/16")
.build());
// create subnet
var subnet = new Subnet("subnet", SubnetArgs.builder()
.availabilityZone(availabilityZone)
.vpcId(vpc.vpcId())
.cidrBlock("172.16.0.0/24")
.isMulticast(false)
.build());
// create security group
var exampleSecurityGroup = new SecurityGroup("exampleSecurityGroup", SecurityGroupArgs.builder()
.description("security group desc.")
.tags(Map.of("createBy", "Terraform"))
.build());
// create POSTPAID instance
var exampleCdwdorisInstance = new CdwdorisInstance("exampleCdwdorisInstance", CdwdorisInstanceArgs.builder()
.zone(availabilityZone)
.userVpcId(vpc.vpcId())
.userSubnetId(subnet.subnetId())
.productVersion("2.1")
.instanceName("tf-example")
.dorisUserPwd("Password@test")
.haFlag(false)
.caseSensitive(0)
.enableMultiZones(false)
.workloadGroupStatus("open")
.securityGroupIds(exampleSecurityGroup.securityGroupId())
.chargeProperties(CdwdorisInstanceChargePropertiesArgs.builder()
.chargeType("POSTPAID_BY_HOUR")
.build())
.feSpec(CdwdorisInstanceFeSpecArgs.builder()
.specName("S_4_16_P")
.count(3)
.diskSize(200)
.build())
.beSpec(CdwdorisInstanceBeSpecArgs.builder()
.specName("S_4_16_P")
.count(3)
.diskSize(200)
.build())
.tags(CdwdorisInstanceTagArgs.builder()
.tagKey("createBy")
.tagValue("Terraform")
.build())
.build());
}
}
configuration:
# availability zone
availabilityZone:
type: string
default: ap-guangzhou-6
resources:
# create vpc
vpc:
type: tencentcloud:Vpc
properties:
cidrBlock: 172.16.0.0/16
# create subnet
subnet:
type: tencentcloud:Subnet
properties:
availabilityZone: ${availabilityZone}
vpcId: ${vpc.vpcId}
cidrBlock: 172.16.0.0/24
isMulticast: false
# create security group
exampleSecurityGroup:
type: tencentcloud:SecurityGroup
properties:
description: security group desc.
tags:
createBy: Terraform
# create POSTPAID instance
exampleCdwdorisInstance:
type: tencentcloud:CdwdorisInstance
properties:
zone: ${availabilityZone}
userVpcId: ${vpc.vpcId}
userSubnetId: ${subnet.subnetId}
productVersion: '2.1'
instanceName: tf-example
dorisUserPwd: Password@test
haFlag: false
caseSensitive: 0
enableMultiZones: false
workloadGroupStatus: open
securityGroupIds:
- ${exampleSecurityGroup.securityGroupId}
chargeProperties:
chargeType: POSTPAID_BY_HOUR
feSpec:
specName: S_4_16_P
count: 3
diskSize: 200
beSpec:
specName: S_4_16_P
count: 3
diskSize: 200
tags:
- tagKey: createBy
tagValue: Terraform
Create a POSTPAID instance
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const config = new pulumi.Config();
const availabilityZone = config.get("availabilityZone") || "ap-guangzhou-6";
// create vpc
const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "172.16.0.0/16"});
// create subnet
const subnet = new tencentcloud.Subnet("subnet", {
availabilityZone: availabilityZone,
vpcId: vpc.vpcId,
cidrBlock: "172.16.0.0/24",
isMulticast: false,
});
// create security group
const exampleSecurityGroup = new tencentcloud.SecurityGroup("exampleSecurityGroup", {
description: "security group desc.",
tags: {
createBy: "Terraform",
},
});
// create PREPAID instance
const exampleCdwdorisInstance = new tencentcloud.CdwdorisInstance("exampleCdwdorisInstance", {
zone: availabilityZone,
userVpcId: vpc.vpcId,
userSubnetId: subnet.subnetId,
productVersion: "2.1",
instanceName: "tf-example",
dorisUserPwd: "Password@test",
haFlag: false,
caseSensitive: 0,
enableMultiZones: false,
workloadGroupStatus: "close",
securityGroupIds: [exampleSecurityGroup.securityGroupId],
chargeProperties: {
chargeType: "PREPAID",
timeSpan: 1,
timeUnit: "m",
},
feSpec: {
specName: "S_4_16_P",
count: 3,
diskSize: 200,
},
beSpec: {
specName: "S_4_16_P",
count: 3,
diskSize: 200,
},
tags: [{
tagKey: "createBy",
tagValue: "Terraform",
}],
});
import pulumi
import pulumi_tencentcloud as tencentcloud
config = pulumi.Config()
availability_zone = config.get("availabilityZone")
if availability_zone is None:
availability_zone = "ap-guangzhou-6"
# create vpc
vpc = tencentcloud.Vpc("vpc", cidr_block="172.16.0.0/16")
# create subnet
subnet = tencentcloud.Subnet("subnet",
availability_zone=availability_zone,
vpc_id=vpc.vpc_id,
cidr_block="172.16.0.0/24",
is_multicast=False)
# create security group
example_security_group = tencentcloud.SecurityGroup("exampleSecurityGroup",
description="security group desc.",
tags={
"createBy": "Terraform",
})
# create PREPAID instance
example_cdwdoris_instance = tencentcloud.CdwdorisInstance("exampleCdwdorisInstance",
zone=availability_zone,
user_vpc_id=vpc.vpc_id,
user_subnet_id=subnet.subnet_id,
product_version="2.1",
instance_name="tf-example",
doris_user_pwd="Password@test",
ha_flag=False,
case_sensitive=0,
enable_multi_zones=False,
workload_group_status="close",
security_group_ids=[example_security_group.security_group_id],
charge_properties={
"charge_type": "PREPAID",
"time_span": 1,
"time_unit": "m",
},
fe_spec={
"spec_name": "S_4_16_P",
"count": 3,
"disk_size": 200,
},
be_spec={
"spec_name": "S_4_16_P",
"count": 3,
"disk_size": 200,
},
tags=[{
"tag_key": "createBy",
"tag_value": "Terraform",
}])
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-6"
if param := cfg.Get("availabilityZone"); param != "" {
availabilityZone = param
}
// create vpc
vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
CidrBlock: pulumi.String("172.16.0.0/16"),
})
if err != nil {
return err
}
// create subnet
subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
AvailabilityZone: pulumi.String(availabilityZone),
VpcId: vpc.VpcId,
CidrBlock: pulumi.String("172.16.0.0/24"),
IsMulticast: pulumi.Bool(false),
})
if err != nil {
return err
}
// create security group
exampleSecurityGroup, err := tencentcloud.NewSecurityGroup(ctx, "exampleSecurityGroup", &tencentcloud.SecurityGroupArgs{
Description: pulumi.String("security group desc."),
Tags: pulumi.StringMap{
"createBy": pulumi.String("Terraform"),
},
})
if err != nil {
return err
}
// create PREPAID instance
_, err = tencentcloud.NewCdwdorisInstance(ctx, "exampleCdwdorisInstance", &tencentcloud.CdwdorisInstanceArgs{
Zone: pulumi.String(availabilityZone),
UserVpcId: vpc.VpcId,
UserSubnetId: subnet.SubnetId,
ProductVersion: pulumi.String("2.1"),
InstanceName: pulumi.String("tf-example"),
DorisUserPwd: pulumi.String("Password@test"),
HaFlag: pulumi.Bool(false),
CaseSensitive: pulumi.Float64(0),
EnableMultiZones: pulumi.Bool(false),
WorkloadGroupStatus: pulumi.String("close"),
SecurityGroupIds: pulumi.StringArray{
exampleSecurityGroup.SecurityGroupId,
},
ChargeProperties: &tencentcloud.CdwdorisInstanceChargePropertiesArgs{
ChargeType: pulumi.String("PREPAID"),
TimeSpan: pulumi.Float64(1),
TimeUnit: pulumi.String("m"),
},
FeSpec: &tencentcloud.CdwdorisInstanceFeSpecArgs{
SpecName: pulumi.String("S_4_16_P"),
Count: pulumi.Float64(3),
DiskSize: pulumi.Float64(200),
},
BeSpec: &tencentcloud.CdwdorisInstanceBeSpecArgs{
SpecName: pulumi.String("S_4_16_P"),
Count: pulumi.Float64(3),
DiskSize: pulumi.Float64(200),
},
Tags: tencentcloud.CdwdorisInstanceTagArray{
&tencentcloud.CdwdorisInstanceTagArgs{
TagKey: pulumi.String("createBy"),
TagValue: pulumi.String("Terraform"),
},
},
})
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-6";
// create vpc
var vpc = new Tencentcloud.Vpc("vpc", new()
{
CidrBlock = "172.16.0.0/16",
});
// create subnet
var subnet = new Tencentcloud.Subnet("subnet", new()
{
AvailabilityZone = availabilityZone,
VpcId = vpc.VpcId,
CidrBlock = "172.16.0.0/24",
IsMulticast = false,
});
// create security group
var exampleSecurityGroup = new Tencentcloud.SecurityGroup("exampleSecurityGroup", new()
{
Description = "security group desc.",
Tags =
{
{ "createBy", "Terraform" },
},
});
// create PREPAID instance
var exampleCdwdorisInstance = new Tencentcloud.CdwdorisInstance("exampleCdwdorisInstance", new()
{
Zone = availabilityZone,
UserVpcId = vpc.VpcId,
UserSubnetId = subnet.SubnetId,
ProductVersion = "2.1",
InstanceName = "tf-example",
DorisUserPwd = "Password@test",
HaFlag = false,
CaseSensitive = 0,
EnableMultiZones = false,
WorkloadGroupStatus = "close",
SecurityGroupIds = new[]
{
exampleSecurityGroup.SecurityGroupId,
},
ChargeProperties = new Tencentcloud.Inputs.CdwdorisInstanceChargePropertiesArgs
{
ChargeType = "PREPAID",
TimeSpan = 1,
TimeUnit = "m",
},
FeSpec = new Tencentcloud.Inputs.CdwdorisInstanceFeSpecArgs
{
SpecName = "S_4_16_P",
Count = 3,
DiskSize = 200,
},
BeSpec = new Tencentcloud.Inputs.CdwdorisInstanceBeSpecArgs
{
SpecName = "S_4_16_P",
Count = 3,
DiskSize = 200,
},
Tags = new[]
{
new Tencentcloud.Inputs.CdwdorisInstanceTagArgs
{
TagKey = "createBy",
TagValue = "Terraform",
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.Subnet;
import com.pulumi.tencentcloud.SubnetArgs;
import com.pulumi.tencentcloud.SecurityGroup;
import com.pulumi.tencentcloud.SecurityGroupArgs;
import com.pulumi.tencentcloud.CdwdorisInstance;
import com.pulumi.tencentcloud.CdwdorisInstanceArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisInstanceChargePropertiesArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisInstanceFeSpecArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisInstanceBeSpecArgs;
import com.pulumi.tencentcloud.inputs.CdwdorisInstanceTagArgs;
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-6");
// create vpc
var vpc = new Vpc("vpc", VpcArgs.builder()
.cidrBlock("172.16.0.0/16")
.build());
// create subnet
var subnet = new Subnet("subnet", SubnetArgs.builder()
.availabilityZone(availabilityZone)
.vpcId(vpc.vpcId())
.cidrBlock("172.16.0.0/24")
.isMulticast(false)
.build());
// create security group
var exampleSecurityGroup = new SecurityGroup("exampleSecurityGroup", SecurityGroupArgs.builder()
.description("security group desc.")
.tags(Map.of("createBy", "Terraform"))
.build());
// create PREPAID instance
var exampleCdwdorisInstance = new CdwdorisInstance("exampleCdwdorisInstance", CdwdorisInstanceArgs.builder()
.zone(availabilityZone)
.userVpcId(vpc.vpcId())
.userSubnetId(subnet.subnetId())
.productVersion("2.1")
.instanceName("tf-example")
.dorisUserPwd("Password@test")
.haFlag(false)
.caseSensitive(0)
.enableMultiZones(false)
.workloadGroupStatus("close")
.securityGroupIds(exampleSecurityGroup.securityGroupId())
.chargeProperties(CdwdorisInstanceChargePropertiesArgs.builder()
.chargeType("PREPAID")
.timeSpan(1)
.timeUnit("m")
.build())
.feSpec(CdwdorisInstanceFeSpecArgs.builder()
.specName("S_4_16_P")
.count(3)
.diskSize(200)
.build())
.beSpec(CdwdorisInstanceBeSpecArgs.builder()
.specName("S_4_16_P")
.count(3)
.diskSize(200)
.build())
.tags(CdwdorisInstanceTagArgs.builder()
.tagKey("createBy")
.tagValue("Terraform")
.build())
.build());
}
}
configuration:
# availability zone
availabilityZone:
type: string
default: ap-guangzhou-6
resources:
# create vpc
vpc:
type: tencentcloud:Vpc
properties:
cidrBlock: 172.16.0.0/16
# create subnet
subnet:
type: tencentcloud:Subnet
properties:
availabilityZone: ${availabilityZone}
vpcId: ${vpc.vpcId}
cidrBlock: 172.16.0.0/24
isMulticast: false
# create security group
exampleSecurityGroup:
type: tencentcloud:SecurityGroup
properties:
description: security group desc.
tags:
createBy: Terraform
# create PREPAID instance
exampleCdwdorisInstance:
type: tencentcloud:CdwdorisInstance
properties:
zone: ${availabilityZone}
userVpcId: ${vpc.vpcId}
userSubnetId: ${subnet.subnetId}
productVersion: '2.1'
instanceName: tf-example
dorisUserPwd: Password@test
haFlag: false
caseSensitive: 0
enableMultiZones: false
workloadGroupStatus: close
securityGroupIds:
- ${exampleSecurityGroup.securityGroupId}
chargeProperties:
chargeType: PREPAID
timeSpan: 1
timeUnit: m
feSpec:
specName: S_4_16_P
count: 3
diskSize: 200
beSpec:
specName: S_4_16_P
count: 3
diskSize: 200
tags:
- tagKey: createBy
tagValue: Terraform
Create CdwdorisInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CdwdorisInstance(name: string, args: CdwdorisInstanceArgs, opts?: CustomResourceOptions);
@overload
def CdwdorisInstance(resource_name: str,
args: CdwdorisInstanceArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CdwdorisInstance(resource_name: str,
opts: Optional[ResourceOptions] = None,
user_subnet_id: Optional[str] = None,
zone: Optional[str] = None,
workload_group_status: Optional[str] = None,
charge_properties: Optional[CdwdorisInstanceChargePropertiesArgs] = None,
doris_user_pwd: Optional[str] = None,
user_vpc_id: Optional[str] = None,
fe_spec: Optional[CdwdorisInstanceFeSpecArgs] = None,
ha_flag: Optional[bool] = None,
be_spec: Optional[CdwdorisInstanceBeSpecArgs] = None,
instance_name: Optional[str] = None,
product_version: Optional[str] = None,
ha_type: Optional[float] = None,
tags: Optional[Sequence[CdwdorisInstanceTagArgs]] = None,
user_multi_zone_infos: Optional[CdwdorisInstanceUserMultiZoneInfosArgs] = None,
security_group_ids: Optional[Sequence[str]] = None,
enable_multi_zones: Optional[bool] = None,
cdwdoris_instance_id: Optional[str] = None,
case_sensitive: Optional[float] = None)
func NewCdwdorisInstance(ctx *Context, name string, args CdwdorisInstanceArgs, opts ...ResourceOption) (*CdwdorisInstance, error)
public CdwdorisInstance(string name, CdwdorisInstanceArgs args, CustomResourceOptions? opts = null)
public CdwdorisInstance(String name, CdwdorisInstanceArgs args)
public CdwdorisInstance(String name, CdwdorisInstanceArgs args, CustomResourceOptions options)
type: tencentcloud:CdwdorisInstance
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 CdwdorisInstanceArgs
- 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 CdwdorisInstanceArgs
- 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 CdwdorisInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CdwdorisInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CdwdorisInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
CdwdorisInstance 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 CdwdorisInstance resource accepts the following input properties:
- Be
Spec CdwdorisInstance Be Spec - BE specifications.
- Charge
Properties CdwdorisInstance Charge Properties - Payment type.
- Doris
User stringPwd - Database password.
- Fe
Spec CdwdorisInstance Fe Spec - FE specifications.
- Ha
Flag bool - Whether it is highly available.
- Instance
Name string - Instance name.
- Product
Version string - Product version number.
- User
Subnet stringId - User subnet ID.
- User
Vpc stringId - User VPCID.
- Workload
Group stringStatus - Whether to enable resource group.
open
- enable,close
- disable. - Zone string
- Availability zone.
- Case
Sensitive double - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
- Cdwdoris
Instance stringId - ID of the resource.
- Enable
Multi boolZones - Whether to enable multi-availability zone.
- Ha
Type double - High availability type: 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
- Security
Group List<string>Ids - Security Group Id list.
- List<Cdwdoris
Instance Tag> - Tag list.
- User
Multi CdwdorisZone Infos Instance User Multi Zone Infos - After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
- Be
Spec CdwdorisInstance Be Spec Args - BE specifications.
- Charge
Properties CdwdorisInstance Charge Properties Args - Payment type.
- Doris
User stringPwd - Database password.
- Fe
Spec CdwdorisInstance Fe Spec Args - FE specifications.
- Ha
Flag bool - Whether it is highly available.
- Instance
Name string - Instance name.
- Product
Version string - Product version number.
- User
Subnet stringId - User subnet ID.
- User
Vpc stringId - User VPCID.
- Workload
Group stringStatus - Whether to enable resource group.
open
- enable,close
- disable. - Zone string
- Availability zone.
- Case
Sensitive float64 - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
- Cdwdoris
Instance stringId - ID of the resource.
- Enable
Multi boolZones - Whether to enable multi-availability zone.
- Ha
Type float64 - High availability type: 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
- Security
Group []stringIds - Security Group Id list.
- []Cdwdoris
Instance Tag Args - Tag list.
- User
Multi CdwdorisZone Infos Instance User Multi Zone Infos Args - After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
- be
Spec CdwdorisInstance Be Spec - BE specifications.
- charge
Properties CdwdorisInstance Charge Properties - Payment type.
- doris
User StringPwd - Database password.
- fe
Spec CdwdorisInstance Fe Spec - FE specifications.
- ha
Flag Boolean - Whether it is highly available.
- instance
Name String - Instance name.
- product
Version String - Product version number.
- user
Subnet StringId - User subnet ID.
- user
Vpc StringId - User VPCID.
- workload
Group StringStatus - Whether to enable resource group.
open
- enable,close
- disable. - zone String
- Availability zone.
- case
Sensitive Double - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
- cdwdoris
Instance StringId - ID of the resource.
- enable
Multi BooleanZones - Whether to enable multi-availability zone.
- ha
Type Double - High availability type: 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
- security
Group List<String>Ids - Security Group Id list.
- List<Cdwdoris
Instance Tag> - Tag list.
- user
Multi CdwdorisZone Infos Instance User Multi Zone Infos - After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
- be
Spec CdwdorisInstance Be Spec - BE specifications.
- charge
Properties CdwdorisInstance Charge Properties - Payment type.
- doris
User stringPwd - Database password.
- fe
Spec CdwdorisInstance Fe Spec - FE specifications.
- ha
Flag boolean - Whether it is highly available.
- instance
Name string - Instance name.
- product
Version string - Product version number.
- user
Subnet stringId - User subnet ID.
- user
Vpc stringId - User VPCID.
- workload
Group stringStatus - Whether to enable resource group.
open
- enable,close
- disable. - zone string
- Availability zone.
- case
Sensitive number - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
- cdwdoris
Instance stringId - ID of the resource.
- enable
Multi booleanZones - Whether to enable multi-availability zone.
- ha
Type number - High availability type: 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
- security
Group string[]Ids - Security Group Id list.
- Cdwdoris
Instance Tag[] - Tag list.
- user
Multi CdwdorisZone Infos Instance User Multi Zone Infos - After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
- be_
spec CdwdorisInstance Be Spec Args - BE specifications.
- charge_
properties CdwdorisInstance Charge Properties Args - Payment type.
- doris_
user_ strpwd - Database password.
- fe_
spec CdwdorisInstance Fe Spec Args - FE specifications.
- ha_
flag bool - Whether it is highly available.
- instance_
name str - Instance name.
- product_
version str - Product version number.
- user_
subnet_ strid - User subnet ID.
- user_
vpc_ strid - User VPCID.
- workload_
group_ strstatus - Whether to enable resource group.
open
- enable,close
- disable. - zone str
- Availability zone.
- case_
sensitive float - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
- cdwdoris_
instance_ strid - ID of the resource.
- enable_
multi_ boolzones - Whether to enable multi-availability zone.
- ha_
type float - High availability type: 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
- security_
group_ Sequence[str]ids - Security Group Id list.
- Sequence[Cdwdoris
Instance Tag Args] - Tag list.
- user_
multi_ Cdwdoriszone_ infos Instance User Multi Zone Infos Args - After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
- be
Spec Property Map - BE specifications.
- charge
Properties Property Map - Payment type.
- doris
User StringPwd - Database password.
- fe
Spec Property Map - FE specifications.
- ha
Flag Boolean - Whether it is highly available.
- instance
Name String - Instance name.
- product
Version String - Product version number.
- user
Subnet StringId - User subnet ID.
- user
Vpc StringId - User VPCID.
- workload
Group StringStatus - Whether to enable resource group.
open
- enable,close
- disable. - zone String
- Availability zone.
- case
Sensitive Number - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
- cdwdoris
Instance StringId - ID of the resource.
- enable
Multi BooleanZones - Whether to enable multi-availability zone.
- ha
Type Number - High availability type: 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
- security
Group List<String>Ids - Security Group Id list.
- List<Property Map>
- Tag list.
- user
Multi Property MapZone Infos - After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
Outputs
All input properties are implicitly available as output properties. Additionally, the CdwdorisInstance 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 CdwdorisInstance Resource
Get an existing CdwdorisInstance 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?: CdwdorisInstanceState, opts?: CustomResourceOptions): CdwdorisInstance
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
be_spec: Optional[CdwdorisInstanceBeSpecArgs] = None,
case_sensitive: Optional[float] = None,
cdwdoris_instance_id: Optional[str] = None,
charge_properties: Optional[CdwdorisInstanceChargePropertiesArgs] = None,
doris_user_pwd: Optional[str] = None,
enable_multi_zones: Optional[bool] = None,
fe_spec: Optional[CdwdorisInstanceFeSpecArgs] = None,
ha_flag: Optional[bool] = None,
ha_type: Optional[float] = None,
instance_name: Optional[str] = None,
product_version: Optional[str] = None,
security_group_ids: Optional[Sequence[str]] = None,
tags: Optional[Sequence[CdwdorisInstanceTagArgs]] = None,
user_multi_zone_infos: Optional[CdwdorisInstanceUserMultiZoneInfosArgs] = None,
user_subnet_id: Optional[str] = None,
user_vpc_id: Optional[str] = None,
workload_group_status: Optional[str] = None,
zone: Optional[str] = None) -> CdwdorisInstance
func GetCdwdorisInstance(ctx *Context, name string, id IDInput, state *CdwdorisInstanceState, opts ...ResourceOption) (*CdwdorisInstance, error)
public static CdwdorisInstance Get(string name, Input<string> id, CdwdorisInstanceState? state, CustomResourceOptions? opts = null)
public static CdwdorisInstance get(String name, Output<String> id, CdwdorisInstanceState state, CustomResourceOptions options)
resources: _: type: tencentcloud:CdwdorisInstance 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.
- Be
Spec CdwdorisInstance Be Spec - BE specifications.
- Case
Sensitive double - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
- Cdwdoris
Instance stringId - ID of the resource.
- Charge
Properties CdwdorisInstance Charge Properties - Payment type.
- Doris
User stringPwd - Database password.
- Enable
Multi boolZones - Whether to enable multi-availability zone.
- Fe
Spec CdwdorisInstance Fe Spec - FE specifications.
- Ha
Flag bool - Whether it is highly available.
- Ha
Type double - High availability type: 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
- Instance
Name string - Instance name.
- Product
Version string - Product version number.
- Security
Group List<string>Ids - Security Group Id list.
- List<Cdwdoris
Instance Tag> - Tag list.
- User
Multi CdwdorisZone Infos Instance User Multi Zone Infos - After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
- User
Subnet stringId - User subnet ID.
- User
Vpc stringId - User VPCID.
- Workload
Group stringStatus - Whether to enable resource group.
open
- enable,close
- disable. - Zone string
- Availability zone.
- Be
Spec CdwdorisInstance Be Spec Args - BE specifications.
- Case
Sensitive float64 - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
- Cdwdoris
Instance stringId - ID of the resource.
- Charge
Properties CdwdorisInstance Charge Properties Args - Payment type.
- Doris
User stringPwd - Database password.
- Enable
Multi boolZones - Whether to enable multi-availability zone.
- Fe
Spec CdwdorisInstance Fe Spec Args - FE specifications.
- Ha
Flag bool - Whether it is highly available.
- Ha
Type float64 - High availability type: 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
- Instance
Name string - Instance name.
- Product
Version string - Product version number.
- Security
Group []stringIds - Security Group Id list.
- []Cdwdoris
Instance Tag Args - Tag list.
- User
Multi CdwdorisZone Infos Instance User Multi Zone Infos Args - After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
- User
Subnet stringId - User subnet ID.
- User
Vpc stringId - User VPCID.
- Workload
Group stringStatus - Whether to enable resource group.
open
- enable,close
- disable. - Zone string
- Availability zone.
- be
Spec CdwdorisInstance Be Spec - BE specifications.
- case
Sensitive Double - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
- cdwdoris
Instance StringId - ID of the resource.
- charge
Properties CdwdorisInstance Charge Properties - Payment type.
- doris
User StringPwd - Database password.
- enable
Multi BooleanZones - Whether to enable multi-availability zone.
- fe
Spec CdwdorisInstance Fe Spec - FE specifications.
- ha
Flag Boolean - Whether it is highly available.
- ha
Type Double - High availability type: 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
- instance
Name String - Instance name.
- product
Version String - Product version number.
- security
Group List<String>Ids - Security Group Id list.
- List<Cdwdoris
Instance Tag> - Tag list.
- user
Multi CdwdorisZone Infos Instance User Multi Zone Infos - After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
- user
Subnet StringId - User subnet ID.
- user
Vpc StringId - User VPCID.
- workload
Group StringStatus - Whether to enable resource group.
open
- enable,close
- disable. - zone String
- Availability zone.
- be
Spec CdwdorisInstance Be Spec - BE specifications.
- case
Sensitive number - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
- cdwdoris
Instance stringId - ID of the resource.
- charge
Properties CdwdorisInstance Charge Properties - Payment type.
- doris
User stringPwd - Database password.
- enable
Multi booleanZones - Whether to enable multi-availability zone.
- fe
Spec CdwdorisInstance Fe Spec - FE specifications.
- ha
Flag boolean - Whether it is highly available.
- ha
Type number - High availability type: 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
- instance
Name string - Instance name.
- product
Version string - Product version number.
- security
Group string[]Ids - Security Group Id list.
- Cdwdoris
Instance Tag[] - Tag list.
- user
Multi CdwdorisZone Infos Instance User Multi Zone Infos - After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
- user
Subnet stringId - User subnet ID.
- user
Vpc stringId - User VPCID.
- workload
Group stringStatus - Whether to enable resource group.
open
- enable,close
- disable. - zone string
- Availability zone.
- be_
spec CdwdorisInstance Be Spec Args - BE specifications.
- case_
sensitive float - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
- cdwdoris_
instance_ strid - ID of the resource.
- charge_
properties CdwdorisInstance Charge Properties Args - Payment type.
- doris_
user_ strpwd - Database password.
- enable_
multi_ boolzones - Whether to enable multi-availability zone.
- fe_
spec CdwdorisInstance Fe Spec Args - FE specifications.
- ha_
flag bool - Whether it is highly available.
- ha_
type float - High availability type: 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
- instance_
name str - Instance name.
- product_
version str - Product version number.
- security_
group_ Sequence[str]ids - Security Group Id list.
- Sequence[Cdwdoris
Instance Tag Args] - Tag list.
- user_
multi_ Cdwdoriszone_ infos Instance User Multi Zone Infos Args - After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
- user_
subnet_ strid - User subnet ID.
- user_
vpc_ strid - User VPCID.
- workload_
group_ strstatus - Whether to enable resource group.
open
- enable,close
- disable. - zone str
- Availability zone.
- be
Spec Property Map - BE specifications.
- case
Sensitive Number - Whether the table name is case sensitive, 0 refers to sensitive, 1 refers to insensitive, compared in lowercase; 2 refers to insensitive, and the table name is changed to lowercase for storage.
- cdwdoris
Instance StringId - ID of the resource.
- charge
Properties Property Map - Payment type.
- doris
User StringPwd - Database password.
- enable
Multi BooleanZones - Whether to enable multi-availability zone.
- fe
Spec Property Map - FE specifications.
- ha
Flag Boolean - Whether it is highly available.
- ha
Type Number - High availability type: 0 indicates non-high availability (only one FE, FeSpec.CreateInstanceSpec.Count=1), 1 indicates read high availability (at least 3 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=3, and it must be an odd number), 2 indicates read and write high availability (at least 5 FEs must be deployed, FeSpec.CreateInstanceSpec.Count>=5, and it must be an odd number).
- instance
Name String - Instance name.
- product
Version String - Product version number.
- security
Group List<String>Ids - Security Group Id list.
- List<Property Map>
- Tag list.
- user
Multi Property MapZone Infos - After the Multi-AZ is enabled, all user's Availability Zones and Subnets information are shown.
- user
Subnet StringId - User subnet ID.
- user
Vpc StringId - User VPCID.
- workload
Group StringStatus - Whether to enable resource group.
open
- enable,close
- disable. - zone String
- Availability zone.
Supporting Types
CdwdorisInstanceBeSpec, CdwdorisInstanceBeSpecArgs
CdwdorisInstanceChargeProperties, CdwdorisInstanceChargePropertiesArgs
- Charge
Type string - Billing type:
PREPAID
for prepayment, andPOSTPAID_BY_HOUR
for postpayment. Note: This field may return null, indicating that no valid values can be obtained. - Renew
Flag double - Whether to automatically renew. 1 means automatic renewal is enabled. Note: This field may return null, indicating that no valid values can be obtained.
- Time
Span double - Billing duration Note: This field may return null, indicating that no valid values can be obtained.
- Time
Unit string - Billing time unit, and
m
means month, etc. Note: This field may return null, indicating that no valid values can be obtained.
- Charge
Type string - Billing type:
PREPAID
for prepayment, andPOSTPAID_BY_HOUR
for postpayment. Note: This field may return null, indicating that no valid values can be obtained. - Renew
Flag float64 - Whether to automatically renew. 1 means automatic renewal is enabled. Note: This field may return null, indicating that no valid values can be obtained.
- Time
Span float64 - Billing duration Note: This field may return null, indicating that no valid values can be obtained.
- Time
Unit string - Billing time unit, and
m
means month, etc. Note: This field may return null, indicating that no valid values can be obtained.
- charge
Type String - Billing type:
PREPAID
for prepayment, andPOSTPAID_BY_HOUR
for postpayment. Note: This field may return null, indicating that no valid values can be obtained. - renew
Flag Double - Whether to automatically renew. 1 means automatic renewal is enabled. Note: This field may return null, indicating that no valid values can be obtained.
- time
Span Double - Billing duration Note: This field may return null, indicating that no valid values can be obtained.
- time
Unit String - Billing time unit, and
m
means month, etc. Note: This field may return null, indicating that no valid values can be obtained.
- charge
Type string - Billing type:
PREPAID
for prepayment, andPOSTPAID_BY_HOUR
for postpayment. Note: This field may return null, indicating that no valid values can be obtained. - renew
Flag number - Whether to automatically renew. 1 means automatic renewal is enabled. Note: This field may return null, indicating that no valid values can be obtained.
- time
Span number - Billing duration Note: This field may return null, indicating that no valid values can be obtained.
- time
Unit string - Billing time unit, and
m
means month, etc. Note: This field may return null, indicating that no valid values can be obtained.
- charge_
type str - Billing type:
PREPAID
for prepayment, andPOSTPAID_BY_HOUR
for postpayment. Note: This field may return null, indicating that no valid values can be obtained. - renew_
flag float - Whether to automatically renew. 1 means automatic renewal is enabled. Note: This field may return null, indicating that no valid values can be obtained.
- time_
span float - Billing duration Note: This field may return null, indicating that no valid values can be obtained.
- time_
unit str - Billing time unit, and
m
means month, etc. Note: This field may return null, indicating that no valid values can be obtained.
- charge
Type String - Billing type:
PREPAID
for prepayment, andPOSTPAID_BY_HOUR
for postpayment. Note: This field may return null, indicating that no valid values can be obtained. - renew
Flag Number - Whether to automatically renew. 1 means automatic renewal is enabled. Note: This field may return null, indicating that no valid values can be obtained.
- time
Span Number - Billing duration Note: This field may return null, indicating that no valid values can be obtained.
- time
Unit String - Billing time unit, and
m
means month, etc. Note: This field may return null, indicating that no valid values can be obtained.
CdwdorisInstanceFeSpec, CdwdorisInstanceFeSpecArgs
CdwdorisInstanceTag, CdwdorisInstanceTagArgs
CdwdorisInstanceUserMultiZoneInfos, CdwdorisInstanceUserMultiZoneInfosArgs
- Subnet
Id string - Subnet ID Note: This field may return null, indicating that no valid values can be obtained.
- Subnet
Ip doubleNum - The number of available IP addresses in the current subnet Note: This field may return null, indicating that no valid values can be obtained.
- Zone string
- Availability zone Note: This field may return null, indicating that no valid values can be obtained.
- Subnet
Id string - Subnet ID Note: This field may return null, indicating that no valid values can be obtained.
- Subnet
Ip float64Num - The number of available IP addresses in the current subnet Note: This field may return null, indicating that no valid values can be obtained.
- Zone string
- Availability zone Note: This field may return null, indicating that no valid values can be obtained.
- subnet
Id String - Subnet ID Note: This field may return null, indicating that no valid values can be obtained.
- subnet
Ip DoubleNum - The number of available IP addresses in the current subnet Note: This field may return null, indicating that no valid values can be obtained.
- zone String
- Availability zone Note: This field may return null, indicating that no valid values can be obtained.
- subnet
Id string - Subnet ID Note: This field may return null, indicating that no valid values can be obtained.
- subnet
Ip numberNum - The number of available IP addresses in the current subnet Note: This field may return null, indicating that no valid values can be obtained.
- zone string
- Availability zone Note: This field may return null, indicating that no valid values can be obtained.
- subnet_
id str - Subnet ID Note: This field may return null, indicating that no valid values can be obtained.
- subnet_
ip_ floatnum - The number of available IP addresses in the current subnet Note: This field may return null, indicating that no valid values can be obtained.
- zone str
- Availability zone Note: This field may return null, indicating that no valid values can be obtained.
- subnet
Id String - Subnet ID Note: This field may return null, indicating that no valid values can be obtained.
- subnet
Ip NumberNum - The number of available IP addresses in the current subnet Note: This field may return null, indicating that no valid values can be obtained.
- zone String
- Availability zone Note: This field may return null, indicating that no valid values can be obtained.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the
tencentcloud
Terraform Provider.