ReplicaOverrides

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

Bases: object

By default a read replica inherits the MySQL version, shape, and configuration of the source DB system. If you want to override any of these, provide values in the properties, mysqlVersion, shapeName, and configurationId. If you set a property value to “”, then the value is inherited from its source DB system.

Methods

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

Attributes

configuration_id Gets the configuration_id of this ReplicaOverrides.
mysql_version Gets the mysql_version of this ReplicaOverrides.
shape_name Gets the shape_name of this ReplicaOverrides.
__init__(**kwargs)

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

Parameters:
  • mysql_version (str) – The value to assign to the mysql_version property of this ReplicaOverrides.
  • shape_name (str) – The value to assign to the shape_name property of this ReplicaOverrides.
  • configuration_id (str) – The value to assign to the configuration_id property of this ReplicaOverrides.
configuration_id

Gets the configuration_id of this ReplicaOverrides. The OCID of the Configuration to be used by the read replica.

Returns:The configuration_id of this ReplicaOverrides.
Return type:str
mysql_version

Gets the mysql_version of this ReplicaOverrides. The MySQL version to be used by the read replica.

Returns:The mysql_version of this ReplicaOverrides.
Return type:str
shape_name

Gets the shape_name of this ReplicaOverrides. The shape to be used by the read replica. The shape determines the resources allocated: CPU cores and memory for VM shapes, CPU cores, memory and storage for non-VM (bare metal) shapes. To get a list of shapes, use the list_shapes() operation.

Returns:The shape_name of this ReplicaOverrides.
Return type:str