MoveDistributedAutonomousDatabaseReplicationUnitDetails

class oci.distributed_database.models.MoveDistributedAutonomousDatabaseReplicationUnitDetails(**kwargs)

Bases: object

The details for moving replication units from source shard to destination shard for the Globally distributed autonomous database.

Methods:

__init__(**kwargs)

Initializes a new MoveDistributedAutonomousDatabaseReplicationUnitDetails object with values from keyword arguments.

Attributes:

destination_shard_name

Gets the destination_shard_name of this MoveDistributedAutonomousDatabaseReplicationUnitDetails.

replication_units

Gets the replication_units of this MoveDistributedAutonomousDatabaseReplicationUnitDetails.

source_shard_name

[Required] Gets the source_shard_name of this MoveDistributedAutonomousDatabaseReplicationUnitDetails.

__init__(**kwargs)

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

Parameters
  • source_shard_name (str) – The value to assign to the source_shard_name property of this MoveDistributedAutonomousDatabaseReplicationUnitDetails.

  • destination_shard_name (str) – The value to assign to the destination_shard_name property of this MoveDistributedAutonomousDatabaseReplicationUnitDetails.

  • replication_units (list[int]) – The value to assign to the replication_units property of this MoveDistributedAutonomousDatabaseReplicationUnitDetails.

property destination_shard_name

Gets the destination_shard_name of this MoveDistributedAutonomousDatabaseReplicationUnitDetails. The name of the destination shard to which the chunks moved out from source shard should be relocate to.

Returns

The destination_shard_name of this MoveDistributedAutonomousDatabaseReplicationUnitDetails.

Return type

str

property replication_units

Gets the replication_units of this MoveDistributedAutonomousDatabaseReplicationUnitDetails. For RAFT databases please provide replication unit numbers to be moved from source shard to destination shard.

Returns

The replication_units of this MoveDistributedAutonomousDatabaseReplicationUnitDetails.

Return type

list[int]

property source_shard_name

[Required] Gets the source_shard_name of this MoveDistributedAutonomousDatabaseReplicationUnitDetails. The name of the source shard from which to move the chunks out to other shards.

Returns

The source_shard_name of this MoveDistributedAutonomousDatabaseReplicationUnitDetails.

Return type

str