/AWS1/IF_R5G=>UPDATEFIREWALLDOMAINS()¶
About UpdateFirewallDomains¶
Updates a DNS Firewall domain list from an array of specified domains.
Method Signature¶
METHODS /AWS1/IF_R5G~UPDATEFIREWALLDOMAINS
IMPORTING
!IT_DOMAINS TYPE /AWS1/CL_R5GDOMAINS_W=>TT_DOMAINS OPTIONAL
!IV_FIREWALLDOMAINLISTID TYPE /AWS1/R5GRESOURCEID OPTIONAL
!IV_OPERATION TYPE /AWS1/R5GSTRING OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5gupdatefwalldomsout
RAISING
/AWS1/CX_R5GACCESSDENIEDEX
/AWS1/CX_R5GCONFLICTEXCEPTION
/AWS1/CX_R5GINTERNALSERVEREX
/AWS1/CX_R5GRESOURCENOTFOUNDEX
/AWS1/CX_R5GTHROTTLINGEX
/AWS1/CX_R5GVLDTNEXCEPTION
/AWS1/CX_R5GCLIENTEXC
/AWS1/CX_R5GSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
it_domains TYPE /AWS1/CL_R5GDOMAINS_W=>TT_DOMAINS TT_DOMAINS¶
A list of the domains. You can add up to 1000 domains per request.
iv_firewalldomainlistid TYPE /AWS1/R5GRESOURCEID /AWS1/R5GRESOURCEID¶
The ID of the DNS Firewall domain list to which you want to add the domains.
iv_operation TYPE /AWS1/R5GSTRING /AWS1/R5GSTRING¶
The operation for updating the domain list. The allowed values are ADD, REMOVE, and REPLACE.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5gupdatefwalldomsout /AWS1/CL_R5GUPDATEFWALLDOMSOUT¶
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->updatefirewalldomains(
it_domains = VALUE /aws1/cl_r5gdomains_w=>tt_domains(
( new /aws1/cl_r5gdomains_w( |string| ) )
)
iv_firewalldomainlistid = |string|
iv_operation = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourceid = lo_result->get_id( ).
lv_resourcename = lo_result->get_name( ).
lv_crresourcestatus = lo_result->get_status( ).
ENDIF.