InstanceArgs

data class InstanceArgs(val autoRenewDuration: Output<Int>? = null, val clientNodeAmount: Output<Int>? = null, val clientNodeSpec: Output<String>? = null, val dataNodeAmount: Output<Int>? = null, val dataNodeDiskEncrypted: Output<Boolean>? = null, val dataNodeDiskPerformanceLevel: Output<String>? = null, val dataNodeDiskSize: Output<Int>? = null, val dataNodeDiskType: Output<String>? = null, val dataNodeSpec: Output<String>? = null, val description: Output<String>? = null, val enableKibanaPrivateNetwork: Output<Boolean>? = null, val enableKibanaPublicNetwork: Output<Boolean>? = null, val enablePublic: Output<Boolean>? = null, val instanceChargeType: Output<String>? = null, val kibanaNodeSpec: Output<String>? = null, val kibanaPrivateSecurityGroupId: Output<String>? = null, val kibanaPrivateWhitelists: Output<List<String>>? = null, val kibanaWhitelists: Output<List<String>>? = null, val kmsEncryptedPassword: Output<String>? = null, val kmsEncryptionContext: Output<Map<String, String>>? = null, val masterNodeDiskType: Output<String>? = null, val masterNodeSpec: Output<String>? = null, val password: Output<String>? = null, val period: Output<Int>? = null, val privateWhitelists: Output<List<String>>? = null, val protocol: Output<String>? = null, val publicWhitelists: Output<List<String>>? = null, val renewStatus: Output<String>? = null, val renewalDurationUnit: Output<String>? = null, val resourceGroupId: Output<String>? = null, val settingConfig: Output<Map<String, String>>? = null, val tags: Output<Map<String, String>>? = null, val version: Output<String>? = null, val vswitchId: Output<String>? = null, val warmNodeAmount: Output<Int>? = null, val warmNodeDiskEncrypted: Output<Boolean>? = null, val warmNodeDiskSize: Output<Int>? = null, val warmNodeDiskType: Output<String>? = null, val warmNodeSpec: Output<String>? = null, val zoneCount: Output<Int>? = null) : ConvertibleToJava<InstanceArgs>

Import

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

$ pulumi import alicloud:elasticsearch/instance:Instance example es-cn-abcde123456

Constructors

Link copied to clipboard
constructor(autoRenewDuration: Output<Int>? = null, clientNodeAmount: Output<Int>? = null, clientNodeSpec: Output<String>? = null, dataNodeAmount: Output<Int>? = null, dataNodeDiskEncrypted: Output<Boolean>? = null, dataNodeDiskPerformanceLevel: Output<String>? = null, dataNodeDiskSize: Output<Int>? = null, dataNodeDiskType: Output<String>? = null, dataNodeSpec: Output<String>? = null, description: Output<String>? = null, enableKibanaPrivateNetwork: Output<Boolean>? = null, enableKibanaPublicNetwork: Output<Boolean>? = null, enablePublic: Output<Boolean>? = null, instanceChargeType: Output<String>? = null, kibanaNodeSpec: Output<String>? = null, kibanaPrivateSecurityGroupId: Output<String>? = null, kibanaPrivateWhitelists: Output<List<String>>? = null, kibanaWhitelists: Output<List<String>>? = null, kmsEncryptedPassword: Output<String>? = null, kmsEncryptionContext: Output<Map<String, String>>? = null, masterNodeDiskType: Output<String>? = null, masterNodeSpec: Output<String>? = null, password: Output<String>? = null, period: Output<Int>? = null, privateWhitelists: Output<List<String>>? = null, protocol: Output<String>? = null, publicWhitelists: Output<List<String>>? = null, renewStatus: Output<String>? = null, renewalDurationUnit: Output<String>? = null, resourceGroupId: Output<String>? = null, settingConfig: Output<Map<String, String>>? = null, tags: Output<Map<String, String>>? = null, version: Output<String>? = null, vswitchId: Output<String>? = null, warmNodeAmount: Output<Int>? = null, warmNodeDiskEncrypted: Output<Boolean>? = null, warmNodeDiskSize: Output<Int>? = null, warmNodeDiskType: Output<String>? = null, warmNodeSpec: Output<String>? = null, zoneCount: Output<Int>? = null)

Properties

Link copied to clipboard
val autoRenewDuration: Output<Int>? = null

Auto-renewal period of an Elasticsearch Instance, in the unit of the month. It is valid when instance_charge_type is PrePaid and renew_status is AutoRenewal.

Link copied to clipboard
val clientNodeAmount: Output<Int>? = null

The Elasticsearch cluster's client node quantity, between 2 and 25.

