CompositeRaftShardSpace¶
-
class
oci.distributed_database_v26.models.CompositeRaftShardSpace(**kwargs)¶ Bases:
objectGlobally distributed database composite raft shard space.
Methods
__init__(**kwargs)Initializes a new CompositeRaftShardSpace object with values from keyword arguments. Attributes
chunk_count[Required] Gets the chunk_count of this CompositeRaftShardSpace. name[Required] Gets the name of this CompositeRaftShardSpace. raft_clusters[Required] Gets the raft_clusters of this CompositeRaftShardSpace. replication_unit_count[Required] Gets the replication_unit_count of this CompositeRaftShardSpace. -
__init__(**kwargs)¶ Initializes a new CompositeRaftShardSpace 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 CompositeRaftShardSpace.
- chunk_count (int) – The value to assign to the chunk_count property of this CompositeRaftShardSpace.
- replication_unit_count (int) – The value to assign to the replication_unit_count property of this CompositeRaftShardSpace.
- raft_clusters (list[oci.distributed_database_v26.models.CompositeShardSpaceRaftCluster]) – The value to assign to the raft_clusters property of this CompositeRaftShardSpace.
-
chunk_count¶ [Required] Gets the chunk_count of this CompositeRaftShardSpace. Count of chunks associated with the shard space.
Returns: The chunk_count of this CompositeRaftShardSpace. Return type: int
-
name¶ [Required] Gets the name of this CompositeRaftShardSpace. 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 CompositeRaftShardSpace. Return type: str
-
raft_clusters¶ [Required] Gets the raft_clusters of this CompositeRaftShardSpace. The details of raft clusters associated with the shard space.
Returns: The raft_clusters of this CompositeRaftShardSpace. Return type: list[oci.distributed_database_v26.models.CompositeShardSpaceRaftCluster]
-
replication_unit_count¶ [Required] Gets the replication_unit_count of this CompositeRaftShardSpace. Number of replication units in the shard space.
Returns: The replication_unit_count of this CompositeRaftShardSpace. Return type: int
-