tencentcloud.ElasticsearchInstance
Explore with Pulumi AI
Provides an elasticsearch instance resource.
Example Usage
Create a basic version of elasticsearch instance paid by the hour
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const availabilityZone = tencentcloud.getAvailabilityZonesByProduct({
    product: "es",
});
const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
const subnet = new tencentcloud.Subnet("subnet", {
    vpcId: vpc.vpcId,
    availabilityZone: availabilityZone.then(availabilityZone => availabilityZone.zones?.[0]?.name),
    cidrBlock: "10.0.1.0/24",
});
const example = new tencentcloud.ElasticsearchInstance("example", {
    instanceName: "tf_example_es",
    availabilityZone: availabilityZone.then(availabilityZone => availabilityZone.zones?.[0]?.name),
    version: "7.10.1",
    vpcId: vpc.vpcId,
    subnetId: subnet.subnetId,
    password: "Test12345",
    licenseType: "basic",
    basicSecurityType: 2,
    webNodeTypeInfos: [{
        nodeNum: 1,
        nodeType: "ES.S1.MEDIUM4",
    }],
    nodeInfoLists: [{
        nodeNum: 2,
        nodeType: "ES.S1.MEDIUM8",
        encrypt: false,
    }],
    esAcl: {
        whiteLists: ["127.0.0.1"],
    },
    cosBackup: {
        isAutoBackup: true,
        backupTime: "22:00",
    },
    tags: {
        test: "test",
    },
});
import pulumi
import pulumi_tencentcloud as tencentcloud
availability_zone = tencentcloud.get_availability_zones_by_product(product="es")
vpc = tencentcloud.Vpc("vpc", cidr_block="10.0.0.0/16")
subnet = tencentcloud.Subnet("subnet",
    vpc_id=vpc.vpc_id,
    availability_zone=availability_zone.zones[0].name,
    cidr_block="10.0.1.0/24")
example = tencentcloud.ElasticsearchInstance("example",
    instance_name="tf_example_es",
    availability_zone=availability_zone.zones[0].name,
    version="7.10.1",
    vpc_id=vpc.vpc_id,
    subnet_id=subnet.subnet_id,
    password="Test12345",
    license_type="basic",
    basic_security_type=2,
    web_node_type_infos=[{
        "node_num": 1,
        "node_type": "ES.S1.MEDIUM4",
    }],
    node_info_lists=[{
        "node_num": 2,
        "node_type": "ES.S1.MEDIUM8",
        "encrypt": False,
    }],
    es_acl={
        "white_lists": ["127.0.0.1"],
    },
    cos_backup={
        "is_auto_backup": True,
        "backup_time": "22:00",
    },
    tags={
        "test": "test",
    })
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		availabilityZone, err := tencentcloud.GetAvailabilityZonesByProduct(ctx, &tencentcloud.GetAvailabilityZonesByProductArgs{
			Product: "es",
		}, nil)
		if err != nil {
			return err
		}
		vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
			VpcId:            vpc.VpcId,
			AvailabilityZone: pulumi.String(availabilityZone.Zones[0].Name),
			CidrBlock:        pulumi.String("10.0.1.0/24"),
		})
		if err != nil {
			return err
		}
		_, err = tencentcloud.NewElasticsearchInstance(ctx, "example", &tencentcloud.ElasticsearchInstanceArgs{
			InstanceName:      pulumi.String("tf_example_es"),
			AvailabilityZone:  pulumi.String(availabilityZone.Zones[0].Name),
			Version:           pulumi.String("7.10.1"),
			VpcId:             vpc.VpcId,
			SubnetId:          subnet.SubnetId,
			Password:          pulumi.String("Test12345"),
			LicenseType:       pulumi.String("basic"),
			BasicSecurityType: pulumi.Float64(2),
			WebNodeTypeInfos: tencentcloud.ElasticsearchInstanceWebNodeTypeInfoArray{
				&tencentcloud.ElasticsearchInstanceWebNodeTypeInfoArgs{
					NodeNum:  pulumi.Float64(1),
					NodeType: pulumi.String("ES.S1.MEDIUM4"),
				},
			},
			NodeInfoLists: tencentcloud.ElasticsearchInstanceNodeInfoListArray{
				&tencentcloud.ElasticsearchInstanceNodeInfoListArgs{
					NodeNum:  pulumi.Float64(2),
					NodeType: pulumi.String("ES.S1.MEDIUM8"),
					Encrypt:  pulumi.Bool(false),
				},
			},
			EsAcl: &tencentcloud.ElasticsearchInstanceEsAclArgs{
				WhiteLists: pulumi.StringArray{
					pulumi.String("127.0.0.1"),
				},
			},
			CosBackup: &tencentcloud.ElasticsearchInstanceCosBackupArgs{
				IsAutoBackup: pulumi.Bool(true),
				BackupTime:   pulumi.String("22:00"),
			},
			Tags: pulumi.StringMap{
				"test": pulumi.String("test"),
			},
		})
		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 availabilityZone = Tencentcloud.GetAvailabilityZonesByProduct.Invoke(new()
    {
        Product = "es",
    });
    var vpc = new Tencentcloud.Vpc("vpc", new()
    {
        CidrBlock = "10.0.0.0/16",
    });
    var subnet = new Tencentcloud.Subnet("subnet", new()
    {
        VpcId = vpc.VpcId,
        AvailabilityZone = availabilityZone.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[0]?.Name),
        CidrBlock = "10.0.1.0/24",
    });
    var example = new Tencentcloud.ElasticsearchInstance("example", new()
    {
        InstanceName = "tf_example_es",
        AvailabilityZone = availabilityZone.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[0]?.Name),
        Version = "7.10.1",
        VpcId = vpc.VpcId,
        SubnetId = subnet.SubnetId,
        Password = "Test12345",
        LicenseType = "basic",
        BasicSecurityType = 2,
        WebNodeTypeInfos = new[]
        {
            new Tencentcloud.Inputs.ElasticsearchInstanceWebNodeTypeInfoArgs
            {
                NodeNum = 1,
                NodeType = "ES.S1.MEDIUM4",
            },
        },
        NodeInfoLists = new[]
        {
            new Tencentcloud.Inputs.ElasticsearchInstanceNodeInfoListArgs
            {
                NodeNum = 2,
                NodeType = "ES.S1.MEDIUM8",
                Encrypt = false,
            },
        },
        EsAcl = new Tencentcloud.Inputs.ElasticsearchInstanceEsAclArgs
        {
            WhiteLists = new[]
            {
                "127.0.0.1",
            },
        },
        CosBackup = new Tencentcloud.Inputs.ElasticsearchInstanceCosBackupArgs
        {
            IsAutoBackup = true,
            BackupTime = "22:00",
        },
        Tags = 
        {
            { "test", "test" },
        },
    });
});
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.GetAvailabilityZonesByProductArgs;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.Subnet;
import com.pulumi.tencentcloud.SubnetArgs;
import com.pulumi.tencentcloud.ElasticsearchInstance;
import com.pulumi.tencentcloud.ElasticsearchInstanceArgs;
import com.pulumi.tencentcloud.inputs.ElasticsearchInstanceWebNodeTypeInfoArgs;
import com.pulumi.tencentcloud.inputs.ElasticsearchInstanceNodeInfoListArgs;
import com.pulumi.tencentcloud.inputs.ElasticsearchInstanceEsAclArgs;
import com.pulumi.tencentcloud.inputs.ElasticsearchInstanceCosBackupArgs;
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 availabilityZone = TencentcloudFunctions.getAvailabilityZonesByProduct(GetAvailabilityZonesByProductArgs.builder()
            .product("es")
            .build());
        var vpc = new Vpc("vpc", VpcArgs.builder()
            .cidrBlock("10.0.0.0/16")
            .build());
        var subnet = new Subnet("subnet", SubnetArgs.builder()
            .vpcId(vpc.vpcId())
            .availabilityZone(availabilityZone.applyValue(getAvailabilityZonesByProductResult -> getAvailabilityZonesByProductResult.zones()[0].name()))
            .cidrBlock("10.0.1.0/24")
            .build());
        var example = new ElasticsearchInstance("example", ElasticsearchInstanceArgs.builder()
            .instanceName("tf_example_es")
            .availabilityZone(availabilityZone.applyValue(getAvailabilityZonesByProductResult -> getAvailabilityZonesByProductResult.zones()[0].name()))
            .version("7.10.1")
            .vpcId(vpc.vpcId())
            .subnetId(subnet.subnetId())
            .password("Test12345")
            .licenseType("basic")
            .basicSecurityType(2)
            .webNodeTypeInfos(ElasticsearchInstanceWebNodeTypeInfoArgs.builder()
                .nodeNum(1)
                .nodeType("ES.S1.MEDIUM4")
                .build())
            .nodeInfoLists(ElasticsearchInstanceNodeInfoListArgs.builder()
                .nodeNum(2)
                .nodeType("ES.S1.MEDIUM8")
                .encrypt(false)
                .build())
            .esAcl(ElasticsearchInstanceEsAclArgs.builder()
                .whiteLists("127.0.0.1")
                .build())
            .cosBackup(ElasticsearchInstanceCosBackupArgs.builder()
                .isAutoBackup(true)
                .backupTime("22:00")
                .build())
            .tags(Map.of("test", "test"))
            .build());
    }
}
resources:
  vpc:
    type: tencentcloud:Vpc
    properties:
      cidrBlock: 10.0.0.0/16
  subnet:
    type: tencentcloud:Subnet
    properties:
      vpcId: ${vpc.vpcId}
      availabilityZone: ${availabilityZone.zones[0].name}
      cidrBlock: 10.0.1.0/24
  example:
    type: tencentcloud:ElasticsearchInstance
    properties:
      instanceName: tf_example_es
      availabilityZone: ${availabilityZone.zones[0].name}
      version: 7.10.1
      vpcId: ${vpc.vpcId}
      subnetId: ${subnet.subnetId}
      password: Test12345
      licenseType: basic
      basicSecurityType: 2
      webNodeTypeInfos:
        - nodeNum: 1
          nodeType: ES.S1.MEDIUM4
      nodeInfoLists:
        - nodeNum: 2
          nodeType: ES.S1.MEDIUM8
          encrypt: false
      esAcl:
        whiteLists:
          - 127.0.0.1
      cosBackup:
        isAutoBackup: true
        backupTime: 22:00
      tags:
        test: test
