UserShardSpace¶
-
class
oci.distributed_database_v26.models.UserShardSpace(**kwargs)¶ Bases:
objectDistributed database user shard space details.
Methods
__init__(**kwargs)Initializes a new UserShardSpace object with values from keyword arguments. Attributes
data_guard_replicasGets the data_guard_replicas of this UserShardSpace. name[Required] Gets the name of this UserShardSpace. original_replica[Required] Gets the original_replica of this UserShardSpace. -
__init__(**kwargs)¶ Initializes a new UserShardSpace 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 UserShardSpace.
- original_replica (oci.distributed_database_v26.models.UserShardSpaceReplica) – The value to assign to the original_replica property of this UserShardSpace.
- data_guard_replicas (list[oci.distributed_database_v26.models.UserShardSpaceReplica]) – The value to assign to the data_guard_replicas property of this UserShardSpace.
-
data_guard_replicas¶ Gets the data_guard_replicas of this UserShardSpace. The details of data guard replica for the user shard space.
Returns: The data_guard_replicas of this UserShardSpace. Return type: list[oci.distributed_database_v26.models.UserShardSpaceReplica]
-
name¶ [Required] Gets the name of this UserShardSpace. The name of user 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 UserShardSpace. Return type: str
-
original_replica¶ [Required] Gets the original_replica of this UserShardSpace.
Returns: The original_replica of this UserShardSpace. Return type: oci.distributed_database_v26.models.UserShardSpaceReplica
-