/AWS1/CL_ODB=>LISTCLOUDVMCLUSTERS()
¶
About ListCloudVmClusters¶
Returns information about the VM clusters owned by your Amazon Web Services account or only the ones on the specified Exadata infrastructure.
Method Signature¶
IMPORTING¶
Optional arguments:¶
iv_maxresults
TYPE /AWS1/ODBINTEGER
/AWS1/ODBINTEGER
¶
The maximum number of items to return for this request. To get the next page of items, make another request with the token returned in the output.
Default:
10
iv_nexttoken
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.
iv_cloudexadatainfrastruct00
TYPE /AWS1/ODBRESOURCEIDORARN
/AWS1/ODBRESOURCEIDORARN
¶
The unique identifier of the Oracle Exadata infrastructure.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_odblstcloudvmclstsout
/AWS1/CL_ODBLSTCLOUDVMCLSTSOUT
¶
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~listcloudvmclusters(
iv_cloudexadatainfrastruct00 = |string|
iv_maxresults = 123
iv_nexttoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string = lo_result->get_nexttoken( ).
LOOP AT lo_result->get_cloudvmclusters( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_resourceid = lo_row_1->get_cloudvmclusterid( ).
lv_string = lo_row_1->get_displayname( ).
lv_resourcestatus = lo_row_1->get_status( ).
lv_string = lo_row_1->get_statusreason( ).
lv_string = lo_row_1->get_cloudvmclusterarn( ).
lv_string = lo_row_1->get_cloudexadatainfrastruc00( ).
lv_string = lo_row_1->get_clustername( ).
lv_integer = lo_row_1->get_cpucorecount( ).
lo_datacollectionoptions = lo_row_1->get_datacollectionoptions( ).
IF lo_datacollectionoptions IS NOT INITIAL.
lv_boolean = lo_datacollectionoptions->get_isdiagnosticseventsenbd( ).
lv_boolean = lo_datacollectionoptions->get_ishealthmonenabled( ).
lv_boolean = lo_datacollectionoptions->get_isincidentlogsenabled( ).
ENDIF.
lv_double = lo_row_1->get_datastoragesizeintbs( ).
lv_integer = lo_row_1->get_dbnodestoragesizeingbs( ).
LOOP AT lo_row_1->get_dbservers( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_string = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lv_diskredundancy = lo_row_1->get_diskredundancy( ).
lv_string = lo_row_1->get_giversion( ).
lv_string = lo_row_1->get_hostname( ).
lo_exadataiormconfig = lo_row_1->get_iormconfigcache( ).
IF lo_exadataiormconfig IS NOT INITIAL.
LOOP AT lo_exadataiormconfig->get_dbplans( ) into lo_row_4.
lo_row_5 = lo_row_4.
IF lo_row_5 IS NOT INITIAL.
lv_string = lo_row_5->get_dbname( ).
lv_string = lo_row_5->get_flashcachelimit( ).
lv_integer = lo_row_5->get_share( ).
ENDIF.
ENDLOOP.
lv_string = lo_exadataiormconfig->get_lifecycledetails( ).
lv_iormlifecyclestate = lo_exadataiormconfig->get_lifecyclestate( ).
lv_objective = lo_exadataiormconfig->get_objective( ).
ENDIF.
lv_boolean = lo_row_1->get_islocalbackupenabled( ).
lv_boolean = lo_row_1->get_issparsediskgroupenabled( ).
lv_string = lo_row_1->get_lastupdatehistoryentryid( ).
lv_licensemodel = lo_row_1->get_licensemodel( ).
lv_integer = lo_row_1->get_listenerport( ).
lv_integer = lo_row_1->get_memorysizeingbs( ).
lv_integer = lo_row_1->get_nodecount( ).
lv_string = lo_row_1->get_ocid( ).
lv_string = lo_row_1->get_ociresourceanchorname( ).
lv_string = lo_row_1->get_ociurl( ).
lv_string = lo_row_1->get_domain( ).
lv_string = lo_row_1->get_scandnsname( ).
lv_string = lo_row_1->get_scandnsrecordid( ).
LOOP AT lo_row_1->get_scanipids( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_string = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lv_string = lo_row_1->get_shape( ).
LOOP AT lo_row_1->get_sshpublickeys( ) into lo_row_6.
lo_row_7 = lo_row_6.
IF lo_row_7 IS NOT INITIAL.
lv_sensitivestring = lo_row_7->get_value( ).
ENDIF.
ENDLOOP.
lv_integer = lo_row_1->get_storagesizeingbs( ).
lv_string = lo_row_1->get_systemversion( ).
lv_timestamp = lo_row_1->get_createdat( ).
lv_string = lo_row_1->get_timezone( ).
LOOP AT lo_row_1->get_vipids( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_string = lo_row_3->get_value( ).
ENDIF.
ENDLOOP.
lv_resourceidorarn = lo_row_1->get_odbnetworkid( ).
lv_float = lo_row_1->get_percentprogress( ).
lv_computemodel = lo_row_1->get_computemodel( ).
ENDIF.
ENDLOOP.
ENDIF.