variables:
  availabilityZone:
    fn::invoke:
      function: tencentcloud:getAvailabilityZonesByProduct
      arguments:
        product: es
Create a basic version of elasticsearch instance for multi-availability zone deployment
import * as pulumi from "@pulumi/pulumi";
import * as tencentcloud from "@pulumi/tencentcloud";
const availabilityZone = tencentcloud.getAvailabilityZonesByProduct({
    product: "es",
});
const vpc = new tencentcloud.Vpc("vpc", {cidrBlock: "10.0.0.0/16"});
const subnet = new tencentcloud.Subnet("subnet", {
    vpcId: vpc.vpcId,
    availabilityZone: availabilityZone.then(availabilityZone => availabilityZone.zones?.[0]?.name),
    cidrBlock: "10.0.1.0/24",
});
const subnetMultiZone = new tencentcloud.Subnet("subnetMultiZone", {
    vpcId: vpc.vpcId,
    availabilityZone: availabilityZone.then(availabilityZone => availabilityZone.zones?.[1]?.name),
    cidrBlock: "10.0.2.0/24",
});
const exampleMultiZone = new tencentcloud.ElasticsearchInstance("exampleMultiZone", {
    instanceName: "tf_example_es",
    availabilityZone: "-",
    version: "7.10.1",
    vpcId: vpc.vpcId,
    subnetId: "-",
    password: "Test12345",
    licenseType: "basic",
    basicSecurityType: 2,
    deployMode: 1,
    multiZoneInfos: [
        {
            availabilityZone: availabilityZone.then(availabilityZone => availabilityZone.zones?.[0]?.name),
            subnetId: subnet.subnetId,
        },
        {
            availabilityZone: availabilityZone.then(availabilityZone => availabilityZone.zones?.[1]?.name),
            subnetId: subnetMultiZone.subnetId,
        },
    ],
    webNodeTypeInfos: [{
        nodeNum: 1,
        nodeType: "ES.S1.MEDIUM4",
    }],
    nodeInfoLists: [
        {
            type: "dedicatedMaster",
            nodeNum: 3,
            nodeType: "ES.S1.MEDIUM8",
            encrypt: false,
        },
        {
            type: "hotData",
            nodeNum: 2,
            nodeType: "ES.S1.MEDIUM8",
            encrypt: false,
        },
    ],
    esAcl: {
        whiteLists: ["127.0.0.1"],
    },
    tags: {
        test: "test",
    },
});
import pulumi
import pulumi_tencentcloud as tencentcloud
availability_zone = tencentcloud.get_availability_zones_by_product(product="es")
vpc = tencentcloud.Vpc("vpc", cidr_block="10.0.0.0/16")
subnet = tencentcloud.Subnet("subnet",
    vpc_id=vpc.vpc_id,
    availability_zone=availability_zone.zones[0].name,
    cidr_block="10.0.1.0/24")
subnet_multi_zone = tencentcloud.Subnet("subnetMultiZone",
    vpc_id=vpc.vpc_id,
    availability_zone=availability_zone.zones[1].name,
    cidr_block="10.0.2.0/24")
example_multi_zone = tencentcloud.ElasticsearchInstance("exampleMultiZone",
    instance_name="tf_example_es",
    availability_zone="-",
    version="7.10.1",
    vpc_id=vpc.vpc_id,
    subnet_id="-",
    password="Test12345",
    license_type="basic",
    basic_security_type=2,
    deploy_mode=1,
    multi_zone_infos=[
        {
            "availability_zone": availability_zone.zones[0].name,
            "subnet_id": subnet.subnet_id,
        },
        {
            "availability_zone": availability_zone.zones[1].name,
            "subnet_id": subnet_multi_zone.subnet_id,
        },
    ],
    web_node_type_infos=[{
        "node_num": 1,
        "node_type": "ES.S1.MEDIUM4",
    }],
    node_info_lists=[
        {
            "type": "dedicatedMaster",
            "node_num": 3,
            "node_type": "ES.S1.MEDIUM8",
            "encrypt": False,
        },
        {
            "type": "hotData",
            "node_num": 2,
            "node_type": "ES.S1.MEDIUM8",
            "encrypt": False,
        },
    ],
    es_acl={
        "white_lists": ["127.0.0.1"],
    },
    tags={
        "test": "test",
    })
