Skip to content

/AWS1/IF_ODB=>CREATEEXADBVMCLUSTER()

About CreateExadbVmCluster

Creates an Exascale VM cluster.

Method Signature

METHODS /AWS1/IF_ODB~CREATEEXADBVMCLUSTER
  IMPORTING
    !IV_DISPLAYNAME TYPE /AWS1/ODBRESOURCEDISPLAYNAME OPTIONAL
    !IV_ENABLEDECPUCOUNT TYPE /AWS1/ODBINTEGER OPTIONAL
    !IV_EXASCALEDBSTORAGEVAULTID TYPE /AWS1/ODBRESOURCEIDORARN OPTIONAL
    !IV_GRIDIMAGEID TYPE /AWS1/ODBSTRING OPTIONAL
    !IV_HOSTNAME TYPE /AWS1/ODBHOSTNAME OPTIONAL
    !IV_NODECOUNT TYPE /AWS1/ODBINTEGER OPTIONAL
    !IV_ODBNETWORKID TYPE /AWS1/ODBRESOURCEIDORARN OPTIONAL
    !IV_SHAPE TYPE /AWS1/ODBSTRING OPTIONAL
    !IT_SSHPUBLICKEYS TYPE /AWS1/CL_ODBSTRINGLIST_W=>TT_STRINGLIST OPTIONAL
    !IV_TOTALECPUCOUNT TYPE /AWS1/ODBINTEGER OPTIONAL
    !IV_VMFILESYSSTRGTTLSIZEINGBS TYPE /AWS1/ODBINTEGER OPTIONAL
    !IV_CLUSTERNAME TYPE /AWS1/ODBCLUSTERNAME OPTIONAL
    !IO_DATACOLLECTIONOPTIONS TYPE REF TO /AWS1/CL_ODBDATACOLLOPTIONS OPTIONAL
    !IV_LICENSEMODEL TYPE /AWS1/ODBLICENSEMODEL OPTIONAL
    !IV_SCANLISTENERPORTTCP TYPE /AWS1/ODBINTEGER OPTIONAL
    !IV_SCANLISTENERPORTTCPSSL TYPE /AWS1/ODBINTEGER OPTIONAL
    !IV_SHAPEATTRIBUTE TYPE /AWS1/ODBSHAPEATTRIBUTE OPTIONAL
    !IV_SYSTEMVERSION TYPE /AWS1/ODBSTRING OPTIONAL
    !IT_TAGS TYPE /AWS1/CL_ODBREQUESTTAGMAP_W=>TT_REQUESTTAGMAP OPTIONAL
    !IV_TIMEZONE TYPE /AWS1/ODBSTRING OPTIONAL
    !IV_CLIENTTOKEN TYPE /AWS1/ODBGENERALINPUTSTRING OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_odbcreexadbvmclustout
  RAISING
    /AWS1/CX_ODBACCESSDENIEDEX
    /AWS1/CX_ODBCONFLICTEXCEPTION
    /AWS1/CX_ODBINTERNALSERVEREX
    /AWS1/CX_ODBRESOURCENOTFOUNDEX
    /AWS1/CX_ODBSERVICEQUOTAEXCDEX
    /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_displayname TYPE /AWS1/ODBRESOURCEDISPLAYNAME /AWS1/ODBRESOURCEDISPLAYNAME

A user-friendly name for the Exascale VM cluster.

iv_enabledecpucount TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The number of ECPUs to enable for the Exascale VM cluster.

iv_exascaledbstoragevaultid TYPE /AWS1/ODBRESOURCEIDORARN /AWS1/ODBRESOURCEIDORARN

The unique identifier of the Exascale storage vault for this Exascale VM cluster.

iv_gridimageid TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

The Grid Infrastructure software image ID for the Exascale VM cluster.

iv_hostname TYPE /AWS1/ODBHOSTNAME /AWS1/ODBHOSTNAME

The host name for the Exascale VM cluster.

iv_nodecount TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The number of nodes in the Exascale VM cluster.

iv_odbnetworkid TYPE /AWS1/ODBRESOURCEIDORARN /AWS1/ODBRESOURCEIDORARN

The unique identifier of the ODB network for the Exascale VM cluster.

iv_shape TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

The shape of the Exascale VM cluster.

it_sshpublickeys TYPE /AWS1/CL_ODBSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST

The public key portion of one or more key pairs used for SSH access to the Exascale VM cluster.

iv_totalecpucount TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The total number of ECPUs for the Exascale VM cluster.

iv_vmfilesysstrgttlsizeingbs TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The total amount of file system storage, in gigabytes (GB), for the Exascale VM cluster.

Optional arguments:

iv_clustername TYPE /AWS1/ODBCLUSTERNAME /AWS1/ODBCLUSTERNAME

A name for the Grid Infrastructure cluster. The name isn't case sensitive.

io_datacollectionoptions TYPE REF TO /AWS1/CL_ODBDATACOLLOPTIONS /AWS1/CL_ODBDATACOLLOPTIONS

The set of preferences for the various diagnostic collection options for the Exascale VM cluster.

iv_licensemodel TYPE /AWS1/ODBLICENSEMODEL /AWS1/ODBLICENSEMODEL

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

iv_scanlistenerporttcp TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The port number for TCP connections to the single client access name (SCAN) listener.

iv_scanlistenerporttcpssl TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The port number for TCP connections with SSL to the single client access name (SCAN) listener.

iv_shapeattribute TYPE /AWS1/ODBSHAPEATTRIBUTE /AWS1/ODBSHAPEATTRIBUTE

The shape attribute for the Exascale VM cluster.

iv_systemversion TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

The version of the operating system of the image for the Exascale VM cluster.

it_tags TYPE /AWS1/CL_ODBREQUESTTAGMAP_W=>TT_REQUESTTAGMAP TT_REQUESTTAGMAP

The list of resource tags to apply to the Exascale VM cluster.

iv_timezone TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

The time zone for the Exascale VM cluster.

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 one and uses it for the request to ensure idempotency. The client token is valid for up to 24 hours after it's first used.

RETURNING

oo_output TYPE REF TO /aws1/cl_odbcreexadbvmclustout /AWS1/CL_ODBCREEXADBVMCLUSTOUT

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->createexadbvmcluster(
  io_datacollectionoptions = new /aws1/cl_odbdatacolloptions(
    iv_isdiagnosticseventsenbd = ABAP_TRUE
    iv_ishealthmonitoringenabled = ABAP_TRUE
    iv_isincidentlogsenabled = ABAP_TRUE
  )
  it_sshpublickeys = 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(
        key = |string|
        value = new /aws1/cl_odbrequesttagmap_w( |string| )
      )
    )
  )
  iv_clienttoken = |string|
  iv_clustername = |string|
  iv_displayname = |string|
  iv_enabledecpucount = 123
  iv_exascaledbstoragevaultid = |string|
  iv_gridimageid = |string|
  iv_hostname = |string|
  iv_licensemodel = |string|
  iv_nodecount = 123
  iv_odbnetworkid = |string|
  iv_scanlistenerporttcp = 123
  iv_scanlistenerporttcpssl = 123
  iv_shape = |string|
  iv_shapeattribute = |string|
  iv_systemversion = |string|
  iv_timezone = |string|
  iv_totalecpucount = 123
  iv_vmfilesysstrgttlsizeingbs = 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_exadbvmclusterid( ).
ENDIF.