Instance

Provides a Elasticsearch instance resource. It contains data nodes, dedicated master node(optional) and etc. It can be associated with private IP whitelists and kibana IP whitelist.

NOTE: Only one operation is supported in a request. So if data_node_spec and data_node_disk_size are both changed, system will respond error.

NOTE: At present, version can not be modified once instance has been created.

Example Usage

using Pulumi;
using AliCloud = Pulumi.AliCloud;

class MyStack : Stack
{
    public MyStack()
    {
        var instance = new AliCloud.ElasticSearch.Instance("instance", new AliCloud.ElasticSearch.InstanceArgs
        {
            InstanceChargeType = "PostPaid",
            DataNodeAmount = 2,
            DataNodeSpec = "elasticsearch.sn2ne.large",
            DataNodeDiskSize = 20,
            DataNodeDiskType = "cloud_ssd",
            VswitchId = "some vswitch id",
            Password = "Your password",
            Version = "5.5.3_with_X-Pack",
            Description = "description",
            ZoneCount = 2,
            Tags = 
            {
                { "key1", "value1" },
                { "key2", "value2" },
            },
        });
    }

}

Coming soon!

import pulumi
import pulumi_alicloud as alicloud

instance = alicloud.elasticsearch.Instance("instance",
    instance_charge_type="PostPaid",
    data_node_amount="2",
    data_node_spec="elasticsearch.sn2ne.large",
    data_node_disk_size="20",
    data_node_disk_type="cloud_ssd",
    vswitch_id="some vswitch id",
    password="Your password",
    version="5.5.3_with_X-Pack",
    description="description",
    zone_count="2",
    tags={
        "key1": "value1",
        "key2": "value2",
    })
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";

const instance = new alicloud.elasticsearch.Instance("instance", {
    instanceChargeType: "PostPaid",
    dataNodeAmount: "2",
    dataNodeSpec: "elasticsearch.sn2ne.large",
    dataNodeDiskSize: "20",
    dataNodeDiskType: "cloud_ssd",
    vswitchId: "some vswitch id",
    password: "Your password",
    version: "5.5.3_with_X-Pack",
    description: "description",
    zoneCount: "2",
    tags: {
        key1: "value1",
        key2: "value2",
    },
});

Create a Instance Resource

def Instance(resource_name, opts=None, data_node_amount=None, data_node_disk_encrypted=None, data_node_disk_size=None, data_node_disk_type=None, data_node_spec=None, description=None, enable_kibana_private_network=None, enable_kibana_public_network=None, enable_public=None, instance_charge_type=None, kibana_private_whitelists=None, kibana_whitelists=None, kms_encrypted_password=None, kms_encryption_context=None, master_node_spec=None, password=None, period=None, private_whitelists=None, public_whitelists=None, resource_group_id=None, tags=None, version=None, vswitch_id=None, zone_count=None, __props__=None);
func NewInstance(ctx *Context, name string, args InstanceArgs, opts ...ResourceOption) (*Instance, error)
public Instance(string name, InstanceArgs args, CustomResourceOptions? opts = null)
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.
opts ResourceOptions
A bag of options that control this 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.

Instance Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Instance resource accepts the following input properties:

DataNodeAmount int

The Elasticsearch cluster’s data node quantity, between 2 and 50.

DataNodeDiskSize int

The single data node storage space. - cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). - cloud_efficiency An ultra disk, supports a maximum of 5120 GiB (5 TB). If the data to be stored is larger than 2048 GiB, an ultra disk can only support the following data sizes (GiB): [2560, 3072, 3584, 4096, 4608, 5120].

DataNodeDiskType string

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

DataNodeSpec string

The data node specifications of the Elasticsearch instance.

Version string

Elasticsearch version. Supported values: 5.5.3_with_X-Pack, 6.3_with_X-Pack and 6.7_with_X-Pack.

VswitchId string

The ID of VSwitch.

DataNodeDiskEncrypted bool

If encrypt the data node disk. Valid values are true, false. Default to false.

Description string

The description of instance. It a string of 0 to 30 characters.

EnableKibanaPrivateNetwork bool

Bool, default to false. When it set to true, the instance can close kibana private network access。

EnableKibanaPublicNetwork bool

Bool, default to true. When it set to false, the instance can enable kibana public network access。

EnablePublic bool

