Namespace Pulumi.AliCloud.ElasticSearch
Classes
GetInstances
GetInstancesArgs
GetInstancesResult
GetZones
GetZonesArgs
GetZonesResult
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" },
},
});
}
}