HeatWaveClusterMemoryEstimate¶
- class oci.mysql.models.HeatWaveClusterMemoryEstimate(**kwargs)¶
Bases:
objectHeatWave cluster memory estimate that can be used to determine a suitable HeatWave cluster size. For each MySQL user table the estimated memory footprint when the table is loaded to the HeatWave cluster memory is returned.
Attributes:
A constant which can be used with the status property of a HeatWaveClusterMemoryEstimate.
A constant which can be used with the status property of a HeatWaveClusterMemoryEstimate.
A constant which can be used with the status property of a HeatWaveClusterMemoryEstimate.
A constant which can be used with the status property of a HeatWaveClusterMemoryEstimate.
A constant which can be used with the status property of a HeatWaveClusterMemoryEstimate.
A constant which can be used with the status property of a HeatWaveClusterMemoryEstimate.
[Required] Gets the db_system_id of this HeatWaveClusterMemoryEstimate.
[Required] Gets the status of this HeatWaveClusterMemoryEstimate.
[Required] Gets the table_schemas of this HeatWaveClusterMemoryEstimate.
[Required] Gets the time_created of this HeatWaveClusterMemoryEstimate.
[Required] Gets the time_updated of this HeatWaveClusterMemoryEstimate.
Methods:
__init__(**kwargs)Initializes a new HeatWaveClusterMemoryEstimate object with values from keyword arguments.
- STATUS_ACCEPTED = 'ACCEPTED'¶
A constant which can be used with the status property of a HeatWaveClusterMemoryEstimate. This constant has a value of “ACCEPTED”
- STATUS_CANCELED = 'CANCELED'¶
A constant which can be used with the status property of a HeatWaveClusterMemoryEstimate. This constant has a value of “CANCELED”
- STATUS_CANCELING = 'CANCELING'¶
A constant which can be used with the status property of a HeatWaveClusterMemoryEstimate. This constant has a value of “CANCELING”
- STATUS_FAILED = 'FAILED'¶
A constant which can be used with the status property of a HeatWaveClusterMemoryEstimate. This constant has a value of “FAILED”
- STATUS_IN_PROGRESS = 'IN_PROGRESS'¶
A constant which can be used with the status property of a HeatWaveClusterMemoryEstimate. This constant has a value of “IN_PROGRESS”
- STATUS_SUCCEEDED = 'SUCCEEDED'¶
A constant which can be used with the status property of a HeatWaveClusterMemoryEstimate. This constant has a value of “SUCCEEDED”
- __init__(**kwargs)¶
Initializes a new HeatWaveClusterMemoryEstimate 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 HeatWaveClusterMemoryEstimate.
status (str) – The value to assign to the status property of this HeatWaveClusterMemoryEstimate. Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, ‘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 HeatWaveClusterMemoryEstimate.
time_updated (datetime) – The value to assign to the time_updated property of this HeatWaveClusterMemoryEstimate.
table_schemas (list[oci.mysql.models.HeatWaveClusterSchemaMemoryEstimate]) – The value to assign to the table_schemas property of this HeatWaveClusterMemoryEstimate.
- property db_system_id¶
[Required] Gets the db_system_id of this HeatWaveClusterMemoryEstimate. The OCID of the DB System the HeatWave cluster memory estimate is associated with.
- Returns
The db_system_id of this HeatWaveClusterMemoryEstimate.
- Return type
str
- property status¶
[Required] Gets the status of this HeatWaveClusterMemoryEstimate. Current status of the Work Request generating the HeatWave cluster memory estimate.
Allowed values for this property are: “ACCEPTED”, “IN_PROGRESS”, “FAILED”, “SUCCEEDED”, “CANCELING”, “CANCELED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The status of this HeatWaveClusterMemoryEstimate.
- Return type
str
- property table_schemas¶
[Required] Gets the table_schemas of this HeatWaveClusterMemoryEstimate. Collection of schemas with estimated memory footprints for MySQL user tables of each schema when loaded to HeatWave cluster memory.
- Returns
The table_schemas of this HeatWaveClusterMemoryEstimate.
- Return type
- property time_created¶
[Required] Gets the time_created of this HeatWaveClusterMemoryEstimate. The date and time that the Work Request to generate the HeatWave cluster memory estimate was issued, as described by RFC 3339.
- Returns
The time_created of this HeatWaveClusterMemoryEstimate.
- Return type
datetime