package main
import (
	"github.com/pulumi/pulumi-terraform-provider/sdks/go/tencentcloud/tencentcloud"
	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		availabilityZone, err := tencentcloud.GetAvailabilityZonesByProduct(ctx, &tencentcloud.GetAvailabilityZonesByProductArgs{
			Product: "es",
		}, nil)
		if err != nil {
			return err
		}
		vpc, err := tencentcloud.NewVpc(ctx, "vpc", &tencentcloud.VpcArgs{
			CidrBlock: pulumi.String("10.0.0.0/16"),
		})
		if err != nil {
			return err
		}
		subnet, err := tencentcloud.NewSubnet(ctx, "subnet", &tencentcloud.SubnetArgs{
			VpcId:            vpc.VpcId,
			AvailabilityZone: pulumi.String(availabilityZone.Zones[0].Name),
			CidrBlock:        pulumi.String("10.0.1.0/24"),
		})
		if err != nil {
			return err
		}
		subnetMultiZone, err := tencentcloud.NewSubnet(ctx, "subnetMultiZone", &tencentcloud.SubnetArgs{
			VpcId:            vpc.VpcId,
			AvailabilityZone: pulumi.String(availabilityZone.Zones[1].Name),
			CidrBlock:        pulumi.String("10.0.2.0/24"),
		})
		if err != nil {
			return err
		}
		_, err = tencentcloud.NewElasticsearchInstance(ctx, "exampleMultiZone", &tencentcloud.ElasticsearchInstanceArgs{
			InstanceName:      pulumi.String("tf_example_es"),
			AvailabilityZone:  pulumi.String("-"),
			Version:           pulumi.String("7.10.1"),
			VpcId:             vpc.VpcId,
			SubnetId:          pulumi.String("-"),
			Password:          pulumi.String("Test12345"),
			LicenseType:       pulumi.String("basic"),
			BasicSecurityType: pulumi.Float64(2),
			DeployMode:        pulumi.Float64(1),
			MultiZoneInfos: tencentcloud.ElasticsearchInstanceMultiZoneInfoArray{
				&tencentcloud.ElasticsearchInstanceMultiZoneInfoArgs{
					AvailabilityZone: pulumi.String(availabilityZone.Zones[0].Name),
					SubnetId:         subnet.SubnetId,
				},
				&tencentcloud.ElasticsearchInstanceMultiZoneInfoArgs{
					AvailabilityZone: pulumi.String(availabilityZone.Zones[1].Name),
					SubnetId:         subnetMultiZone.SubnetId,
				},
			},
			WebNodeTypeInfos: tencentcloud.ElasticsearchInstanceWebNodeTypeInfoArray{
				&tencentcloud.ElasticsearchInstanceWebNodeTypeInfoArgs{
					NodeNum:  pulumi.Float64(1),
					NodeType: pulumi.String("ES.S1.MEDIUM4"),
				},
			},
			NodeInfoLists: tencentcloud.ElasticsearchInstanceNodeInfoListArray{
				&tencentcloud.ElasticsearchInstanceNodeInfoListArgs{
					Type:     pulumi.String("dedicatedMaster"),
					NodeNum:  pulumi.Float64(3),
					NodeType: pulumi.String("ES.S1.MEDIUM8"),
					Encrypt:  pulumi.Bool(false),
				},
				&tencentcloud.ElasticsearchInstanceNodeInfoListArgs{
					Type:     pulumi.String("hotData"),
					NodeNum:  pulumi.Float64(2),
					NodeType: pulumi.String("ES.S1.MEDIUM8"),
					Encrypt:  pulumi.Bool(false),
				},
			},
			EsAcl: &tencentcloud.ElasticsearchInstanceEsAclArgs{
				WhiteLists: pulumi.StringArray{
					pulumi.String("127.0.0.1"),
				},
			},
			Tags: pulumi.StringMap{
				"test": pulumi.String("test"),
			},
		})
		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 availabilityZone = Tencentcloud.GetAvailabilityZonesByProduct.Invoke(new()
    {
        Product = "es",
    });
    var vpc = new Tencentcloud.Vpc("vpc", new()
    {
        CidrBlock = "10.0.0.0/16",
    });
    var subnet = new Tencentcloud.Subnet("subnet", new()
    {
        VpcId = vpc.VpcId,
        AvailabilityZone = availabilityZone.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[0]?.Name),
        CidrBlock = "10.0.1.0/24",
    });
    var subnetMultiZone = new Tencentcloud.Subnet("subnetMultiZone", new()
    {
        VpcId = vpc.VpcId,
        AvailabilityZone = availabilityZone.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[1]?.Name),
        CidrBlock = "10.0.2.0/24",
    });
    var exampleMultiZone = new Tencentcloud.ElasticsearchInstance("exampleMultiZone", new()
    {
        InstanceName = "tf_example_es",
        AvailabilityZone = "-",
        Version = "7.10.1",
        VpcId = vpc.VpcId,
        SubnetId = "-",
        Password = "Test12345",
        LicenseType = "basic",
        BasicSecurityType = 2,
        DeployMode = 1,
        MultiZoneInfos = new[]
        {
            new Tencentcloud.Inputs.ElasticsearchInstanceMultiZoneInfoArgs
            {
                AvailabilityZone = availabilityZone.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[0]?.Name),
                SubnetId = subnet.SubnetId,
            },
            new Tencentcloud.Inputs.ElasticsearchInstanceMultiZoneInfoArgs
            {
                AvailabilityZone = availabilityZone.Apply(getAvailabilityZonesByProductResult => getAvailabilityZonesByProductResult.Zones[1]?.Name),
                SubnetId = subnetMultiZone.SubnetId,
            },
        },
        WebNodeTypeInfos = new[]
        {
            new Tencentcloud.Inputs.ElasticsearchInstanceWebNodeTypeInfoArgs
            {
                NodeNum = 1,
                NodeType = "ES.S1.MEDIUM4",
            },
        },
        NodeInfoLists = new[]
        {
            new Tencentcloud.Inputs.ElasticsearchInstanceNodeInfoListArgs
            {
                Type = "dedicatedMaster",
                NodeNum = 3,
                NodeType = "ES.S1.MEDIUM8",
                Encrypt = false,
            },
            new Tencentcloud.Inputs.ElasticsearchInstanceNodeInfoListArgs
            {
                Type = "hotData",
                NodeNum = 2,
                NodeType = "ES.S1.MEDIUM8",
                Encrypt = false,
            },
        },
        EsAcl = new Tencentcloud.Inputs.ElasticsearchInstanceEsAclArgs
        {
            WhiteLists = new[]
            {
                "127.0.0.1",
            },
        },
        Tags = 
        {
            { "test", "test" },
        },
    });
});
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.GetAvailabilityZonesByProductArgs;
import com.pulumi.tencentcloud.Vpc;
import com.pulumi.tencentcloud.VpcArgs;
import com.pulumi.tencentcloud.Subnet;
import com.pulumi.tencentcloud.SubnetArgs;
import com.pulumi.tencentcloud.ElasticsearchInstance;
import com.pulumi.tencentcloud.ElasticsearchInstanceArgs;
import com.pulumi.tencentcloud.inputs.ElasticsearchInstanceMultiZoneInfoArgs;
import com.pulumi.tencentcloud.inputs.ElasticsearchInstanceWebNodeTypeInfoArgs;
import com.pulumi.tencentcloud.inputs.ElasticsearchInstanceNodeInfoListArgs;
import com.pulumi.tencentcloud.inputs.ElasticsearchInstanceEsAclArgs;
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 availabilityZone = TencentcloudFunctions.getAvailabilityZonesByProduct(GetAvailabilityZonesByProductArgs.builder()
            .product("es")
            .build());
        var vpc = new Vpc("vpc", VpcArgs.builder()
            .cidrBlock("10.0.0.0/16")
            .build());
        var subnet = new Subnet("subnet", SubnetArgs.builder()
            .vpcId(vpc.vpcId())
            .availabilityZone(availabilityZone.applyValue(getAvailabilityZonesByProductResult -> getAvailabilityZonesByProductResult.zones()[0].name()))
            .cidrBlock("10.0.1.0/24")
            .build());
        var subnetMultiZone = new Subnet("subnetMultiZone", SubnetArgs.builder()
            .vpcId(vpc.vpcId())
            .availabilityZone(availabilityZone.applyValue(getAvailabilityZonesByProductResult -> getAvailabilityZonesByProductResult.zones()[1].name()))
            .cidrBlock("10.0.2.0/24")
            .build());
        var exampleMultiZone = new ElasticsearchInstance("exampleMultiZone", ElasticsearchInstanceArgs.builder()
            .instanceName("tf_example_es")
            .availabilityZone("-")
            .version("7.10.1")
            .vpcId(vpc.vpcId())
            .subnetId("-")
            .password("Test12345")
            .licenseType("basic")
            .basicSecurityType(2)
            .deployMode(1)
            .multiZoneInfos(            
                ElasticsearchInstanceMultiZoneInfoArgs.builder()
                    .availabilityZone(availabilityZone.applyValue(getAvailabilityZonesByProductResult -> getAvailabilityZonesByProductResult.zones()[0].name()))
                    .subnetId(subnet.subnetId())
                    .build(),
                ElasticsearchInstanceMultiZoneInfoArgs.builder()
                    .availabilityZone(availabilityZone.applyValue(getAvailabilityZonesByProductResult -> getAvailabilityZonesByProductResult.zones()[1].name()))
                    .subnetId(subnetMultiZone.subnetId())
                    .build())
            .webNodeTypeInfos(ElasticsearchInstanceWebNodeTypeInfoArgs.builder()
                .nodeNum(1)
                .nodeType("ES.S1.MEDIUM4")
                .build())
            .nodeInfoLists(            
                ElasticsearchInstanceNodeInfoListArgs.builder()
                    .type("dedicatedMaster")
                    .nodeNum(3)
                    .nodeType("ES.S1.MEDIUM8")
                    .encrypt(false)
                    .build(),
                ElasticsearchInstanceNodeInfoListArgs.builder()
                    .type("hotData")
                    .nodeNum(2)
                    .nodeType("ES.S1.MEDIUM8")
                    .encrypt(false)
                    .build())
            .esAcl(ElasticsearchInstanceEsAclArgs.builder()
                .whiteLists("127.0.0.1")
                .build())
            .tags(Map.of("test", "test"))
            .build());
    }
}
resources:
  vpc:
    type: tencentcloud:Vpc
    properties:
      cidrBlock: 10.0.0.0/16
  subnet:
    type: tencentcloud:Subnet
    properties:
      vpcId: ${vpc.vpcId}
      availabilityZone: ${availabilityZone.zones[0].name}
      cidrBlock: 10.0.1.0/24
  subnetMultiZone:
    type: tencentcloud:Subnet
    properties:
      vpcId: ${vpc.vpcId}
      availabilityZone: ${availabilityZone.zones[1].name}
      cidrBlock: 10.0.2.0/24
  exampleMultiZone:
    type: tencentcloud:ElasticsearchInstance
    properties:
      instanceName: tf_example_es
      availabilityZone: '-'
      version: 7.10.1
      vpcId: ${vpc.vpcId}
      subnetId: '-'
      password: Test12345
      licenseType: basic
      basicSecurityType: 2
      deployMode: 1
      multiZoneInfos:
        - availabilityZone: ${availabilityZone.zones[0].name}
          subnetId: ${subnet.subnetId}
        - availabilityZone: ${availabilityZone.zones[1].name}
          subnetId: ${subnetMultiZone.subnetId}
      webNodeTypeInfos:
        - nodeNum: 1
          nodeType: ES.S1.MEDIUM4
      nodeInfoLists:
        - type: dedicatedMaster
          nodeNum: 3
          nodeType: ES.S1.MEDIUM8
          encrypt: false
        - type: hotData
          nodeNum: 2
          nodeType: ES.S1.MEDIUM8
          encrypt: false
      esAcl:
        whiteLists:
          - 127.0.0.1
      tags:
        test: test
