» Data Source: oci_nosql_table

This data source provides details about a specific Table resource in Oracle Cloud Infrastructure Nosql service.

Get table info by identifier.

» Example Usage

data "oci_nosql_table" "test_table" {
    #Required
    table_name_or_id = "${oci_nosql_table_name_or.test_table_name_or.id}"

    #Optional
    compartment_id = "${var.compartment_id}"
}

» Argument Reference

The following arguments are supported:

  • compartment_id - (Optional) The ID of a table's compartment. When a table is identified by name, the compartmentId is often needed to provide context for interpreting the name.
  • table_name_or_id - (Required) A table name within the compartment, or a table OCID.

» Attributes Reference

The following attributes are exported:

  • compartment_id - Compartment Identifier.
  • ddl_statement - A DDL statement representing the schema.
  • defined_tags - Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {"foo-namespace": {"bar-key": "value"}}
  • freeform_tags - Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {"bar-key": "value"}
  • id - Unique identifier that is immutable.
  • lifecycle_details - A message describing the current state in more detail.
  • name - Human-friendly table name, immutable.
  • schema -
    • columns - The columns of a table.
    • primary_key - A list of column names that make up a key.
    • shard_key - A list of column names that make up a key.
    • ttl - The default Time-to-Live for the table, in days.
  • state - The state of a table.
  • table_limits -
  • time_created - The time the the table was created. An RFC3339 formatted datetime string.
  • time_updated - The time the the table's metadata was last updated. An RFC3339 formatted datetime string.