AutonomousCompositeShardSpaceRaftCluster¶
-
class
oci.distributed_database_v26.models.AutonomousCompositeShardSpaceRaftCluster(**kwargs)¶ Bases:
objectRaft cluster details for composite shard spaces.
Attributes
RU_MODE_READ_ONLYA constant which can be used with the ru_mode property of a AutonomousCompositeShardSpaceRaftCluster. RU_MODE_READ_WRITEA constant which can be used with the ru_mode property of a AutonomousCompositeShardSpaceRaftCluster. databases[Required] Gets the databases of this AutonomousCompositeShardSpaceRaftCluster. name[Required] Gets the name of this AutonomousCompositeShardSpaceRaftCluster. replication_factor[Required] Gets the replication_factor of this AutonomousCompositeShardSpaceRaftCluster. ru_mode[Required] Gets the ru_mode of this AutonomousCompositeShardSpaceRaftCluster. witness_count[Required] Gets the witness_count of this AutonomousCompositeShardSpaceRaftCluster. Methods
__init__(**kwargs)Initializes a new AutonomousCompositeShardSpaceRaftCluster object with values from keyword arguments. -
RU_MODE_READ_ONLY= 'READ_ONLY'¶ A constant which can be used with the ru_mode property of a AutonomousCompositeShardSpaceRaftCluster. This constant has a value of “READ_ONLY”
-
RU_MODE_READ_WRITE= 'READ_WRITE'¶ A constant which can be used with the ru_mode property of a AutonomousCompositeShardSpaceRaftCluster. This constant has a value of “READ_WRITE”
-
__init__(**kwargs)¶ Initializes a new AutonomousCompositeShardSpaceRaftCluster 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 AutonomousCompositeShardSpaceRaftCluster.
- replication_factor (int) – The value to assign to the replication_factor property of this AutonomousCompositeShardSpaceRaftCluster.
- witness_count (int) – The value to assign to the witness_count property of this AutonomousCompositeShardSpaceRaftCluster.
- ru_mode (str) – The value to assign to the ru_mode property of this AutonomousCompositeShardSpaceRaftCluster. Allowed values for this property are: “READ_ONLY”, “READ_WRITE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- databases (list[oci.distributed_database_v26.models.DistributedAutonomousDatabaseShardDatabase]) – The value to assign to the databases property of this AutonomousCompositeShardSpaceRaftCluster.
-
databases¶ [Required] Gets the databases of this AutonomousCompositeShardSpaceRaftCluster. The details of databases associated with the composite shard space raft cluster.
Returns: The databases of this AutonomousCompositeShardSpaceRaftCluster. Return type: list[oci.distributed_database_v26.models.DistributedAutonomousDatabaseShardDatabase]
-
name¶ [Required] Gets the name of this AutonomousCompositeShardSpaceRaftCluster. The name of raft cluster. It must start with a letter and contain only letters, digits, and underscores. Maximum length is 40 characters.
Returns: The name of this AutonomousCompositeShardSpaceRaftCluster. Return type: str
-
replication_factor¶ [Required] Gets the replication_factor of this AutonomousCompositeShardSpaceRaftCluster. Replication factor associated with the raft cluster.
Returns: The replication_factor of this AutonomousCompositeShardSpaceRaftCluster. Return type: int
-
ru_mode¶ [Required] Gets the ru_mode of this AutonomousCompositeShardSpaceRaftCluster. Replication factor associated with the raft cluster.
Allowed values for this property are: “READ_ONLY”, “READ_WRITE”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The ru_mode of this AutonomousCompositeShardSpaceRaftCluster. Return type: str
-
witness_count¶ [Required] Gets the witness_count of this AutonomousCompositeShardSpaceRaftCluster. Witnesses RU count associated with the raft cluster.
Returns: The witness_count of this AutonomousCompositeShardSpaceRaftCluster. Return type: int
-