Skip to content

/AWS1/CL_ODB=>GETCLOUDVMCLUSTER()

About GetCloudVmCluster

Returns information about the specified VM cluster.

Method Signature

IMPORTING

Required arguments:

iv_cloudvmclusterid TYPE /AWS1/ODBRESOURCEID /AWS1/ODBRESOURCEID

The unique identifier of the VM cluster.

RETURNING

oo_output TYPE REF TO /aws1/cl_odbgetcloudvmclustout /AWS1/CL_ODBGETCLOUDVMCLUSTOUT

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~getcloudvmcluster( |string| ).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lo_cloudvmcluster = lo_result->get_cloudvmcluster( ).
  IF lo_cloudvmcluster IS NOT INITIAL.
    lv_resourceid = lo_cloudvmcluster->get_cloudvmclusterid( ).
    lv_string = lo_cloudvmcluster->get_displayname( ).
    lv_resourcestatus = lo_cloudvmcluster->get_status( ).
    lv_string = lo_cloudvmcluster->get_statusreason( ).
    lv_string = lo_cloudvmcluster->get_cloudvmclusterarn( ).
    lv_string = lo_cloudvmcluster->get_cloudexadatainfrastruc00( ).
    lv_string = lo_cloudvmcluster->get_clustername( ).
    lv_integer = lo_cloudvmcluster->get_cpucorecount( ).
    lo_datacollectionoptions = lo_cloudvmcluster->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_cloudvmcluster->get_datastoragesizeintbs( ).
    lv_integer = lo_cloudvmcluster->get_dbnodestoragesizeingbs( ).
    LOOP AT lo_cloudvmcluster->get_dbservers( ) into lo_row.
      lo_row_1 = lo_row.
      IF lo_row_1 IS NOT INITIAL.
        lv_string = lo_row_1->get_value( ).
      ENDIF.
    ENDLOOP.
    lv_diskredundancy = lo_cloudvmcluster->get_diskredundancy( ).
    lv_string = lo_cloudvmcluster->get_giversion( ).
    lv_string = lo_cloudvmcluster->get_hostname( ).
    lo_exadataiormconfig = lo_cloudvmcluster->get_iormconfigcache( ).
    IF lo_exadataiormconfig IS NOT INITIAL.
      LOOP AT lo_exadataiormconfig->get_dbplans( ) into lo_row_2.
        lo_row_3 = lo_row_2.
        IF lo_row_3 IS NOT INITIAL.
          lv_string = lo_row_3->get_dbname( ).
          lv_string = lo_row_3->get_flashcachelimit( ).
          lv_integer = lo_row_3->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_cloudvmcluster->get_islocalbackupenabled( ).
    lv_boolean = lo_cloudvmcluster->get_issparsediskgroupenabled( ).
    lv_string = lo_cloudvmcluster->get_lastupdatehistoryentryid( ).
    lv_licensemodel = lo_cloudvmcluster->get_licensemodel( ).
    lv_integer = lo_cloudvmcluster->get_listenerport( ).
    lv_integer = lo_cloudvmcluster->get_memorysizeingbs( ).
    lv_integer = lo_cloudvmcluster->get_nodecount( ).
    lv_string = lo_cloudvmcluster->get_ocid( ).
    lv_string = lo_cloudvmcluster->get_ociresourceanchorname( ).
    lv_string = lo_cloudvmcluster->get_ociurl( ).
    lv_string = lo_cloudvmcluster->get_domain( ).
    lv_string = lo_cloudvmcluster->get_scandnsname( ).
    lv_string = lo_cloudvmcluster->get_scandnsrecordid( ).
    LOOP AT lo_cloudvmcluster->get_scanipids( ) into lo_row.
      lo_row_1 = lo_row.
      IF lo_row_1 IS NOT INITIAL.
        lv_string = lo_row_1->get_value( ).
      ENDIF.
    ENDLOOP.
    lv_string = lo_cloudvmcluster->get_shape( ).
    LOOP AT lo_cloudvmcluster->get_sshpublickeys( ) into lo_row_4.
      lo_row_5 = lo_row_4.
      IF lo_row_5 IS NOT INITIAL.
        lv_sensitivestring = lo_row_5->get_value( ).
      ENDIF.
    ENDLOOP.
    lv_integer = lo_cloudvmcluster->get_storagesizeingbs( ).
    lv_string = lo_cloudvmcluster->get_systemversion( ).
    lv_timestamp = lo_cloudvmcluster->get_createdat( ).
    lv_string = lo_cloudvmcluster->get_timezone( ).
    LOOP AT lo_cloudvmcluster->get_vipids( ) into lo_row.
      lo_row_1 = lo_row.
      IF lo_row_1 IS NOT INITIAL.
        lv_string = lo_row_1->get_value( ).
      ENDIF.
    ENDLOOP.
    lv_resourceidorarn = lo_cloudvmcluster->get_odbnetworkid( ).
    lv_float = lo_cloudvmcluster->get_percentprogress( ).
    lv_computemodel = lo_cloudvmcluster->get_computemodel( ).
  ENDIF.
ENDIF.