CreateTableDetails

class oci.nosql.models.CreateTableDetails(**kwargs)

Bases: object

Specifications for the new table.

Methods

__init__(**kwargs) Initializes a new CreateTableDetails object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this CreateTableDetails.
ddl_statement [Required] Gets the ddl_statement of this CreateTableDetails.
defined_tags Gets the defined_tags of this CreateTableDetails.
freeform_tags Gets the freeform_tags of this CreateTableDetails.
is_auto_reclaimable Gets the is_auto_reclaimable of this CreateTableDetails.
name [Required] Gets the name of this CreateTableDetails.
table_limits Gets the table_limits of this CreateTableDetails.
__init__(**kwargs)

Initializes a new CreateTableDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • name (str) – The value to assign to the name property of this CreateTableDetails.
  • compartment_id (str) – The value to assign to the compartment_id property of this CreateTableDetails.
  • ddl_statement (str) – The value to assign to the ddl_statement property of this CreateTableDetails.
  • table_limits (oci.nosql.models.TableLimits) – The value to assign to the table_limits property of this CreateTableDetails.
  • is_auto_reclaimable (bool) – The value to assign to the is_auto_reclaimable property of this CreateTableDetails.
  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateTableDetails.
  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateTableDetails.
compartment_id

[Required] Gets the compartment_id of this CreateTableDetails. Compartment Identifier.

Returns:The compartment_id of this CreateTableDetails.
Return type:str
ddl_statement

[Required] Gets the ddl_statement of this CreateTableDetails. Complete CREATE TABLE DDL statement.

Returns:The ddl_statement of this CreateTableDetails.
Return type:str
defined_tags

Gets the defined_tags of this CreateTableDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns:The defined_tags of this CreateTableDetails.
Return type:dict(str, dict(str, object))
freeform_tags

Gets the freeform_tags of this CreateTableDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns:The freeform_tags of this CreateTableDetails.
Return type:dict(str, str)
is_auto_reclaimable

Gets the is_auto_reclaimable of this CreateTableDetails. True if table can be reclaimed after an idle period.

Returns:The is_auto_reclaimable of this CreateTableDetails.
Return type:bool
name

[Required] Gets the name of this CreateTableDetails. Table name.

Returns:The name of this CreateTableDetails.
Return type:str
table_limits

Gets the table_limits of this CreateTableDetails.

Returns:The table_limits of this CreateTableDetails.
Return type:oci.nosql.models.TableLimits