Bool, default to false. When it set to true, the instance can enable public network access。

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. But, updating from PostPaid to PrePaid is not supported.

KibanaPrivateWhitelists List<string>

Set the Kibana’s IP whitelist in private network.

KibanaWhitelists List<string>

Set the Kibana’s IP whitelist in internet network.

KmsEncryptedPassword string

An KMS encrypts password used to a 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, object>

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.

MasterNodeSpec string

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

Password string

The password of the instance. The password can be 8 to 30 characters in length and must contain three of the following conditions: uppercase letters, lowercase letters, numbers, and special characters (!@#$%^&*()_+-=).

Period int

The duration that you will buy Elasticsearch instance (in month). It is valid when instance_charge_type is PrePaid. 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>

Set the instance’s IP whitelist in VPC network.

PublicWhitelists List<string>

Set the instance’s IP whitelist in internet network.

ResourceGroupId string

The Id of resource group which the Elasticsearch instance belongs.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource. - key: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“. It cannot contain “http://” and “https://“. It cannot be a null string. - value: It can be up to 128 characters in length. It cannot contain “http://” and “https://“. It can be a null string.

ZoneCount int

The Multi-AZ supported for Elasticsearch, between 1 and 3. The data_node_amount value must be an integral multiple of the zone_count value.

DataNodeAmount int

The Elasticsearch cluster’s data node quantity, between 2 and 50.

DataNodeDiskSize int

The single data node storage space. - cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). - cloud_efficiency An ultra disk, supports a maximum of 5120 GiB (5 TB). If the data to be stored is larger than 2048 GiB, an ultra disk can only support the following data sizes (GiB): [2560, 3072, 3584, 4096, 4608, 5120].

DataNodeDiskType string

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

DataNodeSpec string

The data node specifications of the Elasticsearch instance.

Version string

Elasticsearch version. Supported values: 5.5.3_with_X-Pack, 6.3_with_X-Pack and 6.7_with_X-Pack.

VswitchId string

The ID of VSwitch.

DataNodeDiskEncrypted bool

If encrypt the data node disk. Valid values are true, false. Default to false.

Description string

The description of instance. It a string of 0 to 30 characters.

EnableKibanaPrivateNetwork bool

Bool, default to false. When it set to true, the instance can close kibana private network access。

EnableKibanaPublicNetwork bool

Bool, default to true. When it set to false, the instance can enable kibana public network access。

EnablePublic bool

Bool, default to false. When it set to true, the instance can enable public network access。

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. But, updating from PostPaid to PrePaid is not supported.

KibanaPrivateWhitelists []string

Set the Kibana’s IP whitelist in private network.

KibanaWhitelists []string

Set the Kibana’s IP whitelist in internet network.

KmsEncryptedPassword string

An KMS encrypts password used to a 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]interface{}

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.

MasterNodeSpec string

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

Password string

The password of the instance. The password can be 8 to 30 characters in length and must contain three of the following conditions: uppercase letters, lowercase letters, numbers, and special characters (!@#$%^&*()_+-=).

Period int

The duration that you will buy Elasticsearch instance (in month). It is valid when instance_charge_type is PrePaid. 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

Set the instance’s IP whitelist in VPC network.

PublicWhitelists []string

Set the instance’s IP whitelist in internet network.

ResourceGroupId string

The Id of resource group which the Elasticsearch instance belongs.

Tags map[string]interface{}

A mapping of tags to assign to the resource. - key: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“. It cannot contain “http://” and “https://“. It cannot be a null string. - value: It can be up to 128 characters in length. It cannot contain “http://” and “https://“. It can be a null string.

ZoneCount int

The Multi-AZ supported for Elasticsearch, between 1 and 3. The data_node_amount value must be an integral multiple of the zone_count value.

dataNodeAmount number

The Elasticsearch cluster’s data node quantity, between 2 and 50.

dataNodeDiskSize number

The single data node storage space. - cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). - cloud_efficiency An ultra disk, supports a maximum of 5120 GiB (5 TB). If the data to be stored is larger than 2048 GiB, an ultra disk can only support the following data sizes (GiB): [2560, 3072, 3584, 4096, 4608, 5120].

dataNodeDiskType string

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

dataNodeSpec string

The data node specifications of the Elasticsearch instance.

version string

Elasticsearch version. Supported values: 5.5.3_with_X-Pack, 6.3_with_X-Pack and 6.7_with_X-Pack.

