/AWS1/CL_ODB=>GETDBNODE()
¶
About GetDbNode¶
Returns information about the specified DB node.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_cloudvmclusterid
TYPE /AWS1/ODBRESOURCEID
/AWS1/ODBRESOURCEID
¶
The unique identifier of the VM cluster that contains the DB node.
iv_dbnodeid
TYPE /AWS1/ODBRESOURCEID
/AWS1/ODBRESOURCEID
¶
The unique identifier of the DB node to retrieve information about.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_odbgetdbnodeoutput
/AWS1/CL_ODBGETDBNODEOUTPUT
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_odb~getdbnode(
iv_cloudvmclusterid = |string|
iv_dbnodeid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_dbnode = lo_result->get_dbnode( ).
IF lo_dbnode IS NOT INITIAL.
lv_resourceid = lo_dbnode->get_dbnodeid( ).
lv_resourcearn = lo_dbnode->get_dbnodearn( ).
lv_dbnoderesourcestatus = lo_dbnode->get_status( ).
lv_string = lo_dbnode->get_statusreason( ).
lv_string = lo_dbnode->get_additionaldetails( ).
lv_string = lo_dbnode->get_backupipid( ).
lv_string = lo_dbnode->get_backupvnic2id( ).
lv_string = lo_dbnode->get_backupvnicid( ).
lv_integer = lo_dbnode->get_cpucorecount( ).
lv_integer = lo_dbnode->get_dbnodestoragesizeingbs( ).
lv_resourceid = lo_dbnode->get_dbserverid( ).
lv_string = lo_dbnode->get_dbsystemid( ).
lv_string = lo_dbnode->get_faultdomain( ).
lv_string = lo_dbnode->get_hostipid( ).
lv_string = lo_dbnode->get_hostname( ).
lv_string = lo_dbnode->get_ocid( ).
lv_string = lo_dbnode->get_ociresourceanchorname( ).
lv_dbnodemaintenancetype = lo_dbnode->get_maintenancetype( ).
lv_integer = lo_dbnode->get_memorysizeingbs( ).
lv_integer = lo_dbnode->get_softwarestoragesizeingb( ).
lv_timestamp = lo_dbnode->get_createdat( ).
lv_string = lo_dbnode->get_timemaintenancewindowend( ).
lv_string = lo_dbnode->get_timemaintenancewindows00( ).
lv_integer = lo_dbnode->get_totalcpucorecount( ).
lv_string = lo_dbnode->get_vnic2id( ).
lv_string = lo_dbnode->get_vnicid( ).
lv_string = lo_dbnode->get_privateipaddress( ).
lv_string = lo_dbnode->get_floatingipaddress( ).
ENDIF.
ENDIF.