1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. elasticsearch
  5. Instance
Viewing docs for Alibaba Cloud v3.97.0
published on Saturday, Mar 14, 2026 by Pulumi
alicloud logo
Viewing docs for Alibaba Cloud v3.97.0
published on Saturday, Mar 14, 2026 by Pulumi

    Provides a Elasticsearch Instance resource.

    For information about Elasticsearch Instance and how to use it, see What is Instance.

    NOTE: Available since v1.30.0.

    Example Usage

    Basic Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as alicloud from "@pulumi/alicloud";
    
    const config = new pulumi.Config();
    const name = config.get("name") || "tf-example";
    const _default = alicloud.elasticsearch.getZones({});
    const defaultNetwork = new alicloud.vpc.Network("default", {
        vpcName: name,
        cidrBlock: "10.0.0.0/8",
    });
    const defaultSwitch = new alicloud.vpc.Switch("default", {
        vswitchName: name,
        cidrBlock: "10.1.0.0/16",
        vpcId: defaultNetwork.id,
        zoneId: _default.then(_default => _default.zones?.[0]?.id),
    });
    const defaultInstance = new alicloud.elasticsearch.Instance("default", {
        description: name,
        vswitchId: defaultSwitch.id,
        password: "Examplw1234",
        version: "7.10_with_X-Pack",
        paymentType: "PayAsYouGo",
        dataNodeAmount: 2,
        dataNodeSpec: "elasticsearch.sn2ne.large",
        dataNodeDiskSize: 20,
        dataNodeDiskType: "cloud_ssd",
        kibanaNodeSpec: "elasticsearch.sn2ne.large",
        dataNodeDiskPerformanceLevel: "PL1",
        tags: {
            Created: "TF",
            For: "example",
        },
    });
    
    import pulumi
    import pulumi_alicloud as alicloud
    
    config = pulumi.Config()
    name = config.get("name")
    if name is None:
        name = "tf-example"
    default = alicloud.elasticsearch.get_zones()
    default_network = alicloud.vpc.Network("default",
        vpc_name=name,
        cidr_block="10.0.0.0/8")
    default_switch = alicloud.vpc.Switch("default",
        vswitch_name=name,
        cidr_block="10.1.0.0/16",
        vpc_id=default_network.id,
        zone_id=default.zones[0].id)
    default_instance = alicloud.elasticsearch.Instance("default",
        description=name,
        vswitch_id=default_switch.id,
        password="Examplw1234",
        version="7.10_with_X-Pack",
        payment_type="PayAsYouGo",
        data_node_amount=2,
        data_node_spec="elasticsearch.sn2ne.large",
        data_node_disk_size=20,
        data_node_disk_type="cloud_ssd",
        kibana_node_spec="elasticsearch.sn2ne.large",
        data_node_disk_performance_level="PL1",
        tags={
            "Created": "TF",
            "For": "example",
        })
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/elasticsearch"
    	"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/vpc"
    	"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, "")
    		name := "tf-example"
    		if param := cfg.Get("name"); param != "" {
    			name = param
    		}
    		_default, err := elasticsearch.GetZones(ctx, &elasticsearch.GetZonesArgs{}, nil)
    		if err != nil {
    			return err
    		}
    		defaultNetwork, err := vpc.NewNetwork(ctx, "default", &vpc.NetworkArgs{
    			VpcName:   pulumi.String(name),
    			CidrBlock: pulumi.String("10.0.0.0/8"),
    		})
    		if err != nil {
    			return err
    		}
    		defaultSwitch, err := vpc.NewSwitch(ctx, "default", &vpc.SwitchArgs{
    			VswitchName: pulumi.String(name),
    			CidrBlock:   pulumi.String("10.1.0.0/16"),
    			VpcId:       defaultNetwork.ID(),
    			ZoneId:      pulumi.String(_default.Zones[0].Id),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = elasticsearch.NewInstance(ctx, "default", &elasticsearch.InstanceArgs{
    			Description:                  pulumi.String(name),
    			VswitchId:                    defaultSwitch.ID(),
    			Password:                     pulumi.String("Examplw1234"),
    			Version:                      pulumi.String("7.10_with_X-Pack"),
    			PaymentType:                  pulumi.String("PayAsYouGo"),
    			DataNodeAmount:               pulumi.Int(2),
    			DataNodeSpec:                 pulumi.String("elasticsearch.sn2ne.large"),
    			DataNodeDiskSize:             pulumi.Int(20),
    			DataNodeDiskType:             pulumi.String("cloud_ssd"),
    			KibanaNodeSpec:               pulumi.String("elasticsearch.sn2ne.large"),
    			DataNodeDiskPerformanceLevel: pulumi.String("PL1"),
    			Tags: pulumi.StringMap{
    				"Created": pulumi.String("TF"),
    				"For":     pulumi.String("example"),
    			},
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using AliCloud = Pulumi.AliCloud;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var name = config.Get("name") ?? "tf-example";
        var @default = AliCloud.ElasticSearch.GetZones.Invoke();
    
        var defaultNetwork = new AliCloud.Vpc.Network("default", new()
        {
            VpcName = name,
            CidrBlock = "10.0.0.0/8",
        });
    
        var defaultSwitch = new AliCloud.Vpc.Switch("default", new()
        {
            VswitchName = name,
            CidrBlock = "10.1.0.0/16",
            VpcId = defaultNetwork.Id,
            ZoneId = @default.Apply(@default => @default.Apply(getZonesResult => getZonesResult.Zones[0]?.Id)),
        });
    
        var defaultInstance = new AliCloud.ElasticSearch.Instance("default", new()
        {
            Description = name,
            VswitchId = defaultSwitch.Id,
            Password = "Examplw1234",
            Version = "7.10_with_X-Pack",
            PaymentType = "PayAsYouGo",
            DataNodeAmount = 2,
            DataNodeSpec = "elasticsearch.sn2ne.large",
            DataNodeDiskSize = 20,
            DataNodeDiskType = "cloud_ssd",
            KibanaNodeSpec = "elasticsearch.sn2ne.large",
            DataNodeDiskPerformanceLevel = "PL1",
            Tags = 
            {
                { "Created", "TF" },
                { "For", "example" },
            },
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.alicloud.elasticsearch.ElasticsearchFunctions;
    import com.pulumi.alicloud.elasticsearch.inputs.GetZonesArgs;
    import com.pulumi.alicloud.vpc.Network;
    import com.pulumi.alicloud.vpc.NetworkArgs;
    import com.pulumi.alicloud.vpc.Switch;
    import com.pulumi.alicloud.vpc.SwitchArgs;
    import com.pulumi.alicloud.elasticsearch.Instance;
    import com.pulumi.alicloud.elasticsearch.InstanceArgs;
    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 name = config.get("name").orElse("tf-example");
            final var default = ElasticsearchFunctions.getZones(GetZonesArgs.builder()
                .build());
    
            var defaultNetwork = new Network("defaultNetwork", NetworkArgs.builder()
                .vpcName(name)
                .cidrBlock("10.0.0.0/8")
                .build());
    
            var defaultSwitch = new Switch("defaultSwitch", SwitchArgs.builder()
                .vswitchName(name)
                .cidrBlock("10.1.0.0/16")
                .vpcId(defaultNetwork.id())
                .zoneId(default_.zones()[0].id())
                .build());
    
            var defaultInstance = new Instance("defaultInstance", InstanceArgs.builder()
                .description(name)
                .vswitchId(defaultSwitch.id())
                .password("Examplw1234")
                .version("7.10_with_X-Pack")
                .paymentType("PayAsYouGo")
                .dataNodeAmount(2)
                .dataNodeSpec("elasticsearch.sn2ne.large")
                .dataNodeDiskSize(20)
                .dataNodeDiskType("cloud_ssd")
                .kibanaNodeSpec("elasticsearch.sn2ne.large")
                .dataNodeDiskPerformanceLevel("PL1")
                .tags(Map.ofEntries(
                    Map.entry("Created", "TF"),
                    Map.entry("For", "example")
                ))
                .build());
    
        }
    }
    
    configuration:
      name:
        type: string
        default: tf-example
    resources:
      defaultNetwork:
        type: alicloud:vpc:Network
        name: default
        properties:
          vpcName: ${name}
          cidrBlock: 10.0.0.0/8
      defaultSwitch:
        type: alicloud:vpc:Switch
        name: default
        properties:
          vswitchName: ${name}
          cidrBlock: 10.1.0.0/16
          vpcId: ${defaultNetwork.id}
          zoneId: ${default.zones[0].id}
      defaultInstance:
        type: alicloud:elasticsearch:Instance
        name: default
        properties:
          description: ${name}
          vswitchId: ${defaultSwitch.id}
          password: Examplw1234
          version: 7.10_with_X-Pack
          paymentType: PayAsYouGo
          dataNodeAmount: '2'
          dataNodeSpec: elasticsearch.sn2ne.large
          dataNodeDiskSize: '20'
          dataNodeDiskType: cloud_ssd
          kibanaNodeSpec: elasticsearch.sn2ne.large
          dataNodeDiskPerformanceLevel: PL1
          tags:
            Created: TF
            For: example
    variables:
      default:
        fn::invoke:
          function: alicloud:elasticsearch:getZones
          arguments: {}
    

    📚 Need more examples? VIEW MORE EXAMPLES

    Create Instance Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);
    @overload
    def Instance(resource_name: str,
                 args: InstanceArgs,
                 opts: Optional[ResourceOptions] = None)
    
    @overload
    def Instance(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 version: Optional[str] = None,
                 vswitch_id: Optional[str] = None,
                 auto_renew_duration: Optional[int] = None,
                 client_node_amount: Optional[int] = None,
                 client_node_configuration: Optional[InstanceClientNodeConfigurationArgs] = None,
                 client_node_spec: Optional[str] = None,
                 data_node_amount: Optional[int] = None,
                 data_node_configuration: Optional[InstanceDataNodeConfigurationArgs] = None,
                 data_node_disk_encrypted: Optional[bool] = None,
                 data_node_disk_performance_level: Optional[str] = None,
                 data_node_disk_size: Optional[int] = None,
                 data_node_disk_type: Optional[str] = None,
                 data_node_spec: Optional[str] = None,
                 description: Optional[str] = None,
                 enable_kibana_private_network: Optional[bool] = None,
                 enable_kibana_public_network: Optional[bool] = None,
                 enable_public: Optional[bool] = None,
                 force: Optional[bool] = None,
                 instance_category: Optional[str] = None,
                 instance_charge_type: Optional[str] = None,
                 kibana_configuration: Optional[InstanceKibanaConfigurationArgs] = None,
                 kibana_node_spec: Optional[str] = None,
                 kibana_private_security_group_id: Optional[str] = None,
                 kibana_private_whitelists: Optional[Sequence[str]] = None,
                 kibana_whitelists: Optional[Sequence[str]] = None,
                 kms_encrypted_password: Optional[str] = None,
                 kms_encryption_context: Optional[Mapping[str, str]] = None,
                 master_configuration: Optional[InstanceMasterConfigurationArgs] = None,
                 master_node_disk_type: Optional[str] = None,
                 master_node_spec: Optional[str] = None,
                 order_action_type: Optional[str] = None,
                 password: Optional[str] = None,
                 payment_type: Optional[str] = None,
                 period: Optional[int] = None,
                 private_whitelists: Optional[Sequence[str]] = None,
                 protocol: Optional[str] = None,
                 public_whitelists: Optional[Sequence[str]] = None,
                 renew_status: Optional[str] = None,
                 renewal_duration_unit: Optional[str] = None,
                 resource_group_id: Optional[str] = None,
                 setting_config: Optional[Mapping[str, str]] = None,
                 tags: Optional[Mapping[str, str]] = None,
                 update_strategy: Optional[str] = None,
                 warm_node_amount: Optional[int] = None,
                 warm_node_configuration: Optional[InstanceWarmNodeConfigurationArgs] = None,
                 warm_node_disk_encrypted: Optional[bool] = None,
                 warm_node_disk_size: Optional[int] = None,
                 warm_node_disk_type: Optional[str] = None,
                 warm_node_spec: Optional[str] = None,
                 zone_count: Optional[int] = None)
    func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
    public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
    public Instance(String name, InstanceArgs args)
    public Instance(String name, InstanceArgs args, CustomResourceOptions options)
    
    type: alicloud:elasticsearch:Instance
    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 InstanceArgs
    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 InstanceArgs
    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 InstanceArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InstanceArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var exampleinstanceResourceResourceFromElasticsearchinstance = new AliCloud.ElasticSearch.Instance("exampleinstanceResourceResourceFromElasticsearchinstance", new()
    {
        Version = "string",
        VswitchId = "string",
        AutoRenewDuration = 0,
        ClientNodeConfiguration = new AliCloud.ElasticSearch.Inputs.InstanceClientNodeConfigurationArgs
        {
            Amount = 0,
            Disk = 0,
            DiskType = "string",
            Spec = "string",
        },
        DataNodeConfiguration = new AliCloud.ElasticSearch.Inputs.InstanceDataNodeConfigurationArgs
        {
            Spec = "string",
            Amount = 0,
            Disk = 0,
            DiskEncryption = false,
            DiskType = "string",
            PerformanceLevel = "string",
        },
        Description = "string",
        EnableKibanaPrivateNetwork = false,
        EnableKibanaPublicNetwork = false,
        EnablePublic = false,
        Force = false,
        InstanceCategory = "string",
        KibanaConfiguration = new AliCloud.ElasticSearch.Inputs.InstanceKibanaConfigurationArgs
        {
            Spec = "string",
            Amount = 0,
            Disk = 0,
        },
        KibanaPrivateSecurityGroupId = "string",
        KibanaPrivateWhitelists = new[]
        {
            "string",
        },
        KibanaWhitelists = new[]
        {
            "string",
        },
        KmsEncryptedPassword = "string",
        KmsEncryptionContext = 
        {
            { "string", "string" },
        },
        MasterConfiguration = new AliCloud.ElasticSearch.Inputs.InstanceMasterConfigurationArgs
        {
            Amount = 0,
            Disk = 0,
            DiskType = "string",
            Spec = "string",
        },
        OrderActionType = "string",
        Password = "string",
        PaymentType = "string",
        Period = 0,
        PrivateWhitelists = new[]
        {
            "string",
        },
        Protocol = "string",
        PublicWhitelists = new[]
        {
            "string",
        },
        RenewStatus = "string",
        RenewalDurationUnit = "string",
        ResourceGroupId = "string",
        SettingConfig = 
        {
            { "string", "string" },
        },
        Tags = 
        {
            { "string", "string" },
        },
        UpdateStrategy = "string",
        WarmNodeConfiguration = new AliCloud.ElasticSearch.Inputs.InstanceWarmNodeConfigurationArgs
        {
            Amount = 0,
            Disk = 0,
            DiskEncryption = false,
            DiskType = "string",
            Spec = "string",
        },
        ZoneCount = 0,
    });
    
    example, err := elasticsearch.NewInstance(ctx, "exampleinstanceResourceResourceFromElasticsearchinstance", &elasticsearch.InstanceArgs{
    	Version:           pulumi.String("string"),
    	VswitchId:         pulumi.String("string"),
    	AutoRenewDuration: pulumi.Int(0),
    	ClientNodeConfiguration: &elasticsearch.InstanceClientNodeConfigurationArgs{
    		Amount:   pulumi.Int(0),
    		Disk:     pulumi.Int(0),
    		DiskType: pulumi.String("string"),
    		Spec:     pulumi.String("string"),
    	},
    	DataNodeConfiguration: &elasticsearch.InstanceDataNodeConfigurationArgs{
    		Spec:             pulumi.String("string"),
    		Amount:           pulumi.Int(0),
    		Disk:             pulumi.Int(0),
    		DiskEncryption:   pulumi.Bool(false),
    		DiskType:         pulumi.String("string"),
    		PerformanceLevel: pulumi.String("string"),
    	},
    	Description:                pulumi.String("string"),
    	EnableKibanaPrivateNetwork: pulumi.Bool(false),
    	EnableKibanaPublicNetwork:  pulumi.Bool(false),
    	EnablePublic:               pulumi.Bool(false),
    	Force:                      pulumi.Bool(false),
    	InstanceCategory:           pulumi.String("string"),
    	KibanaConfiguration: &elasticsearch.InstanceKibanaConfigurationArgs{
    		Spec:   pulumi.String("string"),
    		Amount: pulumi.Int(0),
    		Disk:   pulumi.Int(0),
    	},
    	KibanaPrivateSecurityGroupId: pulumi.String("string"),
    	KibanaPrivateWhitelists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	KibanaWhitelists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	KmsEncryptedPassword: pulumi.String("string"),
    	KmsEncryptionContext: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	MasterConfiguration: &elasticsearch.InstanceMasterConfigurationArgs{
    		Amount:   pulumi.Int(0),
    		Disk:     pulumi.Int(0),
    		DiskType: pulumi.String("string"),
    		Spec:     pulumi.String("string"),
    	},
    	OrderActionType: pulumi.String("string"),
    	Password:        pulumi.String("string"),
    	PaymentType:     pulumi.String("string"),
    	Period:          pulumi.Int(0),
    	PrivateWhitelists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Protocol: pulumi.String("string"),
    	PublicWhitelists: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	RenewStatus:         pulumi.String("string"),
    	RenewalDurationUnit: pulumi.String("string"),
    	ResourceGroupId:     pulumi.String("string"),
    	SettingConfig: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Tags: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	UpdateStrategy: pulumi.String("string"),
    	WarmNodeConfiguration: &elasticsearch.InstanceWarmNodeConfigurationArgs{
    		Amount:         pulumi.Int(0),
    		Disk:           pulumi.Int(0),
    		DiskEncryption: pulumi.Bool(false),
    		DiskType:       pulumi.String("string"),
    		Spec:           pulumi.String("string"),
    	},
    	ZoneCount: pulumi.Int(0),
    })
    
    var exampleinstanceResourceResourceFromElasticsearchinstance = new com.pulumi.alicloud.elasticsearch.Instance("exampleinstanceResourceResourceFromElasticsearchinstance", com.pulumi.alicloud.elasticsearch.InstanceArgs.builder()
        .version("string")
        .vswitchId("string")
        .autoRenewDuration(0)
        .clientNodeConfiguration(InstanceClientNodeConfigurationArgs.builder()
            .amount(0)
            .disk(0)
            .diskType("string")
            .spec("string")
            .build())
        .dataNodeConfiguration(InstanceDataNodeConfigurationArgs.builder()
            .spec("string")
            .amount(0)
            .disk(0)
            .diskEncryption(false)
            .diskType("string")
            .performanceLevel("string")
            .build())
        .description("string")
        .enableKibanaPrivateNetwork(false)
        .enableKibanaPublicNetwork(false)
        .enablePublic(false)
        .force(false)
        .instanceCategory("string")
        .kibanaConfiguration(InstanceKibanaConfigurationArgs.builder()
            .spec("string")
            .amount(0)
            .disk(0)
            .build())
        .kibanaPrivateSecurityGroupId("string")
        .kibanaPrivateWhitelists("string")
        .kibanaWhitelists("string")
        .kmsEncryptedPassword("string")
        .kmsEncryptionContext(Map.of("string", "string"))
        .masterConfiguration(InstanceMasterConfigurationArgs.builder()
            .amount(0)
            .disk(0)
            .diskType("string")
            .spec("string")
            .build())
        .orderActionType("string")
        .password("string")
        .paymentType("string")
        .period(0)
        .privateWhitelists("string")
        .protocol("string")
        .publicWhitelists("string")
        .renewStatus("string")
        .renewalDurationUnit("string")
        .resourceGroupId("string")
        .settingConfig(Map.of("string", "string"))
        .tags(Map.of("string", "string"))
        .updateStrategy("string")
        .warmNodeConfiguration(InstanceWarmNodeConfigurationArgs.builder()
            .amount(0)
            .disk(0)
            .diskEncryption(false)
            .diskType("string")
            .spec("string")
            .build())
        .zoneCount(0)
        .build());
    
    exampleinstance_resource_resource_from_elasticsearchinstance = alicloud.elasticsearch.Instance("exampleinstanceResourceResourceFromElasticsearchinstance",
        version="string",
        vswitch_id="string",
        auto_renew_duration=0,
        client_node_configuration={
            "amount": 0,
            "disk": 0,
            "disk_type": "string",
            "spec": "string",
        },
        data_node_configuration={
            "spec": "string",
            "amount": 0,
            "disk": 0,
            "disk_encryption": False,
            "disk_type": "string",
            "performance_level": "string",
        },
        description="string",
        enable_kibana_private_network=False,
        enable_kibana_public_network=False,
        enable_public=False,
        force=False,
        instance_category="string",
        kibana_configuration={
            "spec": "string",
            "amount": 0,
            "disk": 0,
        },
        kibana_private_security_group_id="string",
        kibana_private_whitelists=["string"],
        kibana_whitelists=["string"],
        kms_encrypted_password="string",
        kms_encryption_context={
            "string": "string",
        },
        master_configuration={
            "amount": 0,
            "disk": 0,
            "disk_type": "string",
            "spec": "string",
        },
        order_action_type="string",
        password="string",
        payment_type="string",
        period=0,
        private_whitelists=["string"],
        protocol="string",
        public_whitelists=["string"],
        renew_status="string",
        renewal_duration_unit="string",
        resource_group_id="string",
        setting_config={
            "string": "string",
        },
        tags={
            "string": "string",
        },
        update_strategy="string",
        warm_node_configuration={
            "amount": 0,
            "disk": 0,
            "disk_encryption": False,
            "disk_type": "string",
            "spec": "string",
        },
        zone_count=0)
    
    const exampleinstanceResourceResourceFromElasticsearchinstance = new alicloud.elasticsearch.Instance("exampleinstanceResourceResourceFromElasticsearchinstance", {
        version: "string",
        vswitchId: "string",
        autoRenewDuration: 0,
        clientNodeConfiguration: {
            amount: 0,
            disk: 0,
            diskType: "string",
            spec: "string",
        },
        dataNodeConfiguration: {
            spec: "string",
            amount: 0,
            disk: 0,
            diskEncryption: false,
            diskType: "string",
            performanceLevel: "string",
        },
        description: "string",
        enableKibanaPrivateNetwork: false,
        enableKibanaPublicNetwork: false,
        enablePublic: false,
        force: false,
        instanceCategory: "string",
        kibanaConfiguration: {
            spec: "string",
            amount: 0,
            disk: 0,
        },
        kibanaPrivateSecurityGroupId: "string",
        kibanaPrivateWhitelists: ["string"],
        kibanaWhitelists: ["string"],
        kmsEncryptedPassword: "string",
        kmsEncryptionContext: {
            string: "string",
        },
        masterConfiguration: {
            amount: 0,
            disk: 0,
            diskType: "string",
            spec: "string",
        },
        orderActionType: "string",
        password: "string",
        paymentType: "string",
        period: 0,
        privateWhitelists: ["string"],
        protocol: "string",
        publicWhitelists: ["string"],
        renewStatus: "string",
        renewalDurationUnit: "string",
        resourceGroupId: "string",
        settingConfig: {
            string: "string",
        },
        tags: {
            string: "string",
        },
        updateStrategy: "string",
        warmNodeConfiguration: {
            amount: 0,
            disk: 0,
            diskEncryption: false,
            diskType: "string",
            spec: "string",
        },
        zoneCount: 0,
    });
    
    type: alicloud:elasticsearch:Instance
    properties:
        autoRenewDuration: 0
        clientNodeConfiguration:
            amount: 0
            disk: 0
            diskType: string
            spec: string
        dataNodeConfiguration:
            amount: 0
            disk: 0
            diskEncryption: false
            diskType: string
            performanceLevel: string
            spec: string
        description: string
        enableKibanaPrivateNetwork: false
        enableKibanaPublicNetwork: false
        enablePublic: false
        force: false
        instanceCategory: string
        kibanaConfiguration:
            amount: 0
            disk: 0
            spec: string
        kibanaPrivateSecurityGroupId: string
        kibanaPrivateWhitelists:
            - string
        kibanaWhitelists:
            - string
        kmsEncryptedPassword: string
        kmsEncryptionContext:
            string: string
        masterConfiguration:
            amount: 0
            disk: 0
            diskType: string
            spec: string
        orderActionType: string
        password: string
        paymentType: string
        period: 0
        privateWhitelists:
            - string
        protocol: string
        publicWhitelists:
            - string
        renewStatus: string
        renewalDurationUnit: string
        resourceGroupId: string
        settingConfig:
            string: string
        tags:
            string: string
        updateStrategy: string
        version: string
        vswitchId: string
        warmNodeConfiguration:
            amount: 0
            disk: 0
            diskEncryption: false
            diskType: string
            spec: string
        zoneCount: 0
    

    Instance 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 Instance resource accepts the following input properties:

    Version string

    The instance version. Valid values:

    • 8.5.1_with_X-Pack
    • 7.10_with_X-Pack
    • 6.7_with_X-Pack
    • 7.7_with_X-Pack
    • 6.8_with_X-Pack
    • 6.3_with_X-Pack
    • 5.6_with_X-Pack
    • 5.5.3_with_X-Pack

    NOTE: The versions listed above might not include all versions supported by Elasticsearch instances. You can call the GetRegionConfiguration operation to view the actual supported versions.

    VswitchId string
    The ID of VSwitch.
    AutoRenewDuration int
    Number of auto-renewal periods.
    ClientNodeAmount int
    The Elasticsearch cluster's client node quantity, between 2 and 25.

    Deprecated: Field 'client_node_amount' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.amount' instead.

    ClientNodeConfiguration Pulumi.AliCloud.ElasticSearch.Inputs.InstanceClientNodeConfiguration
    Configuration of dedicated coordinating nodes in the Elasticsearch cluster. See client_node_configuration below.
    ClientNodeSpec string
    The client node spec. If specified, client node will be created.

    Deprecated: Field 'client_node_spec' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.spec' instead.

    DataNodeAmount int
    The Elasticsearch cluster's data node quantity, between 2 and 50.

    Deprecated: Field 'data_node_amount' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.amount' instead.

    DataNodeConfiguration Pulumi.AliCloud.ElasticSearch.Inputs.InstanceDataNodeConfiguration
    Elasticsearch data node information. See data_node_configuration below.
    DataNodeDiskEncrypted bool
    If encrypt the data node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'data_node_disk_encrypted' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_encrypted' instead.

    DataNodeDiskPerformanceLevel string
    Cloud disk performance level. Valid values are PL0, PL1, PL2, PL3. The data_node_disk_type muse be cloud_essd.

    Deprecated: Field 'data_node_disk_performance_level' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.performance_level' instead.

    DataNodeDiskSize int
    The single data node storage space.

    Deprecated: Field 'data_node_disk_size' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk' instead.

    DataNodeDiskType string
    The data node disk type. Supported values: cloud_ssd, cloud_efficiency.

    Deprecated: Field 'data_node_disk_type' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_type' instead.

    DataNodeSpec string
    The data node specifications of the Elasticsearch instance.

    Deprecated: Field 'data_node_spec' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.spec' instead.

    Description string
    Instance name, which supports fuzzy search. For example, searching for all instances containing abc may return instances named abc, abcde, xyabc, or xabcy.
    EnableKibanaPrivateNetwork bool
    Indicates whether private network access to Kibana is enabled. Valid values:

    • true: Enabled
    • false: Disabled
    EnableKibanaPublicNetwork bool
    Specifies whether to enable public access to Kibana. Valid values:

    • true: Enables public access.
    • false: Disables public access.
    EnablePublic bool
    Specifies whether to enable a public endpoint for the instance. Valid values:

    • true: Enables the public endpoint.
    • false: Disables the public endpoint.
    Force bool

    Whether to force a restart:

    • true: Yes
    • false (default): No.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    InstanceCategory string
    Edition type:

    • x-pack: Creates a commercial edition instance, or a kernel-enhanced edition instance without Indexing Service or OpenStore enabled.
    • IS: Creates a kernel-enhanced edition instance with Indexing Service or OpenStore enabled.
    InstanceChargeType string
    Valid values are PrePaid, PostPaid. Default to PostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype from PostPaid to PrePaid, the following attributes are required: period. Use payment_type instead with values PayAsYouGo or Subscription.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.262.0. New field 'payment_type' instead.

    KibanaConfiguration Pulumi.AliCloud.ElasticSearch.Inputs.InstanceKibanaConfiguration
    The configuration of Elasticsearch Kibana nodes. See kibana_configuration below.
    KibanaNodeSpec string
    The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

    Deprecated: Field 'kibana_node_spec' has been deprecated since provider version 1.262.0. New field 'kibana_configuration.spec' instead.

    KibanaPrivateSecurityGroupId string
    List of security groups.
    KibanaPrivateWhitelists List<string>
    List of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    KibanaWhitelists List<string>
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    KmsEncryptedPassword string
    An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored, but you have to specify one of password and kms_encrypted_password fields.
    KmsEncryptionContext Dictionary<string, string>
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    MasterConfiguration Pulumi.AliCloud.ElasticSearch.Inputs.InstanceMasterConfiguration
    Configuration information for Elasticsearch dedicated master nodes. See master_configuration below.
    MasterNodeDiskType string
    The single master node storage space. Valid values are PrePaid, PostPaid.

    Deprecated: Field 'master_node_disk_type' has been deprecated since provider version 1.262.0. New field 'master_configuration.disk_type' instead.

    MasterNodeSpec string
    The dedicated master node spec. If specified, dedicated master node will be created.

    Deprecated: Field 'master_node_spec' has been deprecated since provider version 1.262.0. New field 'master_configuration.spec' instead.

    OrderActionType string

    Configuration change type. Valid values:

    • upgrade (default): Upgrade configuration
    • downgrade: Downgrade configuration.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    Password string
    The access password for the instance. It must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    PaymentType string
    The billing method of the instance. Supported values:

    • PayAsYouGo: Pay-as-you-go
    • Subscription: Subscription
    Period int
    The duration that you will buy Elasticsearch instance (in month). It is valid when PaymentType is Subscription. Valid values: [1~9], 12, 24, 36. Default to 1. From version 1.69.2, when to modify this value, the resource can renewal a PrePaid instance.
    PrivateWhitelists List<string>
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    Protocol string
    The access protocol. Supported protocols: HTTP and HTTPS.
    PublicWhitelists List<string>
    The IP address whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    RenewStatus string
    The renewal status. Valid values:

    • AutoRenewal: Auto-renewal.
    • ManualRenewal: Manual renewal.
    • NotRenewal: No renewal.
    RenewalDurationUnit string

    The unit of the auto-renewal period. Valid values:

    • M: Month.
    • Y: Year.

    NOTE: This parameter is required when RenewalStatus is set to AutoRenewal.

    ResourceGroupId string
    The ID of the resource group to which the instance belongs.
    SettingConfig Dictionary<string, string>
    YML configuration file settings for the instance.
    Tags Dictionary<string, string>
    Instance tag group.
    UpdateStrategy string

    Elasticsearch update strategy (for example, index updates, cluster upgrades, or service deployments). Valid values:

    • blue_green: Blue-green deployment, which enables seamless switching by running two identical environments (blue and green) in parallel.
    • normal: In-place update, which applies changes directly in the current environment (for example, upgrades or scaling) without requiring additional resources.
    • intelligent: Intelligent update, where the system automatically analyzes the update type and environment status to dynamically select the optimal strategy (either blue-green or in-place).

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    WarmNodeAmount int
    The Elasticsearch cluster's warm node quantity, between 3 and 50.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.amount' instead.

    WarmNodeConfiguration Pulumi.AliCloud.ElasticSearch.Inputs.InstanceWarmNodeConfiguration
    Cold data node configuration for the Elasticsearch cluster. See warm_node_configuration below.
    WarmNodeDiskEncrypted bool
    If encrypt the warm node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_encrypted' instead.

    WarmNodeDiskSize int
    The single warm node storage space, should between 500 and 20480

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk' instead.

    WarmNodeDiskType string
    The warm node disk type. Supported values: cloud_efficiency.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_type' instead.

    WarmNodeSpec string
    The warm node specifications of the Elasticsearch instance.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.spec' instead.

    ZoneCount int

    The number of zones for the instance. Valid values: 1, 2, and 3. Default value: 1.

    The following arguments will be discarded. Please use new fields as soon as possible:

    Version string

    The instance version. Valid values:

    • 8.5.1_with_X-Pack
    • 7.10_with_X-Pack
    • 6.7_with_X-Pack
    • 7.7_with_X-Pack
    • 6.8_with_X-Pack
    • 6.3_with_X-Pack
    • 5.6_with_X-Pack
    • 5.5.3_with_X-Pack

    NOTE: The versions listed above might not include all versions supported by Elasticsearch instances. You can call the GetRegionConfiguration operation to view the actual supported versions.

    VswitchId string
    The ID of VSwitch.
    AutoRenewDuration int
    Number of auto-renewal periods.
    ClientNodeAmount int
    The Elasticsearch cluster's client node quantity, between 2 and 25.

    Deprecated: Field 'client_node_amount' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.amount' instead.

    ClientNodeConfiguration InstanceClientNodeConfigurationArgs
    Configuration of dedicated coordinating nodes in the Elasticsearch cluster. See client_node_configuration below.
    ClientNodeSpec string
    The client node spec. If specified, client node will be created.

    Deprecated: Field 'client_node_spec' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.spec' instead.

    DataNodeAmount int
    The Elasticsearch cluster's data node quantity, between 2 and 50.

    Deprecated: Field 'data_node_amount' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.amount' instead.

    DataNodeConfiguration InstanceDataNodeConfigurationArgs
    Elasticsearch data node information. See data_node_configuration below.
    DataNodeDiskEncrypted bool
    If encrypt the data node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'data_node_disk_encrypted' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_encrypted' instead.

    DataNodeDiskPerformanceLevel string
    Cloud disk performance level. Valid values are PL0, PL1, PL2, PL3. The data_node_disk_type muse be cloud_essd.

    Deprecated: Field 'data_node_disk_performance_level' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.performance_level' instead.

    DataNodeDiskSize int
    The single data node storage space.

    Deprecated: Field 'data_node_disk_size' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk' instead.

    DataNodeDiskType string
    The data node disk type. Supported values: cloud_ssd, cloud_efficiency.

    Deprecated: Field 'data_node_disk_type' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_type' instead.

    DataNodeSpec string
    The data node specifications of the Elasticsearch instance.

    Deprecated: Field 'data_node_spec' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.spec' instead.

    Description string
    Instance name, which supports fuzzy search. For example, searching for all instances containing abc may return instances named abc, abcde, xyabc, or xabcy.
    EnableKibanaPrivateNetwork bool
    Indicates whether private network access to Kibana is enabled. Valid values:

    • true: Enabled
    • false: Disabled
    EnableKibanaPublicNetwork bool
    Specifies whether to enable public access to Kibana. Valid values:

    • true: Enables public access.
    • false: Disables public access.
    EnablePublic bool
    Specifies whether to enable a public endpoint for the instance. Valid values:

    • true: Enables the public endpoint.
    • false: Disables the public endpoint.
    Force bool

    Whether to force a restart:

    • true: Yes
    • false (default): No.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    InstanceCategory string
    Edition type:

    • x-pack: Creates a commercial edition instance, or a kernel-enhanced edition instance without Indexing Service or OpenStore enabled.
    • IS: Creates a kernel-enhanced edition instance with Indexing Service or OpenStore enabled.
    InstanceChargeType string
    Valid values are PrePaid, PostPaid. Default to PostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype from PostPaid to PrePaid, the following attributes are required: period. Use payment_type instead with values PayAsYouGo or Subscription.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.262.0. New field 'payment_type' instead.

    KibanaConfiguration InstanceKibanaConfigurationArgs
    The configuration of Elasticsearch Kibana nodes. See kibana_configuration below.
    KibanaNodeSpec string
    The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

    Deprecated: Field 'kibana_node_spec' has been deprecated since provider version 1.262.0. New field 'kibana_configuration.spec' instead.

    KibanaPrivateSecurityGroupId string
    List of security groups.
    KibanaPrivateWhitelists []string
    List of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    KibanaWhitelists []string
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    KmsEncryptedPassword string
    An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored, but you have to specify one of password and kms_encrypted_password fields.
    KmsEncryptionContext map[string]string
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    MasterConfiguration InstanceMasterConfigurationArgs
    Configuration information for Elasticsearch dedicated master nodes. See master_configuration below.
    MasterNodeDiskType string
    The single master node storage space. Valid values are PrePaid, PostPaid.

    Deprecated: Field 'master_node_disk_type' has been deprecated since provider version 1.262.0. New field 'master_configuration.disk_type' instead.

    MasterNodeSpec string
    The dedicated master node spec. If specified, dedicated master node will be created.

    Deprecated: Field 'master_node_spec' has been deprecated since provider version 1.262.0. New field 'master_configuration.spec' instead.

    OrderActionType string

    Configuration change type. Valid values:

    • upgrade (default): Upgrade configuration
    • downgrade: Downgrade configuration.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    Password string
    The access password for the instance. It must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    PaymentType string
    The billing method of the instance. Supported values:

    • PayAsYouGo: Pay-as-you-go
    • Subscription: Subscription
    Period int
    The duration that you will buy Elasticsearch instance (in month). It is valid when PaymentType is Subscription. Valid values: [1~9], 12, 24, 36. Default to 1. From version 1.69.2, when to modify this value, the resource can renewal a PrePaid instance.
    PrivateWhitelists []string
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    Protocol string
    The access protocol. Supported protocols: HTTP and HTTPS.
    PublicWhitelists []string
    The IP address whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    RenewStatus string
    The renewal status. Valid values:

    • AutoRenewal: Auto-renewal.
    • ManualRenewal: Manual renewal.
    • NotRenewal: No renewal.
    RenewalDurationUnit string

    The unit of the auto-renewal period. Valid values:

    • M: Month.
    • Y: Year.

    NOTE: This parameter is required when RenewalStatus is set to AutoRenewal.

    ResourceGroupId string
    The ID of the resource group to which the instance belongs.
    SettingConfig map[string]string
    YML configuration file settings for the instance.
    Tags map[string]string
    Instance tag group.
    UpdateStrategy string

    Elasticsearch update strategy (for example, index updates, cluster upgrades, or service deployments). Valid values:

    • blue_green: Blue-green deployment, which enables seamless switching by running two identical environments (blue and green) in parallel.
    • normal: In-place update, which applies changes directly in the current environment (for example, upgrades or scaling) without requiring additional resources.
    • intelligent: Intelligent update, where the system automatically analyzes the update type and environment status to dynamically select the optimal strategy (either blue-green or in-place).

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    WarmNodeAmount int
    The Elasticsearch cluster's warm node quantity, between 3 and 50.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.amount' instead.

    WarmNodeConfiguration InstanceWarmNodeConfigurationArgs
    Cold data node configuration for the Elasticsearch cluster. See warm_node_configuration below.
    WarmNodeDiskEncrypted bool
    If encrypt the warm node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_encrypted' instead.

    WarmNodeDiskSize int
    The single warm node storage space, should between 500 and 20480

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk' instead.

    WarmNodeDiskType string
    The warm node disk type. Supported values: cloud_efficiency.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_type' instead.

    WarmNodeSpec string
    The warm node specifications of the Elasticsearch instance.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.spec' instead.

    ZoneCount int

    The number of zones for the instance. Valid values: 1, 2, and 3. Default value: 1.

    The following arguments will be discarded. Please use new fields as soon as possible:

    version String

    The instance version. Valid values:

    • 8.5.1_with_X-Pack
    • 7.10_with_X-Pack
    • 6.7_with_X-Pack
    • 7.7_with_X-Pack
    • 6.8_with_X-Pack
    • 6.3_with_X-Pack
    • 5.6_with_X-Pack
    • 5.5.3_with_X-Pack

    NOTE: The versions listed above might not include all versions supported by Elasticsearch instances. You can call the GetRegionConfiguration operation to view the actual supported versions.

    vswitchId String
    The ID of VSwitch.
    autoRenewDuration Integer
    Number of auto-renewal periods.
    clientNodeAmount Integer
    The Elasticsearch cluster's client node quantity, between 2 and 25.

    Deprecated: Field 'client_node_amount' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.amount' instead.

    clientNodeConfiguration InstanceClientNodeConfiguration
    Configuration of dedicated coordinating nodes in the Elasticsearch cluster. See client_node_configuration below.
    clientNodeSpec String
    The client node spec. If specified, client node will be created.

    Deprecated: Field 'client_node_spec' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.spec' instead.

    dataNodeAmount Integer
    The Elasticsearch cluster's data node quantity, between 2 and 50.

    Deprecated: Field 'data_node_amount' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.amount' instead.

    dataNodeConfiguration InstanceDataNodeConfiguration
    Elasticsearch data node information. See data_node_configuration below.
    dataNodeDiskEncrypted Boolean
    If encrypt the data node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'data_node_disk_encrypted' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_encrypted' instead.

    dataNodeDiskPerformanceLevel String
    Cloud disk performance level. Valid values are PL0, PL1, PL2, PL3. The data_node_disk_type muse be cloud_essd.

    Deprecated: Field 'data_node_disk_performance_level' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.performance_level' instead.

    dataNodeDiskSize Integer
    The single data node storage space.

    Deprecated: Field 'data_node_disk_size' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk' instead.

    dataNodeDiskType String
    The data node disk type. Supported values: cloud_ssd, cloud_efficiency.

    Deprecated: Field 'data_node_disk_type' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_type' instead.

    dataNodeSpec String
    The data node specifications of the Elasticsearch instance.

    Deprecated: Field 'data_node_spec' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.spec' instead.

    description String
    Instance name, which supports fuzzy search. For example, searching for all instances containing abc may return instances named abc, abcde, xyabc, or xabcy.
    enableKibanaPrivateNetwork Boolean
    Indicates whether private network access to Kibana is enabled. Valid values:

    • true: Enabled
    • false: Disabled
    enableKibanaPublicNetwork Boolean
    Specifies whether to enable public access to Kibana. Valid values:

    • true: Enables public access.
    • false: Disables public access.
    enablePublic Boolean
    Specifies whether to enable a public endpoint for the instance. Valid values:

    • true: Enables the public endpoint.
    • false: Disables the public endpoint.
    force Boolean

    Whether to force a restart:

    • true: Yes
    • false (default): No.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    instanceCategory String
    Edition type:

    • x-pack: Creates a commercial edition instance, or a kernel-enhanced edition instance without Indexing Service or OpenStore enabled.
    • IS: Creates a kernel-enhanced edition instance with Indexing Service or OpenStore enabled.
    instanceChargeType String
    Valid values are PrePaid, PostPaid. Default to PostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype from PostPaid to PrePaid, the following attributes are required: period. Use payment_type instead with values PayAsYouGo or Subscription.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.262.0. New field 'payment_type' instead.

    kibanaConfiguration InstanceKibanaConfiguration
    The configuration of Elasticsearch Kibana nodes. See kibana_configuration below.
    kibanaNodeSpec String
    The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

    Deprecated: Field 'kibana_node_spec' has been deprecated since provider version 1.262.0. New field 'kibana_configuration.spec' instead.

    kibanaPrivateSecurityGroupId String
    List of security groups.
    kibanaPrivateWhitelists List<String>
    List of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    kibanaWhitelists List<String>
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    kmsEncryptedPassword String
    An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored, but you have to specify one of password and kms_encrypted_password fields.
    kmsEncryptionContext Map<String,String>
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    masterConfiguration InstanceMasterConfiguration
    Configuration information for Elasticsearch dedicated master nodes. See master_configuration below.
    masterNodeDiskType String
    The single master node storage space. Valid values are PrePaid, PostPaid.

    Deprecated: Field 'master_node_disk_type' has been deprecated since provider version 1.262.0. New field 'master_configuration.disk_type' instead.

    masterNodeSpec String
    The dedicated master node spec. If specified, dedicated master node will be created.

    Deprecated: Field 'master_node_spec' has been deprecated since provider version 1.262.0. New field 'master_configuration.spec' instead.

    orderActionType String

    Configuration change type. Valid values:

    • upgrade (default): Upgrade configuration
    • downgrade: Downgrade configuration.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    password String
    The access password for the instance. It must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    paymentType String
    The billing method of the instance. Supported values:

    • PayAsYouGo: Pay-as-you-go
    • Subscription: Subscription
    period Integer
    The duration that you will buy Elasticsearch instance (in month). It is valid when PaymentType is Subscription. Valid values: [1~9], 12, 24, 36. Default to 1. From version 1.69.2, when to modify this value, the resource can renewal a PrePaid instance.
    privateWhitelists List<String>
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    protocol String
    The access protocol. Supported protocols: HTTP and HTTPS.
    publicWhitelists List<String>
    The IP address whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    renewStatus String
    The renewal status. Valid values:

    • AutoRenewal: Auto-renewal.
    • ManualRenewal: Manual renewal.
    • NotRenewal: No renewal.
    renewalDurationUnit String

    The unit of the auto-renewal period. Valid values:

    • M: Month.
    • Y: Year.

    NOTE: This parameter is required when RenewalStatus is set to AutoRenewal.

    resourceGroupId String
    The ID of the resource group to which the instance belongs.
    settingConfig Map<String,String>
    YML configuration file settings for the instance.
    tags Map<String,String>
    Instance tag group.
    updateStrategy String

    Elasticsearch update strategy (for example, index updates, cluster upgrades, or service deployments). Valid values:

    • blue_green: Blue-green deployment, which enables seamless switching by running two identical environments (blue and green) in parallel.
    • normal: In-place update, which applies changes directly in the current environment (for example, upgrades or scaling) without requiring additional resources.
    • intelligent: Intelligent update, where the system automatically analyzes the update type and environment status to dynamically select the optimal strategy (either blue-green or in-place).

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    warmNodeAmount Integer
    The Elasticsearch cluster's warm node quantity, between 3 and 50.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.amount' instead.

    warmNodeConfiguration InstanceWarmNodeConfiguration
    Cold data node configuration for the Elasticsearch cluster. See warm_node_configuration below.
    warmNodeDiskEncrypted Boolean
    If encrypt the warm node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_encrypted' instead.

    warmNodeDiskSize Integer
    The single warm node storage space, should between 500 and 20480

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk' instead.

    warmNodeDiskType String
    The warm node disk type. Supported values: cloud_efficiency.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_type' instead.

    warmNodeSpec String
    The warm node specifications of the Elasticsearch instance.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.spec' instead.

    zoneCount Integer

    The number of zones for the instance. Valid values: 1, 2, and 3. Default value: 1.

    The following arguments will be discarded. Please use new fields as soon as possible:

    version string

    The instance version. Valid values:

    • 8.5.1_with_X-Pack
    • 7.10_with_X-Pack
    • 6.7_with_X-Pack
    • 7.7_with_X-Pack
    • 6.8_with_X-Pack
    • 6.3_with_X-Pack
    • 5.6_with_X-Pack
    • 5.5.3_with_X-Pack

    NOTE: The versions listed above might not include all versions supported by Elasticsearch instances. You can call the GetRegionConfiguration operation to view the actual supported versions.

    vswitchId string
    The ID of VSwitch.
    autoRenewDuration number
    Number of auto-renewal periods.
    clientNodeAmount number
    The Elasticsearch cluster's client node quantity, between 2 and 25.

    Deprecated: Field 'client_node_amount' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.amount' instead.

    clientNodeConfiguration InstanceClientNodeConfiguration
    Configuration of dedicated coordinating nodes in the Elasticsearch cluster. See client_node_configuration below.
    clientNodeSpec string
    The client node spec. If specified, client node will be created.

    Deprecated: Field 'client_node_spec' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.spec' instead.

    dataNodeAmount number
    The Elasticsearch cluster's data node quantity, between 2 and 50.

    Deprecated: Field 'data_node_amount' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.amount' instead.

    dataNodeConfiguration InstanceDataNodeConfiguration
    Elasticsearch data node information. See data_node_configuration below.
    dataNodeDiskEncrypted boolean
    If encrypt the data node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'data_node_disk_encrypted' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_encrypted' instead.

    dataNodeDiskPerformanceLevel string
    Cloud disk performance level. Valid values are PL0, PL1, PL2, PL3. The data_node_disk_type muse be cloud_essd.

    Deprecated: Field 'data_node_disk_performance_level' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.performance_level' instead.

    dataNodeDiskSize number
    The single data node storage space.

    Deprecated: Field 'data_node_disk_size' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk' instead.

    dataNodeDiskType string
    The data node disk type. Supported values: cloud_ssd, cloud_efficiency.

    Deprecated: Field 'data_node_disk_type' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_type' instead.

    dataNodeSpec string
    The data node specifications of the Elasticsearch instance.

    Deprecated: Field 'data_node_spec' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.spec' instead.

    description string
    Instance name, which supports fuzzy search. For example, searching for all instances containing abc may return instances named abc, abcde, xyabc, or xabcy.
    enableKibanaPrivateNetwork boolean
    Indicates whether private network access to Kibana is enabled. Valid values:

    • true: Enabled
    • false: Disabled
    enableKibanaPublicNetwork boolean
    Specifies whether to enable public access to Kibana. Valid values:

    • true: Enables public access.
    • false: Disables public access.
    enablePublic boolean
    Specifies whether to enable a public endpoint for the instance. Valid values:

    • true: Enables the public endpoint.
    • false: Disables the public endpoint.
    force boolean

    Whether to force a restart:

    • true: Yes
    • false (default): No.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    instanceCategory string
    Edition type:

    • x-pack: Creates a commercial edition instance, or a kernel-enhanced edition instance without Indexing Service or OpenStore enabled.
    • IS: Creates a kernel-enhanced edition instance with Indexing Service or OpenStore enabled.
    instanceChargeType string
    Valid values are PrePaid, PostPaid. Default to PostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype from PostPaid to PrePaid, the following attributes are required: period. Use payment_type instead with values PayAsYouGo or Subscription.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.262.0. New field 'payment_type' instead.

    kibanaConfiguration InstanceKibanaConfiguration
    The configuration of Elasticsearch Kibana nodes. See kibana_configuration below.
    kibanaNodeSpec string
    The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

    Deprecated: Field 'kibana_node_spec' has been deprecated since provider version 1.262.0. New field 'kibana_configuration.spec' instead.

    kibanaPrivateSecurityGroupId string
    List of security groups.
    kibanaPrivateWhitelists string[]
    List of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    kibanaWhitelists string[]
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    kmsEncryptedPassword string
    An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored, but you have to specify one of password and kms_encrypted_password fields.
    kmsEncryptionContext {[key: string]: string}
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    masterConfiguration InstanceMasterConfiguration
    Configuration information for Elasticsearch dedicated master nodes. See master_configuration below.
    masterNodeDiskType string
    The single master node storage space. Valid values are PrePaid, PostPaid.

    Deprecated: Field 'master_node_disk_type' has been deprecated since provider version 1.262.0. New field 'master_configuration.disk_type' instead.

    masterNodeSpec string
    The dedicated master node spec. If specified, dedicated master node will be created.

    Deprecated: Field 'master_node_spec' has been deprecated since provider version 1.262.0. New field 'master_configuration.spec' instead.

    orderActionType string

    Configuration change type. Valid values:

    • upgrade (default): Upgrade configuration
    • downgrade: Downgrade configuration.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    password string
    The access password for the instance. It must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    paymentType string
    The billing method of the instance. Supported values:

    • PayAsYouGo: Pay-as-you-go
    • Subscription: Subscription
    period number
    The duration that you will buy Elasticsearch instance (in month). It is valid when PaymentType is Subscription. Valid values: [1~9], 12, 24, 36. Default to 1. From version 1.69.2, when to modify this value, the resource can renewal a PrePaid instance.
    privateWhitelists string[]
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    protocol string
    The access protocol. Supported protocols: HTTP and HTTPS.
    publicWhitelists string[]
    The IP address whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    renewStatus string
    The renewal status. Valid values:

    • AutoRenewal: Auto-renewal.
    • ManualRenewal: Manual renewal.
    • NotRenewal: No renewal.
    renewalDurationUnit string

    The unit of the auto-renewal period. Valid values:

    • M: Month.
    • Y: Year.

    NOTE: This parameter is required when RenewalStatus is set to AutoRenewal.

    resourceGroupId string
    The ID of the resource group to which the instance belongs.
    settingConfig {[key: string]: string}
    YML configuration file settings for the instance.
    tags {[key: string]: string}
    Instance tag group.
    updateStrategy string

    Elasticsearch update strategy (for example, index updates, cluster upgrades, or service deployments). Valid values:

    • blue_green: Blue-green deployment, which enables seamless switching by running two identical environments (blue and green) in parallel.
    • normal: In-place update, which applies changes directly in the current environment (for example, upgrades or scaling) without requiring additional resources.
    • intelligent: Intelligent update, where the system automatically analyzes the update type and environment status to dynamically select the optimal strategy (either blue-green or in-place).

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    warmNodeAmount number
    The Elasticsearch cluster's warm node quantity, between 3 and 50.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.amount' instead.

    warmNodeConfiguration InstanceWarmNodeConfiguration
    Cold data node configuration for the Elasticsearch cluster. See warm_node_configuration below.
    warmNodeDiskEncrypted boolean
    If encrypt the warm node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_encrypted' instead.

    warmNodeDiskSize number
    The single warm node storage space, should between 500 and 20480

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk' instead.

    warmNodeDiskType string
    The warm node disk type. Supported values: cloud_efficiency.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_type' instead.

    warmNodeSpec string
    The warm node specifications of the Elasticsearch instance.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.spec' instead.

    zoneCount number

    The number of zones for the instance. Valid values: 1, 2, and 3. Default value: 1.

    The following arguments will be discarded. Please use new fields as soon as possible:

    version str

    The instance version. Valid values:

    • 8.5.1_with_X-Pack
    • 7.10_with_X-Pack
    • 6.7_with_X-Pack
    • 7.7_with_X-Pack
    • 6.8_with_X-Pack
    • 6.3_with_X-Pack
    • 5.6_with_X-Pack
    • 5.5.3_with_X-Pack

    NOTE: The versions listed above might not include all versions supported by Elasticsearch instances. You can call the GetRegionConfiguration operation to view the actual supported versions.

    vswitch_id str
    The ID of VSwitch.
    auto_renew_duration int
    Number of auto-renewal periods.
    client_node_amount int
    The Elasticsearch cluster's client node quantity, between 2 and 25.

    Deprecated: Field 'client_node_amount' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.amount' instead.

    client_node_configuration InstanceClientNodeConfigurationArgs
    Configuration of dedicated coordinating nodes in the Elasticsearch cluster. See client_node_configuration below.
    client_node_spec str
    The client node spec. If specified, client node will be created.

    Deprecated: Field 'client_node_spec' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.spec' instead.

    data_node_amount int
    The Elasticsearch cluster's data node quantity, between 2 and 50.

    Deprecated: Field 'data_node_amount' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.amount' instead.

    data_node_configuration InstanceDataNodeConfigurationArgs
    Elasticsearch data node information. See data_node_configuration below.
    data_node_disk_encrypted bool
    If encrypt the data node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'data_node_disk_encrypted' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_encrypted' instead.

    data_node_disk_performance_level str
    Cloud disk performance level. Valid values are PL0, PL1, PL2, PL3. The data_node_disk_type muse be cloud_essd.

    Deprecated: Field 'data_node_disk_performance_level' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.performance_level' instead.

    data_node_disk_size int
    The single data node storage space.

    Deprecated: Field 'data_node_disk_size' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk' instead.

    data_node_disk_type str
    The data node disk type. Supported values: cloud_ssd, cloud_efficiency.

    Deprecated: Field 'data_node_disk_type' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_type' instead.

    data_node_spec str
    The data node specifications of the Elasticsearch instance.

    Deprecated: Field 'data_node_spec' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.spec' instead.

    description str
    Instance name, which supports fuzzy search. For example, searching for all instances containing abc may return instances named abc, abcde, xyabc, or xabcy.
    enable_kibana_private_network bool
    Indicates whether private network access to Kibana is enabled. Valid values:

    • true: Enabled
    • false: Disabled
    enable_kibana_public_network bool
    Specifies whether to enable public access to Kibana. Valid values:

    • true: Enables public access.
    • false: Disables public access.
    enable_public bool
    Specifies whether to enable a public endpoint for the instance. Valid values:

    • true: Enables the public endpoint.
    • false: Disables the public endpoint.
    force bool

    Whether to force a restart:

    • true: Yes
    • false (default): No.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    instance_category str
    Edition type:

    • x-pack: Creates a commercial edition instance, or a kernel-enhanced edition instance without Indexing Service or OpenStore enabled.
    • IS: Creates a kernel-enhanced edition instance with Indexing Service or OpenStore enabled.
    instance_charge_type str
    Valid values are PrePaid, PostPaid. Default to PostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype from PostPaid to PrePaid, the following attributes are required: period. Use payment_type instead with values PayAsYouGo or Subscription.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.262.0. New field 'payment_type' instead.

    kibana_configuration InstanceKibanaConfigurationArgs
    The configuration of Elasticsearch Kibana nodes. See kibana_configuration below.
    kibana_node_spec str
    The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

    Deprecated: Field 'kibana_node_spec' has been deprecated since provider version 1.262.0. New field 'kibana_configuration.spec' instead.

    kibana_private_security_group_id str
    List of security groups.
    kibana_private_whitelists Sequence[str]
    List of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    kibana_whitelists Sequence[str]
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    kms_encrypted_password str
    An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored, but you have to specify one of password and kms_encrypted_password fields.
    kms_encryption_context Mapping[str, str]
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    master_configuration InstanceMasterConfigurationArgs
    Configuration information for Elasticsearch dedicated master nodes. See master_configuration below.
    master_node_disk_type str
    The single master node storage space. Valid values are PrePaid, PostPaid.

    Deprecated: Field 'master_node_disk_type' has been deprecated since provider version 1.262.0. New field 'master_configuration.disk_type' instead.

    master_node_spec str
    The dedicated master node spec. If specified, dedicated master node will be created.

    Deprecated: Field 'master_node_spec' has been deprecated since provider version 1.262.0. New field 'master_configuration.spec' instead.

    order_action_type str

    Configuration change type. Valid values:

    • upgrade (default): Upgrade configuration
    • downgrade: Downgrade configuration.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    password str
    The access password for the instance. It must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    payment_type str
    The billing method of the instance. Supported values:

    • PayAsYouGo: Pay-as-you-go
    • Subscription: Subscription
    period int
    The duration that you will buy Elasticsearch instance (in month). It is valid when PaymentType is Subscription. Valid values: [1~9], 12, 24, 36. Default to 1. From version 1.69.2, when to modify this value, the resource can renewal a PrePaid instance.
    private_whitelists Sequence[str]
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    protocol str
    The access protocol. Supported protocols: HTTP and HTTPS.
    public_whitelists Sequence[str]
    The IP address whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    renew_status str
    The renewal status. Valid values:

    • AutoRenewal: Auto-renewal.
    • ManualRenewal: Manual renewal.
    • NotRenewal: No renewal.
    renewal_duration_unit str

    The unit of the auto-renewal period. Valid values:

    • M: Month.
    • Y: Year.

    NOTE: This parameter is required when RenewalStatus is set to AutoRenewal.

    resource_group_id str
    The ID of the resource group to which the instance belongs.
    setting_config Mapping[str, str]
    YML configuration file settings for the instance.
    tags Mapping[str, str]
    Instance tag group.
    update_strategy str

    Elasticsearch update strategy (for example, index updates, cluster upgrades, or service deployments). Valid values:

    • blue_green: Blue-green deployment, which enables seamless switching by running two identical environments (blue and green) in parallel.
    • normal: In-place update, which applies changes directly in the current environment (for example, upgrades or scaling) without requiring additional resources.
    • intelligent: Intelligent update, where the system automatically analyzes the update type and environment status to dynamically select the optimal strategy (either blue-green or in-place).

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    warm_node_amount int
    The Elasticsearch cluster's warm node quantity, between 3 and 50.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.amount' instead.

    warm_node_configuration InstanceWarmNodeConfigurationArgs
    Cold data node configuration for the Elasticsearch cluster. See warm_node_configuration below.
    warm_node_disk_encrypted bool
    If encrypt the warm node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_encrypted' instead.

    warm_node_disk_size int
    The single warm node storage space, should between 500 and 20480

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk' instead.

    warm_node_disk_type str
    The warm node disk type. Supported values: cloud_efficiency.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_type' instead.

    warm_node_spec str
    The warm node specifications of the Elasticsearch instance.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.spec' instead.

    zone_count int

    The number of zones for the instance. Valid values: 1, 2, and 3. Default value: 1.

    The following arguments will be discarded. Please use new fields as soon as possible:

    version String

    The instance version. Valid values:

    • 8.5.1_with_X-Pack
    • 7.10_with_X-Pack
    • 6.7_with_X-Pack
    • 7.7_with_X-Pack
    • 6.8_with_X-Pack
    • 6.3_with_X-Pack
    • 5.6_with_X-Pack
    • 5.5.3_with_X-Pack

    NOTE: The versions listed above might not include all versions supported by Elasticsearch instances. You can call the GetRegionConfiguration operation to view the actual supported versions.

    vswitchId String
    The ID of VSwitch.
    autoRenewDuration Number
    Number of auto-renewal periods.
    clientNodeAmount Number
    The Elasticsearch cluster's client node quantity, between 2 and 25.

    Deprecated: Field 'client_node_amount' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.amount' instead.

    clientNodeConfiguration Property Map
    Configuration of dedicated coordinating nodes in the Elasticsearch cluster. See client_node_configuration below.
    clientNodeSpec String
    The client node spec. If specified, client node will be created.

    Deprecated: Field 'client_node_spec' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.spec' instead.

    dataNodeAmount Number
    The Elasticsearch cluster's data node quantity, between 2 and 50.

    Deprecated: Field 'data_node_amount' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.amount' instead.

    dataNodeConfiguration Property Map
    Elasticsearch data node information. See data_node_configuration below.
    dataNodeDiskEncrypted Boolean
    If encrypt the data node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'data_node_disk_encrypted' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_encrypted' instead.

    dataNodeDiskPerformanceLevel String
    Cloud disk performance level. Valid values are PL0, PL1, PL2, PL3. The data_node_disk_type muse be cloud_essd.

    Deprecated: Field 'data_node_disk_performance_level' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.performance_level' instead.

    dataNodeDiskSize Number
    The single data node storage space.

    Deprecated: Field 'data_node_disk_size' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk' instead.

    dataNodeDiskType String
    The data node disk type. Supported values: cloud_ssd, cloud_efficiency.

    Deprecated: Field 'data_node_disk_type' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_type' instead.

    dataNodeSpec String
    The data node specifications of the Elasticsearch instance.

    Deprecated: Field 'data_node_spec' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.spec' instead.

    description String
    Instance name, which supports fuzzy search. For example, searching for all instances containing abc may return instances named abc, abcde, xyabc, or xabcy.
    enableKibanaPrivateNetwork Boolean
    Indicates whether private network access to Kibana is enabled. Valid values:

    • true: Enabled
    • false: Disabled
    enableKibanaPublicNetwork Boolean
    Specifies whether to enable public access to Kibana. Valid values:

    • true: Enables public access.
    • false: Disables public access.
    enablePublic Boolean
    Specifies whether to enable a public endpoint for the instance. Valid values:

    • true: Enables the public endpoint.
    • false: Disables the public endpoint.
    force Boolean

    Whether to force a restart:

    • true: Yes
    • false (default): No.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    instanceCategory String
    Edition type:

    • x-pack: Creates a commercial edition instance, or a kernel-enhanced edition instance without Indexing Service or OpenStore enabled.
    • IS: Creates a kernel-enhanced edition instance with Indexing Service or OpenStore enabled.
    instanceChargeType String
    Valid values are PrePaid, PostPaid. Default to PostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype from PostPaid to PrePaid, the following attributes are required: period. Use payment_type instead with values PayAsYouGo or Subscription.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.262.0. New field 'payment_type' instead.

    kibanaConfiguration Property Map
    The configuration of Elasticsearch Kibana nodes. See kibana_configuration below.
    kibanaNodeSpec String
    The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

    Deprecated: Field 'kibana_node_spec' has been deprecated since provider version 1.262.0. New field 'kibana_configuration.spec' instead.

    kibanaPrivateSecurityGroupId String
    List of security groups.
    kibanaPrivateWhitelists List<String>
    List of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    kibanaWhitelists List<String>
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    kmsEncryptedPassword String
    An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored, but you have to specify one of password and kms_encrypted_password fields.
    kmsEncryptionContext Map<String>
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    masterConfiguration Property Map
    Configuration information for Elasticsearch dedicated master nodes. See master_configuration below.
    masterNodeDiskType String
    The single master node storage space. Valid values are PrePaid, PostPaid.

    Deprecated: Field 'master_node_disk_type' has been deprecated since provider version 1.262.0. New field 'master_configuration.disk_type' instead.

    masterNodeSpec String
    The dedicated master node spec. If specified, dedicated master node will be created.

    Deprecated: Field 'master_node_spec' has been deprecated since provider version 1.262.0. New field 'master_configuration.spec' instead.

    orderActionType String

    Configuration change type. Valid values:

    • upgrade (default): Upgrade configuration
    • downgrade: Downgrade configuration.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    password String
    The access password for the instance. It must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    paymentType String
    The billing method of the instance. Supported values:

    • PayAsYouGo: Pay-as-you-go
    • Subscription: Subscription
    period Number
    The duration that you will buy Elasticsearch instance (in month). It is valid when PaymentType is Subscription. Valid values: [1~9], 12, 24, 36. Default to 1. From version 1.69.2, when to modify this value, the resource can renewal a PrePaid instance.
    privateWhitelists List<String>
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    protocol String
    The access protocol. Supported protocols: HTTP and HTTPS.
    publicWhitelists List<String>
    The IP address whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    renewStatus String
    The renewal status. Valid values:

    • AutoRenewal: Auto-renewal.
    • ManualRenewal: Manual renewal.
    • NotRenewal: No renewal.
    renewalDurationUnit String

    The unit of the auto-renewal period. Valid values:

    • M: Month.
    • Y: Year.

    NOTE: This parameter is required when RenewalStatus is set to AutoRenewal.

    resourceGroupId String
    The ID of the resource group to which the instance belongs.
    settingConfig Map<String>
    YML configuration file settings for the instance.
    tags Map<String>
    Instance tag group.
    updateStrategy String

    Elasticsearch update strategy (for example, index updates, cluster upgrades, or service deployments). Valid values:

    • blue_green: Blue-green deployment, which enables seamless switching by running two identical environments (blue and green) in parallel.
    • normal: In-place update, which applies changes directly in the current environment (for example, upgrades or scaling) without requiring additional resources.
    • intelligent: Intelligent update, where the system automatically analyzes the update type and environment status to dynamically select the optimal strategy (either blue-green or in-place).

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    warmNodeAmount Number
    The Elasticsearch cluster's warm node quantity, between 3 and 50.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.amount' instead.

    warmNodeConfiguration Property Map
    Cold data node configuration for the Elasticsearch cluster. See warm_node_configuration below.
    warmNodeDiskEncrypted Boolean
    If encrypt the warm node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_encrypted' instead.

    warmNodeDiskSize Number
    The single warm node storage space, should between 500 and 20480

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk' instead.

    warmNodeDiskType String
    The warm node disk type. Supported values: cloud_efficiency.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_type' instead.

    warmNodeSpec String
    The warm node specifications of the Elasticsearch instance.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.spec' instead.

    zoneCount Number

    The number of zones for the instance. Valid values: 1, 2, and 3. Default value: 1.

    The following arguments will be discarded. Please use new fields as soon as possible:

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Instance resource produces the following output properties:

    ArchType string
    The deployment mode or architecture type:.
    CreateTime string
    The time when the instance was created.
    Domain string
    The internal network address of the instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    KibanaDomain string
    Kibana endpoint.
    KibanaPort int
    The access port for Kibana.
    KibanaPrivateDomain string
    The private endpoint of Kibana.
    Port int
    Instance connection port.
    PublicDomain string
    The public endpoint of the instance.
    PublicPort int
    The public access port of the instance.
    Status string
    The status of the instance.
    ArchType string
    The deployment mode or architecture type:.
    CreateTime string
    The time when the instance was created.
    Domain string
    The internal network address of the instance.
    Id string
    The provider-assigned unique ID for this managed resource.
    KibanaDomain string
    Kibana endpoint.
    KibanaPort int
    The access port for Kibana.
    KibanaPrivateDomain string
    The private endpoint of Kibana.
    Port int
    Instance connection port.
    PublicDomain string
    The public endpoint of the instance.
    PublicPort int
    The public access port of the instance.
    Status string
    The status of the instance.
    archType String
    The deployment mode or architecture type:.
    createTime String
    The time when the instance was created.
    domain String
    The internal network address of the instance.
    id String
    The provider-assigned unique ID for this managed resource.
    kibanaDomain String
    Kibana endpoint.
    kibanaPort Integer
    The access port for Kibana.
    kibanaPrivateDomain String
    The private endpoint of Kibana.
    port Integer
    Instance connection port.
    publicDomain String
    The public endpoint of the instance.
    publicPort Integer
    The public access port of the instance.
    status String
    The status of the instance.
    archType string
    The deployment mode or architecture type:.
    createTime string
    The time when the instance was created.
    domain string
    The internal network address of the instance.
    id string
    The provider-assigned unique ID for this managed resource.
    kibanaDomain string
    Kibana endpoint.
    kibanaPort number
    The access port for Kibana.
    kibanaPrivateDomain string
    The private endpoint of Kibana.
    port number
    Instance connection port.
    publicDomain string
    The public endpoint of the instance.
    publicPort number
    The public access port of the instance.
    status string
    The status of the instance.
    arch_type str
    The deployment mode or architecture type:.
    create_time str
    The time when the instance was created.
    domain str
    The internal network address of the instance.
    id str
    The provider-assigned unique ID for this managed resource.
    kibana_domain str
    Kibana endpoint.
    kibana_port int
    The access port for Kibana.
    kibana_private_domain str
    The private endpoint of Kibana.
    port int
    Instance connection port.
    public_domain str
    The public endpoint of the instance.
    public_port int
    The public access port of the instance.
    status str
    The status of the instance.
    archType String
    The deployment mode or architecture type:.
    createTime String
    The time when the instance was created.
    domain String
    The internal network address of the instance.
    id String
    The provider-assigned unique ID for this managed resource.
    kibanaDomain String
    Kibana endpoint.
    kibanaPort Number
    The access port for Kibana.
    kibanaPrivateDomain String
    The private endpoint of Kibana.
    port Number
    Instance connection port.
    publicDomain String
    The public endpoint of the instance.
    publicPort Number
    The public access port of the instance.
    status String
    The status of the instance.

    Look up Existing Instance Resource

    Get an existing Instance 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?: InstanceState, opts?: CustomResourceOptions): Instance
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            arch_type: Optional[str] = None,
            auto_renew_duration: Optional[int] = None,
            client_node_amount: Optional[int] = None,
            client_node_configuration: Optional[InstanceClientNodeConfigurationArgs] = None,
            client_node_spec: Optional[str] = None,
            create_time: Optional[str] = None,
            data_node_amount: Optional[int] = None,
            data_node_configuration: Optional[InstanceDataNodeConfigurationArgs] = None,
            data_node_disk_encrypted: Optional[bool] = None,
            data_node_disk_performance_level: Optional[str] = None,
            data_node_disk_size: Optional[int] = None,
            data_node_disk_type: Optional[str] = None,
            data_node_spec: Optional[str] = None,
            description: Optional[str] = None,
            domain: Optional[str] = None,
            enable_kibana_private_network: Optional[bool] = None,
            enable_kibana_public_network: Optional[bool] = None,
            enable_public: Optional[bool] = None,
            force: Optional[bool] = None,
            instance_category: Optional[str] = None,
            instance_charge_type: Optional[str] = None,
            kibana_configuration: Optional[InstanceKibanaConfigurationArgs] = None,
            kibana_domain: Optional[str] = None,
            kibana_node_spec: Optional[str] = None,
            kibana_port: Optional[int] = None,
            kibana_private_domain: Optional[str] = None,
            kibana_private_security_group_id: Optional[str] = None,
            kibana_private_whitelists: Optional[Sequence[str]] = None,
            kibana_whitelists: Optional[Sequence[str]] = None,
            kms_encrypted_password: Optional[str] = None,
            kms_encryption_context: Optional[Mapping[str, str]] = None,
            master_configuration: Optional[InstanceMasterConfigurationArgs] = None,
            master_node_disk_type: Optional[str] = None,
            master_node_spec: Optional[str] = None,
            order_action_type: Optional[str] = None,
            password: Optional[str] = None,
            payment_type: Optional[str] = None,
            period: Optional[int] = None,
            port: Optional[int] = None,
            private_whitelists: Optional[Sequence[str]] = None,
            protocol: Optional[str] = None,
            public_domain: Optional[str] = None,
            public_port: Optional[int] = None,
            public_whitelists: Optional[Sequence[str]] = None,
            renew_status: Optional[str] = None,
            renewal_duration_unit: Optional[str] = None,
            resource_group_id: Optional[str] = None,
            setting_config: Optional[Mapping[str, str]] = None,
            status: Optional[str] = None,
            tags: Optional[Mapping[str, str]] = None,
            update_strategy: Optional[str] = None,
            version: Optional[str] = None,
            vswitch_id: Optional[str] = None,
            warm_node_amount: Optional[int] = None,
            warm_node_configuration: Optional[InstanceWarmNodeConfigurationArgs] = None,
            warm_node_disk_encrypted: Optional[bool] = None,
            warm_node_disk_size: Optional[int] = None,
            warm_node_disk_type: Optional[str] = None,
            warm_node_spec: Optional[str] = None,
            zone_count: Optional[int] = None) -> Instance
    func GetInstance(ctx *Context, name string, id IDInput, state *InstanceState, opts ...ResourceOption) (*Instance, error)
    public static Instance Get(string name, Input<string> id, InstanceState? state, CustomResourceOptions? opts = null)
    public static Instance get(String name, Output<String> id, InstanceState state, CustomResourceOptions options)
    resources:  _:    type: alicloud:elasticsearch:Instance    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.
    The following state arguments are supported:
    ArchType string
    The deployment mode or architecture type:.
    AutoRenewDuration int
    Number of auto-renewal periods.
    ClientNodeAmount int
    The Elasticsearch cluster's client node quantity, between 2 and 25.

    Deprecated: Field 'client_node_amount' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.amount' instead.

    ClientNodeConfiguration Pulumi.AliCloud.ElasticSearch.Inputs.InstanceClientNodeConfiguration
    Configuration of dedicated coordinating nodes in the Elasticsearch cluster. See client_node_configuration below.
    ClientNodeSpec string
    The client node spec. If specified, client node will be created.

    Deprecated: Field 'client_node_spec' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.spec' instead.

    CreateTime string
    The time when the instance was created.
    DataNodeAmount int
    The Elasticsearch cluster's data node quantity, between 2 and 50.

    Deprecated: Field 'data_node_amount' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.amount' instead.

    DataNodeConfiguration Pulumi.AliCloud.ElasticSearch.Inputs.InstanceDataNodeConfiguration
    Elasticsearch data node information. See data_node_configuration below.
    DataNodeDiskEncrypted bool
    If encrypt the data node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'data_node_disk_encrypted' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_encrypted' instead.

    DataNodeDiskPerformanceLevel string
    Cloud disk performance level. Valid values are PL0, PL1, PL2, PL3. The data_node_disk_type muse be cloud_essd.

    Deprecated: Field 'data_node_disk_performance_level' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.performance_level' instead.

    DataNodeDiskSize int
    The single data node storage space.

    Deprecated: Field 'data_node_disk_size' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk' instead.

    DataNodeDiskType string
    The data node disk type. Supported values: cloud_ssd, cloud_efficiency.

    Deprecated: Field 'data_node_disk_type' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_type' instead.

    DataNodeSpec string
    The data node specifications of the Elasticsearch instance.

    Deprecated: Field 'data_node_spec' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.spec' instead.

    Description string
    Instance name, which supports fuzzy search. For example, searching for all instances containing abc may return instances named abc, abcde, xyabc, or xabcy.
    Domain string
    The internal network address of the instance.
    EnableKibanaPrivateNetwork bool
    Indicates whether private network access to Kibana is enabled. Valid values:

    • true: Enabled
    • false: Disabled
    EnableKibanaPublicNetwork bool
    Specifies whether to enable public access to Kibana. Valid values:

    • true: Enables public access.
    • false: Disables public access.
    EnablePublic bool
    Specifies whether to enable a public endpoint for the instance. Valid values:

    • true: Enables the public endpoint.
    • false: Disables the public endpoint.
    Force bool

    Whether to force a restart:

    • true: Yes
    • false (default): No.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    InstanceCategory string
    Edition type:

    • x-pack: Creates a commercial edition instance, or a kernel-enhanced edition instance without Indexing Service or OpenStore enabled.
    • IS: Creates a kernel-enhanced edition instance with Indexing Service or OpenStore enabled.
    InstanceChargeType string
    Valid values are PrePaid, PostPaid. Default to PostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype from PostPaid to PrePaid, the following attributes are required: period. Use payment_type instead with values PayAsYouGo or Subscription.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.262.0. New field 'payment_type' instead.

    KibanaConfiguration Pulumi.AliCloud.ElasticSearch.Inputs.InstanceKibanaConfiguration
    The configuration of Elasticsearch Kibana nodes. See kibana_configuration below.
    KibanaDomain string
    Kibana endpoint.
    KibanaNodeSpec string
    The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

    Deprecated: Field 'kibana_node_spec' has been deprecated since provider version 1.262.0. New field 'kibana_configuration.spec' instead.

    KibanaPort int
    The access port for Kibana.
    KibanaPrivateDomain string
    The private endpoint of Kibana.
    KibanaPrivateSecurityGroupId string
    List of security groups.
    KibanaPrivateWhitelists List<string>
    List of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    KibanaWhitelists List<string>
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    KmsEncryptedPassword string
    An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored, but you have to specify one of password and kms_encrypted_password fields.
    KmsEncryptionContext Dictionary<string, string>
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    MasterConfiguration Pulumi.AliCloud.ElasticSearch.Inputs.InstanceMasterConfiguration
    Configuration information for Elasticsearch dedicated master nodes. See master_configuration below.
    MasterNodeDiskType string
    The single master node storage space. Valid values are PrePaid, PostPaid.

    Deprecated: Field 'master_node_disk_type' has been deprecated since provider version 1.262.0. New field 'master_configuration.disk_type' instead.

    MasterNodeSpec string
    The dedicated master node spec. If specified, dedicated master node will be created.

    Deprecated: Field 'master_node_spec' has been deprecated since provider version 1.262.0. New field 'master_configuration.spec' instead.

    OrderActionType string

    Configuration change type. Valid values:

    • upgrade (default): Upgrade configuration
    • downgrade: Downgrade configuration.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    Password string
    The access password for the instance. It must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    PaymentType string
    The billing method of the instance. Supported values:

    • PayAsYouGo: Pay-as-you-go
    • Subscription: Subscription
    Period int
    The duration that you will buy Elasticsearch instance (in month). It is valid when PaymentType is Subscription. Valid values: [1~9], 12, 24, 36. Default to 1. From version 1.69.2, when to modify this value, the resource can renewal a PrePaid instance.
    Port int
    Instance connection port.
    PrivateWhitelists List<string>
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    Protocol string
    The access protocol. Supported protocols: HTTP and HTTPS.
    PublicDomain string
    The public endpoint of the instance.
    PublicPort int
    The public access port of the instance.
    PublicWhitelists List<string>
    The IP address whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    RenewStatus string
    The renewal status. Valid values:

    • AutoRenewal: Auto-renewal.
    • ManualRenewal: Manual renewal.
    • NotRenewal: No renewal.
    RenewalDurationUnit string

    The unit of the auto-renewal period. Valid values:

    • M: Month.
    • Y: Year.

    NOTE: This parameter is required when RenewalStatus is set to AutoRenewal.

    ResourceGroupId string
    The ID of the resource group to which the instance belongs.
    SettingConfig Dictionary<string, string>
    YML configuration file settings for the instance.
    Status string
    The status of the instance.
    Tags Dictionary<string, string>
    Instance tag group.
    UpdateStrategy string

    Elasticsearch update strategy (for example, index updates, cluster upgrades, or service deployments). Valid values:

    • blue_green: Blue-green deployment, which enables seamless switching by running two identical environments (blue and green) in parallel.
    • normal: In-place update, which applies changes directly in the current environment (for example, upgrades or scaling) without requiring additional resources.
    • intelligent: Intelligent update, where the system automatically analyzes the update type and environment status to dynamically select the optimal strategy (either blue-green or in-place).

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    Version string

    The instance version. Valid values:

    • 8.5.1_with_X-Pack
    • 7.10_with_X-Pack
    • 6.7_with_X-Pack
    • 7.7_with_X-Pack
    • 6.8_with_X-Pack
    • 6.3_with_X-Pack
    • 5.6_with_X-Pack
    • 5.5.3_with_X-Pack

    NOTE: The versions listed above might not include all versions supported by Elasticsearch instances. You can call the GetRegionConfiguration operation to view the actual supported versions.

    VswitchId string
    The ID of VSwitch.
    WarmNodeAmount int
    The Elasticsearch cluster's warm node quantity, between 3 and 50.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.amount' instead.

    WarmNodeConfiguration Pulumi.AliCloud.ElasticSearch.Inputs.InstanceWarmNodeConfiguration
    Cold data node configuration for the Elasticsearch cluster. See warm_node_configuration below.
    WarmNodeDiskEncrypted bool
    If encrypt the warm node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_encrypted' instead.

    WarmNodeDiskSize int
    The single warm node storage space, should between 500 and 20480

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk' instead.

    WarmNodeDiskType string
    The warm node disk type. Supported values: cloud_efficiency.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_type' instead.

    WarmNodeSpec string
    The warm node specifications of the Elasticsearch instance.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.spec' instead.

    ZoneCount int

    The number of zones for the instance. Valid values: 1, 2, and 3. Default value: 1.

    The following arguments will be discarded. Please use new fields as soon as possible:

    ArchType string
    The deployment mode or architecture type:.
    AutoRenewDuration int
    Number of auto-renewal periods.
    ClientNodeAmount int
    The Elasticsearch cluster's client node quantity, between 2 and 25.

    Deprecated: Field 'client_node_amount' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.amount' instead.

    ClientNodeConfiguration InstanceClientNodeConfigurationArgs
    Configuration of dedicated coordinating nodes in the Elasticsearch cluster. See client_node_configuration below.
    ClientNodeSpec string
    The client node spec. If specified, client node will be created.

    Deprecated: Field 'client_node_spec' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.spec' instead.

    CreateTime string
    The time when the instance was created.
    DataNodeAmount int
    The Elasticsearch cluster's data node quantity, between 2 and 50.

    Deprecated: Field 'data_node_amount' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.amount' instead.

    DataNodeConfiguration InstanceDataNodeConfigurationArgs
    Elasticsearch data node information. See data_node_configuration below.
    DataNodeDiskEncrypted bool
    If encrypt the data node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'data_node_disk_encrypted' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_encrypted' instead.

    DataNodeDiskPerformanceLevel string
    Cloud disk performance level. Valid values are PL0, PL1, PL2, PL3. The data_node_disk_type muse be cloud_essd.

    Deprecated: Field 'data_node_disk_performance_level' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.performance_level' instead.

    DataNodeDiskSize int
    The single data node storage space.

    Deprecated: Field 'data_node_disk_size' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk' instead.

    DataNodeDiskType string
    The data node disk type. Supported values: cloud_ssd, cloud_efficiency.

    Deprecated: Field 'data_node_disk_type' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_type' instead.

    DataNodeSpec string
    The data node specifications of the Elasticsearch instance.

    Deprecated: Field 'data_node_spec' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.spec' instead.

    Description string
    Instance name, which supports fuzzy search. For example, searching for all instances containing abc may return instances named abc, abcde, xyabc, or xabcy.
    Domain string
    The internal network address of the instance.
    EnableKibanaPrivateNetwork bool
    Indicates whether private network access to Kibana is enabled. Valid values:

    • true: Enabled
    • false: Disabled
    EnableKibanaPublicNetwork bool
    Specifies whether to enable public access to Kibana. Valid values:

    • true: Enables public access.
    • false: Disables public access.
    EnablePublic bool
    Specifies whether to enable a public endpoint for the instance. Valid values:

    • true: Enables the public endpoint.
    • false: Disables the public endpoint.
    Force bool

    Whether to force a restart:

    • true: Yes
    • false (default): No.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    InstanceCategory string
    Edition type:

    • x-pack: Creates a commercial edition instance, or a kernel-enhanced edition instance without Indexing Service or OpenStore enabled.
    • IS: Creates a kernel-enhanced edition instance with Indexing Service or OpenStore enabled.
    InstanceChargeType string
    Valid values are PrePaid, PostPaid. Default to PostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype from PostPaid to PrePaid, the following attributes are required: period. Use payment_type instead with values PayAsYouGo or Subscription.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.262.0. New field 'payment_type' instead.

    KibanaConfiguration InstanceKibanaConfigurationArgs
    The configuration of Elasticsearch Kibana nodes. See kibana_configuration below.
    KibanaDomain string
    Kibana endpoint.
    KibanaNodeSpec string
    The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

    Deprecated: Field 'kibana_node_spec' has been deprecated since provider version 1.262.0. New field 'kibana_configuration.spec' instead.

    KibanaPort int
    The access port for Kibana.
    KibanaPrivateDomain string
    The private endpoint of Kibana.
    KibanaPrivateSecurityGroupId string
    List of security groups.
    KibanaPrivateWhitelists []string
    List of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    KibanaWhitelists []string
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    KmsEncryptedPassword string
    An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored, but you have to specify one of password and kms_encrypted_password fields.
    KmsEncryptionContext map[string]string
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    MasterConfiguration InstanceMasterConfigurationArgs
    Configuration information for Elasticsearch dedicated master nodes. See master_configuration below.
    MasterNodeDiskType string
    The single master node storage space. Valid values are PrePaid, PostPaid.

    Deprecated: Field 'master_node_disk_type' has been deprecated since provider version 1.262.0. New field 'master_configuration.disk_type' instead.

    MasterNodeSpec string
    The dedicated master node spec. If specified, dedicated master node will be created.

    Deprecated: Field 'master_node_spec' has been deprecated since provider version 1.262.0. New field 'master_configuration.spec' instead.

    OrderActionType string

    Configuration change type. Valid values:

    • upgrade (default): Upgrade configuration
    • downgrade: Downgrade configuration.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    Password string
    The access password for the instance. It must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    PaymentType string
    The billing method of the instance. Supported values:

    • PayAsYouGo: Pay-as-you-go
    • Subscription: Subscription
    Period int
    The duration that you will buy Elasticsearch instance (in month). It is valid when PaymentType is Subscription. Valid values: [1~9], 12, 24, 36. Default to 1. From version 1.69.2, when to modify this value, the resource can renewal a PrePaid instance.
    Port int
    Instance connection port.
    PrivateWhitelists []string
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    Protocol string
    The access protocol. Supported protocols: HTTP and HTTPS.
    PublicDomain string
    The public endpoint of the instance.
    PublicPort int
    The public access port of the instance.
    PublicWhitelists []string
    The IP address whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    RenewStatus string
    The renewal status. Valid values:

    • AutoRenewal: Auto-renewal.
    • ManualRenewal: Manual renewal.
    • NotRenewal: No renewal.
    RenewalDurationUnit string

    The unit of the auto-renewal period. Valid values:

    • M: Month.
    • Y: Year.

    NOTE: This parameter is required when RenewalStatus is set to AutoRenewal.

    ResourceGroupId string
    The ID of the resource group to which the instance belongs.
    SettingConfig map[string]string
    YML configuration file settings for the instance.
    Status string
    The status of the instance.
    Tags map[string]string
    Instance tag group.
    UpdateStrategy string

    Elasticsearch update strategy (for example, index updates, cluster upgrades, or service deployments). Valid values:

    • blue_green: Blue-green deployment, which enables seamless switching by running two identical environments (blue and green) in parallel.
    • normal: In-place update, which applies changes directly in the current environment (for example, upgrades or scaling) without requiring additional resources.
    • intelligent: Intelligent update, where the system automatically analyzes the update type and environment status to dynamically select the optimal strategy (either blue-green or in-place).

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    Version string

    The instance version. Valid values:

    • 8.5.1_with_X-Pack
    • 7.10_with_X-Pack
    • 6.7_with_X-Pack
    • 7.7_with_X-Pack
    • 6.8_with_X-Pack
    • 6.3_with_X-Pack
    • 5.6_with_X-Pack
    • 5.5.3_with_X-Pack

    NOTE: The versions listed above might not include all versions supported by Elasticsearch instances. You can call the GetRegionConfiguration operation to view the actual supported versions.

    VswitchId string
    The ID of VSwitch.
    WarmNodeAmount int
    The Elasticsearch cluster's warm node quantity, between 3 and 50.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.amount' instead.

    WarmNodeConfiguration InstanceWarmNodeConfigurationArgs
    Cold data node configuration for the Elasticsearch cluster. See warm_node_configuration below.
    WarmNodeDiskEncrypted bool
    If encrypt the warm node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_encrypted' instead.

    WarmNodeDiskSize int
    The single warm node storage space, should between 500 and 20480

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk' instead.

    WarmNodeDiskType string
    The warm node disk type. Supported values: cloud_efficiency.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_type' instead.

    WarmNodeSpec string
    The warm node specifications of the Elasticsearch instance.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.spec' instead.

    ZoneCount int

    The number of zones for the instance. Valid values: 1, 2, and 3. Default value: 1.

    The following arguments will be discarded. Please use new fields as soon as possible:

    archType String
    The deployment mode or architecture type:.
    autoRenewDuration Integer
    Number of auto-renewal periods.
    clientNodeAmount Integer
    The Elasticsearch cluster's client node quantity, between 2 and 25.

    Deprecated: Field 'client_node_amount' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.amount' instead.

    clientNodeConfiguration InstanceClientNodeConfiguration
    Configuration of dedicated coordinating nodes in the Elasticsearch cluster. See client_node_configuration below.
    clientNodeSpec String
    The client node spec. If specified, client node will be created.

    Deprecated: Field 'client_node_spec' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.spec' instead.

    createTime String
    The time when the instance was created.
    dataNodeAmount Integer
    The Elasticsearch cluster's data node quantity, between 2 and 50.

    Deprecated: Field 'data_node_amount' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.amount' instead.

    dataNodeConfiguration InstanceDataNodeConfiguration
    Elasticsearch data node information. See data_node_configuration below.
    dataNodeDiskEncrypted Boolean
    If encrypt the data node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'data_node_disk_encrypted' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_encrypted' instead.

    dataNodeDiskPerformanceLevel String
    Cloud disk performance level. Valid values are PL0, PL1, PL2, PL3. The data_node_disk_type muse be cloud_essd.

    Deprecated: Field 'data_node_disk_performance_level' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.performance_level' instead.

    dataNodeDiskSize Integer
    The single data node storage space.

    Deprecated: Field 'data_node_disk_size' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk' instead.

    dataNodeDiskType String
    The data node disk type. Supported values: cloud_ssd, cloud_efficiency.

    Deprecated: Field 'data_node_disk_type' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_type' instead.

    dataNodeSpec String
    The data node specifications of the Elasticsearch instance.

    Deprecated: Field 'data_node_spec' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.spec' instead.

    description String
    Instance name, which supports fuzzy search. For example, searching for all instances containing abc may return instances named abc, abcde, xyabc, or xabcy.
    domain String
    The internal network address of the instance.
    enableKibanaPrivateNetwork Boolean
    Indicates whether private network access to Kibana is enabled. Valid values:

    • true: Enabled
    • false: Disabled
    enableKibanaPublicNetwork Boolean
    Specifies whether to enable public access to Kibana. Valid values:

    • true: Enables public access.
    • false: Disables public access.
    enablePublic Boolean
    Specifies whether to enable a public endpoint for the instance. Valid values:

    • true: Enables the public endpoint.
    • false: Disables the public endpoint.
    force Boolean

    Whether to force a restart:

    • true: Yes
    • false (default): No.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    instanceCategory String
    Edition type:

    • x-pack: Creates a commercial edition instance, or a kernel-enhanced edition instance without Indexing Service or OpenStore enabled.
    • IS: Creates a kernel-enhanced edition instance with Indexing Service or OpenStore enabled.
    instanceChargeType String
    Valid values are PrePaid, PostPaid. Default to PostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype from PostPaid to PrePaid, the following attributes are required: period. Use payment_type instead with values PayAsYouGo or Subscription.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.262.0. New field 'payment_type' instead.

    kibanaConfiguration InstanceKibanaConfiguration
    The configuration of Elasticsearch Kibana nodes. See kibana_configuration below.
    kibanaDomain String
    Kibana endpoint.
    kibanaNodeSpec String
    The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

    Deprecated: Field 'kibana_node_spec' has been deprecated since provider version 1.262.0. New field 'kibana_configuration.spec' instead.

    kibanaPort Integer
    The access port for Kibana.
    kibanaPrivateDomain String
    The private endpoint of Kibana.
    kibanaPrivateSecurityGroupId String
    List of security groups.
    kibanaPrivateWhitelists List<String>
    List of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    kibanaWhitelists List<String>
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    kmsEncryptedPassword String
    An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored, but you have to specify one of password and kms_encrypted_password fields.
    kmsEncryptionContext Map<String,String>
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    masterConfiguration InstanceMasterConfiguration
    Configuration information for Elasticsearch dedicated master nodes. See master_configuration below.
    masterNodeDiskType String
    The single master node storage space. Valid values are PrePaid, PostPaid.

    Deprecated: Field 'master_node_disk_type' has been deprecated since provider version 1.262.0. New field 'master_configuration.disk_type' instead.

    masterNodeSpec String
    The dedicated master node spec. If specified, dedicated master node will be created.

    Deprecated: Field 'master_node_spec' has been deprecated since provider version 1.262.0. New field 'master_configuration.spec' instead.

    orderActionType String

    Configuration change type. Valid values:

    • upgrade (default): Upgrade configuration
    • downgrade: Downgrade configuration.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    password String
    The access password for the instance. It must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    paymentType String
    The billing method of the instance. Supported values:

    • PayAsYouGo: Pay-as-you-go
    • Subscription: Subscription
    period Integer
    The duration that you will buy Elasticsearch instance (in month). It is valid when PaymentType is Subscription. Valid values: [1~9], 12, 24, 36. Default to 1. From version 1.69.2, when to modify this value, the resource can renewal a PrePaid instance.
    port Integer
    Instance connection port.
    privateWhitelists List<String>
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    protocol String
    The access protocol. Supported protocols: HTTP and HTTPS.
    publicDomain String
    The public endpoint of the instance.
    publicPort Integer
    The public access port of the instance.
    publicWhitelists List<String>
    The IP address whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    renewStatus String
    The renewal status. Valid values:

    • AutoRenewal: Auto-renewal.
    • ManualRenewal: Manual renewal.
    • NotRenewal: No renewal.
    renewalDurationUnit String

    The unit of the auto-renewal period. Valid values:

    • M: Month.
    • Y: Year.

    NOTE: This parameter is required when RenewalStatus is set to AutoRenewal.

    resourceGroupId String
    The ID of the resource group to which the instance belongs.
    settingConfig Map<String,String>
    YML configuration file settings for the instance.
    status String
    The status of the instance.
    tags Map<String,String>
    Instance tag group.
    updateStrategy String

    Elasticsearch update strategy (for example, index updates, cluster upgrades, or service deployments). Valid values:

    • blue_green: Blue-green deployment, which enables seamless switching by running two identical environments (blue and green) in parallel.
    • normal: In-place update, which applies changes directly in the current environment (for example, upgrades or scaling) without requiring additional resources.
    • intelligent: Intelligent update, where the system automatically analyzes the update type and environment status to dynamically select the optimal strategy (either blue-green or in-place).

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    version String

    The instance version. Valid values:

    • 8.5.1_with_X-Pack
    • 7.10_with_X-Pack
    • 6.7_with_X-Pack
    • 7.7_with_X-Pack
    • 6.8_with_X-Pack
    • 6.3_with_X-Pack
    • 5.6_with_X-Pack
    • 5.5.3_with_X-Pack

    NOTE: The versions listed above might not include all versions supported by Elasticsearch instances. You can call the GetRegionConfiguration operation to view the actual supported versions.

    vswitchId String
    The ID of VSwitch.
    warmNodeAmount Integer
    The Elasticsearch cluster's warm node quantity, between 3 and 50.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.amount' instead.

    warmNodeConfiguration InstanceWarmNodeConfiguration
    Cold data node configuration for the Elasticsearch cluster. See warm_node_configuration below.
    warmNodeDiskEncrypted Boolean
    If encrypt the warm node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_encrypted' instead.

    warmNodeDiskSize Integer
    The single warm node storage space, should between 500 and 20480

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk' instead.

    warmNodeDiskType String
    The warm node disk type. Supported values: cloud_efficiency.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_type' instead.

    warmNodeSpec String
    The warm node specifications of the Elasticsearch instance.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.spec' instead.

    zoneCount Integer

    The number of zones for the instance. Valid values: 1, 2, and 3. Default value: 1.

    The following arguments will be discarded. Please use new fields as soon as possible:

    archType string
    The deployment mode or architecture type:.
    autoRenewDuration number
    Number of auto-renewal periods.
    clientNodeAmount number
    The Elasticsearch cluster's client node quantity, between 2 and 25.

    Deprecated: Field 'client_node_amount' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.amount' instead.

    clientNodeConfiguration InstanceClientNodeConfiguration
    Configuration of dedicated coordinating nodes in the Elasticsearch cluster. See client_node_configuration below.
    clientNodeSpec string
    The client node spec. If specified, client node will be created.

    Deprecated: Field 'client_node_spec' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.spec' instead.

    createTime string
    The time when the instance was created.
    dataNodeAmount number
    The Elasticsearch cluster's data node quantity, between 2 and 50.

    Deprecated: Field 'data_node_amount' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.amount' instead.

    dataNodeConfiguration InstanceDataNodeConfiguration
    Elasticsearch data node information. See data_node_configuration below.
    dataNodeDiskEncrypted boolean
    If encrypt the data node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'data_node_disk_encrypted' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_encrypted' instead.

    dataNodeDiskPerformanceLevel string
    Cloud disk performance level. Valid values are PL0, PL1, PL2, PL3. The data_node_disk_type muse be cloud_essd.

    Deprecated: Field 'data_node_disk_performance_level' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.performance_level' instead.

    dataNodeDiskSize number
    The single data node storage space.

    Deprecated: Field 'data_node_disk_size' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk' instead.

    dataNodeDiskType string
    The data node disk type. Supported values: cloud_ssd, cloud_efficiency.

    Deprecated: Field 'data_node_disk_type' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_type' instead.

    dataNodeSpec string
    The data node specifications of the Elasticsearch instance.

    Deprecated: Field 'data_node_spec' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.spec' instead.

    description string
    Instance name, which supports fuzzy search. For example, searching for all instances containing abc may return instances named abc, abcde, xyabc, or xabcy.
    domain string
    The internal network address of the instance.
    enableKibanaPrivateNetwork boolean
    Indicates whether private network access to Kibana is enabled. Valid values:

    • true: Enabled
    • false: Disabled
    enableKibanaPublicNetwork boolean
    Specifies whether to enable public access to Kibana. Valid values:

    • true: Enables public access.
    • false: Disables public access.
    enablePublic boolean
    Specifies whether to enable a public endpoint for the instance. Valid values:

    • true: Enables the public endpoint.
    • false: Disables the public endpoint.
    force boolean

    Whether to force a restart:

    • true: Yes
    • false (default): No.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    instanceCategory string
    Edition type:

    • x-pack: Creates a commercial edition instance, or a kernel-enhanced edition instance without Indexing Service or OpenStore enabled.
    • IS: Creates a kernel-enhanced edition instance with Indexing Service or OpenStore enabled.
    instanceChargeType string
    Valid values are PrePaid, PostPaid. Default to PostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype from PostPaid to PrePaid, the following attributes are required: period. Use payment_type instead with values PayAsYouGo or Subscription.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.262.0. New field 'payment_type' instead.

    kibanaConfiguration InstanceKibanaConfiguration
    The configuration of Elasticsearch Kibana nodes. See kibana_configuration below.
    kibanaDomain string
    Kibana endpoint.
    kibanaNodeSpec string
    The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

    Deprecated: Field 'kibana_node_spec' has been deprecated since provider version 1.262.0. New field 'kibana_configuration.spec' instead.

    kibanaPort number
    The access port for Kibana.
    kibanaPrivateDomain string
    The private endpoint of Kibana.
    kibanaPrivateSecurityGroupId string
    List of security groups.
    kibanaPrivateWhitelists string[]
    List of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    kibanaWhitelists string[]
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    kmsEncryptedPassword string
    An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored, but you have to specify one of password and kms_encrypted_password fields.
    kmsEncryptionContext {[key: string]: string}
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    masterConfiguration InstanceMasterConfiguration
    Configuration information for Elasticsearch dedicated master nodes. See master_configuration below.
    masterNodeDiskType string
    The single master node storage space. Valid values are PrePaid, PostPaid.

    Deprecated: Field 'master_node_disk_type' has been deprecated since provider version 1.262.0. New field 'master_configuration.disk_type' instead.

    masterNodeSpec string
    The dedicated master node spec. If specified, dedicated master node will be created.

    Deprecated: Field 'master_node_spec' has been deprecated since provider version 1.262.0. New field 'master_configuration.spec' instead.

    orderActionType string

    Configuration change type. Valid values:

    • upgrade (default): Upgrade configuration
    • downgrade: Downgrade configuration.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    password string
    The access password for the instance. It must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    paymentType string
    The billing method of the instance. Supported values:

    • PayAsYouGo: Pay-as-you-go
    • Subscription: Subscription
    period number
    The duration that you will buy Elasticsearch instance (in month). It is valid when PaymentType is Subscription. Valid values: [1~9], 12, 24, 36. Default to 1. From version 1.69.2, when to modify this value, the resource can renewal a PrePaid instance.
    port number
    Instance connection port.
    privateWhitelists string[]
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    protocol string
    The access protocol. Supported protocols: HTTP and HTTPS.
    publicDomain string
    The public endpoint of the instance.
    publicPort number
    The public access port of the instance.
    publicWhitelists string[]
    The IP address whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    renewStatus string
    The renewal status. Valid values:

    • AutoRenewal: Auto-renewal.
    • ManualRenewal: Manual renewal.
    • NotRenewal: No renewal.
    renewalDurationUnit string

    The unit of the auto-renewal period. Valid values:

    • M: Month.
    • Y: Year.

    NOTE: This parameter is required when RenewalStatus is set to AutoRenewal.

    resourceGroupId string
    The ID of the resource group to which the instance belongs.
    settingConfig {[key: string]: string}
    YML configuration file settings for the instance.
    status string
    The status of the instance.
    tags {[key: string]: string}
    Instance tag group.
    updateStrategy string

    Elasticsearch update strategy (for example, index updates, cluster upgrades, or service deployments). Valid values:

    • blue_green: Blue-green deployment, which enables seamless switching by running two identical environments (blue and green) in parallel.
    • normal: In-place update, which applies changes directly in the current environment (for example, upgrades or scaling) without requiring additional resources.
    • intelligent: Intelligent update, where the system automatically analyzes the update type and environment status to dynamically select the optimal strategy (either blue-green or in-place).

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    version string

    The instance version. Valid values:

    • 8.5.1_with_X-Pack
    • 7.10_with_X-Pack
    • 6.7_with_X-Pack
    • 7.7_with_X-Pack
    • 6.8_with_X-Pack
    • 6.3_with_X-Pack
    • 5.6_with_X-Pack
    • 5.5.3_with_X-Pack

    NOTE: The versions listed above might not include all versions supported by Elasticsearch instances. You can call the GetRegionConfiguration operation to view the actual supported versions.

    vswitchId string
    The ID of VSwitch.
    warmNodeAmount number
    The Elasticsearch cluster's warm node quantity, between 3 and 50.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.amount' instead.

    warmNodeConfiguration InstanceWarmNodeConfiguration
    Cold data node configuration for the Elasticsearch cluster. See warm_node_configuration below.
    warmNodeDiskEncrypted boolean
    If encrypt the warm node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_encrypted' instead.

    warmNodeDiskSize number
    The single warm node storage space, should between 500 and 20480

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk' instead.

    warmNodeDiskType string
    The warm node disk type. Supported values: cloud_efficiency.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_type' instead.

    warmNodeSpec string
    The warm node specifications of the Elasticsearch instance.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.spec' instead.

    zoneCount number

    The number of zones for the instance. Valid values: 1, 2, and 3. Default value: 1.

    The following arguments will be discarded. Please use new fields as soon as possible:

    arch_type str
    The deployment mode or architecture type:.
    auto_renew_duration int
    Number of auto-renewal periods.
    client_node_amount int
    The Elasticsearch cluster's client node quantity, between 2 and 25.

    Deprecated: Field 'client_node_amount' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.amount' instead.

    client_node_configuration InstanceClientNodeConfigurationArgs
    Configuration of dedicated coordinating nodes in the Elasticsearch cluster. See client_node_configuration below.
    client_node_spec str
    The client node spec. If specified, client node will be created.

    Deprecated: Field 'client_node_spec' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.spec' instead.

    create_time str
    The time when the instance was created.
    data_node_amount int
    The Elasticsearch cluster's data node quantity, between 2 and 50.

    Deprecated: Field 'data_node_amount' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.amount' instead.

    data_node_configuration InstanceDataNodeConfigurationArgs
    Elasticsearch data node information. See data_node_configuration below.
    data_node_disk_encrypted bool
    If encrypt the data node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'data_node_disk_encrypted' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_encrypted' instead.

    data_node_disk_performance_level str
    Cloud disk performance level. Valid values are PL0, PL1, PL2, PL3. The data_node_disk_type muse be cloud_essd.

    Deprecated: Field 'data_node_disk_performance_level' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.performance_level' instead.

    data_node_disk_size int
    The single data node storage space.

    Deprecated: Field 'data_node_disk_size' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk' instead.

    data_node_disk_type str
    The data node disk type. Supported values: cloud_ssd, cloud_efficiency.

    Deprecated: Field 'data_node_disk_type' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_type' instead.

    data_node_spec str
    The data node specifications of the Elasticsearch instance.

    Deprecated: Field 'data_node_spec' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.spec' instead.

    description str
    Instance name, which supports fuzzy search. For example, searching for all instances containing abc may return instances named abc, abcde, xyabc, or xabcy.
    domain str
    The internal network address of the instance.
    enable_kibana_private_network bool
    Indicates whether private network access to Kibana is enabled. Valid values:

    • true: Enabled
    • false: Disabled
    enable_kibana_public_network bool
    Specifies whether to enable public access to Kibana. Valid values:

    • true: Enables public access.
    • false: Disables public access.
    enable_public bool
    Specifies whether to enable a public endpoint for the instance. Valid values:

    • true: Enables the public endpoint.
    • false: Disables the public endpoint.
    force bool

    Whether to force a restart:

    • true: Yes
    • false (default): No.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    instance_category str
    Edition type:

    • x-pack: Creates a commercial edition instance, or a kernel-enhanced edition instance without Indexing Service or OpenStore enabled.
    • IS: Creates a kernel-enhanced edition instance with Indexing Service or OpenStore enabled.
    instance_charge_type str
    Valid values are PrePaid, PostPaid. Default to PostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype from PostPaid to PrePaid, the following attributes are required: period. Use payment_type instead with values PayAsYouGo or Subscription.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.262.0. New field 'payment_type' instead.

    kibana_configuration InstanceKibanaConfigurationArgs
    The configuration of Elasticsearch Kibana nodes. See kibana_configuration below.
    kibana_domain str
    Kibana endpoint.
    kibana_node_spec str
    The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

    Deprecated: Field 'kibana_node_spec' has been deprecated since provider version 1.262.0. New field 'kibana_configuration.spec' instead.

    kibana_port int
    The access port for Kibana.
    kibana_private_domain str
    The private endpoint of Kibana.
    kibana_private_security_group_id str
    List of security groups.
    kibana_private_whitelists Sequence[str]
    List of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    kibana_whitelists Sequence[str]
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    kms_encrypted_password str
    An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored, but you have to specify one of password and kms_encrypted_password fields.
    kms_encryption_context Mapping[str, str]
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    master_configuration InstanceMasterConfigurationArgs
    Configuration information for Elasticsearch dedicated master nodes. See master_configuration below.
    master_node_disk_type str
    The single master node storage space. Valid values are PrePaid, PostPaid.

    Deprecated: Field 'master_node_disk_type' has been deprecated since provider version 1.262.0. New field 'master_configuration.disk_type' instead.

    master_node_spec str
    The dedicated master node spec. If specified, dedicated master node will be created.

    Deprecated: Field 'master_node_spec' has been deprecated since provider version 1.262.0. New field 'master_configuration.spec' instead.

    order_action_type str

    Configuration change type. Valid values:

    • upgrade (default): Upgrade configuration
    • downgrade: Downgrade configuration.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    password str
    The access password for the instance. It must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    payment_type str
    The billing method of the instance. Supported values:

    • PayAsYouGo: Pay-as-you-go
    • Subscription: Subscription
    period int
    The duration that you will buy Elasticsearch instance (in month). It is valid when PaymentType is Subscription. Valid values: [1~9], 12, 24, 36. Default to 1. From version 1.69.2, when to modify this value, the resource can renewal a PrePaid instance.
    port int
    Instance connection port.
    private_whitelists Sequence[str]
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    protocol str
    The access protocol. Supported protocols: HTTP and HTTPS.
    public_domain str
    The public endpoint of the instance.
    public_port int
    The public access port of the instance.
    public_whitelists Sequence[str]
    The IP address whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    renew_status str
    The renewal status. Valid values:

    • AutoRenewal: Auto-renewal.
    • ManualRenewal: Manual renewal.
    • NotRenewal: No renewal.
    renewal_duration_unit str

    The unit of the auto-renewal period. Valid values:

    • M: Month.
    • Y: Year.

    NOTE: This parameter is required when RenewalStatus is set to AutoRenewal.

    resource_group_id str
    The ID of the resource group to which the instance belongs.
    setting_config Mapping[str, str]
    YML configuration file settings for the instance.
    status str
    The status of the instance.
    tags Mapping[str, str]
    Instance tag group.
    update_strategy str

    Elasticsearch update strategy (for example, index updates, cluster upgrades, or service deployments). Valid values:

    • blue_green: Blue-green deployment, which enables seamless switching by running two identical environments (blue and green) in parallel.
    • normal: In-place update, which applies changes directly in the current environment (for example, upgrades or scaling) without requiring additional resources.
    • intelligent: Intelligent update, where the system automatically analyzes the update type and environment status to dynamically select the optimal strategy (either blue-green or in-place).

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    version str

    The instance version. Valid values:

    • 8.5.1_with_X-Pack
    • 7.10_with_X-Pack
    • 6.7_with_X-Pack
    • 7.7_with_X-Pack
    • 6.8_with_X-Pack
    • 6.3_with_X-Pack
    • 5.6_with_X-Pack
    • 5.5.3_with_X-Pack

    NOTE: The versions listed above might not include all versions supported by Elasticsearch instances. You can call the GetRegionConfiguration operation to view the actual supported versions.

    vswitch_id str
    The ID of VSwitch.
    warm_node_amount int
    The Elasticsearch cluster's warm node quantity, between 3 and 50.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.amount' instead.

    warm_node_configuration InstanceWarmNodeConfigurationArgs
    Cold data node configuration for the Elasticsearch cluster. See warm_node_configuration below.
    warm_node_disk_encrypted bool
    If encrypt the warm node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_encrypted' instead.

    warm_node_disk_size int
    The single warm node storage space, should between 500 and 20480

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk' instead.

    warm_node_disk_type str
    The warm node disk type. Supported values: cloud_efficiency.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_type' instead.

    warm_node_spec str
    The warm node specifications of the Elasticsearch instance.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.spec' instead.

    zone_count int

    The number of zones for the instance. Valid values: 1, 2, and 3. Default value: 1.

    The following arguments will be discarded. Please use new fields as soon as possible:

    archType String
    The deployment mode or architecture type:.
    autoRenewDuration Number
    Number of auto-renewal periods.
    clientNodeAmount Number
    The Elasticsearch cluster's client node quantity, between 2 and 25.

    Deprecated: Field 'client_node_amount' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.amount' instead.

    clientNodeConfiguration Property Map
    Configuration of dedicated coordinating nodes in the Elasticsearch cluster. See client_node_configuration below.
    clientNodeSpec String
    The client node spec. If specified, client node will be created.

    Deprecated: Field 'client_node_spec' has been deprecated since provider version 1.262.0. New field 'client_node_configuration.spec' instead.

    createTime String
    The time when the instance was created.
    dataNodeAmount Number
    The Elasticsearch cluster's data node quantity, between 2 and 50.

    Deprecated: Field 'data_node_amount' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.amount' instead.

    dataNodeConfiguration Property Map
    Elasticsearch data node information. See data_node_configuration below.
    dataNodeDiskEncrypted Boolean
    If encrypt the data node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'data_node_disk_encrypted' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_encrypted' instead.

    dataNodeDiskPerformanceLevel String
    Cloud disk performance level. Valid values are PL0, PL1, PL2, PL3. The data_node_disk_type muse be cloud_essd.

    Deprecated: Field 'data_node_disk_performance_level' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.performance_level' instead.

    dataNodeDiskSize Number
    The single data node storage space.

    Deprecated: Field 'data_node_disk_size' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk' instead.

    dataNodeDiskType String
    The data node disk type. Supported values: cloud_ssd, cloud_efficiency.

    Deprecated: Field 'data_node_disk_type' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.disk_type' instead.

    dataNodeSpec String
    The data node specifications of the Elasticsearch instance.

    Deprecated: Field 'data_node_spec' has been deprecated since provider version 1.262.0. New field 'data_node_configuration.spec' instead.

    description String
    Instance name, which supports fuzzy search. For example, searching for all instances containing abc may return instances named abc, abcde, xyabc, or xabcy.
    domain String
    The internal network address of the instance.
    enableKibanaPrivateNetwork Boolean
    Indicates whether private network access to Kibana is enabled. Valid values:

    • true: Enabled
    • false: Disabled
    enableKibanaPublicNetwork Boolean
    Specifies whether to enable public access to Kibana. Valid values:

    • true: Enables public access.
    • false: Disables public access.
    enablePublic Boolean
    Specifies whether to enable a public endpoint for the instance. Valid values:

    • true: Enables the public endpoint.
    • false: Disables the public endpoint.
    force Boolean

    Whether to force a restart:

    • true: Yes
    • false (default): No.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    instanceCategory String
    Edition type:

    • x-pack: Creates a commercial edition instance, or a kernel-enhanced edition instance without Indexing Service or OpenStore enabled.
    • IS: Creates a kernel-enhanced edition instance with Indexing Service or OpenStore enabled.
    instanceChargeType String
    Valid values are PrePaid, PostPaid. Default to PostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype from PostPaid to PrePaid, the following attributes are required: period. Use payment_type instead with values PayAsYouGo or Subscription.

    Deprecated: Field 'instance_charge_type' has been deprecated since provider version 1.262.0. New field 'payment_type' instead.

    kibanaConfiguration Property Map
    The configuration of Elasticsearch Kibana nodes. See kibana_configuration below.
    kibanaDomain String
    Kibana endpoint.
    kibanaNodeSpec String
    The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

    Deprecated: Field 'kibana_node_spec' has been deprecated since provider version 1.262.0. New field 'kibana_configuration.spec' instead.

    kibanaPort Number
    The access port for Kibana.
    kibanaPrivateDomain String
    The private endpoint of Kibana.
    kibanaPrivateSecurityGroupId String
    List of security groups.
    kibanaPrivateWhitelists List<String>
    List of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    kibanaWhitelists List<String>
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    kmsEncryptedPassword String
    An KMS encrypts password used to an instance. If the password is filled in, this field will be ignored, but you have to specify one of password and kms_encrypted_password fields.
    kmsEncryptionContext Map<String>
    An KMS encryption context used to decrypt kms_encrypted_password before creating or updating instance with kms_encrypted_password. See Encryption Context. It is valid when kms_encrypted_password is set.
    masterConfiguration Property Map
    Configuration information for Elasticsearch dedicated master nodes. See master_configuration below.
    masterNodeDiskType String
    The single master node storage space. Valid values are PrePaid, PostPaid.

    Deprecated: Field 'master_node_disk_type' has been deprecated since provider version 1.262.0. New field 'master_configuration.disk_type' instead.

    masterNodeSpec String
    The dedicated master node spec. If specified, dedicated master node will be created.

    Deprecated: Field 'master_node_spec' has been deprecated since provider version 1.262.0. New field 'master_configuration.spec' instead.

    orderActionType String

    Configuration change type. Valid values:

    • upgrade (default): Upgrade configuration
    • downgrade: Downgrade configuration.

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    password String
    The access password for the instance. It must be 8 to 32 characters in length and contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters (!@#$%^&*()_+-=).
    paymentType String
    The billing method of the instance. Supported values:

    • PayAsYouGo: Pay-as-you-go
    • Subscription: Subscription
    period Number
    The duration that you will buy Elasticsearch instance (in month). It is valid when PaymentType is Subscription. Valid values: [1~9], 12, 24, 36. Default to 1. From version 1.69.2, when to modify this value, the resource can renewal a PrePaid instance.
    port Number
    Instance connection port.
    privateWhitelists List<String>
    The list of IP addresses in the whitelist. This parameter is available when whiteIpGroup is empty and modifies the default group's whitelist.
    protocol String
    The access protocol. Supported protocols: HTTP and HTTPS.
    publicDomain String
    The public endpoint of the instance.
    publicPort Number
    The public access port of the instance.
    publicWhitelists List<String>
    The IP address whitelist. This parameter is available when whiteIpGroup is empty and is used to modify the default group's whitelist.
    renewStatus String
    The renewal status. Valid values:

    • AutoRenewal: Auto-renewal.
    • ManualRenewal: Manual renewal.
    • NotRenewal: No renewal.
    renewalDurationUnit String

    The unit of the auto-renewal period. Valid values:

    • M: Month.
    • Y: Year.

    NOTE: This parameter is required when RenewalStatus is set to AutoRenewal.

    resourceGroupId String
    The ID of the resource group to which the instance belongs.
    settingConfig Map<String>
    YML configuration file settings for the instance.
    status String
    The status of the instance.
    tags Map<String>
    Instance tag group.
    updateStrategy String

    Elasticsearch update strategy (for example, index updates, cluster upgrades, or service deployments). Valid values:

    • blue_green: Blue-green deployment, which enables seamless switching by running two identical environments (blue and green) in parallel.
    • normal: In-place update, which applies changes directly in the current environment (for example, upgrades or scaling) without requiring additional resources.
    • intelligent: Intelligent update, where the system automatically analyzes the update type and environment status to dynamically select the optimal strategy (either blue-green or in-place).

    NOTE: This parameter only takes effect when other resource properties are also modified. Changing this parameter alone will not trigger a resource update.

    version String

    The instance version. Valid values:

    • 8.5.1_with_X-Pack
    • 7.10_with_X-Pack
    • 6.7_with_X-Pack
    • 7.7_with_X-Pack
    • 6.8_with_X-Pack
    • 6.3_with_X-Pack
    • 5.6_with_X-Pack
    • 5.5.3_with_X-Pack

    NOTE: The versions listed above might not include all versions supported by Elasticsearch instances. You can call the GetRegionConfiguration operation to view the actual supported versions.

    vswitchId String
    The ID of VSwitch.
    warmNodeAmount Number
    The Elasticsearch cluster's warm node quantity, between 3 and 50.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.amount' instead.

    warmNodeConfiguration Property Map
    Cold data node configuration for the Elasticsearch cluster. See warm_node_configuration below.
    warmNodeDiskEncrypted Boolean
    If encrypt the warm node disk. Valid values are true, false. Default to false.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_encrypted' instead.

    warmNodeDiskSize Number
    The single warm node storage space, should between 500 and 20480

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk' instead.

    warmNodeDiskType String
    The warm node disk type. Supported values: cloud_efficiency.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.disk_type' instead.

    warmNodeSpec String
    The warm node specifications of the Elasticsearch instance.

    Deprecated: Field 'warm_node_amount' has been deprecated since provider version 1.262.0. New field 'warm_node_configuration.spec' instead.

    zoneCount Number

    The number of zones for the instance. Valid values: 1, 2, and 3. Default value: 1.

    The following arguments will be discarded. Please use new fields as soon as possible:

    Supporting Types

    InstanceClientNodeConfiguration, InstanceClientNodeConfigurationArgs

    Amount int
    Number of nodes.
    Disk int
    Node storage capacity, in GB.
    DiskType string
    Storage type of the node. Only ultra disk (cloud_efficiency) is supported.
    Spec string
    Node specification. You can view specification details in Product Specifications.
    Amount int
    Number of nodes.
    Disk int
    Node storage capacity, in GB.
    DiskType string
    Storage type of the node. Only ultra disk (cloud_efficiency) is supported.
    Spec string
    Node specification. You can view specification details in Product Specifications.
    amount Integer
    Number of nodes.
    disk Integer
    Node storage capacity, in GB.
    diskType String
    Storage type of the node. Only ultra disk (cloud_efficiency) is supported.
    spec String
    Node specification. You can view specification details in Product Specifications.
    amount number
    Number of nodes.
    disk number
    Node storage capacity, in GB.
    diskType string
    Storage type of the node. Only ultra disk (cloud_efficiency) is supported.
    spec string
    Node specification. You can view specification details in Product Specifications.
    amount int
    Number of nodes.
    disk int
    Node storage capacity, in GB.
    disk_type str
    Storage type of the node. Only ultra disk (cloud_efficiency) is supported.
    spec str
    Node specification. You can view specification details in Product Specifications.
    amount Number
    Number of nodes.
    disk Number
    Node storage capacity, in GB.
    diskType String
    Storage type of the node. Only ultra disk (cloud_efficiency) is supported.
    spec String
    Node specification. You can view specification details in Product Specifications.

    InstanceDataNodeConfiguration, InstanceDataNodeConfigurationArgs

    Spec string
    Node specification. For more information about specifications, see Product Specifications.
    Amount int
    Number of data nodes. Valid values: 2 to 50.
    Disk int
    Storage capacity per node, in GB.
    DiskEncryption bool
    Whether to enable cloud disk encryption:

    • true: Enabled
    • false: Disabled.
    DiskType string
    Node disk type. Supported types:

    • cloud_ssd: SSD cloud disk
    • cloud_efficiency: Ultra cloud disk.
    PerformanceLevel string
    Performance level of ESSD cloud disks. This parameter is required when diskType is set to cloud_essd. Supported values: PL1, PL2, PL3.
    Spec string
    Node specification. For more information about specifications, see Product Specifications.
    Amount int
    Number of data nodes. Valid values: 2 to 50.
    Disk int
    Storage capacity per node, in GB.
    DiskEncryption bool
    Whether to enable cloud disk encryption:

    • true: Enabled
    • false: Disabled.
    DiskType string
    Node disk type. Supported types:

    • cloud_ssd: SSD cloud disk
    • cloud_efficiency: Ultra cloud disk.
    PerformanceLevel string
    Performance level of ESSD cloud disks. This parameter is required when diskType is set to cloud_essd. Supported values: PL1, PL2, PL3.
    spec String
    Node specification. For more information about specifications, see Product Specifications.
    amount Integer
    Number of data nodes. Valid values: 2 to 50.
    disk Integer
    Storage capacity per node, in GB.
    diskEncryption Boolean
    Whether to enable cloud disk encryption:

    • true: Enabled
    • false: Disabled.
    diskType String
    Node disk type. Supported types:

    • cloud_ssd: SSD cloud disk
    • cloud_efficiency: Ultra cloud disk.
    performanceLevel String
    Performance level of ESSD cloud disks. This parameter is required when diskType is set to cloud_essd. Supported values: PL1, PL2, PL3.
    spec string
    Node specification. For more information about specifications, see Product Specifications.
    amount number
    Number of data nodes. Valid values: 2 to 50.
    disk number
    Storage capacity per node, in GB.
    diskEncryption boolean
    Whether to enable cloud disk encryption:

    • true: Enabled
    • false: Disabled.
    diskType string
    Node disk type. Supported types:

    • cloud_ssd: SSD cloud disk
    • cloud_efficiency: Ultra cloud disk.
    performanceLevel string
    Performance level of ESSD cloud disks. This parameter is required when diskType is set to cloud_essd. Supported values: PL1, PL2, PL3.
    spec str
    Node specification. For more information about specifications, see Product Specifications.
    amount int
    Number of data nodes. Valid values: 2 to 50.
    disk int
    Storage capacity per node, in GB.
    disk_encryption bool
    Whether to enable cloud disk encryption:

    • true: Enabled
    • false: Disabled.
    disk_type str
    Node disk type. Supported types:

    • cloud_ssd: SSD cloud disk
    • cloud_efficiency: Ultra cloud disk.
    performance_level str
    Performance level of ESSD cloud disks. This parameter is required when diskType is set to cloud_essd. Supported values: PL1, PL2, PL3.
    spec String
    Node specification. For more information about specifications, see Product Specifications.
    amount Number
    Number of data nodes. Valid values: 2 to 50.
    disk Number
    Storage capacity per node, in GB.
    diskEncryption Boolean
    Whether to enable cloud disk encryption:

    • true: Enabled
    • false: Disabled.
    diskType String
    Node disk type. Supported types:

    • cloud_ssd: SSD cloud disk
    • cloud_efficiency: Ultra cloud disk.
    performanceLevel String
    Performance level of ESSD cloud disks. This parameter is required when diskType is set to cloud_essd. Supported values: PL1, PL2, PL3.

    InstanceKibanaConfiguration, InstanceKibanaConfigurationArgs

    Spec string
    Node specification. For specification details, see Product Specifications.
    Amount int
    The number of nodes.
    Disk int
    Storage capacity per node, in GB.
    Spec string
    Node specification. For specification details, see Product Specifications.
    Amount int
    The number of nodes.
    Disk int
    Storage capacity per node, in GB.
    spec String
    Node specification. For specification details, see Product Specifications.
    amount Integer
    The number of nodes.
    disk Integer
    Storage capacity per node, in GB.
    spec string
    Node specification. For specification details, see Product Specifications.
    amount number
    The number of nodes.
    disk number
    Storage capacity per node, in GB.
    spec str
    Node specification. For specification details, see Product Specifications.
    amount int
    The number of nodes.
    disk int
    Storage capacity per node, in GB.
    spec String
    Node specification. For specification details, see Product Specifications.
    amount Number
    The number of nodes.
    disk Number
    Storage capacity per node, in GB.

    InstanceMasterConfiguration, InstanceMasterConfigurationArgs

    Amount int
    Number of nodes.
    Disk int
    Node storage capacity, in GB.
    DiskType string
    Node storage type. Only cloud_ssd (SSD cloud disk) is supported.
    Spec string
    Node specification. For specifications, see Product Specifications.
    Amount int
    Number of nodes.
    Disk int
    Node storage capacity, in GB.
    DiskType string
    Node storage type. Only cloud_ssd (SSD cloud disk) is supported.
    Spec string
    Node specification. For specifications, see Product Specifications.
    amount Integer
    Number of nodes.
    disk Integer
    Node storage capacity, in GB.
    diskType String
    Node storage type. Only cloud_ssd (SSD cloud disk) is supported.
    spec String
    Node specification. For specifications, see Product Specifications.
    amount number
    Number of nodes.
    disk number
    Node storage capacity, in GB.
    diskType string
    Node storage type. Only cloud_ssd (SSD cloud disk) is supported.
    spec string
    Node specification. For specifications, see Product Specifications.
    amount int
    Number of nodes.
    disk int
    Node storage capacity, in GB.
    disk_type str
    Node storage type. Only cloud_ssd (SSD cloud disk) is supported.
    spec str
    Node specification. For specifications, see Product Specifications.
    amount Number
    Number of nodes.
    disk Number
    Node storage capacity, in GB.
    diskType String
    Node storage type. Only cloud_ssd (SSD cloud disk) is supported.
    spec String
    Node specification. For specifications, see Product Specifications.

    InstanceWarmNodeConfiguration, InstanceWarmNodeConfigurationArgs

    Amount int
    Number of nodes.
    Disk int
    Storage capacity per node, in GB.
    DiskEncryption bool
    Whether to enable disk encryption. The values are as follows:

    • true: Enabled.
    • false: Disabled.
    DiskType string
    Storage type for the node. Only cloud_efficiency (ultra disk) is supported.
    Spec string
    Node specification. For specifications, see Product Specifications.
    Amount int
    Number of nodes.
    Disk int
    Storage capacity per node, in GB.
    DiskEncryption bool
    Whether to enable disk encryption. The values are as follows:

    • true: Enabled.
    • false: Disabled.
    DiskType string
    Storage type for the node. Only cloud_efficiency (ultra disk) is supported.
    Spec string
    Node specification. For specifications, see Product Specifications.
    amount Integer
    Number of nodes.
    disk Integer
    Storage capacity per node, in GB.
    diskEncryption Boolean
    Whether to enable disk encryption. The values are as follows:

    • true: Enabled.
    • false: Disabled.
    diskType String
    Storage type for the node. Only cloud_efficiency (ultra disk) is supported.
    spec String
    Node specification. For specifications, see Product Specifications.
    amount number
    Number of nodes.
    disk number
    Storage capacity per node, in GB.
    diskEncryption boolean
    Whether to enable disk encryption. The values are as follows:

    • true: Enabled.
    • false: Disabled.
    diskType string
    Storage type for the node. Only cloud_efficiency (ultra disk) is supported.
    spec string
    Node specification. For specifications, see Product Specifications.
    amount int
    Number of nodes.
    disk int
    Storage capacity per node, in GB.
    disk_encryption bool
    Whether to enable disk encryption. The values are as follows:

    • true: Enabled.
    • false: Disabled.
    disk_type str
    Storage type for the node. Only cloud_efficiency (ultra disk) is supported.
    spec str
    Node specification. For specifications, see Product Specifications.
    amount Number
    Number of nodes.
    disk Number
    Storage capacity per node, in GB.
    diskEncryption Boolean
    Whether to enable disk encryption. The values are as follows:

    • true: Enabled.
    • false: Disabled.
    diskType String
    Storage type for the node. Only cloud_efficiency (ultra disk) is supported.
    spec String
    Node specification. For specifications, see Product Specifications.

    Import

    Elasticsearch Instance can be imported using the id, e.g.

    $ pulumi import alicloud:elasticsearch/instance:Instance example <instance_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    Alibaba Cloud pulumi/pulumi-alicloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the alicloud Terraform Provider.
    alicloud logo
    Viewing docs for Alibaba Cloud v3.97.0
    published on Saturday, Mar 14, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.