oci.Nosql.Table
Explore with Pulumi AI
This resource provides the Table resource in Oracle Cloud Infrastructure NoSQL Database service.
Create a new table.
Example Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Oci = Pulumi.Oci;
return await Deployment.RunAsync(() =>
{
var testTable = new Oci.Nosql.Table("testTable", new()
{
CompartmentId = @var.Compartment_id,
DdlStatement = @var.Table_ddl_statement,
DefinedTags = @var.Table_defined_tags,
FreeformTags =
{
{ "bar-key", "value" },
},
IsAutoReclaimable = @var.Table_is_auto_reclaimable,
TableLimits = new Oci.Nosql.Inputs.TableTableLimitsArgs
{
MaxReadUnits = @var.Table_table_limits_max_read_units,
MaxStorageInGbs = @var.Table_table_limits_max_storage_in_gbs,
MaxWriteUnits = @var.Table_table_limits_max_write_units,
CapacityMode = @var.Table_table_limits_capacity_mode,
},
});
});
package main
import (
"github.com/pulumi/pulumi-oci/sdk/go/oci/Nosql"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := Nosql.NewTable(ctx, "testTable", &Nosql.TableArgs{
CompartmentId: pulumi.Any(_var.Compartment_id),
DdlStatement: pulumi.Any(_var.Table_ddl_statement),
DefinedTags: pulumi.Any(_var.Table_defined_tags),
FreeformTags: pulumi.AnyMap{
"bar-key": pulumi.Any("value"),
},
IsAutoReclaimable: pulumi.Any(_var.Table_is_auto_reclaimable),
TableLimits: &nosql.TableTableLimitsArgs{
MaxReadUnits: pulumi.Any(_var.Table_table_limits_max_read_units),
MaxStorageInGbs: pulumi.Any(_var.Table_table_limits_max_storage_in_gbs),
MaxWriteUnits: pulumi.Any(_var.Table_table_limits_max_write_units),
CapacityMode: pulumi.Any(_var.Table_table_limits_capacity_mode),
},
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.oci.Nosql.Table;
import com.pulumi.oci.Nosql.TableArgs;
import com.pulumi.oci.Nosql.inputs.TableTableLimitsArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var testTable = new Table("testTable", TableArgs.builder()
.compartmentId(var_.compartment_id())
.ddlStatement(var_.table_ddl_statement())
.definedTags(var_.table_defined_tags())
.freeformTags(Map.of("bar-key", "value"))
.isAutoReclaimable(var_.table_is_auto_reclaimable())
.tableLimits(TableTableLimitsArgs.builder()
.maxReadUnits(var_.table_table_limits_max_read_units())
.maxStorageInGbs(var_.table_table_limits_max_storage_in_gbs())
.maxWriteUnits(var_.table_table_limits_max_write_units())
.capacityMode(var_.table_table_limits_capacity_mode())
.build())
.build());
}
}
import pulumi
import pulumi_oci as oci
test_table = oci.nosql.Table("testTable",
compartment_id=var["compartment_id"],
ddl_statement=var["table_ddl_statement"],
defined_tags=var["table_defined_tags"],
freeform_tags={
"bar-key": "value",
},
is_auto_reclaimable=var["table_is_auto_reclaimable"],
table_limits=oci.nosql.TableTableLimitsArgs(
max_read_units=var["table_table_limits_max_read_units"],
max_storage_in_gbs=var["table_table_limits_max_storage_in_gbs"],
max_write_units=var["table_table_limits_max_write_units"],
capacity_mode=var["table_table_limits_capacity_mode"],
))
import * as pulumi from "@pulumi/pulumi";
import * as oci from "@pulumi/oci";
const testTable = new oci.nosql.Table("testTable", {
compartmentId: _var.compartment_id,
ddlStatement: _var.table_ddl_statement,
definedTags: _var.table_defined_tags,
freeformTags: {
"bar-key": "value",
},
isAutoReclaimable: _var.table_is_auto_reclaimable,
tableLimits: {
maxReadUnits: _var.table_table_limits_max_read_units,
maxStorageInGbs: _var.table_table_limits_max_storage_in_gbs,
maxWriteUnits: _var.table_table_limits_max_write_units,
capacityMode: _var.table_table_limits_capacity_mode,
},
});
resources:
testTable:
type: oci:Nosql:Table
properties:
#Required
compartmentId: ${var.compartment_id}
ddlStatement: ${var.table_ddl_statement}
#Optional
definedTags: ${var.table_defined_tags}
freeformTags:
bar-key: value
isAutoReclaimable: ${var.table_is_auto_reclaimable}
tableLimits:
maxReadUnits: ${var.table_table_limits_max_read_units}
maxStorageInGbs: ${var.table_table_limits_max_storage_in_gbs}
maxWriteUnits: ${var.table_table_limits_max_write_units}
capacityMode: ${var.table_table_limits_capacity_mode}
Create Table Resource
new Table(name: string, args: TableArgs, opts?: CustomResourceOptions);
@overload
def Table(resource_name: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
ddl_statement: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
is_auto_reclaimable: Optional[bool] = None,
name: Optional[str] = None,
table_limits: Optional[_nosql.TableTableLimitsArgs] = None)
@overload
def Table(resource_name: str,
args: TableArgs,
opts: Optional[ResourceOptions] = None)
func NewTable(ctx *Context, name string, args TableArgs, opts ...ResourceOption) (*Table, error)
public Table(string name, TableArgs args, CustomResourceOptions? opts = null)
type: oci:Nosql:Table
properties: # The arguments to resource properties.
options: # 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.
- resource_name str
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control 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.
- name String
- The unique name of the resource.
- args TableArgs
- The arguments to resource properties.
- options 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 Architecture and Concepts docs.
Inputs
The Table resource accepts the following input properties:
- Compartment
Id string (Updatable) Compartment Identifier.
- Ddl
Statement string (Updatable) Complete CREATE TABLE DDL statement. When update ddl_statement, it should be ALTER TABLE DDL statement.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
- Dictionary<string, object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Auto boolReclaimable True if table can be reclaimed after an idle period.
- Name string
Table name.
- Table
Limits TableTable Limits (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits.
- Compartment
Id string (Updatable) Compartment Identifier.
- Ddl
Statement string (Updatable) Complete CREATE TABLE DDL statement. When update ddl_statement, it should be ALTER TABLE DDL statement.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
- map[string]interface{}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Auto boolReclaimable True if table can be reclaimed after an idle period.
- Name string
Table name.
- Table
Limits TableTable Limits Args (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits.
- compartment
Id String (Updatable) Compartment Identifier.
- ddl
Statement String (Updatable) Complete CREATE TABLE DDL statement. When update ddl_statement, it should be ALTER TABLE DDL statement.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
- Map<String,Object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Auto BooleanReclaimable True if table can be reclaimed after an idle period.
- name String
Table name.
- table
Limits TableTable Limits (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits.
- compartment
Id string (Updatable) Compartment Identifier.
- ddl
Statement string (Updatable) Complete CREATE TABLE DDL statement. When update ddl_statement, it should be ALTER TABLE DDL statement.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
- {[key: string]: any}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Auto booleanReclaimable True if table can be reclaimed after an idle period.
- name string
Table name.
- table
Limits TableTable Limits (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits.
- compartment_
id str (Updatable) Compartment Identifier.
- ddl_
statement str (Updatable) Complete CREATE TABLE DDL statement. When update ddl_statement, it should be ALTER TABLE DDL statement.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
- Mapping[str, Any]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
auto_ boolreclaimable True if table can be reclaimed after an idle period.
- name str
Table name.
- table_
limits TableTable Limits Args (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits.
- compartment
Id String (Updatable) Compartment Identifier.
- ddl
Statement String (Updatable) Complete CREATE TABLE DDL statement. When update ddl_statement, it should be ALTER TABLE DDL statement.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
- Map<Any>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Auto BooleanReclaimable True if table can be reclaimed after an idle period.
- name String
Table name.
- table
Limits Property Map (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits.
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.
- Lifecycle
Details string A message describing the current state in more detail.
- Schemas
List<Table
Schema> The table schema information as a JSON object.
- State string
The state of a table.
- Dictionary<string, object>
Read-only system tag. These predefined keys are scoped to namespaces. At present the only supported namespace is
"orcl-cloud"
; and the only key in that namespace is"free-tier-retained"
. Example:{"orcl-cloud"": {"free-tier-retained": "true"}}
- Time
Created string The time the the table was created. An RFC3339 formatted datetime string.
- Time
Of stringExpiration If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
- Time
Updated string The time the the table's metadata was last updated. An RFC3339 formatted datetime string.
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
Details string A message describing the current state in more detail.
- Schemas
[]Table
Schema The table schema information as a JSON object.
- State string
The state of a table.
- map[string]interface{}
Read-only system tag. These predefined keys are scoped to namespaces. At present the only supported namespace is
"orcl-cloud"
; and the only key in that namespace is"free-tier-retained"
. Example:{"orcl-cloud"": {"free-tier-retained": "true"}}
- Time
Created string The time the the table was created. An RFC3339 formatted datetime string.
- Time
Of stringExpiration If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
- Time
Updated string The time the the table's metadata was last updated. An RFC3339 formatted datetime string.
- id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details String A message describing the current state in more detail.
- schemas
List<Table
Schema> The table schema information as a JSON object.
- state String
The state of a table.
- Map<String,Object>
Read-only system tag. These predefined keys are scoped to namespaces. At present the only supported namespace is
"orcl-cloud"
; and the only key in that namespace is"free-tier-retained"
. Example:{"orcl-cloud"": {"free-tier-retained": "true"}}
- time
Created String The time the the table was created. An RFC3339 formatted datetime string.
- time
Of StringExpiration If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
- time
Updated String The time the the table's metadata was last updated. An RFC3339 formatted datetime string.
- id string
The provider-assigned unique ID for this managed resource.
- lifecycle
Details string A message describing the current state in more detail.
- schemas
Table
Schema[] The table schema information as a JSON object.
- state string
The state of a table.
- {[key: string]: any}
Read-only system tag. These predefined keys are scoped to namespaces. At present the only supported namespace is
"orcl-cloud"
; and the only key in that namespace is"free-tier-retained"
. Example:{"orcl-cloud"": {"free-tier-retained": "true"}}
- time
Created string The time the the table was created. An RFC3339 formatted datetime string.
- time
Of stringExpiration If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
- time
Updated string The time the the table's metadata was last updated. An RFC3339 formatted datetime string.
- id str
The provider-assigned unique ID for this managed resource.
- lifecycle_
details str A message describing the current state in more detail.
- schemas
Table
Schema] The table schema information as a JSON object.
- state str
The state of a table.
- Mapping[str, Any]
Read-only system tag. These predefined keys are scoped to namespaces. At present the only supported namespace is
"orcl-cloud"
; and the only key in that namespace is"free-tier-retained"
. Example:{"orcl-cloud"": {"free-tier-retained": "true"}}
- time_
created str The time the the table was created. An RFC3339 formatted datetime string.
- time_
of_ strexpiration If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
- time_
updated str The time the the table's metadata was last updated. An RFC3339 formatted datetime string.
- id String
The provider-assigned unique ID for this managed resource.
- lifecycle
Details String A message describing the current state in more detail.
- schemas List<Property Map>
The table schema information as a JSON object.
- state String
The state of a table.
- Map<Any>
Read-only system tag. These predefined keys are scoped to namespaces. At present the only supported namespace is
"orcl-cloud"
; and the only key in that namespace is"free-tier-retained"
. Example:{"orcl-cloud"": {"free-tier-retained": "true"}}
- time
Created String The time the the table was created. An RFC3339 formatted datetime string.
- time
Of StringExpiration If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
- time
Updated String The time the the table's metadata was last updated. An RFC3339 formatted datetime string.
Look up 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
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
compartment_id: Optional[str] = None,
ddl_statement: Optional[str] = None,
defined_tags: Optional[Mapping[str, Any]] = None,
freeform_tags: Optional[Mapping[str, Any]] = None,
is_auto_reclaimable: Optional[bool] = None,
lifecycle_details: Optional[str] = None,
name: Optional[str] = None,
schemas: Optional[Sequence[_nosql.TableSchemaArgs]] = None,
state: Optional[str] = None,
system_tags: Optional[Mapping[str, Any]] = None,
table_limits: Optional[_nosql.TableTableLimitsArgs] = None,
time_created: Optional[str] = None,
time_of_expiration: Optional[str] = None,
time_updated: Optional[str] = None) -> Table
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)
public static Table get(String name, Output<String> id, TableState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- 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.
- Compartment
Id string (Updatable) Compartment Identifier.
- Ddl
Statement string (Updatable) Complete CREATE TABLE DDL statement. When update ddl_statement, it should be ALTER TABLE DDL statement.
- Dictionary<string, object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
- Dictionary<string, object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Auto boolReclaimable True if table can be reclaimed after an idle period.
- Lifecycle
Details string A message describing the current state in more detail.
- Name string
Table name.
- Schemas
List<Table
Schema> The table schema information as a JSON object.
- State string
The state of a table.
- Dictionary<string, object>
Read-only system tag. These predefined keys are scoped to namespaces. At present the only supported namespace is
"orcl-cloud"
; and the only key in that namespace is"free-tier-retained"
. Example:{"orcl-cloud"": {"free-tier-retained": "true"}}
- Table
Limits TableTable Limits (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits.
- Time
Created string The time the the table was created. An RFC3339 formatted datetime string.
- Time
Of stringExpiration If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
- Time
Updated string The time the the table's metadata was last updated. An RFC3339 formatted datetime string.
- Compartment
Id string (Updatable) Compartment Identifier.
- Ddl
Statement string (Updatable) Complete CREATE TABLE DDL statement. When update ddl_statement, it should be ALTER TABLE DDL statement.
- map[string]interface{}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
- map[string]interface{}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- Is
Auto boolReclaimable True if table can be reclaimed after an idle period.
- Lifecycle
Details string A message describing the current state in more detail.
- Name string
Table name.
- Schemas
[]Table
Schema Args The table schema information as a JSON object.
- State string
The state of a table.
- map[string]interface{}
Read-only system tag. These predefined keys are scoped to namespaces. At present the only supported namespace is
"orcl-cloud"
; and the only key in that namespace is"free-tier-retained"
. Example:{"orcl-cloud"": {"free-tier-retained": "true"}}
- Table
Limits TableTable Limits Args (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits.
- Time
Created string The time the the table was created. An RFC3339 formatted datetime string.
- Time
Of stringExpiration If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
- Time
Updated string The time the the table's metadata was last updated. An RFC3339 formatted datetime string.
- compartment
Id String (Updatable) Compartment Identifier.
- ddl
Statement String (Updatable) Complete CREATE TABLE DDL statement. When update ddl_statement, it should be ALTER TABLE DDL statement.
- Map<String,Object>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
- Map<String,Object>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Auto BooleanReclaimable True if table can be reclaimed after an idle period.
- lifecycle
Details String A message describing the current state in more detail.
- name String
Table name.
- schemas
List<Table
Schema> The table schema information as a JSON object.
- state String
The state of a table.
- Map<String,Object>
Read-only system tag. These predefined keys are scoped to namespaces. At present the only supported namespace is
"orcl-cloud"
; and the only key in that namespace is"free-tier-retained"
. Example:{"orcl-cloud"": {"free-tier-retained": "true"}}
- table
Limits TableTable Limits (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits.
- time
Created String The time the the table was created. An RFC3339 formatted datetime string.
- time
Of StringExpiration If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
- time
Updated String The time the the table's metadata was last updated. An RFC3339 formatted datetime string.
- compartment
Id string (Updatable) Compartment Identifier.
- ddl
Statement string (Updatable) Complete CREATE TABLE DDL statement. When update ddl_statement, it should be ALTER TABLE DDL statement.
- {[key: string]: any}
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
- {[key: string]: any}
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Auto booleanReclaimable True if table can be reclaimed after an idle period.
- lifecycle
Details string A message describing the current state in more detail.
- name string
Table name.
- schemas
Table
Schema[] The table schema information as a JSON object.
- state string
The state of a table.
- {[key: string]: any}
Read-only system tag. These predefined keys are scoped to namespaces. At present the only supported namespace is
"orcl-cloud"
; and the only key in that namespace is"free-tier-retained"
. Example:{"orcl-cloud"": {"free-tier-retained": "true"}}
- table
Limits TableTable Limits (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits.
- time
Created string The time the the table was created. An RFC3339 formatted datetime string.
- time
Of stringExpiration If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
- time
Updated string The time the the table's metadata was last updated. An RFC3339 formatted datetime string.
- compartment_
id str (Updatable) Compartment Identifier.
- ddl_
statement str (Updatable) Complete CREATE TABLE DDL statement. When update ddl_statement, it should be ALTER TABLE DDL statement.
- Mapping[str, Any]
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
- Mapping[str, Any]
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is_
auto_ boolreclaimable True if table can be reclaimed after an idle period.
- lifecycle_
details str A message describing the current state in more detail.
- name str
Table name.
- schemas
Table
Schema Args] The table schema information as a JSON object.
- state str
The state of a table.
- Mapping[str, Any]
Read-only system tag. These predefined keys are scoped to namespaces. At present the only supported namespace is
"orcl-cloud"
; and the only key in that namespace is"free-tier-retained"
. Example:{"orcl-cloud"": {"free-tier-retained": "true"}}
- table_
limits TableTable Limits Args (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits.
- time_
created str The time the the table was created. An RFC3339 formatted datetime string.
- time_
of_ strexpiration If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
- time_
updated str The time the the table's metadata was last updated. An RFC3339 formatted datetime string.
- compartment
Id String (Updatable) Compartment Identifier.
- ddl
Statement String (Updatable) Complete CREATE TABLE DDL statement. When update ddl_statement, it should be ALTER TABLE DDL statement.
- Map<Any>
(Updatable) Defined tags for this resource. Each key is predefined and scoped to a namespace. Example:
{"foo-namespace": {"bar-key": "value"}}
- Map<Any>
(Updatable) Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example:
{"bar-key": "value"}
- is
Auto BooleanReclaimable True if table can be reclaimed after an idle period.
- lifecycle
Details String A message describing the current state in more detail.
- name String
Table name.
- schemas List<Property Map>
The table schema information as a JSON object.
- state String
The state of a table.
- Map<Any>
Read-only system tag. These predefined keys are scoped to namespaces. At present the only supported namespace is
"orcl-cloud"
; and the only key in that namespace is"free-tier-retained"
. Example:{"orcl-cloud"": {"free-tier-retained": "true"}}
- table
Limits Property Map (Updatable) Throughput and storage limits configuration of a table. It is required for top level table, must be null for child table as child table shares its top parent table's limits.
- time
Created String The time the the table was created. An RFC3339 formatted datetime string.
- time
Of StringExpiration If lifecycleState is INACTIVE, indicates when this table will be automatically removed. An RFC3339 formatted datetime string.
- time
Updated String The time the the table's metadata was last updated. An RFC3339 formatted datetime string.
Supporting Types
TableSchema, TableSchemaArgs
- Columns
List<Table
Schema Column> The columns of a table.
- Identities
List<Table
Schema Identity> The identity properties of a table, if any.
- Primary
Keys List<string> A list of column names that make up a key.
- List<string>
A list of column names that make up a key.
- Ttl int
The default Time-to-Live for the table, in days.
- Columns
[]Table
Schema Column The columns of a table.
- Identities
[]Table
Schema Identity The identity properties of a table, if any.
- Primary
Keys []string A list of column names that make up a key.
- []string
A list of column names that make up a key.
- Ttl int
The default Time-to-Live for the table, in days.
- columns
List<Table
Schema Column> The columns of a table.
- identities
List<Table
Schema Identity> The identity properties of a table, if any.
- primary
Keys List<String> A list of column names that make up a key.
- List<String>
A list of column names that make up a key.
- ttl Integer
The default Time-to-Live for the table, in days.
- columns
Table
Schema Column[] The columns of a table.
- identities
Table
Schema Identity[] The identity properties of a table, if any.
- primary
Keys string[] A list of column names that make up a key.
- string[]
A list of column names that make up a key.
- ttl number
The default Time-to-Live for the table, in days.
- columns
Table
Schema Column] The columns of a table.
- identities
Table
Schema Identity] The identity properties of a table, if any.
- primary_
keys Sequence[str] A list of column names that make up a key.
- Sequence[str]
A list of column names that make up a key.
- ttl int
The default Time-to-Live for the table, in days.
- columns List<Property Map>
The columns of a table.
- identities List<Property Map>
The identity properties of a table, if any.
- primary
Keys List<String> A list of column names that make up a key.
- List<String>
A list of column names that make up a key.
- ttl Number
The default Time-to-Live for the table, in days.
TableSchemaColumn, TableSchemaColumnArgs
- Default
Value string The column default value.
- Is
As boolUuid True if the STRING column was declared AS UUID.
- Is
Generated bool True if the STRING AS UUID column is also GENERATED BY DEFAULT.
- Is
Nullable bool The column nullable flag.
- Name string
Table name.
- Type string
The column type.
- Default
Value string The column default value.
- Is
As boolUuid True if the STRING column was declared AS UUID.
- Is
Generated bool True if the STRING AS UUID column is also GENERATED BY DEFAULT.
- Is
Nullable bool The column nullable flag.
- Name string
Table name.
- Type string
The column type.
- default
Value String The column default value.
- is
As BooleanUuid True if the STRING column was declared AS UUID.
- is
Generated Boolean True if the STRING AS UUID column is also GENERATED BY DEFAULT.
- is
Nullable Boolean The column nullable flag.
- name String
Table name.
- type String
The column type.
- default
Value string The column default value.
- is
As booleanUuid True if the STRING column was declared AS UUID.
- is
Generated boolean True if the STRING AS UUID column is also GENERATED BY DEFAULT.
- is
Nullable boolean The column nullable flag.
- name string
Table name.
- type string
The column type.
- default_
value str The column default value.
- is_
as_ booluuid True if the STRING column was declared AS UUID.
- is_
generated bool True if the STRING AS UUID column is also GENERATED BY DEFAULT.
- is_
nullable bool The column nullable flag.
- name str
Table name.
- type str
The column type.
- default
Value String The column default value.
- is
As BooleanUuid True if the STRING column was declared AS UUID.
- is
Generated Boolean True if the STRING AS UUID column is also GENERATED BY DEFAULT.
- is
Nullable Boolean The column nullable flag.
- name String
Table name.
- type String
The column type.
TableSchemaIdentity, TableSchemaIdentityArgs
- Column
Name string The name of the identity column.
- Is
Always bool True if the identity value is GENERATED ALWAYS.
- Is
Null bool True if the identity value is GENERATED BY DEFAULT ON NULL.
- Column
Name string The name of the identity column.
- Is
Always bool True if the identity value is GENERATED ALWAYS.
- Is
Null bool True if the identity value is GENERATED BY DEFAULT ON NULL.
- column
Name String The name of the identity column.
- is
Always Boolean True if the identity value is GENERATED ALWAYS.
- is
Null Boolean True if the identity value is GENERATED BY DEFAULT ON NULL.
- column
Name string The name of the identity column.
- is
Always boolean True if the identity value is GENERATED ALWAYS.
- is
Null boolean True if the identity value is GENERATED BY DEFAULT ON NULL.
- column_
name str The name of the identity column.
- is_
always bool True if the identity value is GENERATED ALWAYS.
- is_
null bool True if the identity value is GENERATED BY DEFAULT ON NULL.
- column
Name String The name of the identity column.
- is
Always Boolean True if the identity value is GENERATED ALWAYS.
- is
Null Boolean True if the identity value is GENERATED BY DEFAULT ON NULL.
TableTableLimits, TableTableLimitsArgs
- Max
Read intUnits (Updatable) Maximum sustained read throughput limit for the table.
- Max
Storage intIn Gbs (Updatable) Maximum size of storage used by the table.
- Max
Write intUnits (Updatable) Maximum sustained write throughput limit for the table.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Capacity
Mode string (Updatable) The capacity mode of the table. If capacityMode = ON_DEMAND, maxReadUnits and maxWriteUnits are not used, and both will have the value of zero.
- Max
Read intUnits (Updatable) Maximum sustained read throughput limit for the table.
- Max
Storage intIn Gbs (Updatable) Maximum size of storage used by the table.
- Max
Write intUnits (Updatable) Maximum sustained write throughput limit for the table.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- Capacity
Mode string (Updatable) The capacity mode of the table. If capacityMode = ON_DEMAND, maxReadUnits and maxWriteUnits are not used, and both will have the value of zero.
- max
Read IntegerUnits (Updatable) Maximum sustained read throughput limit for the table.
- max
Storage IntegerIn Gbs (Updatable) Maximum size of storage used by the table.
- max
Write IntegerUnits (Updatable) Maximum sustained write throughput limit for the table.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- capacity
Mode String (Updatable) The capacity mode of the table. If capacityMode = ON_DEMAND, maxReadUnits and maxWriteUnits are not used, and both will have the value of zero.
- max
Read numberUnits (Updatable) Maximum sustained read throughput limit for the table.
- max
Storage numberIn Gbs (Updatable) Maximum size of storage used by the table.
- max
Write numberUnits (Updatable) Maximum sustained write throughput limit for the table.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- capacity
Mode string (Updatable) The capacity mode of the table. If capacityMode = ON_DEMAND, maxReadUnits and maxWriteUnits are not used, and both will have the value of zero.
- max_
read_ intunits (Updatable) Maximum sustained read throughput limit for the table.
- max_
storage_ intin_ gbs (Updatable) Maximum size of storage used by the table.
- max_
write_ intunits (Updatable) Maximum sustained write throughput limit for the table.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- capacity_
mode str (Updatable) The capacity mode of the table. If capacityMode = ON_DEMAND, maxReadUnits and maxWriteUnits are not used, and both will have the value of zero.
- max
Read NumberUnits (Updatable) Maximum sustained read throughput limit for the table.
- max
Storage NumberIn Gbs (Updatable) Maximum size of storage used by the table.
- max
Write NumberUnits (Updatable) Maximum sustained write throughput limit for the table.
** IMPORTANT ** Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values
- capacity
Mode String (Updatable) The capacity mode of the table. If capacityMode = ON_DEMAND, maxReadUnits and maxWriteUnits are not used, and both will have the value of zero.
Import
Tables can be imported using the id
, e.g.
$ pulumi import oci:Nosql/table:Table test_table "id"
Package Details
- Repository
- oci pulumi/pulumi-oci
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
oci
Terraform Provider.