Skip to content

/AWS1/IF_ODB=>GETEXASCALEDBSTORAGEVAULT()

About GetExascaleDbStorageVault

Returns information about the specified Exascale storage vault.

Method Signature

METHODS /AWS1/IF_ODB~GETEXASCALEDBSTORAGEVAULT
  IMPORTING
    !IV_EXASCALEDBSTORAGEVAULTID TYPE /AWS1/ODBRESOURCEIDORARN OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_odbgtexadbstrgvault01
  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_exascaledbstoragevaultid TYPE /AWS1/ODBRESOURCEIDORARN /AWS1/ODBRESOURCEIDORARN

The unique identifier of the Exascale storage vault.

RETURNING

oo_output TYPE REF TO /aws1/cl_odbgtexadbstrgvault01 /AWS1/CL_ODBGTEXADBSTRGVAULT01

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

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lo_exascaledbstoragevault = lo_result->get_exascaledbstoragevault( ).
  IF lo_exascaledbstoragevault IS NOT INITIAL.
    lv_resourceidorarn = lo_exascaledbstoragevault->get_exascaledbstoragevaultid( ).
    lv_integer = lo_exascaledbstoragevault->get_addlflashcacheinpercent( ).
    LOOP AT lo_exascaledbstoragevault->get_attachedshapeattributes( ) into lo_row.
      lo_row_1 = lo_row.
      IF lo_row_1 IS NOT INITIAL.
        lv_shapeattribute = lo_row_1->get_value( ).
      ENDIF.
    ENDLOOP.
    lv_integer = lo_exascaledbstoragevault->get_autoscalelimitingbs( ).
    lv_string = lo_exascaledbstoragevault->get_availabilityzone( ).
    lv_string = lo_exascaledbstoragevault->get_availabilityzoneid( ).
    lv_timestamp = lo_exascaledbstoragevault->get_createdat( ).
    lv_string = lo_exascaledbstoragevault->get_description( ).
    lv_string = lo_exascaledbstoragevault->get_displayname( ).
    LOOP AT lo_exascaledbstoragevault->get_vmclusterarns( ) into lo_row_2.
      lo_row_3 = lo_row_2.
      IF lo_row_3 IS NOT INITIAL.
        lv_resourcearn = lo_row_3->get_value( ).
      ENDIF.
    ENDLOOP.
    lv_integer = lo_exascaledbstoragevault->get_vmclustercount( ).
    LOOP AT lo_exascaledbstoragevault->get_vmclusterids( ) into lo_row_4.
      lo_row_5 = lo_row_4.
      IF lo_row_5 IS NOT INITIAL.
        lv_resourceid = lo_row_5->get_value( ).
      ENDIF.
    ENDLOOP.
    lv_resourcearn = lo_exascaledbstoragevault->get_exadbstoragevaultarn( ).
    lo_exascaledbstoragedetail = lo_exascaledbstoragevault->get_highcapacitydbasestorage( ).
    IF lo_exascaledbstoragedetail IS NOT INITIAL.
      lv_integer = lo_exascaledbstoragedetail->get_availablesizeingbs( ).
      lv_integer = lo_exascaledbstoragedetail->get_totalsizeingbs( ).
    ENDIF.
    lv_boolean = lo_exascaledbstoragevault->get_isautoscaleenabled( ).
    lv_string = lo_exascaledbstoragevault->get_ocid( ).
    lv_string = lo_exascaledbstoragevault->get_ociresourceanchorname( ).
    lv_string = lo_exascaledbstoragevault->get_ociurl( ).
    lv_float = lo_exascaledbstoragevault->get_percentprogress( ).
    lv_resourcestatus = lo_exascaledbstoragevault->get_status( ).
    lv_string = lo_exascaledbstoragevault->get_statusreason( ).
    lv_string = lo_exascaledbstoragevault->get_timezone( ).
  ENDIF.
ENDIF.