BdsMetastoreConfiguration

class oci.bds.models.BdsMetastoreConfiguration(**kwargs)

Bases: object

The metastore configuration information.

Attributes:

LIFECYCLE_STATE_ACTIVATING

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration.

LIFECYCLE_STATE_ACTIVE

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration.

LIFECYCLE_STATE_CREATING

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration.

LIFECYCLE_STATE_DELETED

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration.

LIFECYCLE_STATE_DELETING

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration.

LIFECYCLE_STATE_FAILED

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration.

LIFECYCLE_STATE_INACTIVE

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration.

LIFECYCLE_STATE_UPDATING

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration.

METASTORE_TYPE_EXTERNAL

A constant which can be used with the metastore_type property of a BdsMetastoreConfiguration.

METASTORE_TYPE_LOCAL

A constant which can be used with the metastore_type property of a BdsMetastoreConfiguration.

bds_api_key_id

Gets the bds_api_key_id of this BdsMetastoreConfiguration.

display_name

[Required] Gets the display_name of this BdsMetastoreConfiguration.

id

[Required] Gets the id of this BdsMetastoreConfiguration.

lifecycle_state

[Required] Gets the lifecycle_state of this BdsMetastoreConfiguration.

metastore_id

Gets the metastore_id of this BdsMetastoreConfiguration.

metastore_type

[Required] Gets the metastore_type of this BdsMetastoreConfiguration.

secret_id

Gets the secret_id of this BdsMetastoreConfiguration.

time_created

[Required] Gets the time_created of this BdsMetastoreConfiguration.

time_updated

Gets the time_updated of this BdsMetastoreConfiguration.

Methods:

__init__(**kwargs)

Initializes a new BdsMetastoreConfiguration object with values from keyword arguments.

LIFECYCLE_STATE_ACTIVATING = 'ACTIVATING'

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration. This constant has a value of “ACTIVATING”

LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration. This constant has a value of “ACTIVE”

LIFECYCLE_STATE_CREATING = 'CREATING'

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration. This constant has a value of “CREATING”

LIFECYCLE_STATE_DELETED = 'DELETED'

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration. This constant has a value of “DELETED”

LIFECYCLE_STATE_DELETING = 'DELETING'

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration. This constant has a value of “DELETING”

LIFECYCLE_STATE_FAILED = 'FAILED'

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration. This constant has a value of “FAILED”

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration. This constant has a value of “INACTIVE”

LIFECYCLE_STATE_UPDATING = 'UPDATING'

A constant which can be used with the lifecycle_state property of a BdsMetastoreConfiguration. This constant has a value of “UPDATING”

METASTORE_TYPE_EXTERNAL = 'EXTERNAL'

A constant which can be used with the metastore_type property of a BdsMetastoreConfiguration. This constant has a value of “EXTERNAL”

METASTORE_TYPE_LOCAL = 'LOCAL'

A constant which can be used with the metastore_type property of a BdsMetastoreConfiguration. This constant has a value of “LOCAL”

__init__(**kwargs)

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

Parameters
  • id (str) – The value to assign to the id property of this BdsMetastoreConfiguration.

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

  • secret_id (str) – The value to assign to the secret_id property of this BdsMetastoreConfiguration.

  • metastore_type (str) – The value to assign to the metastore_type property of this BdsMetastoreConfiguration. Allowed values for this property are: “LOCAL”, “EXTERNAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • metastore_id (str) – The value to assign to the metastore_id property of this BdsMetastoreConfiguration.

  • bds_api_key_id (str) – The value to assign to the bds_api_key_id property of this BdsMetastoreConfiguration.

  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this BdsMetastoreConfiguration. Allowed values for this property are: “CREATING”, “ACTIVATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “FAILED”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

  • time_created (datetime) – The value to assign to the time_created property of this BdsMetastoreConfiguration.

  • time_updated (datetime) – The value to assign to the time_updated property of this BdsMetastoreConfiguration.

property bds_api_key_id

Gets the bds_api_key_id of this BdsMetastoreConfiguration. The ID of BDS API Key used for metastore configuration. Set only if metastore’s type is EXTERNAL.

Returns

The bds_api_key_id of this BdsMetastoreConfiguration.

Return type

str

property display_name

[Required] Gets the display_name of this BdsMetastoreConfiguration. The display name of metastore configuration

Returns

The display_name of this BdsMetastoreConfiguration.

Return type

str

property id

[Required] Gets the id of this BdsMetastoreConfiguration. The ID of the metastore configuration

Returns

The id of this BdsMetastoreConfiguration.

Return type

str

property lifecycle_state

[Required] Gets the lifecycle_state of this BdsMetastoreConfiguration. the lifecycle state of the metastore configuration.

Allowed values for this property are: “CREATING”, “ACTIVATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “FAILED”, “DELETING”, “DELETED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The lifecycle_state of this BdsMetastoreConfiguration.

Return type

str

property metastore_id

Gets the metastore_id of this BdsMetastoreConfiguration. The OCID of the Data Catalog metastore. Set only if metastore’s type is EXTERNAL.

Returns

The metastore_id of this BdsMetastoreConfiguration.

Return type

str

property metastore_type

[Required] Gets the metastore_type of this BdsMetastoreConfiguration. The type of the metastore in the metastore configuration.

Allowed values for this property are: “LOCAL”, “EXTERNAL”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The metastore_type of this BdsMetastoreConfiguration.

Return type

str

property secret_id

Gets the secret_id of this BdsMetastoreConfiguration. The secretId for the clusterAdminPassword.

Returns

The secret_id of this BdsMetastoreConfiguration.

Return type

str

property time_created

[Required] Gets the time_created of this BdsMetastoreConfiguration. The time when the configuration was created, shown as an RFC 3339 formatted datetime string.

Returns

The time_created of this BdsMetastoreConfiguration.

Return type

datetime

property time_updated

Gets the time_updated of this BdsMetastoreConfiguration. The time when the configuration was updated, shown as an RFC 3339 formatted datetime string.

Returns

The time_updated of this BdsMetastoreConfiguration.

Return type

datetime