MoveDistributedDatabaseReplicationUnitDetails

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

Bases: object

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

Methods

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

Attributes

destination_shard_name Gets the destination_shard_name of this MoveDistributedDatabaseReplicationUnitDetails.
replication_units Gets the replication_units of this MoveDistributedDatabaseReplicationUnitDetails.
source_shard_name [Required] Gets the source_shard_name of this MoveDistributedDatabaseReplicationUnitDetails.
__init__(**kwargs)

Initializes a new MoveDistributedDatabaseReplicationUnitDetails 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 MoveDistributedDatabaseReplicationUnitDetails.
  • destination_shard_name (str) – The value to assign to the destination_shard_name property of this MoveDistributedDatabaseReplicationUnitDetails.
  • replication_units (list[int]) – The value to assign to the replication_units property of this MoveDistributedDatabaseReplicationUnitDetails.
destination_shard_name

Gets the destination_shard_name of this MoveDistributedDatabaseReplicationUnitDetails. 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 MoveDistributedDatabaseReplicationUnitDetails.
Return type:str
replication_units

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

Returns:The replication_units of this MoveDistributedDatabaseReplicationUnitDetails.
Return type:list[int]
source_shard_name

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

Returns:The source_shard_name of this MoveDistributedDatabaseReplicationUnitDetails.
Return type:str