TableArgs

data class TableArgs(val definedColumns: Output<List<TableDefinedColumnArgs>>? = null, val deviationCellVersionInSec: Output<String>? = null, val enableSse: Output<Boolean>? = null, val instanceName: Output<String>? = null, val maxVersion: Output<Int>? = null, val primaryKeys: Output<List<TablePrimaryKeyArgs>>? = null, val sseKeyType: Output<String>? = null, val tableName: Output<String>? = null, val timeToLive: Output<Int>? = null) : ConvertibleToJava<TableArgs>

Provides an OTS table resource.

NOTE: From Provider version 1.10.0, the provider field 'ots_instance_name' has been deprecated and you should use resource alicloud_ots_table's new field 'instance_name' and 'table_name' to re-import this resource. NOTE: Available since v1.9.2.

Example Usage

No Java example available.

Import

OTS table can be imported using id, e.g.

$ pulumi import alicloud:ots/table:Table table my-ots:ots_table

Constructors

Link copied to clipboard
fun TableArgs(definedColumns: Output<List<TableDefinedColumnArgs>>? = null, deviationCellVersionInSec: Output<String>? = null, enableSse: Output<Boolean>? = null, instanceName: Output<String>? = null, maxVersion: Output<Int>? = null, primaryKeys: Output<List<TablePrimaryKeyArgs>>? = null, sseKeyType: Output<String>? = null, tableName: Output<String>? = null, timeToLive: Output<Int>? = null)

Functions

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

Properties

Link copied to clipboard

The property of TableMeta which indicates the structure information of a table. It describes the attribute value of defined column. The number of defined_column should not be more than 32. See defined_column below.

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

The max version offset of the table. The valid value is 1-9223372036854775807. Defaults to 86400.

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

Whether enable OTS server side encryption. Default value is false.

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 maxVersion: Output<Int>? = null

The maximum number of versions stored in this table. The valid value is 1-2147483647.

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

The property of TableMeta which indicates the structure information of a table. It describes the attribute value of primary key. The number of primary_key should not be less than one and not be more than four. See primary_key below.

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

The key type of OTS server side encryption. Only SSE_KMS_SERVICE is allowed.

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

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

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

The retention time of data stored in this table (unit: second). The value maximum is 2147483647 and -1 means never expired.