CreateReplicaDetails

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

Bases: object

Details required to create a read replica.

Methods:

__init__(**kwargs)

Initializes a new CreateReplicaDetails object with values from keyword arguments.

Attributes:

db_system_id

[Required] Gets the db_system_id of this CreateReplicaDetails.

defined_tags

Gets the defined_tags of this CreateReplicaDetails.

description

Gets the description of this CreateReplicaDetails.

display_name

Gets the display_name of this CreateReplicaDetails.

freeform_tags

Gets the freeform_tags of this CreateReplicaDetails.

is_delete_protected

Gets the is_delete_protected of this CreateReplicaDetails.

replica_overrides

Gets the replica_overrides of this CreateReplicaDetails.

__init__(**kwargs)

Initializes a new CreateReplicaDetails 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 CreateReplicaDetails.

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

  • description (str) – The value to assign to the description property of this CreateReplicaDetails.

  • freeform_tags (dict(str, str)) – The value to assign to the freeform_tags property of this CreateReplicaDetails.

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

  • is_delete_protected (bool) – The value to assign to the is_delete_protected property of this CreateReplicaDetails.

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

property db_system_id

[Required] Gets the db_system_id of this CreateReplicaDetails. The OCID of the DB System the read replica is associated with.

Returns

The db_system_id of this CreateReplicaDetails.

Return type

str

property defined_tags

Gets the defined_tags of this CreateReplicaDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. Example: {“foo-namespace”: {“bar-key”: “value”}}

Returns

The defined_tags of this CreateReplicaDetails.

Return type

dict(str, dict(str, object))

property description

Gets the description of this CreateReplicaDetails. User provided description of the read replica.

Returns

The description of this CreateReplicaDetails.

Return type

str

property display_name

Gets the display_name of this CreateReplicaDetails. The user-friendly name for the read replica. It does not have to be unique.

Returns

The display_name of this CreateReplicaDetails.

Return type

str

property freeform_tags

Gets the freeform_tags of this CreateReplicaDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. Example: {“bar-key”: “value”}

Returns

The freeform_tags of this CreateReplicaDetails.

Return type

dict(str, str)

property is_delete_protected

Gets the is_delete_protected of this CreateReplicaDetails. Specifies whether the read replica can be deleted. Set to true to prevent deletion, false (default) to allow. Note that if a read replica is delete protected it also prevents the entire DB System from being deleted. If the DB System is delete protected, read replicas can still be deleted individually if they are not delete protected themselves.

Returns

The is_delete_protected of this CreateReplicaDetails.

Return type

bool

property replica_overrides

Gets the replica_overrides of this CreateReplicaDetails.

Returns

The replica_overrides of this CreateReplicaDetails.

Return type

oci.mysql.models.ReplicaOverrides