/AWS1/CL_TCB=>LISTSOLNETWORKINSTANCES()
¶
About ListSolNetworkInstances¶
Lists your network instances.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
Method Signature¶
IMPORTING¶
Optional arguments:¶
iv_maxresults
TYPE /AWS1/TCBINTEGER
/AWS1/TCBINTEGER
¶
The maximum number of results to include in the response.
iv_nexttoken
TYPE /AWS1/TCBPAGINATIONTOKEN
/AWS1/TCBPAGINATIONTOKEN
¶
The token for the next page of results.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_tcblstsolnetworkins01
/AWS1/CL_TCBLSTSOLNETWORKINS01
¶
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_tcb~listsolnetworkinstances(
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_paginationtoken = lo_result->get_nexttoken( ).
LOOP AT lo_result->get_networkinstances( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_nsinstanceid = lo_row_1->get_id( ).
lv_nsinstancearn = lo_row_1->get_arn( ).
lv_string = lo_row_1->get_nsinstancename( ).
lv_string = lo_row_1->get_nsinstancedescription( ).
lv_nsdid = lo_row_1->get_nsdid( ).
lv_nsdinfoid = lo_row_1->get_nsdinfoid( ).
lv_nsstate = lo_row_1->get_nsstate( ).
lo_listsolnetworkinstancem = lo_row_1->get_metadata( ).
IF lo_listsolnetworkinstancem IS NOT INITIAL.
lv_timestamp = lo_listsolnetworkinstancem->get_createdat( ).
lv_timestamp = lo_listsolnetworkinstancem->get_lastmodified( ).
ENDIF.
ENDIF.
ENDLOOP.
ENDIF.
List Sol Network Instantiate instances¶
List Sol Network Instantiate instances
DATA(lo_result) = lo_client->/aws1/if_tcb~listsolnetworkinstances( ).
List Sol Network Instances with nextToken and maxResults¶
List Sol Network Instances with nextToken and maxResults
DATA(lo_result) = lo_client->/aws1/if_tcb~listsolnetworkinstances(
iv_maxresults = 25
iv_nexttoken = ||
).