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_specanddata_node_disk_sizeare both changed, system will respond error.NOTE: At present,
versioncan 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
new Instance(name: string, args: InstanceArgs, opts?: CustomResourceOptions);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:
- Data
Node intAmount The Elasticsearch cluster’s data node quantity, between 2 and 50.
- Data
Node intDisk Size The single data node storage space. -
cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). -cloud_efficiencyAn 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 stringDisk Type The data node disk type. Supported values: cloud_ssd, cloud_efficiency.
- Data
Node stringSpec The data node specifications of the Elasticsearch instance.
- Version string
Elasticsearch version. Supported values:
5.5.3_with_X-Pack,6.3_with_X-Packand6.7_with_X-Pack.- Vswitch
Id string The ID of VSwitch.
- Data
Node boolDisk Encrypted If encrypt the data node disk. Valid values are
true,false. Default tofalse.- Description string
The description of instance. It a string of 0 to 30 characters.
- Enable
Kibana boolPrivate Network Bool, default to false. When it set to true, the instance can close kibana private network access。
- Enable
Kibana boolPublic Network 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 stringType Valid values are
PrePaid,PostPaid. Default toPostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype fromPostPaidtoPrePaid, the following attributes are required:period. But, updating fromPostPaidtoPrePaidis not supported.- Kibana
Private List<string>Whitelists Set the Kibana’s IP whitelist in private network.
- Kibana
Whitelists List<string> Set the Kibana’s IP whitelist in internet network.
- Kms
Encrypted stringPassword An KMS encrypts password used to a instance. If the
passwordis filled in, this field will be ignored, but you have to specify one ofpasswordandkms_encrypted_passwordfields.- Kms
Encryption Dictionary<string, object>Context An KMS encryption context used to decrypt
kms_encrypted_passwordbefore creating or updating instance withkms_encrypted_password. See Encryption Context. It is valid whenkms_encrypted_passwordis set.- Master
Node stringSpec 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 aPrePaidinstance.- Private
Whitelists List<string> Set the instance’s IP whitelist in VPC network.
- Public
Whitelists List<string> Set the instance’s IP whitelist in internet network.
- Resource
Group stringId The Id of resource group which the Elasticsearch instance belongs.
- 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.
- Zone
Count int The Multi-AZ supported for Elasticsearch, between 1 and 3. The
data_node_amountvalue must be an integral multiple of thezone_countvalue.
- Data
Node intAmount The Elasticsearch cluster’s data node quantity, between 2 and 50.
- Data
Node intDisk Size The single data node storage space. -
cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). -cloud_efficiencyAn 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 stringDisk Type The data node disk type. Supported values: cloud_ssd, cloud_efficiency.
- Data
Node stringSpec The data node specifications of the Elasticsearch instance.
- Version string
Elasticsearch version. Supported values:
5.5.3_with_X-Pack,6.3_with_X-Packand6.7_with_X-Pack.- Vswitch
Id string The ID of VSwitch.
- Data
Node boolDisk Encrypted If encrypt the data node disk. Valid values are
true,false. Default tofalse.- Description string
The description of instance. It a string of 0 to 30 characters.
- Enable
Kibana boolPrivate Network Bool, default to false. When it set to true, the instance can close kibana private network access。
- Enable
Kibana boolPublic Network 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 stringType Valid values are
PrePaid,PostPaid. Default toPostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype fromPostPaidtoPrePaid, the following attributes are required:period. But, updating fromPostPaidtoPrePaidis not supported.- Kibana
Private []stringWhitelists Set the Kibana’s IP whitelist in private network.
- Kibana
Whitelists []string Set the Kibana’s IP whitelist in internet network.
- Kms
Encrypted stringPassword An KMS encrypts password used to a instance. If the
passwordis filled in, this field will be ignored, but you have to specify one ofpasswordandkms_encrypted_passwordfields.- Kms
Encryption map[string]interface{}Context An KMS encryption context used to decrypt
kms_encrypted_passwordbefore creating or updating instance withkms_encrypted_password. See Encryption Context. It is valid whenkms_encrypted_passwordis set.- Master
Node stringSpec 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 aPrePaidinstance.- Private
Whitelists []string Set the instance’s IP whitelist in VPC network.
- Public
Whitelists []string Set the instance’s IP whitelist in internet network.
- Resource
Group stringId The Id of resource group which the Elasticsearch instance belongs.
- 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.
- Zone
Count int The Multi-AZ supported for Elasticsearch, between 1 and 3. The
data_node_amountvalue must be an integral multiple of thezone_countvalue.
- data
Node numberAmount The Elasticsearch cluster’s data node quantity, between 2 and 50.
- data
Node numberDisk Size The single data node storage space. -
cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). -cloud_efficiencyAn 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 stringDisk Type The data node disk type. Supported values: cloud_ssd, cloud_efficiency.
- data
Node stringSpec The data node specifications of the Elasticsearch instance.
- version string
Elasticsearch version. Supported values:
5.5.3_with_X-Pack,6.3_with_X-Packand6.7_with_X-Pack.- vswitch
Id string The ID of VSwitch.
- data
Node booleanDisk Encrypted If encrypt the data node disk. Valid values are
true,false. Default tofalse.- description string
The description of instance. It a string of 0 to 30 characters.
- enable
Kibana booleanPrivate Network Bool, default to false. When it set to true, the instance can close kibana private network access。
- enable
Kibana booleanPublic Network Bool, default to true. When it set to false, the instance can enable kibana public network access。
- enable
Public boolean Bool, default to false. When it set to true, the instance can enable public network access。
- instance
Charge stringType Valid values are
PrePaid,PostPaid. Default toPostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype fromPostPaidtoPrePaid, the following attributes are required:period. But, updating fromPostPaidtoPrePaidis not supported.- kibana
Private string[]Whitelists Set the Kibana’s IP whitelist in private network.
- kibana
Whitelists string[] Set the Kibana’s IP whitelist in internet network.
- kms
Encrypted stringPassword An KMS encrypts password used to a instance. If the
passwordis filled in, this field will be ignored, but you have to specify one ofpasswordandkms_encrypted_passwordfields.- kms
Encryption {[key: string]: any}Context An KMS encryption context used to decrypt
kms_encrypted_passwordbefore creating or updating instance withkms_encrypted_password. See Encryption Context. It is valid whenkms_encrypted_passwordis set.- master
Node stringSpec 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 aPrePaidinstance.- private
Whitelists string[] Set the instance’s IP whitelist in VPC network.
- public
Whitelists string[] Set the instance’s IP whitelist in internet network.
- resource
Group stringId The Id of resource group which the Elasticsearch instance belongs.
- {[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.
- zone
Count number The Multi-AZ supported for Elasticsearch, between 1 and 3. The
data_node_amountvalue must be an integral multiple of thezone_countvalue.
- data_
node_ floatamount The Elasticsearch cluster’s data node quantity, between 2 and 50.
- data_
node_ floatdisk_ size The single data node storage space. -
cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). -cloud_efficiencyAn 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_ strdisk_ type The data node disk type. Supported values: cloud_ssd, cloud_efficiency.
- data_
node_ strspec The data node specifications of the Elasticsearch instance.
- version str
Elasticsearch version. Supported values:
5.5.3_with_X-Pack,6.3_with_X-Packand6.7_with_X-Pack.- vswitch_
id str The ID of VSwitch.
- data_
node_ booldisk_ encrypted If encrypt the data node disk. Valid values are
true,false. Default tofalse.- description str
The description of instance. It a string of 0 to 30 characters.
- enable_
kibana_ boolprivate_ network Bool, default to false. When it set to true, the instance can close kibana private network access。
- enable_
kibana_ boolpublic_ network 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_ strtype Valid values are
PrePaid,PostPaid. Default toPostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype fromPostPaidtoPrePaid, the following attributes are required:period. But, updating fromPostPaidtoPrePaidis not supported.- kibana_
private_ List[str]whitelists Set the Kibana’s IP whitelist in private network.
- kibana_
whitelists List[str] Set the Kibana’s IP whitelist in internet network.
- kms_
encrypted_ strpassword An KMS encrypts password used to a instance. If the
passwordis filled in, this field will be ignored, but you have to specify one ofpasswordandkms_encrypted_passwordfields.- kms_
encryption_ Dict[str, Any]context An KMS encryption context used to decrypt
kms_encrypted_passwordbefore creating or updating instance withkms_encrypted_password. See Encryption Context. It is valid whenkms_encrypted_passwordis set.- master_
node_ strspec 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 aPrePaidinstance.- 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_ strid The Id of resource group which the Elasticsearch instance belongs.
- 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_amountvalue must be an integral multiple of thezone_countvalue.
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.
- Kibana
Domain string Kibana console domain (Internet access supported).
- Kibana
Port 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 notactive.
- Domain string
Instance connection domain (only VPC network access supported).
- Id string
- The provider-assigned unique ID for this managed resource.
- Kibana
Domain string Kibana console domain (Internet access supported).
- Kibana
Port 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 notactive.
- domain string
Instance connection domain (only VPC network access supported).
- id string
- The provider-assigned unique ID for this managed resource.
- kibana
Domain string Kibana console domain (Internet access supported).
- kibana
Port 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 notactive.
- 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 notactive.
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): Instancestatic 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:
- Data
Node intAmount The Elasticsearch cluster’s data node quantity, between 2 and 50.
- Data
Node boolDisk Encrypted If encrypt the data node disk. Valid values are
true,false. Default tofalse.- Data
Node intDisk Size The single data node storage space. -
cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). -cloud_efficiencyAn 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 stringDisk Type The data node disk type. Supported values: cloud_ssd, cloud_efficiency.
- Data
Node stringSpec 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).
- Enable
Kibana boolPrivate Network Bool, default to false. When it set to true, the instance can close kibana private network access。
- Enable
Kibana boolPublic Network 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 stringType Valid values are
PrePaid,PostPaid. Default toPostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype fromPostPaidtoPrePaid, the following attributes are required:period. But, updating fromPostPaidtoPrePaidis not supported.- Kibana
Domain string Kibana console domain (Internet access supported).
- Kibana
Port int Kibana console port.
- Kibana
Private List<string>Whitelists Set the Kibana’s IP whitelist in private network.
- Kibana
Whitelists List<string> Set the Kibana’s IP whitelist in internet network.
- Kms
Encrypted stringPassword An KMS encrypts password used to a instance. If the
passwordis filled in, this field will be ignored, but you have to specify one ofpasswordandkms_encrypted_passwordfields.- Kms
Encryption Dictionary<string, object>Context An KMS encryption context used to decrypt
kms_encrypted_passwordbefore creating or updating instance withkms_encrypted_password. See Encryption Context. It is valid whenkms_encrypted_passwordis set.- Master
Node stringSpec 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 aPrePaidinstance.- Port int
Instance connection port.
- Private
Whitelists List<string> Set the instance’s IP whitelist in VPC network.
- Public
Whitelists List<string> Set the instance’s IP whitelist in internet network.
- Resource
Group stringId 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 notactive.- 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-Packand6.7_with_X-Pack.- Vswitch
Id string The ID of VSwitch.
- Zone
Count int The Multi-AZ supported for Elasticsearch, between 1 and 3. The
data_node_amountvalue must be an integral multiple of thezone_countvalue.
- Data
Node intAmount The Elasticsearch cluster’s data node quantity, between 2 and 50.
- Data
Node boolDisk Encrypted If encrypt the data node disk. Valid values are
true,false. Default tofalse.- Data
Node intDisk Size The single data node storage space. -
cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). -cloud_efficiencyAn 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 stringDisk Type The data node disk type. Supported values: cloud_ssd, cloud_efficiency.
- Data
Node stringSpec 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).
- Enable
Kibana boolPrivate Network Bool, default to false. When it set to true, the instance can close kibana private network access。
- Enable
Kibana boolPublic Network 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 stringType Valid values are
PrePaid,PostPaid. Default toPostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype fromPostPaidtoPrePaid, the following attributes are required:period. But, updating fromPostPaidtoPrePaidis not supported.- Kibana
Domain string Kibana console domain (Internet access supported).
- Kibana
Port int Kibana console port.
- Kibana
Private []stringWhitelists Set the Kibana’s IP whitelist in private network.
- Kibana
Whitelists []string Set the Kibana’s IP whitelist in internet network.
- Kms
Encrypted stringPassword An KMS encrypts password used to a instance. If the
passwordis filled in, this field will be ignored, but you have to specify one ofpasswordandkms_encrypted_passwordfields.- Kms
Encryption map[string]interface{}Context An KMS encryption context used to decrypt
kms_encrypted_passwordbefore creating or updating instance withkms_encrypted_password. See Encryption Context. It is valid whenkms_encrypted_passwordis set.- Master
Node stringSpec 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 aPrePaidinstance.- Port int
Instance connection port.
- Private
Whitelists []string Set the instance’s IP whitelist in VPC network.
- Public
Whitelists []string Set the instance’s IP whitelist in internet network.
- Resource
Group stringId 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 notactive.- 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-Packand6.7_with_X-Pack.- Vswitch
Id string The ID of VSwitch.
- Zone
Count int The Multi-AZ supported for Elasticsearch, between 1 and 3. The
data_node_amountvalue must be an integral multiple of thezone_countvalue.
- data
Node numberAmount The Elasticsearch cluster’s data node quantity, between 2 and 50.
- data
Node booleanDisk Encrypted If encrypt the data node disk. Valid values are
true,false. Default tofalse.- data
Node numberDisk Size The single data node storage space. -
cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). -cloud_efficiencyAn 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 stringDisk Type The data node disk type. Supported values: cloud_ssd, cloud_efficiency.
- data
Node stringSpec 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).
- enable
Kibana booleanPrivate Network Bool, default to false. When it set to true, the instance can close kibana private network access。
- enable
Kibana booleanPublic Network Bool, default to true. When it set to false, the instance can enable kibana public network access。
- enable
Public boolean Bool, default to false. When it set to true, the instance can enable public network access。
- instance
Charge stringType Valid values are
PrePaid,PostPaid. Default toPostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype fromPostPaidtoPrePaid, the following attributes are required:period. But, updating fromPostPaidtoPrePaidis not supported.- kibana
Domain string Kibana console domain (Internet access supported).
- kibana
Port number Kibana console port.
- kibana
Private string[]Whitelists Set the Kibana’s IP whitelist in private network.
- kibana
Whitelists string[] Set the Kibana’s IP whitelist in internet network.
- kms
Encrypted stringPassword An KMS encrypts password used to a instance. If the
passwordis filled in, this field will be ignored, but you have to specify one ofpasswordandkms_encrypted_passwordfields.- kms
Encryption {[key: string]: any}Context An KMS encryption context used to decrypt
kms_encrypted_passwordbefore creating or updating instance withkms_encrypted_password. See Encryption Context. It is valid whenkms_encrypted_passwordis set.- master
Node stringSpec 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 aPrePaidinstance.- port number
Instance connection port.
- private
Whitelists string[] Set the instance’s IP whitelist in VPC network.
- public
Whitelists string[] Set the instance’s IP whitelist in internet network.
- resource
Group stringId 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 notactive.- {[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-Packand6.7_with_X-Pack.- vswitch
Id string The ID of VSwitch.
- zone
Count number The Multi-AZ supported for Elasticsearch, between 1 and 3. The
data_node_amountvalue must be an integral multiple of thezone_countvalue.
- data_
node_ floatamount The Elasticsearch cluster’s data node quantity, between 2 and 50.
- data_
node_ booldisk_ encrypted If encrypt the data node disk. Valid values are
true,false. Default tofalse.- data_
node_ floatdisk_ size The single data node storage space. -
cloud_ssd: An SSD disk, supports a maximum of 2048 GiB (2 TB). -cloud_efficiencyAn 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_ strdisk_ type The data node disk type. Supported values: cloud_ssd, cloud_efficiency.
- data_
node_ strspec 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_ boolprivate_ network Bool, default to false. When it set to true, the instance can close kibana private network access。
- enable_
kibana_ boolpublic_ network 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_ strtype Valid values are
PrePaid,PostPaid. Default toPostPaid. From version 1.69.0, the Elasticsearch cluster allows you to update your instance_charge_ype fromPostPaidtoPrePaid, the following attributes are required:period. But, updating fromPostPaidtoPrePaidis not supported.- kibana_
domain str Kibana console domain (Internet access supported).
- kibana_
port float Kibana console port.
- kibana_
private_ List[str]whitelists Set the Kibana’s IP whitelist in private network.
- kibana_
whitelists List[str] Set the Kibana’s IP whitelist in internet network.
- kms_
encrypted_ strpassword An KMS encrypts password used to a instance. If the
passwordis filled in, this field will be ignored, but you have to specify one ofpasswordandkms_encrypted_passwordfields.- kms_
encryption_ Dict[str, Any]context An KMS encryption context used to decrypt
kms_encrypted_passwordbefore creating or updating instance withkms_encrypted_password. See Encryption Context. It is valid whenkms_encrypted_passwordis set.- master_
node_ strspec 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 aPrePaidinstance.- 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_ strid 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 notactive.- 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-Packand6.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_amountvalue must be an integral multiple of thezone_countvalue.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloudTerraform Provider.