Table

Create a Table Resource

new Table(name: string, args: TableArgs, opts?: CustomResourceOptions);
def Table(resource_name, opts=None, deviation_cell_version_in_sec=None, instance_name=None, max_version=None, primary_keys=None, table_name=None, time_to_live=None, __props__=None);
func NewTable(ctx *Context, name string, args TableArgs, opts ...ResourceOption) (*Table, error)
public Table(string name, TableArgs args, CustomResourceOptions? opts = null)
name string
The unique name of the resource.
args TableArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
opts ResourceOptions
A bag of options that control this resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args TableArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TableArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.

Table Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Programming Model docs.

Inputs

The Table resource accepts the following input properties:

InstanceName string

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

MaxVersion int

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

PrimaryKeys List<Pulumi.AliCloud.Ots.Inputs.TablePrimaryKeyArgs>

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.

TableName string

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

TimeToLive int

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

DeviationCellVersionInSec string

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

InstanceName string

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

MaxVersion int

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

PrimaryKeys []TablePrimaryKey

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.

TableName string

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

TimeToLive int

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

DeviationCellVersionInSec string

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

instanceName string

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

maxVersion number

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

primaryKeys TablePrimaryKey[]

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.

tableName string

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

timeToLive number

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

deviationCellVersionInSec string

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

instance_name str

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

max_version float

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

primary_keys List[TablePrimaryKey]

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.

table_name str

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

time_to_live float

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

deviation_cell_version_in_sec str

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

Outputs

All input properties are implicitly available as output properties. Additionally, the Table resource produces the following output properties:

Id string
The provider-assigned unique ID for this managed resource.
Id string
The provider-assigned unique ID for this managed resource.
id string
The provider-assigned unique ID for this managed resource.
id str
The provider-assigned unique ID for this managed resource.

Look up an Existing Table Resource

Get an existing Table resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

public static get(name: string, id: Input<ID>, state?: TableState, opts?: CustomResourceOptions): Table
static get(resource_name, id, opts=None, deviation_cell_version_in_sec=None, instance_name=None, max_version=None, primary_keys=None, table_name=None, time_to_live=None, __props__=None);
func GetTable(ctx *Context, name string, id IDInput, state *TableState, opts ...ResourceOption) (*Table, error)
public static Table Get(string name, Input<string> id, TableState? state, CustomResourceOptions? opts = null)
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
resource_name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.
name
The unique name of the resulting resource.
id
The unique provider ID of the resource to lookup.
state
Any extra arguments used during the lookup.
opts
A bag of options that control this resource's behavior.

The following state arguments are supported:

DeviationCellVersionInSec string

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

InstanceName string

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

MaxVersion int

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

PrimaryKeys List<Pulumi.AliCloud.Ots.Inputs.TablePrimaryKeyArgs>

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.

TableName string

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

TimeToLive int

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

DeviationCellVersionInSec string

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

InstanceName string

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

MaxVersion int

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

PrimaryKeys []TablePrimaryKey

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.

TableName string

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

TimeToLive int

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

deviationCellVersionInSec string

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

instanceName string

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

maxVersion number

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

primaryKeys TablePrimaryKey[]

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.

tableName string

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

timeToLive number

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

deviation_cell_version_in_sec str

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

instance_name str

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

max_version float

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

primary_keys List[TablePrimaryKey]

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.

table_name str

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

time_to_live float

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

Supporting Types

TablePrimaryKey

See the input and output API doc for this type.

See the input and output API doc for this type.

See the input and output API doc for this type.

Name string

Name for primary key.

Type string

Type for primary key. Only Integer, String or Binary is allowed.

Name string

Name for primary key.

Type string

Type for primary key. Only Integer, String or Binary is allowed.

name string

Name for primary key.

type string

Type for primary key. Only Integer, String or Binary is allowed.

name str

Name for primary key.

type str

Type for primary key. Only Integer, String or Binary is allowed.

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes
This Pulumi package is based on the alicloud Terraform Provider.