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