SearchIndex

class SearchIndex : KotlinCustomResource

Provides an OTS search index resource. For information about OTS search index and how to use it, see Search index overview.

NOTE: Available since v1.187.0.

Example Usage

No Java example available.

Import

OTS search index can be imported using id, e.g.

$ pulumi import alicloud:ots/searchIndex:SearchIndex index1 <instance_name>:<table_name>:<index_name>:<index_type>

Properties

Link copied to clipboard
val createTime: Output<Int>

The search index create time.

Link copied to clipboard

The timestamp for sync phase.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val indexId: Output<String>

The index id of the search index which could not be changed.

Link copied to clipboard
val indexName: Output<String>

The index name of the OTS Table. If changed, a new index would be created.

Link copied to clipboard
val instanceName: Output<String>

The name of the OTS instance in which table will located.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

The schema of the search index. If changed, a new index would be created. See schema below.

Link copied to clipboard
val syncPhase: Output<String>

The search index sync phase. possible values: Full, Incr.

Link copied to clipboard
val tableName: Output<String>

The name of the OTS table. If changed, a new table would be created.

Link copied to clipboard
val timeToLive: Output<Int>?

The index type of the OTS Table. Specifies the retention period of data in the search index. Unit: seconds. Default value: -1. If the retention period exceeds the TTL value, OTS automatically deletes expired data.

Link copied to clipboard
val urn: Output<String>