Class Table
Inherited Members
Namespace: Pulumi.AliCloud.Ots
Assembly: Pulumi.AliCloud.dll
Syntax
public class Table : CustomResource
Constructors
View SourceTable(String, TableArgs, CustomResourceOptions)
Create a Table resource with the given unique name, arguments, and options.
Declaration
public Table(string name, TableArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| TableArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceDeviationCellVersionInSec
The max version offset of the table. The valid value is 1-9223372036854775807. Defaults to 86400.
Declaration
public Output<string> DeviationCellVersionInSec { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
InstanceName
The name of the OTS instance in which table will located.
Declaration
public Output<string> InstanceName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
MaxVersion
The maximum number of versions stored in this table. The valid value is 1-2147483647.
Declaration
public Output<int> MaxVersion { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
PrimaryKeys
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.
Declaration
public Output<ImmutableArray<TablePrimaryKey>> PrimaryKeys { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<TablePrimaryKey>> |
TableName
The table name of the OTS instance. If changed, a new table would be created.
Declaration
public Output<string> TableName { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
TimeToLive
The retention time of data stored in this table (unit: second). The value maximum is 2147483647 and -1 means never expired.
Declaration
public Output<int> TimeToLive { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Int32> |
Methods
View SourceGet(String, Input<String>, TableState, CustomResourceOptions)
Get an existing Table resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static Table Get(string name, Input<string> id, TableState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| TableState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| Table |