vswitchId string

The ID of VSwitch.

dataNodeDiskEncrypted boolean

If encrypt the data node disk. Valid values are true, false. Default to false.

description string

The description of instance. It a string of 0 to 30 characters.

enableKibanaPrivateNetwork boolean

Bool, default to false. When it set to true, the instance can close kibana private network access。

enableKibanaPublicNetwork boolean

Bool, default to true. When it set to false, the instance can enable kibana public network access。

enablePublic boolean

Bool, default to false. When it set to true, the instance can enable public network access。

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. But, updating from PostPaid to PrePaid is not supported.

kibanaPrivateWhitelists string[]

Set the Kibana’s IP whitelist in private network.

kibanaWhitelists string[]

Set the Kibana’s IP whitelist in internet network.

kmsEncryptedPassword string

An KMS encrypts password used to a 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]: any}

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.

masterNodeSpec string

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

password string

The password of the instance. The password can be 8 to 30 characters in length and must contain three of the following conditions: uppercase letters, lowercase letters, numbers, and special characters (!@#$%^&*()_+-=).

period number

The duration that you will buy Elasticsearch instance (in month). It is valid when instance_charge_type is PrePaid. 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[]

Set the instance’s IP whitelist in VPC network.

publicWhitelists string[]

Set the instance’s IP whitelist in internet network.

resourceGroupId string

The Id of resource group which the Elasticsearch instance belongs.

tags {[key: string]: any}

A mapping of tags to assign to the resource. - key: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“. It cannot contain “http://” and “https://“. It cannot be a null string. - value: It can be up to 128 characters in length. It cannot contain “http://” and “https://“. It can be a null string.

zoneCount number

The Multi-AZ supported for Elasticsearch, between 1 and 3. The data_node_amount value must be an integral multiple of the zone_count value.

data_node_amount float

The Elasticsearch cluster’s data node quantity, between 2 and 50.

data_node_disk_size float

The single data node storage space. - cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). - cloud_efficiency An ultra disk, supports a maximum of 5120 GiB (5 TB). If the data to be stored is larger than 2048 GiB, an ultra disk can only support the following data sizes (GiB): [2560, 3072, 3584, 4096, 4608, 5120].

data_node_disk_type str

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

data_node_spec str

The data node specifications of the Elasticsearch instance.

version str

Elasticsearch version. Supported values: 5.5.3_with_X-Pack, 6.3_with_X-Pack and 6.7_with_X-Pack.

vswitch_id str

The ID of VSwitch.

data_node_disk_encrypted bool

If encrypt the data node disk. Valid values are true, false. Default to false.

description str

The description of instance. It a string of 0 to 30 characters.

enable_kibana_private_network bool

Bool, default to false. When it set to true, the instance can close kibana private network access。

enable_kibana_public_network bool

Bool, default to true. When it set to false, the instance can enable kibana public network access。

enable_public bool

Bool, default to false. When it set to true, the instance can enable public network access。

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. But, updating from PostPaid to PrePaid is not supported.

kibana_private_whitelists List[str]

Set the Kibana’s IP whitelist in private network.

kibana_whitelists List[str]

Set the Kibana’s IP whitelist in internet network.

kms_encrypted_password str

An KMS encrypts password used to a 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 Dict[str, Any]

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_node_spec str

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

password str

