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