» Data Source: oci_nosql_tables

This data source provides the list of Tables in Oracle Cloud Infrastructure Nosql service.

Get a list of tables in a compartment.

» Example Usage

data "oci_nosql_tables" "test_tables" {
    #Required
    compartment_id = "${var.compartment_id}"

    #Optional
    name = "${var.table_name}"
    state = "${var.table_state}"
}

» Argument Reference

The following arguments are supported:

  • compartment_id - (Required) The ID of a table's compartment.
  • name - (Optional) A shell-globbing-style (*?[]) filter for names.
  • state - (Optional) Filter list by the lifecycle state of the item.

» Attributes Reference

The following attributes are exported:

» Table 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.