The password of the instance. The password can be 8 to 30 characters in length and must contain three of the following conditions: uppercase letters, lowercase letters, numbers, and special characters (!@#$%^&*()_+-=).

period float

The duration that you will buy Elasticsearch instance (in month). It is valid when instance_charge_type is PrePaid. 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 List[str]

Set the instance’s IP whitelist in VPC network.

public_whitelists List[str]

Set the instance’s IP whitelist in internet network.

resource_group_id str

The Id of resource group which the Elasticsearch instance belongs.

tags Dict[str, Any]

A mapping of tags to assign to the resource. - key: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“. It cannot contain “http://” and “https://“. It cannot be a null string. - value: It can be up to 128 characters in length. It cannot contain “http://” and “https://“. It can be a null string.

zone_count float

The Multi-AZ supported for Elasticsearch, between 1 and 3. The data_node_amount value must be an integral multiple of the zone_count value.

Outputs

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

Domain string

Instance connection domain (only VPC network access supported).

Id string
The provider-assigned unique ID for this managed resource.
KibanaDomain string

Kibana console domain (Internet access supported).

KibanaPort int

Kibana console port.

Port int

Instance connection port.

Status string

The Elasticsearch instance status. Includes active, activating, inactive. Some operations are denied when status is not active.

Domain string

Instance connection domain (only VPC network access supported).

Id string
The provider-assigned unique ID for this managed resource.
KibanaDomain string

Kibana console domain (Internet access supported).

KibanaPort int

Kibana console port.

Port int

Instance connection port.

Status string

The Elasticsearch instance status. Includes active, activating, inactive. Some operations are denied when status is not active.

domain string

Instance connection domain (only VPC network access supported).

id string
The provider-assigned unique ID for this managed resource.
kibanaDomain string

Kibana console domain (Internet access supported).

kibanaPort number

Kibana console port.

port number

Instance connection port.

status string

The Elasticsearch instance status. Includes active, activating, inactive. Some operations are denied when status is not active.

domain str

Instance connection domain (only VPC network access supported).

id str
The provider-assigned unique ID for this managed resource.
kibana_domain str

Kibana console domain (Internet access supported).

kibana_port float

Kibana console port.

port float

Instance connection port.

status str

The Elasticsearch instance status. Includes active, activating, inactive. Some operations are denied when status is not active.

Look up an 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
static get(resource_name, id, opts=None, data_node_amount=None, data_node_disk_encrypted=None, data_node_disk_size=None, data_node_disk_type=None, data_node_spec=None, description=None, domain=None, enable_kibana_private_network=None, enable_kibana_public_network=None, enable_public=None, instance_charge_type=None, kibana_domain=None, kibana_port=None, kibana_private_whitelists=None, kibana_whitelists=None, kms_encrypted_password=None, kms_encryption_context=None, master_node_spec=None, password=None, period=None, port=None, private_whitelists=None, public_whitelists=None, resource_group_id=None, status=None, tags=None, version=None, vswitch_id=None, zone_count=None, __props__=None);
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)
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.

The following state arguments are supported:

DataNodeAmount int

The Elasticsearch cluster’s data node quantity, between 2 and 50.

DataNodeDiskEncrypted bool

If encrypt the data node disk. Valid values are true, false. Default to false.

DataNodeDiskSize int

The single data node storage space. - cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). - cloud_efficiency An ultra disk, supports a maximum of 5120 GiB (5 TB). If the data to be stored is larger than 2048 GiB, an ultra disk can only support the following data sizes (GiB): [2560, 3072, 3584, 4096, 4608, 5120].

DataNodeDiskType string

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

DataNodeSpec string

The data node specifications of the Elasticsearch instance.

Description string

The description of instance. It a string of 0 to 30 characters.

Domain string

Instance connection domain (only VPC network access supported).

EnableKibanaPrivateNetwork bool

Bool, default to false. When it set to true, the instance can close kibana private network access。

EnableKibanaPublicNetwork bool

Bool, default to true. When it set to false, the instance can enable kibana public network access。

EnablePublic bool

Bool, default to false. When it set to true, the instance can enable public network access。

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. But, updating from PostPaid to PrePaid is not supported.

KibanaDomain string

Kibana console domain (Internet access supported).

KibanaPort int

Kibana console port.

KibanaPrivateWhitelists List<string>

Set the Kibana’s IP whitelist in private network.

KibanaWhitelists List<string>

Set the Kibana’s IP whitelist in internet network.

KmsEncryptedPassword string

An KMS encrypts password used to a 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, object>

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.

MasterNodeSpec string

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

Password string

