SecondaryIndexArgs

data class SecondaryIndexArgs(val definedColumns: Output<List<String>>? = null, val includeBaseData: Output<Boolean>? = null, val indexName: Output<String>? = null, val indexType: Output<String>? = null, val instanceName: Output<String>? = null, val primaryKeys: Output<List<String>>? = null, val tableName: Output<String>? = null) : ConvertibleToJava<SecondaryIndexArgs>

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>

Constructors

Link copied to clipboard
fun SecondaryIndexArgs(definedColumns: Output<List<String>>? = null, includeBaseData: Output<Boolean>? = null, indexName: Output<String>? = null, indexType: Output<String>? = null, instanceName: Output<String>? = null, primaryKeys: Output<List<String>>? = null, tableName: Output<String>? = null)

Functions

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

Properties

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

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

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

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>? = null

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

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

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>? = null

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

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

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

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

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