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.

nsg_ids

Gets the nsg_ids of this ReplicaOverrides.

security_attributes

Gets the security_attributes of this ReplicaOverrides.

shape_name

Gets the shape_name of this ReplicaOverrides.

telemetry_configuration

Gets the telemetry_configuration 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.

  • nsg_ids (list[str]) – The value to assign to the nsg_ids property of this ReplicaOverrides.

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

  • telemetry_configuration (oci.mysql.models.TelemetryConfigurationDetails) – The value to assign to the telemetry_configuration property of this ReplicaOverrides.

property 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

property 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

property nsg_ids

Gets the nsg_ids of this ReplicaOverrides. Network Security Group OCIDs used for the VNIC attachment.

Returns

The nsg_ids of this ReplicaOverrides.

Return type

list[str]

property security_attributes

Gets the security_attributes of this ReplicaOverrides. Security Attributes for this resource. Each key is predefined and scoped to a namespace. For more information, see ZPR Artifacts. Example: {“Oracle-ZPR”: {“MaxEgressCount”: {“value”: “42”, “mode”: “audit”}}}

Returns

The security_attributes of this ReplicaOverrides.

Return type

dict(str, dict(str, object))

property 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

property telemetry_configuration

Gets the telemetry_configuration of this ReplicaOverrides.

Returns

The telemetry_configuration of this ReplicaOverrides.

Return type

oci.mysql.models.TelemetryConfigurationDetails