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