Skip to content

/AWS1/CL_ODB=>CREATECLOUDAUTONOMOUSVMCLUST()

About CreateCloudAutonomousVmCluster

Creates a new Autonomous VM cluster in the specified Exadata infrastructure.

Method Signature

IMPORTING

Required arguments:

iv_cloudexadatainfrastruct00 TYPE /AWS1/ODBRESOURCEIDORARN /AWS1/ODBRESOURCEIDORARN

The unique identifier of the Exadata infrastructure where the VM cluster will be created.

iv_odbnetworkid TYPE /AWS1/ODBRESOURCEIDORARN /AWS1/ODBRESOURCEIDORARN

The unique identifier of the ODB network to be used for the VM cluster.

iv_displayname TYPE /AWS1/ODBRESOURCEDISPLAYNAME /AWS1/ODBRESOURCEDISPLAYNAME

The display name for the Autonomous VM cluster. The name does not need to be unique.

iv_autonomousdatastrgsizei00 TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING

The data disk group size to be allocated for Autonomous Databases, in terabytes (TB).

iv_cpucorecountpernode TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The number of CPU cores to be enabled per VM cluster node.

iv_memperoraclecompunitingbs TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The amount of memory to be allocated per OCPU, in GB.

iv_totalcontainerdatabases TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The total number of Autonomous CDBs that you can create in the Autonomous VM cluster.

Optional arguments:

iv_clienttoken TYPE /AWS1/ODBGENERALINPUTSTRING /AWS1/ODBGENERALINPUTSTRING

A client-provided token to ensure idempotency of the request.

it_dbservers TYPE /AWS1/CL_ODBSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

The list of database servers to be used for the Autonomous VM cluster.

iv_description TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

A user-provided description of the Autonomous VM cluster.

iv_ismtlsenabledvmcluster TYPE /AWS1/ODBBOOLEAN /AWS1/ODBBOOLEAN

Specifies whether to enable mutual TLS (mTLS) authentication for the Autonomous VM cluster.

iv_licensemodel TYPE /AWS1/ODBLICENSEMODEL /AWS1/ODBLICENSEMODEL

The Oracle license model to apply to the Autonomous VM cluster.

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

The scheduling details for the maintenance window. Patching and system updates take place during the maintenance window.

iv_scanlistenerportnontls TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The SCAN listener port for non-TLS (TCP) protocol.

iv_scanlistenerporttls TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The SCAN listener port for TLS (TCP) protocol.

it_tags TYPE /AWS1/CL_ODBREQUESTTAGMAP_W=>TT_REQUESTTAGMAP TT_REQUESTTAGMAP

Free-form tags for this resource. Each tag is a key-value pair with no predefined name, type, or namespace.

iv_timezone TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

The time zone to use for the Autonomous VM cluster.

RETURNING

oo_output TYPE REF TO /aws1/cl_odbcrecloudautonomo01 /AWS1/CL_ODBCRECLOUDAUTONOMO01

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~createcloudautonomousvmclust(
  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_dbservers = VALUE /aws1/cl_odbstringlist_w=>tt_stringlist(
    ( new /aws1/cl_odbstringlist_w( |string| ) )
  )
  it_tags = VALUE /aws1/cl_odbrequesttagmap_w=>tt_requesttagmap(
    (
      VALUE /aws1/cl_odbrequesttagmap_w=>ts_requesttagmap_maprow(
        value = new /aws1/cl_odbrequesttagmap_w( |string| )
        key = |string|
      )
    )
  )
  iv_autonomousdatastrgsizei00 = |0.1|
  iv_clienttoken = |string|
  iv_cloudexadatainfrastruct00 = |string|
  iv_cpucorecountpernode = 123
  iv_description = |string|
  iv_displayname = |string|
  iv_ismtlsenabledvmcluster = ABAP_TRUE
  iv_licensemodel = |string|
  iv_memperoraclecompunitingbs = 123
  iv_odbnetworkid = |string|
  iv_scanlistenerportnontls = 123
  iv_scanlistenerporttls = 123
  iv_timezone = |string|
  iv_totalcontainerdatabases = 123
).

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_cloudautonomousvmclustid( ).
ENDIF.