/AWS1/IF_SGM=>UPDATEAPPIMAGECONFIG()¶
About UpdateAppImageConfig¶
Updates the properties of an AppImageConfig.
Method Signature¶
METHODS /AWS1/IF_SGM~UPDATEAPPIMAGECONFIG
IMPORTING
!IV_APPIMAGECONFIGNAME TYPE /AWS1/SGMAPPIMAGECONFIGNAME OPTIONAL
!IO_KERNELGATEWAYIMAGECONFIG TYPE REF TO /AWS1/CL_SGMKERNELGWIMAGECFG OPTIONAL
!IO_JUPYTERLABAPPIMAGECONFIG TYPE REF TO /AWS1/CL_SGMJUPYTERLABAPPIMA00 OPTIONAL
!IO_CODEEDITORAPPIMAGECONFIG TYPE REF TO /AWS1/CL_SGMCODEEDITORAPPIMA00 OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_sgmupdappimagecfgrsp
RAISING
/AWS1/CX_SGMRESOURCENOTFOUND
/AWS1/CX_SGMCLIENTEXC
/AWS1/CX_SGMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_appimageconfigname TYPE /AWS1/SGMAPPIMAGECONFIGNAME /AWS1/SGMAPPIMAGECONFIGNAME¶
The name of the AppImageConfig to update.
Optional arguments:¶
io_kernelgatewayimageconfig TYPE REF TO /AWS1/CL_SGMKERNELGWIMAGECFG /AWS1/CL_SGMKERNELGWIMAGECFG¶
The new KernelGateway app to run on the image.
io_jupyterlabappimageconfig TYPE REF TO /AWS1/CL_SGMJUPYTERLABAPPIMA00 /AWS1/CL_SGMJUPYTERLABAPPIMA00¶
The JupyterLab app running on the image.
io_codeeditorappimageconfig TYPE REF TO /AWS1/CL_SGMCODEEDITORAPPIMA00 /AWS1/CL_SGMCODEEDITORAPPIMA00¶
The Code Editor app running on the image.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_sgmupdappimagecfgrsp /AWS1/CL_SGMUPDAPPIMAGECFGRSP¶
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->updateappimageconfig(
io_codeeditorappimageconfig = new /aws1/cl_sgmcodeeditorappima00(
io_containerconfig = new /aws1/cl_sgmcontainerconfig(
it_containerarguments = VALUE /aws1/cl_sgmcustimagecontain00=>tt_custimagecontainerarguments(
( new /aws1/cl_sgmcustimagecontain00( |string| ) )
)
it_containerentrypoint = VALUE /aws1/cl_sgmcustimagecontain01=>tt_custimagecontainerentrpoint(
( new /aws1/cl_sgmcustimagecontain01( |string| ) )
)
it_containerenvironmentvar00 = VALUE /aws1/cl_sgmcustimagecontain02=>tt_custimagecontainerenviron00(
(
VALUE /aws1/cl_sgmcustimagecontain02=>ts_custimagecontainer00_maprow(
value = new /aws1/cl_sgmcustimagecontain02( |string| )
key = |string|
)
)
)
)
io_filesystemconfig = new /aws1/cl_sgmfilesystemconfig(
iv_defaultgid = 123
iv_defaultuid = 123
iv_mountpath = |string|
)
)
io_jupyterlabappimageconfig = new /aws1/cl_sgmjupyterlabappima00(
io_containerconfig = new /aws1/cl_sgmcontainerconfig(
it_containerarguments = VALUE /aws1/cl_sgmcustimagecontain00=>tt_custimagecontainerarguments(
( new /aws1/cl_sgmcustimagecontain00( |string| ) )
)
it_containerentrypoint = VALUE /aws1/cl_sgmcustimagecontain01=>tt_custimagecontainerentrpoint(
( new /aws1/cl_sgmcustimagecontain01( |string| ) )
)
it_containerenvironmentvar00 = VALUE /aws1/cl_sgmcustimagecontain02=>tt_custimagecontainerenviron00(
(
VALUE /aws1/cl_sgmcustimagecontain02=>ts_custimagecontainer00_maprow(
value = new /aws1/cl_sgmcustimagecontain02( |string| )
key = |string|
)
)
)
)
io_filesystemconfig = new /aws1/cl_sgmfilesystemconfig(
iv_defaultgid = 123
iv_defaultuid = 123
iv_mountpath = |string|
)
)
io_kernelgatewayimageconfig = new /aws1/cl_sgmkernelgwimagecfg(
io_filesystemconfig = new /aws1/cl_sgmfilesystemconfig(
iv_defaultgid = 123
iv_defaultuid = 123
iv_mountpath = |string|
)
it_kernelspecs = VALUE /aws1/cl_sgmkernelspec=>tt_kernelspecs(
(
new /aws1/cl_sgmkernelspec(
iv_displayname = |string|
iv_name = |string|
)
)
)
)
iv_appimageconfigname = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_appimageconfigarn = lo_result->get_appimageconfigarn( ).
ENDIF.