Skip to content

/AWS1/CL_ODB=>CRECLOUDEXADATAINFRASTRUCT00()

About CreateCloudExadataInfrastructure

Creates an Exadata infrastructure.

Method Signature

IMPORTING

Required arguments:

iv_displayname TYPE /AWS1/ODBRESOURCEDISPLAYNAME /AWS1/ODBRESOURCEDISPLAYNAME

A user-friendly name for the Exadata infrastructure.

iv_shape TYPE /AWS1/ODBGENERALINPUTSTRING /AWS1/ODBGENERALINPUTSTRING

The model name of the Exadata infrastructure. For the list of valid model names, use the ListDbSystemShapes operation.

iv_computecount TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The number of database servers for the Exadata infrastructure. Valid values for this parameter depend on the shape. To get information about the minimum and maximum values, use the ListDbSystemShapes operation.

iv_storagecount TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The number of storage servers to activate for this Exadata infrastructure. Valid values for this parameter depend on the shape. To get information about the minimum and maximum values, use the ListDbSystemShapes operation.

Optional arguments:

iv_availabilityzone TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

The name of the Availability Zone (AZ) where the Exadata infrastructure is located.

This operation requires that you specify a value for either availabilityZone or availabilityZoneId.

Example: us-east-1a

iv_availabilityzoneid TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

The AZ ID of the AZ where the Exadata infrastructure is located.

This operation requires that you specify a value for either availabilityZone or availabilityZoneId.

Example: use1-az1

it_tags TYPE /AWS1/CL_ODBREQUESTTAGMAP_W=>TT_REQUESTTAGMAP TT_REQUESTTAGMAP

The list of resource tags to apply to the Exadata infrastructure.

it_cuscontactstosendtooci TYPE /AWS1/CL_ODBCUSTOMERCONTACT=>TT_CUSTOMERCONTACTS TT_CUSTOMERCONTACTS

The email addresses of contacts to receive notification from Oracle about maintenance updates for the Exadata infrastructure.

io_maintenancewindow TYPE REF TO /AWS1/CL_ODBMAINTENANCEWINDOW /AWS1/CL_ODBMAINTENANCEWINDOW

The maintenance window configuration for the Exadata Cloud infrastructure.

This allows you to define when maintenance operations such as patching and updates can be performed on the infrastructure.

iv_clienttoken TYPE /AWS1/ODBGENERALINPUTSTRING /AWS1/ODBGENERALINPUTSTRING

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency. The client token is valid for up to 24 hours after it's first used.

iv_databaseservertype TYPE /AWS1/ODBGENERALINPUTSTRING /AWS1/ODBGENERALINPUTSTRING

The database server model type of the Exadata infrastructure. For the list of valid model names, use the ListDbSystemShapes operation.

iv_storageservertype TYPE /AWS1/ODBGENERALINPUTSTRING /AWS1/ODBGENERALINPUTSTRING

The storage server model type of the Exadata infrastructure. For the list of valid model names, use the ListDbSystemShapes operation.

RETURNING

oo_output TYPE REF TO /aws1/cl_odbcrecloudexadatai01 /AWS1/CL_ODBCRECLOUDEXADATAI01

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~crecloudexadatainfrastruct00(
  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
  )
  it_cuscontactstosendtooci = VALUE /aws1/cl_odbcustomercontact=>tt_customercontacts(
    ( new /aws1/cl_odbcustomercontact( |string| ) )
  )
  it_tags = VALUE /aws1/cl_odbrequesttagmap_w=>tt_requesttagmap(
    (
      VALUE /aws1/cl_odbrequesttagmap_w=>ts_requesttagmap_maprow(
        key = |string|
        value = new /aws1/cl_odbrequesttagmap_w( |string| )
      )
    )
  )
  iv_availabilityzone = |string|
  iv_availabilityzoneid = |string|
  iv_clienttoken = |string|
  iv_computecount = 123
  iv_databaseservertype = |string|
  iv_displayname = |string|
  iv_shape = |string|
  iv_storagecount = 123
  iv_storageservertype = |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.