Link copied to clipboard
val clientNodeSpec: Output<String>? = null

The client node spec. If specified, client node will be created.

Link copied to clipboard
val dataNodeAmount: Output<Int>? = null

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

Link copied to clipboard
val dataNodeDiskEncrypted: Output<Boolean>? = null

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

Link copied to clipboard

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

Link copied to clipboard
val dataNodeDiskSize: Output<Int>? = null

The single data node storage space.

Link copied to clipboard
val dataNodeDiskType: Output<String>? = null

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

Link copied to clipboard
val dataNodeSpec: Output<String>? = null

The data node specifications of the Elasticsearch instance.

Link copied to clipboard
val description: Output<String>? = null

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

Link copied to clipboard
val enableKibanaPrivateNetwork: Output<Boolean>? = null

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

Link copied to clipboard
val enableKibanaPublicNetwork: Output<Boolean>? = null

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

Link copied to clipboard
val enablePublic: Output<Boolean>? = null

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

Link copied to clipboard
val instanceChargeType: Output<String>? = null

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.

Link copied to clipboard
val kibanaNodeSpec: Output<String>? = null

The kibana node specifications of the Elasticsearch instance. Default is elasticsearch.n4.small.

Link copied to clipboard

the security group id associated with Kibana private network, this param is required when enable_kibana_private_network set true, and the security group id should in the same VPC as vswitch_id

Link copied to clipboard
val kibanaPrivateWhitelists: Output<List<String>>? = null

Set the Kibana's IP whitelist in private network, This option has been abandoned on newly created instance, please use kibana_private_security_group_id instead

Link copied to clipboard
val kibanaWhitelists: Output<List<String>>? = null

Set the Kibana's IP whitelist in internet network.

Link copied to clipboard
val kmsEncryptedPassword: Output<String>? = null

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.

Link copied to clipboard
val kmsEncryptionContext: Output<Map<String, String>>? = null

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.

Link copied to clipboard
val masterNodeDiskType: Output<String>? = null

The single master node storage space. Valid values are PrePaid, PostPaid.

Link copied to clipboard
val masterNodeSpec: Output<String>? = null

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

Link copied to clipboard
val password: Output<String>? = null

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 (!@#$%^&*()_+-=).

Link copied to clipboard
val period: Output<Int>? = null

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.

Link copied to clipboard
val privateWhitelists: Output<List<String>>? = null

Set the instance's IP whitelist in VPC network.

Link copied to clipboard
val protocol: Output<String>? = null

Elasticsearch protocol. Supported values: HTTP, HTTPS.default is HTTP.

Link copied to clipboard
val publicWhitelists: Output<List<String>>? = null

Set the instance's IP whitelist in internet network.

Link copied to clipboard
val renewalDurationUnit: Output<String>? = null

Auto-Renewal Cycle Unit Values Include: Month: Month. Year: Years. Valid values: M, Y.

Link copied to clipboard
val renewStatus: Output<String>? = null

The renewal status of the specified instance. Valid values: AutoRenewal, ManualRenewal, NotRenewal.The instance_charge_type must be PrePaid.

Link copied to clipboard
val resourceGroupId: Output<String>? = null

The ID of resource group which the Elasticsearch instance belongs.

Link copied to clipboard
val settingConfig: Output<Map<String, String>>? = null

The YML configuration of the instance.Detailed introduction.

Link copied to clipboard
val tags: Output<Map<String, String>>? = null

A mapping of tags to assign to the resource.

Link copied to clipboard
val version: Output<String>? = null

Elasticsearch version. Supported values: 5.5.3_with_X-Pack, 6.3_with_X-Pack, 6.7_with_X-Pack, 6.8_with_X-Pack, 7.4_with_X-Pack , 7.7_with_X-Pack, 7.10_with_X-Pack, 7.16_with_X-Pack, 8.5_with_X-Pack, 8.9_with_X-Pack, 8.13_with_X-Pack.

Link copied to clipboard
val vswitchId: Output<String>? = null

The ID of VSwitch.

Link copied to clipboard
val warmNodeAmount: Output<Int>? = null

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

Link copied to clipboard
val warmNodeDiskEncrypted: Output<Boolean>? = null

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

Link copied to clipboard
val warmNodeDiskSize: Output<Int>? = null

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

Link copied to clipboard
val warmNodeDiskType: Output<String>? = null

The warm node disk type. Supported values: cloud_efficiency.

Link copied to clipboard
val warmNodeSpec: Output<String>? = null

The warm node specifications of the Elasticsearch instance.

Link copied to clipboard
val zoneCount: Output<Int>? = null

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.

Functions

Link copied to clipboard
open override fun toJava(): InstanceArgs