CreateAutonomousCompositeRaftShardSpaceDetails¶
- class oci.distributed_database.models.CreateAutonomousCompositeRaftShardSpaceDetails(**kwargs)¶
Bases:
objectDetails required to create a composite raft shard space for a Globally distributed autonomous database.
Methods:
__init__(**kwargs)Initializes a new CreateAutonomousCompositeRaftShardSpaceDetails object with values from keyword arguments.
Attributes:
[Required] Gets the chunk_count of this CreateAutonomousCompositeRaftShardSpaceDetails.
[Required] Gets the name of this CreateAutonomousCompositeRaftShardSpaceDetails.
[Required] Gets the raft_clusters of this CreateAutonomousCompositeRaftShardSpaceDetails.
[Required] Gets the replication_unit_count of this CreateAutonomousCompositeRaftShardSpaceDetails.
- __init__(**kwargs)¶
Initializes a new CreateAutonomousCompositeRaftShardSpaceDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
name (str) – The value to assign to the name property of this CreateAutonomousCompositeRaftShardSpaceDetails.
chunk_count (int) – The value to assign to the chunk_count property of this CreateAutonomousCompositeRaftShardSpaceDetails.
replication_unit_count (int) – The value to assign to the replication_unit_count property of this CreateAutonomousCompositeRaftShardSpaceDetails.
raft_clusters (list[oci.distributed_database.models.CreateAutonomousCompositeShardSpaceRaftClusterDetails]) – The value to assign to the raft_clusters property of this CreateAutonomousCompositeRaftShardSpaceDetails.
- property chunk_count¶
[Required] Gets the chunk_count of this CreateAutonomousCompositeRaftShardSpaceDetails. Count of chunks associated with the shard space.
- Returns
The chunk_count of this CreateAutonomousCompositeRaftShardSpaceDetails.
- Return type
int
- property name¶
[Required] Gets the name of this CreateAutonomousCompositeRaftShardSpaceDetails. The name of shard space. It must start with a letter and contain only letters, digits, and underscores. Maximum length is 40 characters.
- Returns
The name of this CreateAutonomousCompositeRaftShardSpaceDetails.
- Return type
str
- property raft_clusters¶
[Required] Gets the raft_clusters of this CreateAutonomousCompositeRaftShardSpaceDetails. The details of raft clusters associated with the shard space.
- Returns
The raft_clusters of this CreateAutonomousCompositeRaftShardSpaceDetails.
- Return type
list[oci.distributed_database.models.CreateAutonomousCompositeShardSpaceRaftClusterDetails]
- property replication_unit_count¶
[Required] Gets the replication_unit_count of this CreateAutonomousCompositeRaftShardSpaceDetails. Number of replication units in the shard space.
- Returns
The replication_unit_count of this CreateAutonomousCompositeRaftShardSpaceDetails.
- Return type
int