The password of the instance. The password can be 8 to 30 characters in length and must contain three of the following conditions: uppercase letters, lowercase letters, numbers, and special characters (!@#$%^&*()_+-=).

Period int

The duration that you will buy Elasticsearch instance (in month). It is valid when instance_charge_type is PrePaid. 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>

Set the instance’s IP whitelist in VPC network.

PublicWhitelists List<string>

Set the instance’s IP whitelist in internet network.

ResourceGroupId string

The Id of resource group which the Elasticsearch instance belongs.

Status string

The Elasticsearch instance status. Includes active, activating, inactive. Some operations are denied when status is not active.

Tags Dictionary<string, object>

A mapping of tags to assign to the resource. - key: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“. It cannot contain “http://” and “https://“. It cannot be a null string. - value: It can be up to 128 characters in length. It cannot contain “http://” and “https://“. It can be a null string.

Version string

Elasticsearch version. Supported values: 5.5.3_with_X-Pack, 6.3_with_X-Pack and 6.7_with_X-Pack.

VswitchId string

The ID of VSwitch.

ZoneCount int

The Multi-AZ supported for Elasticsearch, between 1 and 3. The data_node_amount value must be an integral multiple of the zone_count value.

DataNodeAmount int

The Elasticsearch cluster’s data node quantity, between 2 and 50.

DataNodeDiskEncrypted bool

If encrypt the data node disk. Valid values are true, false. Default to false.

DataNodeDiskSize int

The single data node storage space. - cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). - cloud_efficiency An ultra disk, supports a maximum of 5120 GiB (5 TB). If the data to be stored is larger than 2048 GiB, an ultra disk can only support the following data sizes (GiB): [2560, 3072, 3584, 4096, 4608, 5120].

DataNodeDiskType string

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

DataNodeSpec string

The data node specifications of the Elasticsearch instance.

Description string

The description of instance. It a string of 0 to 30 characters.

Domain string

Instance connection domain (only VPC network access supported).

EnableKibanaPrivateNetwork bool

Bool, default to false. When it set to true, the instance can close kibana private network access。

EnableKibanaPublicNetwork bool

Bool, default to true. When it set to false, the instance can enable kibana public network access。

EnablePublic bool

Bool, default to false. When it set to true, the instance can enable public network access。

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. But, updating from PostPaid to PrePaid is not supported.

KibanaDomain string

Kibana console domain (Internet access supported).

KibanaPort int

Kibana console port.

KibanaPrivateWhitelists []string

Set the Kibana’s IP whitelist in private network.

KibanaWhitelists []string

Set the Kibana’s IP whitelist in internet network.

KmsEncryptedPassword string

An KMS encrypts password used to a 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]interface{}

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.

MasterNodeSpec string

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

Password string

The password of the instance. The password can be 8 to 30 characters in length and must contain three of the following conditions: uppercase letters, lowercase letters, numbers, and special characters (!@#$%^&*()_+-=).

Period int

The duration that you will buy Elasticsearch instance (in month). It is valid when instance_charge_type is PrePaid. 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

Set the instance’s IP whitelist in VPC network.

PublicWhitelists []string

Set the instance’s IP whitelist in internet network.

ResourceGroupId string

The Id of resource group which the Elasticsearch instance belongs.

Status string

The Elasticsearch instance status. Includes active, activating, inactive. Some operations are denied when status is not active.

Tags map[string]interface{}

A mapping of tags to assign to the resource. - key: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“. It cannot contain “http://” and “https://“. It cannot be a null string. - value: It can be up to 128 characters in length. It cannot contain “http://” and “https://“. It can be a null string.

Version string

Elasticsearch version. Supported values: 5.5.3_with_X-Pack, 6.3_with_X-Pack and 6.7_with_X-Pack.

VswitchId string

The ID of VSwitch.

ZoneCount int

The Multi-AZ supported for Elasticsearch, between 1 and 3. The data_node_amount value must be an integral multiple of the zone_count value.

dataNodeAmount number

The Elasticsearch cluster’s data node quantity, between 2 and 50.

dataNodeDiskEncrypted boolean

If encrypt the data node disk. Valid values are true, false. Default to false.

dataNodeDiskSize number

The single data node storage space. - cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). - cloud_efficiency An ultra disk, supports a maximum of 5120 GiB (5 TB). If the data to be stored is larger than 2048 GiB, an ultra disk can only support the following data sizes (GiB): [2560, 3072, 3584, 4096, 4608, 5120].

dataNodeDiskType string

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

dataNodeSpec string

The data node specifications of the Elasticsearch instance.

description string

The description of instance. It a string of 0 to 30 characters.

domain string

Instance connection domain (only VPC network access supported).

enableKibanaPrivateNetwork boolean

Bool, default to false. When it set to true, the instance can close kibana private network access。

enableKibanaPublicNetwork boolean

Bool, default to true. When it set to false, the instance can enable kibana public network access。

enablePublic boolean

Bool, default to false. When it set to true, the instance can enable public network access。

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. But, updating from PostPaid to PrePaid is not supported.

kibanaDomain string

Kibana console domain (Internet access supported).

