/AWS1/IF_DSR=>UPDATEDIRECTORYSETUP()
¶
About UpdateDirectorySetup¶
Updates directory configuration for the specified update type.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_directoryid
TYPE /AWS1/DSRDIRECTORYID
/AWS1/DSRDIRECTORYID
¶
The identifier of the directory to update.
iv_updatetype
TYPE /AWS1/DSRUPDATETYPE
/AWS1/DSRUPDATETYPE
¶
The type of update to perform on the directory.
Optional arguments:¶
io_osupdatesettings
TYPE REF TO /AWS1/CL_DSROSUPDATESETTINGS
/AWS1/CL_DSROSUPDATESETTINGS
¶
Operating system configuration to apply during the directory update operation.
io_dirsizeupdatesettings
TYPE REF TO /AWS1/CL_DSRDIRSIZEUPDATESTGS
/AWS1/CL_DSRDIRSIZEUPDATESTGS
¶
Directory size configuration to apply during the update operation.
io_networkupdatesettings
TYPE REF TO /AWS1/CL_DSRNETWORKUPDATESTGS
/AWS1/CL_DSRNETWORKUPDATESTGS
¶
Network configuration to apply during the directory update operation.
iv_createsnapbeforeupdate
TYPE /AWS1/DSRCREATESNAPBEFOREUPD
/AWS1/DSRCREATESNAPBEFOREUPD
¶
Specifies whether to create a directory snapshot before performing the update.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_dsrupdirectorysetuprs
/AWS1/CL_DSRUPDIRECTORYSETUPRS
¶
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_dsr~updatedirectorysetup(
io_dirsizeupdatesettings = new /aws1/cl_dsrdirsizeupdatestgs( |string| )
io_networkupdatesettings = new /aws1/cl_dsrnetworkupdatestgs(
it_customerdnsipsv6 = VALUE /aws1/cl_dsrdnsipv6addrs_w=>tt_dnsipv6addrs(
( new /aws1/cl_dsrdnsipv6addrs_w( |string| ) )
)
iv_networktype = |string|
)
io_osupdatesettings = new /aws1/cl_dsrosupdatesettings( |string| )
iv_createsnapbeforeupdate = ABAP_TRUE
iv_directoryid = |string|
iv_updatetype = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.