Skip to content

/AWS1/CL_ODB=>GETCLOUDAUTONOMOUSVMCLUSTER()

About GetCloudAutonomousVmCluster

Gets information about a specific Autonomous VM cluster.

Method Signature

IMPORTING

Required arguments:

iv_cloudautonomousvmclustid TYPE /AWS1/ODBRESOURCEID /AWS1/ODBRESOURCEID

The unique identifier of the Autonomous VM cluster to retrieve information about.

RETURNING

oo_output TYPE REF TO /aws1/cl_odbgetcloudautonomo01 /AWS1/CL_ODBGETCLOUDAUTONOMO01

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

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lo_cloudautonomousvmcluste = lo_result->get_cloudautonomousvmcluster( ).
  IF lo_cloudautonomousvmcluste IS NOT INITIAL.
    lv_resourceid = lo_cloudautonomousvmcluste->get_cloudautonomousvmclustid( ).
    lv_string = lo_cloudautonomousvmcluste->get_cloudautonomousvmclstarn( ).
    lv_resourceidorarn = lo_cloudautonomousvmcluste->get_odbnetworkid( ).
    lv_string = lo_cloudautonomousvmcluste->get_ociresourceanchorname( ).
    lv_float = lo_cloudautonomousvmcluste->get_percentprogress( ).
    lv_resourcedisplayname = lo_cloudautonomousvmcluste->get_displayname( ).
    lv_resourcestatus = lo_cloudautonomousvmcluste->get_status( ).
    lv_string = lo_cloudautonomousvmcluste->get_statusreason( ).
    lv_resourceidorarn = lo_cloudautonomousvmcluste->get_cloudexadatainfrastruc00( ).
    lv_float = lo_cloudautonomousvmcluste->get_autonomousdatastrgperc00( ).
    lv_double = lo_cloudautonomousvmcluste->get_autonomousdatastrgsize00( ).
    lv_double = lo_cloudautonomousvmcluste->get_avlautonomousdatastrgs00( ).
    lv_integer = lo_cloudautonomousvmcluste->get_availcontainerdatabases( ).
    lv_float = lo_cloudautonomousvmcluste->get_availablecpus( ).
    lv_computemodel = lo_cloudautonomousvmcluste->get_computemodel( ).
    lv_integer = lo_cloudautonomousvmcluste->get_cpucorecount( ).
    lv_integer = lo_cloudautonomousvmcluste->get_cpucorecountpernode( ).
    lv_float = lo_cloudautonomousvmcluste->get_cpupercentage( ).
    lv_double = lo_cloudautonomousvmcluste->get_datastoragesizeingbs( ).
    lv_double = lo_cloudautonomousvmcluste->get_datastoragesizeintbs( ).
    lv_integer = lo_cloudautonomousvmcluste->get_dbnodestoragesizeingbs( ).
    LOOP AT lo_cloudautonomousvmcluste->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_string = lo_cloudautonomousvmcluste->get_description( ).
    lv_string = lo_cloudautonomousvmcluste->get_domain( ).
    lv_double = lo_cloudautonomousvmcluste->get_exadatastrgintbslowest00( ).
    lv_string = lo_cloudautonomousvmcluste->get_hostname( ).
    lv_string = lo_cloudautonomousvmcluste->get_ocid( ).
    lv_string = lo_cloudautonomousvmcluste->get_ociurl( ).
    lv_boolean = lo_cloudautonomousvmcluste->get_ismtlsenabledvmcluster( ).
    lv_licensemodel = lo_cloudautonomousvmcluste->get_licensemodel( ).
    lo_maintenancewindow = lo_cloudautonomousvmcluste->get_maintenancewindow( ).
    IF lo_maintenancewindow IS NOT INITIAL.
      lv_integer = lo_maintenancewindow->get_customactiontmoutinmins( ).
      LOOP AT lo_maintenancewindow->get_daysofweek( ) into lo_row_2.
        lo_row_3 = lo_row_2.
        IF lo_row_3 IS NOT INITIAL.
          lv_dayofweekname = lo_row_3->get_name( ).
        ENDIF.
      ENDLOOP.
      LOOP AT lo_maintenancewindow->get_hoursofday( ) into lo_row_4.
        lo_row_5 = lo_row_4.
        IF lo_row_5 IS NOT INITIAL.
          lv_integer = lo_row_5->get_value( ).
        ENDIF.
      ENDLOOP.
      lv_boolean = lo_maintenancewindow->get_iscustactiontmoutenabled( ).
      lv_integer = lo_maintenancewindow->get_leadtimeinweeks( ).
      LOOP AT lo_maintenancewindow->get_months( ) into lo_row_6.
        lo_row_7 = lo_row_6.
        IF lo_row_7 IS NOT INITIAL.
          lv_monthname = lo_row_7->get_name( ).
        ENDIF.
      ENDLOOP.
      lv_patchingmodetype = lo_maintenancewindow->get_patchingmode( ).
      lv_preferencetype = lo_maintenancewindow->get_preference( ).
      lv_boolean = lo_maintenancewindow->get_skipru( ).
      LOOP AT lo_maintenancewindow->get_weeksofmonth( ) into lo_row_8.
        lo_row_9 = lo_row_8.
        IF lo_row_9 IS NOT INITIAL.
          lv_integer = lo_row_9->get_value( ).
        ENDIF.
      ENDLOOP.
    ENDIF.
    lv_integer = lo_cloudautonomousvmcluste->get_maxacdslowestscaledvalue( ).
    lv_integer = lo_cloudautonomousvmcluste->get_memperoraclecompunitin00( ).
    lv_integer = lo_cloudautonomousvmcluste->get_memorysizeingbs( ).
    lv_integer = lo_cloudautonomousvmcluste->get_nodecount( ).
    lv_integer = lo_cloudautonomousvmcluste->get_nonprovisionableautono00( ).
    lv_integer = lo_cloudautonomousvmcluste->get_provisionableautonomou00( ).
    lv_integer = lo_cloudautonomousvmcluste->get_provautonomouscontaine00( ).
    lv_float = lo_cloudautonomousvmcluste->get_provisionedcpus( ).
    lv_float = lo_cloudautonomousvmcluste->get_reclaimablecpus( ).
    lv_float = lo_cloudautonomousvmcluste->get_reservedcpus( ).
    lv_integer = lo_cloudautonomousvmcluste->get_scanlistenerportnontls( ).
    lv_integer = lo_cloudautonomousvmcluste->get_scanlistenerporttls( ).
    lv_string = lo_cloudautonomousvmcluste->get_shape( ).
    lv_timestamp = lo_cloudautonomousvmcluste->get_createdat( ).
    lv_timestamp = lo_cloudautonomousvmcluste->get_timedatabasesslcertexp00( ).
    lv_timestamp = lo_cloudautonomousvmcluste->get_timeordscertexpires( ).
    lv_string = lo_cloudautonomousvmcluste->get_timezone( ).
    lv_integer = lo_cloudautonomousvmcluste->get_totalcontainerdatabases( ).
  ENDIF.
ENDIF.