DistributedAutonomousDatabaseShard¶
-
class
oci.distributed_database.models.
DistributedAutonomousDatabaseShard
(**kwargs)¶ Bases:
object
Globally distributed autonomous database shard.
Attributes
SOURCE_ADB_D
A constant which can be used with the source property of a DistributedAutonomousDatabaseShard. name
[Required] Gets the name of this DistributedAutonomousDatabaseShard. source
[Required] Gets the source of this DistributedAutonomousDatabaseShard. time_created
[Required] Gets the time_created of this DistributedAutonomousDatabaseShard. time_updated
[Required] Gets the time_updated of this DistributedAutonomousDatabaseShard. Methods
__init__
(**kwargs)Initializes a new DistributedAutonomousDatabaseShard 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_ADB_D
= 'ADB_D'¶ A constant which can be used with the source property of a DistributedAutonomousDatabaseShard. This constant has a value of “ADB_D”
-
__init__
(**kwargs)¶ Initializes a new DistributedAutonomousDatabaseShard 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 DistributedAutonomousDatabaseShard. Allowed values for this property are: “ADB_D”, ‘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 DistributedAutonomousDatabaseShard.
- time_created (datetime) – The value to assign to the time_created property of this DistributedAutonomousDatabaseShard.
- time_updated (datetime) – The value to assign to the time_updated property of this DistributedAutonomousDatabaseShard.
-
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.
-
name
¶ [Required] Gets the name of this DistributedAutonomousDatabaseShard. Name of the shard.
Returns: The name of this DistributedAutonomousDatabaseShard. Return type: str
-
source
¶ [Required] Gets the source of this DistributedAutonomousDatabaseShard. The source of Globally distributed autonomous database type: Use ADB_D for the Globally distributed autonomous database with autonomous dedicated cloudautonomousvmclusters.
Allowed values for this property are: “ADB_D”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The source of this DistributedAutonomousDatabaseShard. Return type: str
-
time_created
¶ [Required] Gets the time_created of this DistributedAutonomousDatabaseShard. The time the shard was created. An RFC3339 formatted datetime string
Returns: The time_created of this DistributedAutonomousDatabaseShard. Return type: datetime
-
time_updated
¶ [Required] Gets the time_updated of this DistributedAutonomousDatabaseShard. The time the shard was last updated. An RFC3339 formatted datetime string
Returns: The time_updated of this DistributedAutonomousDatabaseShard. Return type: datetime
-