/AWS1/IF_ODB=>UPCLOUDEXADATAINFRASTRUCTURE()¶
About UpdateCloudExadataInfrastructure¶
Updates the properties of an Exadata infrastructure resource.
Method Signature¶
METHODS /AWS1/IF_ODB~UPCLOUDEXADATAINFRASTRUCTURE
IMPORTING
!IV_CLOUDEXADATAINFRASTRUCT00 TYPE /AWS1/ODBRESOURCEIDORARN OPTIONAL
!IO_MAINTENANCEWINDOW TYPE REF TO /AWS1/CL_ODBMAINTENANCEWINDOW OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_odbupcloudexadatain01
RAISING
/AWS1/CX_ODBACCESSDENIEDEX
/AWS1/CX_ODBCONFLICTEXCEPTION
/AWS1/CX_ODBINTERNALSERVEREX
/AWS1/CX_ODBRESOURCENOTFOUNDEX
/AWS1/CX_ODBTHROTTLINGEX
/AWS1/CX_ODBVALIDATIONEX
/AWS1/CX_ODBCLIENTEXC
/AWS1/CX_ODBSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_cloudexadatainfrastruct00 TYPE /AWS1/ODBRESOURCEIDORARN /AWS1/ODBRESOURCEIDORARN¶
The unique identifier of the Exadata infrastructure to update.
Optional arguments:¶
io_maintenancewindow TYPE REF TO /AWS1/CL_ODBMAINTENANCEWINDOW /AWS1/CL_ODBMAINTENANCEWINDOW¶
maintenanceWindow
RETURNING¶
oo_output TYPE REF TO /aws1/cl_odbupcloudexadatain01 /AWS1/CL_ODBUPCLOUDEXADATAIN01¶
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->upcloudexadatainfrastructure(
io_maintenancewindow = new /aws1/cl_odbmaintenancewindow(
it_daysofweek = VALUE /aws1/cl_odbdayofweek=>tt_daysofweek(
( new /aws1/cl_odbdayofweek( |string| ) )
)
it_hoursofday = VALUE /aws1/cl_odbhoursofday_w=>tt_hoursofday(
( new /aws1/cl_odbhoursofday_w( 123 ) )
)
it_months = VALUE /aws1/cl_odbmonth=>tt_months(
( new /aws1/cl_odbmonth( |string| ) )
)
it_weeksofmonth = VALUE /aws1/cl_odbweeksofmonth_w=>tt_weeksofmonth(
( new /aws1/cl_odbweeksofmonth_w( 123 ) )
)
iv_customactiontimeoutinmins = 123
iv_iscustactiontmoutenabled = ABAP_TRUE
iv_leadtimeinweeks = 123
iv_patchingmode = |string|
iv_preference = |string|
iv_skipru = ABAP_TRUE
)
iv_cloudexadatainfrastruct00 = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string = lo_result->get_displayname( ).
lv_resourcestatus = lo_result->get_status( ).
lv_string = lo_result->get_statusreason( ).
lv_string = lo_result->get_cloudexadatainfrastruc00( ).
ENDIF.