Skip to content

/AWS1/CL_ODB=>UPCLOUDEXADATAINFRASTRUCTURE()

About UpdateCloudExadataInfrastructure

Updates the properties of an Exadata infrastructure resource.

Method Signature

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->/aws1/if_odb~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.