variables:
  availabilityZone:
    fn::invoke:
      function: tencentcloud:getAvailabilityZonesByProduct
      arguments:
        product: es
Create ElasticsearchInstance Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ElasticsearchInstance(name: string, args: ElasticsearchInstanceArgs, opts?: CustomResourceOptions);@overload
def ElasticsearchInstance(resource_name: str,
                          args: ElasticsearchInstanceArgs,
                          opts: Optional[ResourceOptions] = None)
@overload
def ElasticsearchInstance(resource_name: str,
                          opts: Optional[ResourceOptions] = None,
                          node_info_lists: Optional[Sequence[ElasticsearchInstanceNodeInfoListArgs]] = None,
                          vpc_id: Optional[str] = None,
                          version: Optional[str] = None,
                          password: Optional[str] = None,
                          kibana_public_access: Optional[str] = None,
                          cos_backup: Optional[ElasticsearchInstanceCosBackupArgs] = None,
                          elasticsearch_instance_id: Optional[str] = None,
                          es_acl: Optional[ElasticsearchInstanceEsAclArgs] = None,
                          es_public_acl: Optional[ElasticsearchInstanceEsPublicAclArgs] = None,
                          instance_name: Optional[str] = None,
                          availability_zone: Optional[str] = None,
                          license_type: Optional[str] = None,
                          multi_zone_infos: Optional[Sequence[ElasticsearchInstanceMultiZoneInfoArgs]] = None,
                          deploy_mode: Optional[float] = None,
                          charge_type: Optional[str] = None,
                          public_access: Optional[str] = None,
                          renew_flag: Optional[str] = None,
                          subnet_id: Optional[str] = None,
                          tags: Optional[Mapping[str, str]] = None,
                          charge_period: Optional[float] = None,
                          basic_security_type: Optional[float] = None,
                          web_node_type_infos: Optional[Sequence[ElasticsearchInstanceWebNodeTypeInfoArgs]] = None)func NewElasticsearchInstance(ctx *Context, name string, args ElasticsearchInstanceArgs, opts ...ResourceOption) (*ElasticsearchInstance, error)public ElasticsearchInstance(string name, ElasticsearchInstanceArgs args, CustomResourceOptions? opts = null)
