alicloud_elasticsearch
更新时间:
The alicloud_elasticsearch_instances
data source provides a collection of Elasticsearch instances available in Alicloud account.
Filters support description regex, searches by tags, and other filters which are listed below.
Example Usage
data "alicloud_elasticsearch_instances" "instances" {
description_regex = "myes"
version = "5.5.3_with_X-Pack"
}
Argument Reference
The following arguments are supported:
description_regex
- (Optional) A regex string to apply to the instance description.ids
- (Optional, Available 1.52.1+) A list of Elasticsearch instance IDs.version
- (Optional) Elasticsearch version. Options are5.5.3_with_X-Pack
,6.3.2_with_X-Pack
and6.7.0_with_X-Pack
. If no value is specified, all versions are returned.tags
- (Optional, Available 1.74.0+) A map of tags assigned to instances.output_file
- (Optional) File name where to save data source results (after runningterraform plan
).
Attributes Reference
The following attributes are exported in addition to the arguments listed above:
ids
- A list of Elasticsearch instance IDs.descriptions
- A list of Elasticsearch instance descriptions.instances
- A list of Elasticsearch instances. Its every element contains the following attributes:id
- The ID of the Elasticsearch instance.description
- The description of the Elasticsearch instance.instance_charge_type
- Billing method. Value options:PostPaid
for Pay-As-You-Go andPrePaid
for subscription.data_node_amount
- The Elasticsearch cluster's data node quantity, between 2 and 50.data_node_spec
- The data node specifications of the elasticsearch instance.data_node_disk_size
- The single data node storage space. Unit: GB.data_node_disk_type
- The data node disk type. Included values:cloud_ssd
andcloud_efficiency
.vswitch_id
- VSwitch ID the instance belongs to.version
- Elasticsearch version includes5.5.3_with_X-Pack
,6.3.2_with_X-Pack
and6.7.0_with_X-Pack
.cerated_at
- The creation time of the instance. It's a GTM format, such as: "2019-01-08T15:50:50.623Z".updated_at
- The last modified time of the instance. It's a GMT format, such as: "2019-01-08T15:50:50.623Z".status
- Status of the instance. It includesactive
,activating
,inactive
tags
- A map of tags assigned to the instance.
文档内容是否对您有帮助?