/AWS1/CL_ODB=>GETCLOUDEXADATAINFRASTRUCT01()
¶
About GetCloudExadataInfrastructureUnallocatedResources¶
Retrieves information about unallocated resources in a specified Cloud Exadata Infrastructure.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_cloudexadatainfrastruct00
TYPE /AWS1/ODBRESOURCEIDORARN
/AWS1/ODBRESOURCEIDORARN
¶
The unique identifier of the Cloud Exadata infrastructure for which to retrieve unallocated resources.
Optional arguments:¶
it_dbservers
TYPE /AWS1/CL_ODBSTRINGLIST_W=>TT_STRINGLIST
TT_STRINGLIST
¶
The database servers to include in the unallocated resources query.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_odbgetcloudexadatai03
/AWS1/CL_ODBGETCLOUDEXADATAI03
¶
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~getcloudexadatainfrastruct01(
it_dbservers = VALUE /aws1/cl_odbstringlist_w=>tt_stringlist(
( new /aws1/cl_odbstringlist_w( |string| ) )
)
iv_cloudexadatainfrastruct00 = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_cloudexadatainfrastruct = lo_result->get_cloudexadatainfrastruc03( ).
IF lo_cloudexadatainfrastruct IS NOT INITIAL.
LOOP AT lo_cloudexadatainfrastruct->get_cloudautonomousvmclusts( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_resourceid = lo_row_1->get_cloudautonomousvmclustid( ).
lv_double = lo_row_1->get_unallocatedadbstrgintbs( ).
ENDIF.
ENDLOOP.
lv_string = lo_cloudexadatainfrastruct->get_cloudexadatainfrastrui00( ).
lv_double = lo_cloudexadatainfrastruct->get_exadatastorageintbs( ).
lv_resourceidorarn = lo_cloudexadatainfrastruct->get_cloudexadatainfrastruc00( ).
lv_integer = lo_cloudexadatainfrastruct->get_localstorageingbs( ).
lv_integer = lo_cloudexadatainfrastruct->get_memoryingbs( ).
lv_integer = lo_cloudexadatainfrastruct->get_ocpus( ).
ENDIF.
ENDIF.