kibanaPort number

Kibana console port.

kibanaPrivateWhitelists string[]

Set the Kibana’s IP whitelist in private network.

kibanaWhitelists string[]

Set the Kibana’s IP whitelist in internet network.

kmsEncryptedPassword string

An KMS encrypts password used to a 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]: any}

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.

masterNodeSpec string

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

password string

The password of the instance. The password can be 8 to 30 characters in length and must contain three of the following conditions: uppercase letters, lowercase letters, numbers, and special characters (!@#$%^&*()_+-=).

period number

The duration that you will buy Elasticsearch instance (in month). It is valid when instance_charge_type is PrePaid. 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[]

Set the instance’s IP whitelist in VPC network.

publicWhitelists string[]

Set the instance’s IP whitelist in internet network.

resourceGroupId string

The Id of resource group which the Elasticsearch instance belongs.

status string

The Elasticsearch instance status. Includes active, activating, inactive. Some operations are denied when status is not active.

tags {[key: string]: any}

A mapping of tags to assign to the resource. - key: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“. It cannot contain “http://” and “https://“. It cannot be a null string. - value: It can be up to 128 characters in length. It cannot contain “http://” and “https://“. It can be a null string.

version string

Elasticsearch version. Supported values: 5.5.3_with_X-Pack, 6.3_with_X-Pack and 6.7_with_X-Pack.

vswitchId string

The ID of VSwitch.

zoneCount number

The Multi-AZ supported for Elasticsearch, between 1 and 3. The data_node_amount value must be an integral multiple of the zone_count value.

data_node_amount float

The Elasticsearch cluster’s data node quantity, between 2 and 50.

data_node_disk_encrypted bool

If encrypt the data node disk. Valid values are true, false. Default to false.

data_node_disk_size float

The single data node storage space. - cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). - cloud_efficiency An ultra disk, supports a maximum of 5120 GiB (5 TB). If the data to be stored is larger than 2048 GiB, an ultra disk can only support the following data sizes (GiB): [2560, 3072, 3584, 4096, 4608, 5120].

data_node_disk_type str

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

data_node_spec str

The data node specifications of the Elasticsearch instance.

description str

The description of instance. It a string of 0 to 30 characters.

domain str

Instance connection domain (only VPC network access supported).

enable_kibana_private_network bool

Bool, default to false. When it set to true, the instance can close kibana private network access。

enable_kibana_public_network bool

Bool, default to true. When it set to false, the instance can enable kibana public network access。

enable_public bool

Bool, default to false. When it set to true, the instance can enable public network access。

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. But, updating from PostPaid to PrePaid is not supported.

kibana_domain str

Kibana console domain (Internet access supported).

kibana_port float

Kibana console port.

kibana_private_whitelists List[str]

Set the Kibana’s IP whitelist in private network.

kibana_whitelists List[str]

Set the Kibana’s IP whitelist in internet network.

kms_encrypted_password str

An KMS encrypts password used to a 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 Dict[str, Any]

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_node_spec str

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

password str

The password of the instance. The password can be 8 to 30 characters in length and must contain three of the following conditions: uppercase letters, lowercase letters, numbers, and special characters (!@#$%^&*()_+-=).

period float

The duration that you will buy Elasticsearch instance (in month). It is valid when instance_charge_type is PrePaid. 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 float

Instance connection port.

private_whitelists List[str]

Set the instance’s IP whitelist in VPC network.

public_whitelists List[str]

Set the instance’s IP whitelist in internet network.

resource_group_id str

The Id of resource group which the Elasticsearch instance belongs.

status str

The Elasticsearch instance status. Includes active, activating, inactive. Some operations are denied when status is not active.

tags Dict[str, Any]

A mapping of tags to assign to the resource. - key: It can be up to 128 characters in length. It cannot begin with “aliyun”, “acs:“. It cannot contain “http://” and “https://“. It cannot be a null string. - value: It can be up to 128 characters in length. It cannot contain “http://” and “https://“. It can be a null string.

version str

Elasticsearch version. Supported values: 5.5.3_with_X-Pack, 6.3_with_X-Pack and 6.7_with_X-Pack.

vswitch_id str

The ID of VSwitch.

zone_count float

The Multi-AZ supported for Elasticsearch, between 1 and 3. The data_node_amount value must be an integral multiple of the zone_count value.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.