public ElasticsearchInstance(String name, ElasticsearchInstanceArgs args)
public ElasticsearchInstance(String name, ElasticsearchInstanceArgs args, CustomResourceOptions options)
type: tencentcloud:ElasticsearchInstance
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 ElasticsearchInstanceArgs
- 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 ElasticsearchInstanceArgs
- 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 ElasticsearchInstanceArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ElasticsearchInstanceArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ElasticsearchInstanceArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
ElasticsearchInstance 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 ElasticsearchInstance resource accepts the following input properties:
- NodeInfo List<ElasticsearchLists Instance Node Info List> 
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size.
- Password string
- Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols.
- Version string
- Version of the instance. Valid values are 5.6.4,6.4.3,6.8.2,7.5.1and7.10.1.
- VpcId string
- The ID of a VPC network.
- AvailabilityZone string
- Availability zone. When create multi-az es, this parameter must be omitted or -.
- BasicSecurity doubleType 
- Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are 1and2.1is disabled,2is enabled, and default value is1. Notice: this parameter is only take effect onbasiclicense.
- ChargePeriod double
- The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to PREPAID.
- ChargeType string
- The charge type of instance. Valid values are PREPAIDandPOSTPAID_BY_HOUR.
- CosBackup ElasticsearchInstance Cos Backup 
- COS automatic backup information.
- DeployMode double
- Cluster deployment mode. Valid values are 0and1.0is single-AZ deployment, and1is multi-AZ deployment. Default value is0.
- ElasticsearchInstance stringId 
- ID of the resource.
- EsAcl ElasticsearchInstance Es Acl 
- Kibana Access Control Configuration.
- EsPublic ElasticsearchAcl Instance Es Public Acl 
- Public network access control list.
- InstanceName string
- Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- KibanaPublic stringAccess 
- Kibana public network access status. Valid values are OPENandCLOSE.
- LicenseType string
- License type. Valid values are oss,basicandplatinum. The default value isplatinum.
- MultiZone List<ElasticsearchInfos Instance Multi Zone Info> 
- Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is 1).
- PublicAccess string
- ES cluster public network access status. Valid values are OPENandCLOSE. Cannot be changed at the same time ases_acl.
- RenewFlag string
- When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are RENEW_FLAG_AUTOandRENEW_FLAG_MANUAL. NOTE: it only works when charge_type is set toPREPAID.
- SubnetId string
- The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or -.
- Dictionary<string, string>
- A mapping of tags to assign to the instance. For tag limits, please refer to Use Limits.
- WebNode List<ElasticsearchType Infos Instance Web Node Type Info> 
- Visual node configuration.
- NodeInfo []ElasticsearchLists Instance Node Info List Args 
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size.
- Password string
- Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols.
- Version string
- Version of the instance. Valid values are 5.6.4,6.4.3,6.8.2,7.5.1and7.10.1.
- VpcId string
- The ID of a VPC network.
- AvailabilityZone string
- Availability zone. When create multi-az es, this parameter must be omitted or -.
- BasicSecurity float64Type 
- Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are 1and2.1is disabled,2is enabled, and default value is1. Notice: this parameter is only take effect onbasiclicense.
- ChargePeriod float64
- The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to PREPAID.
- ChargeType string
- The charge type of instance. Valid values are PREPAIDandPOSTPAID_BY_HOUR.
- CosBackup ElasticsearchInstance Cos Backup Args 
- COS automatic backup information.
- DeployMode float64
- Cluster deployment mode. Valid values are 0and1.0is single-AZ deployment, and1is multi-AZ deployment. Default value is0.
- ElasticsearchInstance stringId 
- ID of the resource.
- EsAcl ElasticsearchInstance Es Acl Args 
- Kibana Access Control Configuration.
- EsPublic ElasticsearchAcl Instance Es Public Acl Args 
- Public network access control list.
- InstanceName string
- Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- KibanaPublic stringAccess 
- Kibana public network access status. Valid values are OPENandCLOSE.
- LicenseType string
- License type. Valid values are oss,basicandplatinum. The default value isplatinum.
- MultiZone []ElasticsearchInfos Instance Multi Zone Info Args 
- Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is 1).
- PublicAccess string
- ES cluster public network access status. Valid values are OPENandCLOSE. Cannot be changed at the same time ases_acl.
- RenewFlag string
- When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are RENEW_FLAG_AUTOandRENEW_FLAG_MANUAL. NOTE: it only works when charge_type is set toPREPAID.
- SubnetId string
- The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or -.
- map[string]string
- A mapping of tags to assign to the instance. For tag limits, please refer to Use Limits.
- WebNode []ElasticsearchType Infos Instance Web Node Type Info Args 
- Visual node configuration.
- nodeInfo List<ElasticsearchLists Instance Node Info List> 
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size.
- password String
- Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols.
- version String
- Version of the instance. Valid values are 5.6.4,6.4.3,6.8.2,7.5.1and7.10.1.
- vpcId String
- The ID of a VPC network.
- availabilityZone String
- Availability zone. When create multi-az es, this parameter must be omitted or -.
- basicSecurity DoubleType 
- Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are 1and2.1is disabled,2is enabled, and default value is1. Notice: this parameter is only take effect onbasiclicense.
- chargePeriod Double
- The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to PREPAID.
- chargeType String
- The charge type of instance. Valid values are PREPAIDandPOSTPAID_BY_HOUR.
- cosBackup ElasticsearchInstance Cos Backup 
- COS automatic backup information.
- deployMode Double
- Cluster deployment mode. Valid values are 0and1.0is single-AZ deployment, and1is multi-AZ deployment. Default value is0.
- elasticsearchInstance StringId 
- ID of the resource.
- esAcl ElasticsearchInstance Es Acl 
- Kibana Access Control Configuration.
- esPublic ElasticsearchAcl Instance Es Public Acl 
- Public network access control list.
- instanceName String
- Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- kibanaPublic StringAccess 
- Kibana public network access status. Valid values are OPENandCLOSE.
- licenseType String
- License type. Valid values are oss,basicandplatinum. The default value isplatinum.
- multiZone List<ElasticsearchInfos Instance Multi Zone Info> 
- Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is 1).
- publicAccess String
- ES cluster public network access status. Valid values are OPENandCLOSE. Cannot be changed at the same time ases_acl.
- renewFlag String
- When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are RENEW_FLAG_AUTOandRENEW_FLAG_MANUAL. NOTE: it only works when charge_type is set toPREPAID.
- subnetId String
- The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or -.
- Map<String,String>
- A mapping of tags to assign to the instance. For tag limits, please refer to Use Limits.
- webNode List<ElasticsearchType Infos Instance Web Node Type Info> 
- Visual node configuration.
- nodeInfo ElasticsearchLists Instance Node Info List[] 
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size.
- password string
- Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols.
- version string
- Version of the instance. Valid values are 5.6.4,6.4.3,6.8.2,7.5.1and7.10.1.
- vpcId string
- The ID of a VPC network.
- availabilityZone string
- Availability zone. When create multi-az es, this parameter must be omitted or -.
- basicSecurity numberType 
- Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are 1and2.1is disabled,2is enabled, and default value is1. Notice: this parameter is only take effect onbasiclicense.
- chargePeriod number
- The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to PREPAID.
- chargeType string
- The charge type of instance. Valid values are PREPAIDandPOSTPAID_BY_HOUR.
- cosBackup ElasticsearchInstance Cos Backup 
- COS automatic backup information.
- deployMode number
- Cluster deployment mode. Valid values are 0and1.0is single-AZ deployment, and1is multi-AZ deployment. Default value is0.
- elasticsearchInstance stringId 
- ID of the resource.
- esAcl ElasticsearchInstance Es Acl 
- Kibana Access Control Configuration.
- esPublic ElasticsearchAcl Instance Es Public Acl 
- Public network access control list.
- instanceName string
- Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- kibanaPublic stringAccess 
- Kibana public network access status. Valid values are OPENandCLOSE.
- licenseType string
- License type. Valid values are oss,basicandplatinum. The default value isplatinum.
- multiZone ElasticsearchInfos Instance Multi Zone Info[] 
- Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is 1).
- publicAccess string
- ES cluster public network access status. Valid values are OPENandCLOSE. Cannot be changed at the same time ases_acl.
- renewFlag string
- When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are RENEW_FLAG_AUTOandRENEW_FLAG_MANUAL. NOTE: it only works when charge_type is set toPREPAID.
- subnetId string
- The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or -.
- {[key: string]: string}
- A mapping of tags to assign to the instance. For tag limits, please refer to Use Limits.
- webNode ElasticsearchType Infos Instance Web Node Type Info[] 
- Visual node configuration.
- node_info_ Sequence[Elasticsearchlists Instance Node Info List Args] 
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size.
- password str
- Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols.
- version str
- Version of the instance. Valid values are 5.6.4,6.4.3,6.8.2,7.5.1and7.10.1.
- vpc_id str
- The ID of a VPC network.
- availability_zone str
- Availability zone. When create multi-az es, this parameter must be omitted or -.
- basic_security_ floattype 
- Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are 1and2.1is disabled,2is enabled, and default value is1. Notice: this parameter is only take effect onbasiclicense.
- charge_period float
- The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to PREPAID.
- charge_type str
- The charge type of instance. Valid values are PREPAIDandPOSTPAID_BY_HOUR.
- cos_backup ElasticsearchInstance Cos Backup Args 
- COS automatic backup information.
- deploy_mode float
- Cluster deployment mode. Valid values are 0and1.0is single-AZ deployment, and1is multi-AZ deployment. Default value is0.
- elasticsearch_instance_ strid 
- ID of the resource.
- es_acl ElasticsearchInstance Es Acl Args 
- Kibana Access Control Configuration.
- es_public_ Elasticsearchacl Instance Es Public Acl Args 
- Public network access control list.
- instance_name str
- Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- kibana_public_ straccess 
- Kibana public network access status. Valid values are OPENandCLOSE.
- license_type str
- License type. Valid values are oss,basicandplatinum. The default value isplatinum.
- multi_zone_ Sequence[Elasticsearchinfos Instance Multi Zone Info Args] 
- Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is 1).
- public_access str
- ES cluster public network access status. Valid values are OPENandCLOSE. Cannot be changed at the same time ases_acl.
- renew_flag str
- When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are RENEW_FLAG_AUTOandRENEW_FLAG_MANUAL. NOTE: it only works when charge_type is set toPREPAID.
- subnet_id str
- The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or -.
- Mapping[str, str]
- A mapping of tags to assign to the instance. For tag limits, please refer to Use Limits.
- web_node_ Sequence[Elasticsearchtype_ infos Instance Web Node Type Info Args] 
- Visual node configuration.
- nodeInfo List<Property Map>Lists 
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size.
- password String
- Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols.
- version String
- Version of the instance. Valid values are 5.6.4,6.4.3,6.8.2,7.5.1and7.10.1.
- vpcId String
- The ID of a VPC network.
- availabilityZone String
- Availability zone. When create multi-az es, this parameter must be omitted or -.
- basicSecurity NumberType 
- Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are 1and2.1is disabled,2is enabled, and default value is1. Notice: this parameter is only take effect onbasiclicense.
- chargePeriod Number
- The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to PREPAID.
- chargeType String
- The charge type of instance. Valid values are PREPAIDandPOSTPAID_BY_HOUR.
- cosBackup Property Map
- COS automatic backup information.
- deployMode Number
- Cluster deployment mode. Valid values are 0and1.0is single-AZ deployment, and1is multi-AZ deployment. Default value is0.
- elasticsearchInstance StringId 
- ID of the resource.
- esAcl Property Map
- Kibana Access Control Configuration.
- esPublic Property MapAcl 
- Public network access control list.
- instanceName String
- Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- kibanaPublic StringAccess 
- Kibana public network access status. Valid values are OPENandCLOSE.
- licenseType String
- License type. Valid values are oss,basicandplatinum. The default value isplatinum.
- multiZone List<Property Map>Infos 
- Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is 1).
- publicAccess String
- ES cluster public network access status. Valid values are OPENandCLOSE. Cannot be changed at the same time ases_acl.
- renewFlag String
- When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are RENEW_FLAG_AUTOandRENEW_FLAG_MANUAL. NOTE: it only works when charge_type is set toPREPAID.
- subnetId String
- The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or -.
- Map<String>
- A mapping of tags to assign to the instance. For tag limits, please refer to Use Limits.
- webNode List<Property Map>Type Infos 
- Visual node configuration.
Outputs
All input properties are implicitly available as output properties. Additionally, the ElasticsearchInstance resource produces the following output properties:
- CreateTime string
- Instance creation time.
- ElasticsearchDomain string
- Elasticsearch domain name.
- ElasticsearchPort double
- Elasticsearch port.
- ElasticsearchVip string
- Elasticsearch VIP.
- EsPublic stringUrl 
- Es public network address.
- Id string
- The provider-assigned unique ID for this managed resource.
- KibanaUrl string
- Kibana access URL.
- CreateTime string
- Instance creation time.
- ElasticsearchDomain string
- Elasticsearch domain name.
- ElasticsearchPort float64
- Elasticsearch port.
- ElasticsearchVip string
- Elasticsearch VIP.
- EsPublic stringUrl 
- Es public network address.
- Id string
- The provider-assigned unique ID for this managed resource.
- KibanaUrl string
- Kibana access URL.
- createTime String
- Instance creation time.
- elasticsearchDomain String
- Elasticsearch domain name.
- elasticsearchPort Double
- Elasticsearch port.
- elasticsearchVip String
- Elasticsearch VIP.
- esPublic StringUrl 
- Es public network address.
- id String
- The provider-assigned unique ID for this managed resource.
- kibanaUrl String
- Kibana access URL.
- createTime string
- Instance creation time.
- elasticsearchDomain string
- Elasticsearch domain name.
- elasticsearchPort number
- Elasticsearch port.
- elasticsearchVip string
- Elasticsearch VIP.
- esPublic stringUrl 
- Es public network address.
- id string
- The provider-assigned unique ID for this managed resource.
- kibanaUrl string
- Kibana access URL.
- create_time str
- Instance creation time.
- elasticsearch_domain str
- Elasticsearch domain name.
- elasticsearch_port float
- Elasticsearch port.
- elasticsearch_vip str
- Elasticsearch VIP.
- es_public_ strurl 
- Es public network address.
- id str
- The provider-assigned unique ID for this managed resource.
- kibana_url str
- Kibana access URL.
- createTime String
- Instance creation time.
- elasticsearchDomain String
- Elasticsearch domain name.
- elasticsearchPort Number
- Elasticsearch port.
- elasticsearchVip String
- Elasticsearch VIP.
- esPublic StringUrl 
- Es public network address.
- id String
- The provider-assigned unique ID for this managed resource.
- kibanaUrl String
- Kibana access URL.
Look up Existing ElasticsearchInstance Resource
Get an existing ElasticsearchInstance 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?: ElasticsearchInstanceState, opts?: CustomResourceOptions): ElasticsearchInstance@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        availability_zone: Optional[str] = None,
        basic_security_type: Optional[float] = None,
        charge_period: Optional[float] = None,
        charge_type: Optional[str] = None,
        cos_backup: Optional[ElasticsearchInstanceCosBackupArgs] = None,
        create_time: Optional[str] = None,
        deploy_mode: Optional[float] = None,
        elasticsearch_domain: Optional[str] = None,
        elasticsearch_instance_id: Optional[str] = None,
        elasticsearch_port: Optional[float] = None,
        elasticsearch_vip: Optional[str] = None,
        es_acl: Optional[ElasticsearchInstanceEsAclArgs] = None,
        es_public_acl: Optional[ElasticsearchInstanceEsPublicAclArgs] = None,
        es_public_url: Optional[str] = None,
        instance_name: Optional[str] = None,
        kibana_public_access: Optional[str] = None,
        kibana_url: Optional[str] = None,
        license_type: Optional[str] = None,
        multi_zone_infos: Optional[Sequence[ElasticsearchInstanceMultiZoneInfoArgs]] = None,
        node_info_lists: Optional[Sequence[ElasticsearchInstanceNodeInfoListArgs]] = None,
        password: Optional[str] = None,
        public_access: Optional[str] = None,
        renew_flag: Optional[str] = None,
        subnet_id: Optional[str] = None,
        tags: Optional[Mapping[str, str]] = None,
        version: Optional[str] = None,
        vpc_id: Optional[str] = None,
        web_node_type_infos: Optional[Sequence[ElasticsearchInstanceWebNodeTypeInfoArgs]] = None) -> ElasticsearchInstancefunc GetElasticsearchInstance(ctx *Context, name string, id IDInput, state *ElasticsearchInstanceState, opts ...ResourceOption) (*ElasticsearchInstance, error)public static ElasticsearchInstance Get(string name, Input<string> id, ElasticsearchInstanceState? state, CustomResourceOptions? opts = null)public static ElasticsearchInstance get(String name, Output<String> id, ElasticsearchInstanceState state, CustomResourceOptions options)resources:  _:    type: tencentcloud:ElasticsearchInstance    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.
