Table

class Table : KotlinCustomResource

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

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

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

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

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

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

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

Link copied to clipboard
val maxVersion: Output<Int>

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

Link copied to clipboard

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

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

Link copied to clipboard
val tableName: Output<String>

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

Link copied to clipboard
val timeToLive: Output<Int>

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

Link copied to clipboard
val urn: Output<String>