Skip to content

/AWS1/IF_ODB=>UPDATEEXADBVMCLUSTER()

About UpdateExadbVmCluster

Updates the specified Exascale VM cluster.

Method Signature

METHODS /AWS1/IF_ODB~UPDATEEXADBVMCLUSTER
  IMPORTING
    !IV_EXADBVMCLUSTERID TYPE /AWS1/ODBRESOURCEIDORARN OPTIONAL
    !IO_DATACOLLECTIONOPTIONS TYPE REF TO /AWS1/CL_ODBDATACOLLOPTIONS OPTIONAL
    !IV_DISPLAYNAME TYPE /AWS1/ODBRESOURCEDISPLAYNAME OPTIONAL
    !IV_ENABLEDECPUCOUNT TYPE /AWS1/ODBINTEGER OPTIONAL
    !IV_GRIDIMAGEID TYPE /AWS1/ODBSTRING OPTIONAL
    !IV_LICENSEMODEL TYPE /AWS1/ODBLICENSEMODEL OPTIONAL
    !IT_SSHPUBLICKEYS TYPE /AWS1/CL_ODBSTRINGLIST_W=>TT_STRINGLIST OPTIONAL
    !IV_SYSTEMVERSION TYPE /AWS1/ODBSTRING OPTIONAL
    !IV_TOTALECPUCOUNT TYPE /AWS1/ODBINTEGER OPTIONAL
    !IV_UPDATEACTION TYPE /AWS1/ODBUPDATEACTION OPTIONAL
    !IV_VMFILESYSSTRGTTLSIZEINGBS TYPE /AWS1/ODBINTEGER OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_odbupdexadbvmclustout
  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_exadbvmclusterid TYPE /AWS1/ODBRESOURCEIDORARN /AWS1/ODBRESOURCEIDORARN

The unique identifier of the Exascale VM cluster to update.

Optional arguments:

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_displayname TYPE /AWS1/ODBRESOURCEDISPLAYNAME /AWS1/ODBRESOURCEDISPLAYNAME

A new 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_gridimageid TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

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

iv_licensemodel TYPE /AWS1/ODBLICENSEMODEL /AWS1/ODBLICENSEMODEL

The Oracle license model to apply to 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_systemversion TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING

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

iv_totalecpucount TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER

The total number of ECPUs for the Exascale VM cluster.

iv_updateaction TYPE /AWS1/ODBUPDATEACTION /AWS1/ODBUPDATEACTION

The update action to perform on 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.

RETURNING

oo_output TYPE REF TO /aws1/cl_odbupdexadbvmclustout /AWS1/CL_ODBUPDEXADBVMCLUSTOUT

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->updateexadbvmcluster(
  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| ) )
  )
  iv_displayname = |string|
  iv_enabledecpucount = 123
  iv_exadbvmclusterid = |string|
  iv_gridimageid = |string|
  iv_licensemodel = |string|
  iv_systemversion = |string|
  iv_totalecpucount = 123
  iv_updateaction = |string|
  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.