/AWS1/CL_ODB=>LISTDBSYSTEMSHAPES()
¶
About ListDbSystemShapes¶
Returns information about the shapes that are available for an 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_availabilityzone
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
The logical name of the AZ, for example, us-east-1a. This name varies depending on the account.
iv_availabilityzoneid
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
The physical ID of the AZ, for example, use1-az4. This ID persists across accounts.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_odblstdbsystemshape01
/AWS1/CL_ODBLSTDBSYSTEMSHAPE01
¶
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~listdbsystemshapes(
iv_availabilityzone = |string|
iv_availabilityzoneid = |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_dbsystemshapes( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_integer = lo_row_1->get_availablecorecount( ).
lv_integer = lo_row_1->get_availcorecountpernode( ).
lv_integer = lo_row_1->get_availdatastorageintbs( ).
lv_integer = lo_row_1->get_availdatastrgpersrvintbs( ).
lv_integer = lo_row_1->get_availdbnodepernodeingbs( ).
lv_integer = lo_row_1->get_availdbnodestorageingbs( ).
lv_integer = lo_row_1->get_availablememoryingbs( ).
lv_integer = lo_row_1->get_availmemorypernodeingbs( ).
lv_integer = lo_row_1->get_corecountincrement( ).
lv_integer = lo_row_1->get_maxstoragecount( ).
lv_integer = lo_row_1->get_maximumnodecount( ).
lv_integer = lo_row_1->get_mincorecountpernode( ).
lv_integer = lo_row_1->get_mindatastorageintbs( ).
lv_integer = lo_row_1->get_mindbnodestrgpernodein00( ).
lv_integer = lo_row_1->get_minmemorypernodeingbs( ).
lv_integer = lo_row_1->get_minstoragecount( ).
lv_integer = lo_row_1->get_minimumcorecount( ).
lv_integer = lo_row_1->get_minimumnodecount( ).
lv_integer = lo_row_1->get_runtimeminimumcorecount( ).
lv_string = lo_row_1->get_shapefamily( ).
lv_shapetype = lo_row_1->get_shapetype( ).
lv_string = lo_row_1->get_name( ).
lv_computemodel = lo_row_1->get_computemodel( ).
lv_boolean = lo_row_1->get_areservertypessupported( ).
ENDIF.
ENDLOOP.
ENDIF.