SecondaryIndex

class SecondaryIndex : KotlinCustomResource

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

NOTE: Available since v1.187.0.

Example Usage

No Java example available.

Import

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

$ pulumi import alicloud:ots/secondaryIndex:SecondaryIndex index1 <instance_name>:<table_name>:<index_name>:<index_type>

Properties

Link copied to clipboard
val definedColumns: Output<List<String>>?

A list of defined column for index, referenced from Table's primary keys or predefined columns.

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

whether the index contains data that already exists in the data table. When include_base_data is set to true, it means that stock data is included.

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 indexType: Output<String>

The index type of the OTS Table. If changed, a new index would be created, only Global or Local is allowed.

Link copied to clipboard
val instanceName: Output<String>

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

Link copied to clipboard
val primaryKeys: Output<List<String>>

A list of primary keys for index, referenced from Table's primary keys or predefined columns.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
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 urn: Output<String>