/AWS1/IF_DSR=>UPDATEDIRECTORYSETUP()¶
About UpdateDirectorySetup¶
Updates directory configuration for the specified update type.
Method Signature¶
METHODS /AWS1/IF_DSR~UPDATEDIRECTORYSETUP
IMPORTING
!IV_DIRECTORYID TYPE /AWS1/DSRDIRECTORYID OPTIONAL
!IV_UPDATETYPE TYPE /AWS1/DSRUPDATETYPE OPTIONAL
!IO_OSUPDATESETTINGS TYPE REF TO /AWS1/CL_DSROSUPDATESETTINGS OPTIONAL
!IO_DIRSIZEUPDATESETTINGS TYPE REF TO /AWS1/CL_DSRDIRSIZEUPDATESTGS OPTIONAL
!IO_NETWORKUPDATESETTINGS TYPE REF TO /AWS1/CL_DSRNETWORKUPDATESTGS OPTIONAL
!IV_CREATESNAPBEFOREUPDATE TYPE /AWS1/DSRCREATESNAPBEFOREUPD OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_dsrupdirectorysetuprs
RAISING
/AWS1/CX_DSRACCESSDENIEDEX
/AWS1/CX_DSRCLIENTEXCEPTION
/AWS1/CX_DSRDIRECTORYDOESNOT00
/AWS1/CX_DSRDIRECTORYINDESIR00
/AWS1/CX_DSRDIRECTORYUNAVAILEX
/AWS1/CX_DSRINVALIDPARAMETEREX
/AWS1/CX_DSRSERVICEEXCEPTION
/AWS1/CX_DSRSNAPLIMITEXCDEX
/AWS1/CX_DSRUNSUPPORTEDOPEX
/AWS1/CX_DSRCLIENTEXC
/AWS1/CX_DSRSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
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->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.