AnalyticsCluster

class oci.mysql.models.AnalyticsCluster(**kwargs)

Bases: object

DEPRECATED – please use HeatWave API instead. An Analytics Cluster is a database accelerator for a DB System.

Attributes

LIFECYCLE_STATE_ACTIVE A constant which can be used with the lifecycle_state property of a AnalyticsCluster.
LIFECYCLE_STATE_CREATING A constant which can be used with the lifecycle_state property of a AnalyticsCluster.
LIFECYCLE_STATE_DELETED A constant which can be used with the lifecycle_state property of a AnalyticsCluster.
LIFECYCLE_STATE_DELETING A constant which can be used with the lifecycle_state property of a AnalyticsCluster.
LIFECYCLE_STATE_FAILED A constant which can be used with the lifecycle_state property of a AnalyticsCluster.
LIFECYCLE_STATE_INACTIVE A constant which can be used with the lifecycle_state property of a AnalyticsCluster.
LIFECYCLE_STATE_UPDATING A constant which can be used with the lifecycle_state property of a AnalyticsCluster.
cluster_nodes [Required] Gets the cluster_nodes of this AnalyticsCluster.
cluster_size [Required] Gets the cluster_size of this AnalyticsCluster.
db_system_id [Required] Gets the db_system_id of this AnalyticsCluster.
lifecycle_details Gets the lifecycle_details of this AnalyticsCluster.
lifecycle_state [Required] Gets the lifecycle_state of this AnalyticsCluster.
shape_name [Required] Gets the shape_name of this AnalyticsCluster.
time_created [Required] Gets the time_created of this AnalyticsCluster.
time_updated [Required] Gets the time_updated of this AnalyticsCluster.

Methods

__init__(**kwargs) Initializes a new AnalyticsCluster object with values from keyword arguments.
LIFECYCLE_STATE_ACTIVE = 'ACTIVE'

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

LIFECYCLE_STATE_CREATING = 'CREATING'

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

LIFECYCLE_STATE_DELETED = 'DELETED'

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

LIFECYCLE_STATE_DELETING = 'DELETING'

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

LIFECYCLE_STATE_FAILED = 'FAILED'

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

LIFECYCLE_STATE_INACTIVE = 'INACTIVE'

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

LIFECYCLE_STATE_UPDATING = 'UPDATING'

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

__init__(**kwargs)

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

Parameters:
  • db_system_id (str) – The value to assign to the db_system_id property of this AnalyticsCluster.
  • shape_name (str) – The value to assign to the shape_name property of this AnalyticsCluster.
  • cluster_size (int) – The value to assign to the cluster_size property of this AnalyticsCluster.
  • cluster_nodes (list[oci.mysql.models.AnalyticsClusterNode]) – The value to assign to the cluster_nodes property of this AnalyticsCluster.
  • lifecycle_state (str) – The value to assign to the lifecycle_state property of this AnalyticsCluster. Allowed values for this property are: “CREATING”, “ACTIVE”, “INACTIVE”, “UPDATING”, “DELETING”, “DELETED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
  • lifecycle_details (str) – The value to assign to the lifecycle_details property of this AnalyticsCluster.
  • time_created (datetime) – The value to assign to the time_created property of this AnalyticsCluster.
  • time_updated (datetime) – The value to assign to the time_updated property of this AnalyticsCluster.
cluster_nodes

[Required] Gets the cluster_nodes of this AnalyticsCluster. An Analytics Cluster Node is a compute host that is part of an Analytics Cluster.

Returns:The cluster_nodes of this AnalyticsCluster.
Return type:list[oci.mysql.models.AnalyticsClusterNode]
cluster_size

[Required] Gets the cluster_size of this AnalyticsCluster. The number of analytics-processing compute instances, of the specified shape, in the Analytics Cluster.

Returns:The cluster_size of this AnalyticsCluster.
Return type:int
db_system_id

[Required] Gets the db_system_id of this AnalyticsCluster. The OCID of the parent DB System this Analytics Cluster is attached to.

Returns:The db_system_id of this AnalyticsCluster.
Return type:str
lifecycle_details

Gets the lifecycle_details of this AnalyticsCluster. Additional information about the current lifecycleState.

Returns:The lifecycle_details of this AnalyticsCluster.
Return type:str
lifecycle_state

[Required] Gets the lifecycle_state of this AnalyticsCluster. The current state of the Analytics Cluster.

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

Returns:The lifecycle_state of this AnalyticsCluster.
Return type:str
shape_name

[Required] Gets the shape_name of this AnalyticsCluster. The shape determines resources to allocate to the Analytics Cluster nodes - CPU cores, memory.

Returns:The shape_name of this AnalyticsCluster.
Return type:str
time_created

[Required] Gets the time_created of this AnalyticsCluster. The date and time the Analytics Cluster was created, as described by RFC 3339.

Returns:The time_created of this AnalyticsCluster.
Return type:datetime
time_updated

[Required] Gets the time_updated of this AnalyticsCluster. The time the Analytics Cluster was last updated, as described by RFC 3339.

Returns:The time_updated of this AnalyticsCluster.
Return type:datetime