Skip to main content

db_nodes

Creates, updates, deletes, gets or lists a db_nodes resource.

Overview

Namedb_nodes
TypeResource
Idaws.odb.db_nodes

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
additional_detailsstringAdditional information about the planned maintenance.
backup_ip_idstringThe Oracle Cloud ID (OCID) of the backup IP address that's associated with the DB node.
backup_vnic_2_idstringThe OCID of the second backup VNIC.
backup_vnic_idstringThe OCID of the backup VNIC.
cpu_core_countintegerNumber of CPU cores enabled on the DB node.
created_atstring (date-time)The date and time when the DB node was created.
db_node_arnstringThe Amazon Resource Name (ARN) of the DB node. (pattern: <code>arn:(?:aws|aws-cn|aws-us-gov|aws-iso-{0,1}[a-z]{0,1}):[a-z0-9-]+:[a-z0-9-]*:[0-9]+:[a-z0-9-]+/[a-z0-9-_]{6,64}</code>)
db_node_idstringThe unique identifier of the DB node. (pattern: <code>[a-zA-Z0-9_~.-]+</code>)
db_node_storage_size_in_gbsintegerThe amount of local node storage, in gigabytes (GB), that's allocated on the DB node.
db_server_idstringThe unique identifier of the Db server that is associated with the DB node. (pattern: <code>[a-zA-Z0-9_~.-]+</code>)
db_system_idstringThe OCID of the DB system.
fault_domainstringThe name of the fault domain the instance is contained in.
floating_ip_addressstringThe floating IP address assigned to the DB node.
host_ip_idstringThe OCID of the host IP address that's associated with the DB node.
hostnamestringThe host name for the DB node.
maintenance_typestringThe type of database node maintenance. Either VMDB_REBOOT_MIGRATION or EXADBXS_REBOOT_MIGRATION. (VMDB_REBOOT_MIGRATION)
memory_size_in_gbsintegerThe allocated memory in GBs on the DB node.
oci_resource_anchor_namestringThe name of the OCI resource anchor for the DB node.
ocidstringThe OCID of the DB node.
private_ip_addressstringThe private IP address assigned to the DB node.
software_storage_size_in_gbintegerThe size (in GB) of the block storage volume allocation for the DB system.
statusstringThe current status of the DB node. (AVAILABLE, FAILED, PROVISIONING, TERMINATED, TERMINATING, UPDATING, STOPPING, STOPPED, STARTING)
status_reasonstringAdditional information about the status of the DB node.
time_maintenance_window_endstringEnd date and time of maintenance window.
time_maintenance_window_startstringStart date and time of maintenance window.
total_cpu_core_countintegerThe total number of CPU cores reserved on the DB node.
vnic_2_idstringThe OCID of the second VNIC.
vnic_idstringThe OCID of the VNIC.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_db_nodeselectregionReturns information about the specified DB node.
list_db_nodesselectregionReturns information about the DB nodes for the specified VM cluster.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Returns information about the specified DB node.

SELECT
additional_details,
backup_ip_id,
backup_vnic_2_id,
backup_vnic_id,
cpu_core_count,
created_at,
db_node_arn,
db_node_id,
db_node_storage_size_in_gbs,
db_server_id,
db_system_id,
fault_domain,
floating_ip_address,
host_ip_id,
hostname,
maintenance_type,
memory_size_in_gbs,
oci_resource_anchor_name,
ocid,
private_ip_address,
software_storage_size_in_gb,
status,
status_reason,
time_maintenance_window_end,
time_maintenance_window_start,
total_cpu_core_count,
vnic_2_id,
vnic_id
FROM aws.odb.db_nodes
WHERE region = '{{ region }}' -- required
;