- AvailabilityZone string
- Availability zone. When create multi-az es, this parameter must be omitted or -.
- BasicSecurity doubleType 
- Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are 1and2.1is disabled,2is enabled, and default value is1. Notice: this parameter is only take effect onbasiclicense.
- ChargePeriod double
- The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to PREPAID.
- ChargeType string
- The charge type of instance. Valid values are PREPAIDandPOSTPAID_BY_HOUR.
- CosBackup ElasticsearchInstance Cos Backup 
- COS automatic backup information.
- CreateTime string
- Instance creation time.
- DeployMode double
- Cluster deployment mode. Valid values are 0and1.0is single-AZ deployment, and1is multi-AZ deployment. Default value is0.
- ElasticsearchDomain string
- Elasticsearch domain name.
- ElasticsearchInstance stringId 
- ID of the resource.
- ElasticsearchPort double
- Elasticsearch port.
- ElasticsearchVip string
- Elasticsearch VIP.
- EsAcl ElasticsearchInstance Es Acl 
- Kibana Access Control Configuration.
- EsPublic ElasticsearchAcl Instance Es Public Acl 
- Public network access control list.
- EsPublic stringUrl 
- Es public network address.
- InstanceName string
- Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- KibanaPublic stringAccess 
- Kibana public network access status. Valid values are OPENandCLOSE.
- KibanaUrl string
- Kibana access URL.
- LicenseType string
- License type. Valid values are oss,basicandplatinum. The default value isplatinum.
- MultiZone List<ElasticsearchInfos Instance Multi Zone Info> 
- Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is 1).
- NodeInfo List<ElasticsearchLists Instance Node Info List> 
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size.
- Password string
- Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols.
- PublicAccess string
- ES cluster public network access status. Valid values are OPENandCLOSE. Cannot be changed at the same time ases_acl.
- RenewFlag string
- When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are RENEW_FLAG_AUTOandRENEW_FLAG_MANUAL. NOTE: it only works when charge_type is set toPREPAID.
- SubnetId string
- The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or -.
- Dictionary<string, string>
- A mapping of tags to assign to the instance. For tag limits, please refer to Use Limits.
- Version string
- Version of the instance. Valid values are 5.6.4,6.4.3,6.8.2,7.5.1and7.10.1.
- VpcId string
- The ID of a VPC network.
- WebNode List<ElasticsearchType Infos Instance Web Node Type Info> 
- Visual node configuration.
- AvailabilityZone string
- Availability zone. When create multi-az es, this parameter must be omitted or -.
- BasicSecurity float64Type 
- Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are 1and2.1is disabled,2is enabled, and default value is1. Notice: this parameter is only take effect onbasiclicense.
- ChargePeriod float64
- The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to PREPAID.
- ChargeType string
- The charge type of instance. Valid values are PREPAIDandPOSTPAID_BY_HOUR.
- CosBackup ElasticsearchInstance Cos Backup Args 
- COS automatic backup information.
- CreateTime string
- Instance creation time.
- DeployMode float64
- Cluster deployment mode. Valid values are 0and1.0is single-AZ deployment, and1is multi-AZ deployment. Default value is0.
- ElasticsearchDomain string
- Elasticsearch domain name.
- ElasticsearchInstance stringId 
- ID of the resource.
- ElasticsearchPort float64
- Elasticsearch port.
- ElasticsearchVip string
- Elasticsearch VIP.
- EsAcl ElasticsearchInstance Es Acl Args 
- Kibana Access Control Configuration.
- EsPublic ElasticsearchAcl Instance Es Public Acl Args 
- Public network access control list.
- EsPublic stringUrl 
- Es public network address.
- InstanceName string
- Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- KibanaPublic stringAccess 
- Kibana public network access status. Valid values are OPENandCLOSE.
- KibanaUrl string
- Kibana access URL.
- LicenseType string
- License type. Valid values are oss,basicandplatinum. The default value isplatinum.
- MultiZone []ElasticsearchInfos Instance Multi Zone Info Args 
- Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is 1).
- NodeInfo []ElasticsearchLists Instance Node Info List Args 
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size.
- Password string
- Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols.
- PublicAccess string
- ES cluster public network access status. Valid values are OPENandCLOSE. Cannot be changed at the same time ases_acl.
- RenewFlag string
- When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are RENEW_FLAG_AUTOandRENEW_FLAG_MANUAL. NOTE: it only works when charge_type is set toPREPAID.
- SubnetId string
- The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or -.
- map[string]string
- A mapping of tags to assign to the instance. For tag limits, please refer to Use Limits.
- Version string
- Version of the instance. Valid values are 5.6.4,6.4.3,6.8.2,7.5.1and7.10.1.
- VpcId string
- The ID of a VPC network.
- WebNode []ElasticsearchType Infos Instance Web Node Type Info Args 
- Visual node configuration.
- availabilityZone String
- Availability zone. When create multi-az es, this parameter must be omitted or -.
- basicSecurity DoubleType 
- Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are 1and2.1is disabled,2is enabled, and default value is1. Notice: this parameter is only take effect onbasiclicense.
- chargePeriod Double
- The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to PREPAID.
- chargeType String
- The charge type of instance. Valid values are PREPAIDandPOSTPAID_BY_HOUR.
- cosBackup ElasticsearchInstance Cos Backup 
- COS automatic backup information.
- createTime String
- Instance creation time.
- deployMode Double
- Cluster deployment mode. Valid values are 0and1.0is single-AZ deployment, and1is multi-AZ deployment. Default value is0.
- elasticsearchDomain String
- Elasticsearch domain name.
- elasticsearchInstance StringId 
- ID of the resource.
- elasticsearchPort Double
- Elasticsearch port.
- elasticsearchVip String
- Elasticsearch VIP.
- esAcl ElasticsearchInstance Es Acl 
- Kibana Access Control Configuration.
- esPublic ElasticsearchAcl Instance Es Public Acl 
- Public network access control list.
- esPublic StringUrl 
- Es public network address.
- instanceName String
- Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- kibanaPublic StringAccess 
- Kibana public network access status. Valid values are OPENandCLOSE.
- kibanaUrl String
- Kibana access URL.
- licenseType String
- License type. Valid values are oss,basicandplatinum. The default value isplatinum.
- multiZone List<ElasticsearchInfos Instance Multi Zone Info> 
- Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is 1).
- nodeInfo List<ElasticsearchLists Instance Node Info List> 
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size.
- password String
- Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols.
- publicAccess String
- ES cluster public network access status. Valid values are OPENandCLOSE. Cannot be changed at the same time ases_acl.
- renewFlag String
- When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are RENEW_FLAG_AUTOandRENEW_FLAG_MANUAL. NOTE: it only works when charge_type is set toPREPAID.
- subnetId String
- The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or -.
- Map<String,String>
- A mapping of tags to assign to the instance. For tag limits, please refer to Use Limits.
- version String
- Version of the instance. Valid values are 5.6.4,6.4.3,6.8.2,7.5.1and7.10.1.
- vpcId String
- The ID of a VPC network.
- webNode List<ElasticsearchType Infos Instance Web Node Type Info> 
- Visual node configuration.
- availabilityZone string
- Availability zone. When create multi-az es, this parameter must be omitted or -.
- basicSecurity numberType 
- Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are 1and2.1is disabled,2is enabled, and default value is1. Notice: this parameter is only take effect onbasiclicense.
- chargePeriod number
- The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to PREPAID.
- chargeType string
- The charge type of instance. Valid values are PREPAIDandPOSTPAID_BY_HOUR.
- cosBackup ElasticsearchInstance Cos Backup 
- COS automatic backup information.
- createTime string
- Instance creation time.
- deployMode number
- Cluster deployment mode. Valid values are 0and1.0is single-AZ deployment, and1is multi-AZ deployment. Default value is0.
- elasticsearchDomain string
- Elasticsearch domain name.
- elasticsearchInstance stringId 
- ID of the resource.
- elasticsearchPort number
- Elasticsearch port.
- elasticsearchVip string
- Elasticsearch VIP.
- esAcl ElasticsearchInstance Es Acl 
- Kibana Access Control Configuration.
- esPublic ElasticsearchAcl Instance Es Public Acl 
- Public network access control list.
- esPublic stringUrl 
- Es public network address.
- instanceName string
- Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- kibanaPublic stringAccess 
- Kibana public network access status. Valid values are OPENandCLOSE.
- kibanaUrl string
- Kibana access URL.
- licenseType string
- License type. Valid values are oss,basicandplatinum. The default value isplatinum.
- multiZone ElasticsearchInfos Instance Multi Zone Info[] 
- Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is 1).
- nodeInfo ElasticsearchLists Instance Node Info List[] 
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size.
- password string
- Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols.
- publicAccess string
- ES cluster public network access status. Valid values are OPENandCLOSE. Cannot be changed at the same time ases_acl.
- renewFlag string
- When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are RENEW_FLAG_AUTOandRENEW_FLAG_MANUAL. NOTE: it only works when charge_type is set toPREPAID.
- subnetId string
- The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or -.
- {[key: string]: string}
- A mapping of tags to assign to the instance. For tag limits, please refer to Use Limits.
- version string
- Version of the instance. Valid values are 5.6.4,6.4.3,6.8.2,7.5.1and7.10.1.
- vpcId string
- The ID of a VPC network.
- webNode ElasticsearchType Infos Instance Web Node Type Info[] 
- Visual node configuration.
- availability_zone str
- Availability zone. When create multi-az es, this parameter must be omitted or -.
- basic_security_ floattype 
- Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are 1and2.1is disabled,2is enabled, and default value is1. Notice: this parameter is only take effect onbasiclicense.
- charge_period float
- The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to PREPAID.
- charge_type str
- The charge type of instance. Valid values are PREPAIDandPOSTPAID_BY_HOUR.
- cos_backup ElasticsearchInstance Cos Backup Args 
- COS automatic backup information.
- create_time str
- Instance creation time.
- deploy_mode float
- Cluster deployment mode. Valid values are 0and1.0is single-AZ deployment, and1is multi-AZ deployment. Default value is0.
- elasticsearch_domain str
- Elasticsearch domain name.
- elasticsearch_instance_ strid 
- ID of the resource.
- elasticsearch_port float
- Elasticsearch port.
- elasticsearch_vip str
- Elasticsearch VIP.
- es_acl ElasticsearchInstance Es Acl Args 
- Kibana Access Control Configuration.
- es_public_ Elasticsearchacl Instance Es Public Acl Args 
- Public network access control list.
- es_public_ strurl 
- Es public network address.
- instance_name str
- Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- kibana_public_ straccess 
- Kibana public network access status. Valid values are OPENandCLOSE.
- kibana_url str
- Kibana access URL.
- license_type str
- License type. Valid values are oss,basicandplatinum. The default value isplatinum.
- multi_zone_ Sequence[Elasticsearchinfos Instance Multi Zone Info Args] 
- Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is 1).
- node_info_ Sequence[Elasticsearchlists Instance Node Info List Args] 
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size.
- password str
- Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols.
- public_access str
- ES cluster public network access status. Valid values are OPENandCLOSE. Cannot be changed at the same time ases_acl.
- renew_flag str
- When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are RENEW_FLAG_AUTOandRENEW_FLAG_MANUAL. NOTE: it only works when charge_type is set toPREPAID.
- subnet_id str
- The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or -.
- Mapping[str, str]
- A mapping of tags to assign to the instance. For tag limits, please refer to Use Limits.
- version str
- Version of the instance. Valid values are 5.6.4,6.4.3,6.8.2,7.5.1and7.10.1.
- vpc_id str
- The ID of a VPC network.
- web_node_ Sequence[Elasticsearchtype_ infos Instance Web Node Type Info Args] 
- Visual node configuration.
- availabilityZone String
- Availability zone. When create multi-az es, this parameter must be omitted or -.
- basicSecurity NumberType 
- Whether to enable X-Pack security authentication in Basic Edition 6.8 and above. Valid values are 1and2.1is disabled,2is enabled, and default value is1. Notice: this parameter is only take effect onbasiclicense.
- chargePeriod Number
- The tenancy of the prepaid instance, and uint is month. NOTE: it only works when charge_type is set to PREPAID.
- chargeType String
- The charge type of instance. Valid values are PREPAIDandPOSTPAID_BY_HOUR.
- cosBackup Property Map
- COS automatic backup information.
- createTime String
- Instance creation time.
- deployMode Number
- Cluster deployment mode. Valid values are 0and1.0is single-AZ deployment, and1is multi-AZ deployment. Default value is0.
- elasticsearchDomain String
- Elasticsearch domain name.
- elasticsearchInstance StringId 
- ID of the resource.
- elasticsearchPort Number
- Elasticsearch port.
- elasticsearchVip String
- Elasticsearch VIP.
- esAcl Property Map
- Kibana Access Control Configuration.
- esPublic Property MapAcl 
- Public network access control list.
- esPublic StringUrl 
- Es public network address.
- instanceName String
- Name of the instance, which can contain 1 to 50 English letters, Chinese characters, digits, dashes(-), or underscores(_).
- kibanaPublic StringAccess 
- Kibana public network access status. Valid values are OPENandCLOSE.
- kibanaUrl String
- Kibana access URL.
- licenseType String
- License type. Valid values are oss,basicandplatinum. The default value isplatinum.
- multiZone List<Property Map>Infos 
- Details of AZs in multi-AZ deployment mode (which is required when deploy_mode is 1).
- nodeInfo List<Property Map>Lists 
- Node information list, which is used to describe the specification information of various types of nodes in the cluster, such as node type, node quantity, node specification, disk type, and disk size.
- password String
- Password to an instance, the password needs to be 8 to 16 characters, including at least two items ([a-z,A-Z], [0-9] and [-!@#$%&^*+=_:;,.?] special symbols.
- publicAccess String
- ES cluster public network access status. Valid values are OPENandCLOSE. Cannot be changed at the same time ases_acl.
- renewFlag String
- When enabled, the instance will be renew automatically when it reach the end of the prepaid tenancy. Valid values are RENEW_FLAG_AUTOandRENEW_FLAG_MANUAL. NOTE: it only works when charge_type is set toPREPAID.
- subnetId String
- The ID of a VPC subnetwork. When create multi-az es, this parameter must be omitted or -.
- Map<String>
- A mapping of tags to assign to the instance. For tag limits, please refer to Use Limits.
- version String
- Version of the instance. Valid values are 5.6.4,6.4.3,6.8.2,7.5.1and7.10.1.
- vpcId String
- The ID of a VPC network.
- webNode List<Property Map>Type Infos 
- Visual node configuration.
Supporting Types
ElasticsearchInstanceCosBackup, ElasticsearchInstanceCosBackupArgs        
- BackupTime string
- Automatic backup execution time (accurate to the hour), e.g. 22:00.
- IsAuto boolBackup 
- Whether to enable automatic backup of cos.
- BackupTime string
- Automatic backup execution time (accurate to the hour), e.g. 22:00.
- IsAuto boolBackup 
- Whether to enable automatic backup of cos.
- backupTime String
- Automatic backup execution time (accurate to the hour), e.g. 22:00.
- isAuto BooleanBackup 
- Whether to enable automatic backup of cos.
- backupTime string
- Automatic backup execution time (accurate to the hour), e.g. 22:00.
- isAuto booleanBackup 
- Whether to enable automatic backup of cos.
- backup_time str
- Automatic backup execution time (accurate to the hour), e.g. 22:00.
- is_auto_ boolbackup 
- Whether to enable automatic backup of cos.
- backupTime String
- Automatic backup execution time (accurate to the hour), e.g. 22:00.
- isAuto BooleanBackup 
- Whether to enable automatic backup of cos.
ElasticsearchInstanceEsAcl, ElasticsearchInstanceEsAclArgs        
- BlackLists List<string>
- Blacklist of kibana access.
- WhiteLists List<string>
- Whitelist of kibana access.
- BlackLists []string
- Blacklist of kibana access.
- WhiteLists []string
- Whitelist of kibana access.
- blackLists List<String>
- Blacklist of kibana access.
- whiteLists List<String>
- Whitelist of kibana access.
- blackLists string[]
- Blacklist of kibana access.
- whiteLists string[]
- Whitelist of kibana access.
- black_lists Sequence[str]
- Blacklist of kibana access.
- white_lists Sequence[str]
- Whitelist of kibana access.
- blackLists List<String>
- Blacklist of kibana access.
- whiteLists List<String>
- Whitelist of kibana access.
ElasticsearchInstanceEsPublicAcl, ElasticsearchInstanceEsPublicAclArgs          
- WhiteIp List<string>Lists 
- Access Whitelist.
- WhiteIp []stringLists 
- Access Whitelist.
- whiteIp List<String>Lists 
- Access Whitelist.
- whiteIp string[]Lists 
- Access Whitelist.
- white_ip_ Sequence[str]lists 
- Access Whitelist.
- whiteIp List<String>Lists 
- Access Whitelist.
ElasticsearchInstanceMultiZoneInfo, ElasticsearchInstanceMultiZoneInfoArgs          
- AvailabilityZone string
- Availability zone.
- SubnetId string
- The ID of a VPC subnetwork.
- AvailabilityZone string
- Availability zone.
- SubnetId string
- The ID of a VPC subnetwork.
- availabilityZone String
- Availability zone.
- subnetId String
- The ID of a VPC subnetwork.
- availabilityZone string
- Availability zone.
- subnetId string
- The ID of a VPC subnetwork.
- availability_zone str
- Availability zone.
- subnet_id str
- The ID of a VPC subnetwork.
- availabilityZone String
- Availability zone.
- subnetId String
- The ID of a VPC subnetwork.
ElasticsearchInstanceNodeInfoList, ElasticsearchInstanceNodeInfoListArgs          
- NodeNum double
- Number of nodes.
- NodeType string
- Node specification, and valid values refer to document of tencentcloud.
- DiskSize double
- Node disk size. Unit is GB, and default value is 100.
- DiskType string
- Node disk type. Valid values are CLOUD_SSD,CLOUD_PREMIUM,CLOUD_HSSD,CLOUD_BSSD,CLOUD_BIGDATAandCLOUD_HIGHIO. The default value isCLOUD_SSD.
- Encrypt bool
- Decides to encrypt this disk or not.
- Type string
- Node type. Valid values are hotData,warmDataanddedicatedMaster. The default value is 'hotData`.
- NodeNum float64
- Number of nodes.
- NodeType string
- Node specification, and valid values refer to document of tencentcloud.
- DiskSize float64
- Node disk size. Unit is GB, and default value is 100.
- DiskType string
- Node disk type. Valid values are CLOUD_SSD,CLOUD_PREMIUM,CLOUD_HSSD,CLOUD_BSSD,CLOUD_BIGDATAandCLOUD_HIGHIO. The default value isCLOUD_SSD.
- Encrypt bool
- Decides to encrypt this disk or not.
- Type string
- Node type. Valid values are hotData,warmDataanddedicatedMaster. The default value is 'hotData`.
- nodeNum Double
- Number of nodes.
- nodeType String
- Node specification, and valid values refer to document of tencentcloud.
- diskSize Double
- Node disk size. Unit is GB, and default value is 100.
- diskType String
- Node disk type. Valid values are CLOUD_SSD,CLOUD_PREMIUM,CLOUD_HSSD,CLOUD_BSSD,CLOUD_BIGDATAandCLOUD_HIGHIO. The default value isCLOUD_SSD.
- encrypt Boolean
- Decides to encrypt this disk or not.
- type String
- Node type. Valid values are hotData,warmDataanddedicatedMaster. The default value is 'hotData`.
- nodeNum number
- Number of nodes.
- nodeType string
- Node specification, and valid values refer to document of tencentcloud.
- diskSize number
- Node disk size. Unit is GB, and default value is 100.
- diskType string
- Node disk type. Valid values are CLOUD_SSD,CLOUD_PREMIUM,CLOUD_HSSD,CLOUD_BSSD,CLOUD_BIGDATAandCLOUD_HIGHIO. The default value isCLOUD_SSD.
- encrypt boolean
- Decides to encrypt this disk or not.
- type string
- Node type. Valid values are hotData,warmDataanddedicatedMaster. The default value is 'hotData`.
- node_num float
- Number of nodes.
- node_type str
- Node specification, and valid values refer to document of tencentcloud.
- disk_size float
- Node disk size. Unit is GB, and default value is 100.
- disk_type str
- Node disk type. Valid values are CLOUD_SSD,CLOUD_PREMIUM,CLOUD_HSSD,CLOUD_BSSD,CLOUD_BIGDATAandCLOUD_HIGHIO. The default value isCLOUD_SSD.
- encrypt bool
- Decides to encrypt this disk or not.
- type str
- Node type. Valid values are hotData,warmDataanddedicatedMaster. The default value is 'hotData`.
- nodeNum Number
- Number of nodes.
- nodeType String
- Node specification, and valid values refer to document of tencentcloud.
- diskSize Number
- Node disk size. Unit is GB, and default value is 100.
- diskType String
- Node disk type. Valid values are CLOUD_SSD,CLOUD_PREMIUM,CLOUD_HSSD,CLOUD_BSSD,CLOUD_BIGDATAandCLOUD_HIGHIO. The default value isCLOUD_SSD.
- encrypt Boolean
- Decides to encrypt this disk or not.
- type String
- Node type. Valid values are hotData,warmDataanddedicatedMaster. The default value is 'hotData`.
ElasticsearchInstanceWebNodeTypeInfo, ElasticsearchInstanceWebNodeTypeInfoArgs            
Import
Elasticsearch instance can be imported using the id, e.g.
$ pulumi import tencentcloud:index/elasticsearchInstance:ElasticsearchInstance foo es-17634f05
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- tencentcloud tencentcloudstack/terraform-provider-tencentcloud
- License
- Notes
- This Pulumi package is based on the tencentcloudTerraform Provider.