DistributedAutonomousDatabaseShardDatabase¶
- class oci.distributed_database.models.DistributedAutonomousDatabaseShardDatabase(**kwargs)¶
Bases:
objectGlobally distributed autonomous database shard.
Attributes:
A constant which can be used with the source property of a DistributedAutonomousDatabaseShardDatabase.
Gets the metadata of this DistributedAutonomousDatabaseShardDatabase.
[Required] Gets the name of this DistributedAutonomousDatabaseShardDatabase.
[Required] Gets the source of this DistributedAutonomousDatabaseShardDatabase.
[Required] Gets the time_created of this DistributedAutonomousDatabaseShardDatabase.
[Required] Gets the time_updated of this DistributedAutonomousDatabaseShardDatabase.
Methods:
__init__(**kwargs)Initializes a new DistributedAutonomousDatabaseShardDatabase object with values from keyword arguments.
get_subtype(object_dictionary)Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- SOURCE_ADBD_EXISTING_CLUSTER = 'ADBD_EXISTING_CLUSTER'¶
A constant which can be used with the source property of a DistributedAutonomousDatabaseShardDatabase. This constant has a value of “ADBD_EXISTING_CLUSTER”
- __init__(**kwargs)¶
Initializes a new DistributedAutonomousDatabaseShardDatabase object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:
The following keyword arguments are supported (corresponding to the getters/setters of this class):
- Parameters
source (str) – The value to assign to the source property of this DistributedAutonomousDatabaseShardDatabase. Allowed values for this property are: “ADBD_EXISTING_CLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
name (str) – The value to assign to the name property of this DistributedAutonomousDatabaseShardDatabase.
time_created (datetime) – The value to assign to the time_created property of this DistributedAutonomousDatabaseShardDatabase.
time_updated (datetime) – The value to assign to the time_updated property of this DistributedAutonomousDatabaseShardDatabase.
metadata (oci.distributed_database.models.DistributedAutonomousDbMetadata) – The value to assign to the metadata property of this DistributedAutonomousDatabaseShardDatabase.
- static get_subtype(object_dictionary)¶
Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
- property metadata¶
Gets the metadata of this DistributedAutonomousDatabaseShardDatabase.
- Returns
The metadata of this DistributedAutonomousDatabaseShardDatabase.
- Return type
oci.distributed_database.models.DistributedAutonomousDbMetadata
- property name¶
[Required] Gets the name of this DistributedAutonomousDatabaseShardDatabase. Name of the shard.
- Returns
The name of this DistributedAutonomousDatabaseShardDatabase.
- Return type
str
- property source¶
[Required] Gets the source of this DistributedAutonomousDatabaseShardDatabase. The source of the Globally distributed autonomous database type. Use ADBD_EXISTING_CLUSTER for an autonomous database on Dedicated Infrastructure that uses a pre-existing cluster.
Allowed values for this property are: “ADBD_EXISTING_CLUSTER”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- Returns
The source of this DistributedAutonomousDatabaseShardDatabase.
- Return type
str
- property time_created¶
[Required] Gets the time_created of this DistributedAutonomousDatabaseShardDatabase. The time the shard was created. An RFC3339 formatted datetime string.
- Returns
The time_created of this DistributedAutonomousDatabaseShardDatabase.
- Return type
datetime
- property time_updated¶
[Required] Gets the time_updated of this DistributedAutonomousDatabaseShardDatabase. The time the shard was last updated. An RFC3339 formatted datetime string.
- Returns
The time_updated of this DistributedAutonomousDatabaseShardDatabase.
- Return type
datetime