DbNode¶
-
class
oci.database.models.
DbNode
(**kwargs)¶ Bases:
object
DbNode model.
Attributes
LIFECYCLE_STATE_AVAILABLE
A constant which can be used with the lifecycle_state property of a DbNode. LIFECYCLE_STATE_FAILED
A constant which can be used with the lifecycle_state property of a DbNode. LIFECYCLE_STATE_PROVISIONING
A constant which can be used with the lifecycle_state property of a DbNode. LIFECYCLE_STATE_STARTING
A constant which can be used with the lifecycle_state property of a DbNode. LIFECYCLE_STATE_STOPPED
A constant which can be used with the lifecycle_state property of a DbNode. LIFECYCLE_STATE_STOPPING
A constant which can be used with the lifecycle_state property of a DbNode. LIFECYCLE_STATE_TERMINATED
A constant which can be used with the lifecycle_state property of a DbNode. LIFECYCLE_STATE_TERMINATING
A constant which can be used with the lifecycle_state property of a DbNode. LIFECYCLE_STATE_UPDATING
A constant which can be used with the lifecycle_state property of a DbNode. MAINTENANCE_TYPE_VMDB_REBOOT_MIGRATION
A constant which can be used with the maintenance_type property of a DbNode. additional_details
Gets the additional_details of this DbNode. backup_vnic_id
Gets the backup_vnic_id of this DbNode. db_system_id
[Required] Gets the db_system_id of this DbNode. fault_domain
Gets the fault_domain of this DbNode. hostname
Gets the hostname of this DbNode. id
[Required] Gets the id of this DbNode. lifecycle_state
[Required] Gets the lifecycle_state of this DbNode. maintenance_type
Gets the maintenance_type of this DbNode. software_storage_size_in_gb
Gets the software_storage_size_in_gb of this DbNode. time_created
[Required] Gets the time_created of this DbNode. time_maintenance_window_end
Gets the time_maintenance_window_end of this DbNode. time_maintenance_window_start
Gets the time_maintenance_window_start of this DbNode. vnic_id
[Required] Gets the vnic_id of this DbNode. Methods
__init__
(**kwargs)Initializes a new DbNode object with values from keyword arguments. -
LIFECYCLE_STATE_AVAILABLE
= 'AVAILABLE'¶ A constant which can be used with the lifecycle_state property of a DbNode. This constant has a value of “AVAILABLE”
-
LIFECYCLE_STATE_FAILED
= 'FAILED'¶ A constant which can be used with the lifecycle_state property of a DbNode. This constant has a value of “FAILED”
-
LIFECYCLE_STATE_PROVISIONING
= 'PROVISIONING'¶ A constant which can be used with the lifecycle_state property of a DbNode. This constant has a value of “PROVISIONING”
-
LIFECYCLE_STATE_STARTING
= 'STARTING'¶ A constant which can be used with the lifecycle_state property of a DbNode. This constant has a value of “STARTING”
-
LIFECYCLE_STATE_STOPPED
= 'STOPPED'¶ A constant which can be used with the lifecycle_state property of a DbNode. This constant has a value of “STOPPED”
-
LIFECYCLE_STATE_STOPPING
= 'STOPPING'¶ A constant which can be used with the lifecycle_state property of a DbNode. This constant has a value of “STOPPING”
-
LIFECYCLE_STATE_TERMINATED
= 'TERMINATED'¶ A constant which can be used with the lifecycle_state property of a DbNode. This constant has a value of “TERMINATED”
-
LIFECYCLE_STATE_TERMINATING
= 'TERMINATING'¶ A constant which can be used with the lifecycle_state property of a DbNode. This constant has a value of “TERMINATING”
-
LIFECYCLE_STATE_UPDATING
= 'UPDATING'¶ A constant which can be used with the lifecycle_state property of a DbNode. This constant has a value of “UPDATING”
-
MAINTENANCE_TYPE_VMDB_REBOOT_MIGRATION
= 'VMDB_REBOOT_MIGRATION'¶ A constant which can be used with the maintenance_type property of a DbNode. This constant has a value of “VMDB_REBOOT_MIGRATION”
-
__init__
(**kwargs)¶ Initializes a new DbNode object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - id (str) – The value to assign to the id property of this DbNode.
- db_system_id (str) – The value to assign to the db_system_id property of this DbNode.
- vnic_id (str) – The value to assign to the vnic_id property of this DbNode.
- backup_vnic_id (str) – The value to assign to the backup_vnic_id property of this DbNode.
- lifecycle_state (str) – The value to assign to the lifecycle_state property of this DbNode. Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “UPDATING”, “STOPPING”, “STOPPED”, “STARTING”, “TERMINATING”, “TERMINATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- hostname (str) – The value to assign to the hostname property of this DbNode.
- fault_domain (str) – The value to assign to the fault_domain property of this DbNode.
- time_created (datetime) – The value to assign to the time_created property of this DbNode.
- software_storage_size_in_gb (int) – The value to assign to the software_storage_size_in_gb property of this DbNode.
- maintenance_type (str) – The value to assign to the maintenance_type property of this DbNode. Allowed values for this property are: “VMDB_REBOOT_MIGRATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- time_maintenance_window_start (datetime) – The value to assign to the time_maintenance_window_start property of this DbNode.
- time_maintenance_window_end (datetime) – The value to assign to the time_maintenance_window_end property of this DbNode.
- additional_details (str) – The value to assign to the additional_details property of this DbNode.
-
additional_details
¶ Gets the additional_details of this DbNode. Additional information about the planned maintenance.
Returns: The additional_details of this DbNode. Return type: str
-
backup_vnic_id
¶ Gets the backup_vnic_id of this DbNode. The OCID of the backup VNIC.
Returns: The backup_vnic_id of this DbNode. Return type: str
-
db_system_id
¶ [Required] Gets the db_system_id of this DbNode. The OCID of the DB system.
Returns: The db_system_id of this DbNode. Return type: str
-
fault_domain
¶ Gets the fault_domain of this DbNode. The name of the Fault Domain the instance is contained in.
Returns: The fault_domain of this DbNode. Return type: str
-
hostname
¶ Gets the hostname of this DbNode. The host name for the database node.
Returns: The hostname of this DbNode. Return type: str
-
id
¶ [Required] Gets the id of this DbNode. The OCID of the database node.
Returns: The id of this DbNode. Return type: str
-
lifecycle_state
¶ [Required] Gets the lifecycle_state of this DbNode. The current state of the database node.
Allowed values for this property are: “PROVISIONING”, “AVAILABLE”, “UPDATING”, “STOPPING”, “STOPPED”, “STARTING”, “TERMINATING”, “TERMINATED”, “FAILED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The lifecycle_state of this DbNode. Return type: str
-
maintenance_type
¶ Gets the maintenance_type of this DbNode. The type of database node maintenance.
Allowed values for this property are: “VMDB_REBOOT_MIGRATION”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The maintenance_type of this DbNode. Return type: str
-
software_storage_size_in_gb
¶ Gets the software_storage_size_in_gb of this DbNode. The size (in GB) of the block storage volume allocation for the DB system. This attribute applies only for virtual machine DB systems.
Returns: The software_storage_size_in_gb of this DbNode. Return type: int
-
time_created
¶ [Required] Gets the time_created of this DbNode. The date and time that the database node was created.
Returns: The time_created of this DbNode. Return type: datetime
-
time_maintenance_window_end
¶ Gets the time_maintenance_window_end of this DbNode. End date and time of maintenance window.
Returns: The time_maintenance_window_end of this DbNode. Return type: datetime
-
time_maintenance_window_start
¶ Gets the time_maintenance_window_start of this DbNode. Start date and time of maintenance window.
Returns: The time_maintenance_window_start of this DbNode. Return type: datetime
-