Skip to content

/AWS1/IF_ODB=>GETEXADBVMCLUSTER()

About GetExadbVmCluster

Returns information about the specified Exascale VM cluster.

Method Signature

METHODS /AWS1/IF_ODB~GETEXADBVMCLUSTER
  IMPORTING
    !IV_EXADBVMCLUSTERID TYPE /AWS1/ODBRESOURCEIDORARN OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_odbgetexadbvmclustout
  RAISING
    /AWS1/CX_ODBACCESSDENIEDEX
    /AWS1/CX_ODBINTERNALSERVEREX
    /AWS1/CX_ODBRESOURCENOTFOUNDEX
    /AWS1/CX_ODBTHROTTLINGEX
    /AWS1/CX_ODBVALIDATIONEX
    /AWS1/CX_ODBCLIENTEXC
    /AWS1/CX_ODBSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

IMPORTING

Required arguments:

iv_exadbvmclusterid TYPE /AWS1/ODBRESOURCEIDORARN /AWS1/ODBRESOURCEIDORARN

The unique identifier of the Exascale VM cluster.

RETURNING

oo_output TYPE REF TO /aws1/cl_odbgetexadbvmclustout /AWS1/CL_ODBGETEXADBVMCLUSTOUT

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

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lo_exadbvmcluster = lo_result->get_exadbvmcluster( ).
  IF lo_exadbvmcluster IS NOT INITIAL.
    lv_resourceidorarn = lo_exadbvmcluster->get_exadbvmclusterid( ).
    lv_clustername = lo_exadbvmcluster->get_clustername( ).
    lv_timestamp = lo_exadbvmcluster->get_createdat( ).
    lo_datacollectionoptions = lo_exadbvmcluster->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_resourcedisplayname = lo_exadbvmcluster->get_displayname( ).
    lv_string = lo_exadbvmcluster->get_domain( ).
    lv_integer = lo_exadbvmcluster->get_enabledecpucount( ).
    lv_resourcearn = lo_exadbvmcluster->get_exadbvmclusterarn( ).
    lv_resourcearn = lo_exadbvmcluster->get_exadbstoragevaultarn( ).
    lv_resourceidorarn = lo_exadbvmcluster->get_exascaledbstoragevaultid( ).
    lv_string = lo_exadbvmcluster->get_giversion( ).
    lv_string = lo_exadbvmcluster->get_gridimageid( ).
    lv_gridimagetype = lo_exadbvmcluster->get_gridimagetype( ).
    lv_hostname = lo_exadbvmcluster->get_hostname( ).
    LOOP AT lo_exadbvmcluster->get_iamroles( ) into lo_row.
      lo_row_1 = lo_row.
      IF lo_row_1 IS NOT INITIAL.
        lv_rolearn = lo_row_1->get_iamrolearn( ).
        lv_iamrolestatus = lo_row_1->get_status( ).
        lv_string = lo_row_1->get_statusreason( ).
        lv_supportedawsintegration = lo_row_1->get_awsintegration( ).
      ENDIF.
    ENDLOOP.
    lo_exadataiormconfig = lo_exadbvmcluster->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_string = lo_exadbvmcluster->get_lastupdatehistoryentryid( ).
    lv_licensemodel = lo_exadbvmcluster->get_licensemodel( ).
    lv_integer = lo_exadbvmcluster->get_listenerport( ).
    lv_integer = lo_exadbvmcluster->get_memorysizeingbs( ).
    lv_integer = lo_exadbvmcluster->get_nodecount( ).
    lv_string = lo_exadbvmcluster->get_ocid( ).
    lv_string = lo_exadbvmcluster->get_ociresourceanchorname( ).
    lv_string = lo_exadbvmcluster->get_ociurl( ).
    lv_resourcearn = lo_exadbvmcluster->get_odbnetworkarn( ).
    lv_resourceidorarn = lo_exadbvmcluster->get_odbnetworkid( ).
    lv_float = lo_exadbvmcluster->get_percentprogress( ).
    lv_string = lo_exadbvmcluster->get_scandnsname( ).
    lv_string = lo_exadbvmcluster->get_scandnsrecordid( ).
    LOOP AT lo_exadbvmcluster->get_scanipids( ) into lo_row_4.
      lo_row_5 = lo_row_4.
      IF lo_row_5 IS NOT INITIAL.
        lv_string = lo_row_5->get_value( ).
      ENDIF.
    ENDLOOP.
    lv_integer = lo_exadbvmcluster->get_scanlistenerporttcp( ).
    lv_integer = lo_exadbvmcluster->get_scanlistenerporttcpssl( ).
    lv_string = lo_exadbvmcluster->get_shape( ).
    lv_shapeattribute = lo_exadbvmcluster->get_shapeattribute( ).
    lo_exadbvmclusterstoragede = lo_exadbvmcluster->get_snapfilesystemstorage( ).
    IF lo_exadbvmclusterstoragede IS NOT INITIAL.
      lv_integer = lo_exadbvmclusterstoragede->get_totalsizeingbs( ).
    ENDIF.
    LOOP AT lo_exadbvmcluster->get_sshpublickeys( ) into lo_row_4.
      lo_row_5 = lo_row_4.
      IF lo_row_5 IS NOT INITIAL.
        lv_string = lo_row_5->get_value( ).
      ENDIF.
    ENDLOOP.
    lv_resourcestatus = lo_exadbvmcluster->get_status( ).
    lv_string = lo_exadbvmcluster->get_statusreason( ).
    lv_string = lo_exadbvmcluster->get_systemversion( ).
    lv_string = lo_exadbvmcluster->get_timezone( ).
    lv_integer = lo_exadbvmcluster->get_totalecpucount( ).
    lo_exadbvmclusterstoragede = lo_exadbvmcluster->get_totalfilesystemstorage( ).
    IF lo_exadbvmclusterstoragede IS NOT INITIAL.
      lv_integer = lo_exadbvmclusterstoragede->get_totalsizeingbs( ).
    ENDIF.
    LOOP AT lo_exadbvmcluster->get_vipids( ) into lo_row_4.
      lo_row_5 = lo_row_4.
      IF lo_row_5 IS NOT INITIAL.
        lv_string = lo_row_5->get_value( ).
      ENDIF.
    ENDLOOP.
    lo_exadbvmclusterstoragede = lo_exadbvmcluster->get_vmfilesystemstorage( ).
    IF lo_exadbvmclusterstoragede IS NOT INITIAL.
      lv_integer = lo_exadbvmclusterstoragede->get_totalsizeingbs( ).
    ENDIF.
  ENDIF.
ENDIF.