CreateMetastoreDetails

class oci.data_catalog.models.CreateMetastoreDetails(**kwargs)

Bases: object

Information about a new metastore.

Methods:

__init__(**kwargs)

Initializes a new CreateMetastoreDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this CreateMetastoreDetails.

default_external_table_location

[Required] Gets the default_external_table_location of this CreateMetastoreDetails.

default_managed_table_location

[Required] Gets the default_managed_table_location of this CreateMetastoreDetails.

defined_tags

Gets the defined_tags of this CreateMetastoreDetails.

display_name

Gets the display_name of this CreateMetastoreDetails.

freeform_tags

Gets the freeform_tags of this CreateMetastoreDetails.

__init__(**kwargs)

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

Parameters
  • display_name (str) – The value to assign to the display_name property of this CreateMetastoreDetails.

  • compartment_id (str) – The value to assign to the compartment_id property of this CreateMetastoreDetails.

  • default_managed_table_location (str) – The value to assign to the default_managed_table_location property of this CreateMetastoreDetails.

  • default_external_table_location (str) – The value to assign to the default_external_table_location property of this CreateMetastoreDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateMetastoreDetails.

  • defined_tags (dict(str, dict(str, object))) – The value to assign to the defined_tags property of this CreateMetastoreDetails.

property compartment_id

[Required] Gets the compartment_id of this CreateMetastoreDetails. OCID of the compartment which holds the metastore.

Returns

The compartment_id of this CreateMetastoreDetails.

Return type

str

property default_external_table_location

[Required] Gets the default_external_table_location of this CreateMetastoreDetails. Location under which external tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/

Returns

The default_external_table_location of this CreateMetastoreDetails.

Return type

str

property default_managed_table_location

[Required] Gets the default_managed_table_location of this CreateMetastoreDetails. Location under which managed tables will be created by default. This references Object Storage using an HDFS URI format. Example: oci://bucket@namespace/sub-dir/

Returns

The default_managed_table_location of this CreateMetastoreDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateMetastoreDetails. Usage of predefined tag keys. These predefined keys are scoped to namespaces. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this CreateMetastoreDetails.

Return type

dict(str, dict(str, object))

property display_name

Gets the display_name of this CreateMetastoreDetails. Mutable name of the metastore.

Returns

The display_name of this CreateMetastoreDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateMetastoreDetails. 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 CreateMetastoreDetails.

Return type

dict(str, str)