UserShardSpaceReplica¶
- class oci.distributed_database.models.UserShardSpaceReplica(**kwargs)¶
Bases:
objectDetails of user shard space.
Methods:
__init__(**kwargs)Initializes a new UserShardSpaceReplica object with values from keyword arguments.
Attributes:
[Required] Gets the database of this UserShardSpaceReplica.
[Required] Gets the name of this UserShardSpaceReplica.
- __init__(**kwargs)¶
Initializes a new UserShardSpaceReplica 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 UserShardSpaceReplica.
database (oci.distributed_database.models.DistributedDatabaseShardDatabase) – The value to assign to the database property of this UserShardSpaceReplica.
- property database¶
[Required] Gets the database of this UserShardSpaceReplica.
- Returns
The database of this UserShardSpaceReplica.
- Return type
oci.distributed_database.models.DistributedDatabaseShardDatabase
- property name¶
[Required] Gets the name of this UserShardSpaceReplica. The name of user shard space replica. It must start with a letter and contain only letters, digits, and underscores. Maximum length is 40 characters.
- Returns
The name of this UserShardSpaceReplica.
- Return type
str