/AWS1/IF_ODB=>UPDATEAUTONOMOUSDATABASE()¶
About UpdateAutonomousDatabase¶
Updates the properties of an Autonomous Database.
Method Signature¶
METHODS /AWS1/IF_ODB~UPDATEAUTONOMOUSDATABASE
IMPORTING
!IV_AUTONOMOUSDATABASEID TYPE /AWS1/ODBRESOURCEIDORARN OPTIONAL
!IV_ADMINPASSWORD TYPE /AWS1/ODBSENSITIVESTRING OPTIONAL
!IV_COMPUTECOUNT TYPE /AWS1/RT_DOUBLE_AS_STRING OPTIONAL
!IV_CPUCORECOUNT TYPE /AWS1/ODBINTEGER OPTIONAL
!IV_DATASTORAGESIZEINTBS TYPE /AWS1/ODBINTEGER OPTIONAL
!IV_DATASTORAGESIZEINGBS TYPE /AWS1/ODBINTEGER OPTIONAL
!IV_DISPLAYNAME TYPE /AWS1/ODBRESOURCEDISPLAYNAME OPTIONAL
!IV_DBNAME TYPE /AWS1/ODBSTRING OPTIONAL
!IV_DBVERSION TYPE /AWS1/ODBSTRING OPTIONAL
!IV_DBWORKLOAD TYPE /AWS1/ODBDBWORKLOAD OPTIONAL
!IT_DBTOOLSDETAILS TYPE /AWS1/CL_ODBDATABASETOOL=>TT_DATABASETOOLLIST OPTIONAL
!IV_DATABASEEDITION TYPE /AWS1/ODBDATABASEEDITION OPTIONAL
!IV_LICENSEMODEL TYPE /AWS1/ODBLICENSEMODEL OPTIONAL
!IV_ISAUTOSCALINGENABLED TYPE /AWS1/ODBBOOLEAN OPTIONAL
!IV_ISAUTOSCFORSTORAGEENABLED TYPE /AWS1/ODBBOOLEAN OPTIONAL
!IV_ISBACKUPRETENTIONLOCKED TYPE /AWS1/ODBBOOLEAN OPTIONAL
!IV_ISLOCALDATAGUARDENABLED TYPE /AWS1/ODBBOOLEAN OPTIONAL
!IV_ISMTLSCONNECTIONREQUIRED TYPE /AWS1/ODBBOOLEAN OPTIONAL
!IV_ISREFRESHABLECLONE TYPE /AWS1/ODBBOOLEAN OPTIONAL
!IV_ISDISCONNECTPEER TYPE /AWS1/ODBBOOLEAN OPTIONAL
!IV_BACKUPRETPERIODINDAYS TYPE /AWS1/ODBINTEGER OPTIONAL
!IV_BYOLCOMPUTECOUNTLIMIT TYPE /AWS1/RT_DOUBLE_AS_STRING OPTIONAL
!IV_LOCADGAUTFLOVRMAXDATLOS00 TYPE /AWS1/ODBINTEGER OPTIONAL
!IV_ATNMSMAINTSCHEDULETYPE TYPE /AWS1/ODBATNMSMAINTSCHDTYPE OPTIONAL
!IT_CUSCONTACTSTOSENDTOOCI TYPE /AWS1/CL_ODBCUSTOMERCONTACT=>TT_CUSTOMERCONTACTS OPTIONAL
!IT_SCHEDULEDOPERATIONS TYPE /AWS1/CL_ODBSCHEDULEDOPDETAILS=>TT_SCHEDULEDOPDETAILSLIST OPTIONAL
!IO_LONGTERMBACKUPSCHEDULE TYPE REF TO /AWS1/CL_ODBLONGTERMBACKUPSCHD OPTIONAL
!IV_OPENMODE TYPE /AWS1/ODBOPENMODE OPTIONAL
!IV_PERMISSIONLEVEL TYPE /AWS1/ODBPERMISSIONLEVEL OPTIONAL
!IV_REFRESHABLEMODE TYPE /AWS1/ODBREFRESHABLEMODE OPTIONAL
!IV_PRIVATEENDPOINTIP TYPE /AWS1/ODBSTRING OPTIONAL
!IV_PRIVATEENDPOINTLABEL TYPE /AWS1/ODBSTRING OPTIONAL
!IV_PEERDBID TYPE /AWS1/ODBRESOURCEIDORARN OPTIONAL
!IV_RESOURCEPOOLLEADERID TYPE /AWS1/ODBRESOURCEIDORARN OPTIONAL
!IO_RESOURCEPOOLSUMMARY TYPE REF TO /AWS1/CL_ODBRESPOOLSUMMARY OPTIONAL
!IV_STANDBYALWLSTIPSSOURCE TYPE /AWS1/ODBSTANDBYALWLSTIPSSRC OPTIONAL
!IT_STANDBYALLOWLISTEDIPS TYPE /AWS1/CL_ODBSTRINGLIST_W=>TT_STRINGLIST OPTIONAL
!IT_ALLOWLISTEDIPS TYPE /AWS1/CL_ODBSTRINGLIST_W=>TT_STRINGLIST OPTIONAL
!IV_AUTOREFRESHFREQINSECONDS TYPE /AWS1/ODBINTEGER OPTIONAL
!IV_AUTOREFRPOINTLAGINSECONDS TYPE /AWS1/ODBINTEGER OPTIONAL
!IV_TIMEOFAUTOREFRESHSTART TYPE /AWS1/ODBTIMESTAMP OPTIONAL
!IV_ENCRYPTIONKEYPROVIDER TYPE /AWS1/ODBENCKEYPROVIDERINPUT OPTIONAL
!IO_ENCRYPTIONKEYCONF TYPE REF TO /AWS1/CL_ODBENCKEYCONFINPUT OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_odbupdatnmsdbaseout
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_autonomousdatabaseid TYPE /AWS1/ODBRESOURCEIDORARN /AWS1/ODBRESOURCEIDORARN¶
The unique identifier of the Autonomous Database to update.
Optional arguments:¶
iv_adminpassword TYPE /AWS1/ODBSENSITIVESTRING /AWS1/ODBSENSITIVESTRING¶
The new password for the
ADMINuser of the Autonomous Database.
iv_computecount TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The compute capacity, in number of ECPUs or OCPUs, to assign to the Autonomous Database.
iv_cpucorecount TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER¶
The number of CPU cores to allocate to the Autonomous Database.
iv_datastoragesizeintbs TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER¶
The size, in terabytes (TB), of the data volume to allocate for the Autonomous Database.
iv_datastoragesizeingbs TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER¶
The size, in gigabytes (GB), of the data volume to allocate for the Autonomous Database.
iv_displayname TYPE /AWS1/ODBRESOURCEDISPLAYNAME /AWS1/ODBRESOURCEDISPLAYNAME¶
The new user-friendly name for the Autonomous Database.
iv_dbname TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING¶
The new name of the Autonomous Database.
iv_dbversion TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING¶
The Oracle Database software version to use for the Autonomous Database.
iv_dbworkload TYPE /AWS1/ODBDBWORKLOAD /AWS1/ODBDBWORKLOAD¶
The intended use of the Autonomous Database, such as transaction processing, data warehouse, JSON database, or APEX.
it_dbtoolsdetails TYPE /AWS1/CL_ODBDATABASETOOL=>TT_DATABASETOOLLIST TT_DATABASETOOLLIST¶
The list of database management tools to enable for the Autonomous Database.
iv_databaseedition TYPE /AWS1/ODBDATABASEEDITION /AWS1/ODBDATABASEEDITION¶
The Oracle Database edition to apply to the Autonomous Database.
iv_licensemodel TYPE /AWS1/ODBLICENSEMODEL /AWS1/ODBLICENSEMODEL¶
The Oracle license model to apply to the Autonomous Database.
iv_isautoscalingenabled TYPE /AWS1/ODBBOOLEAN /AWS1/ODBBOOLEAN¶
Specifies whether to enable automatic scaling of the compute resources for the Autonomous Database.
iv_isautoscforstorageenabled TYPE /AWS1/ODBBOOLEAN /AWS1/ODBBOOLEAN¶
Specifies whether to enable automatic scaling of the storage for the Autonomous Database.
iv_isbackupretentionlocked TYPE /AWS1/ODBBOOLEAN /AWS1/ODBBOOLEAN¶
Specifies whether to lock the backup retention period of the Autonomous Database to prevent it from being shortened.
iv_islocaldataguardenabled TYPE /AWS1/ODBBOOLEAN /AWS1/ODBBOOLEAN¶
Specifies whether to enable local Oracle Data Guard for the Autonomous Database.
iv_ismtlsconnectionrequired TYPE /AWS1/ODBBOOLEAN /AWS1/ODBBOOLEAN¶
Specifies whether mutual TLS (mTLS) authentication is required to connect to the Autonomous Database.
iv_isrefreshableclone TYPE /AWS1/ODBBOOLEAN /AWS1/ODBBOOLEAN¶
Specifies whether the Autonomous Database is a refreshable clone.
iv_isdisconnectpeer TYPE /AWS1/ODBBOOLEAN /AWS1/ODBBOOLEAN¶
Specifies whether to disconnect the Autonomous Database from its peer database.
iv_backupretperiodindays TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER¶
The retention period, in days, for automatic backups of the Autonomous Database.
iv_byolcomputecountlimit TYPE /AWS1/RT_DOUBLE_AS_STRING /AWS1/RT_DOUBLE_AS_STRING¶
The maximum number of compute resources that you can allocate to the Autonomous Database under the bring-your-own-license (BYOL) model.
iv_locadgautflovrmaxdatlos00 TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER¶
The maximum data loss limit, in seconds, for automatic failover to the local Oracle Data Guard standby database.
iv_atnmsmaintscheduletype TYPE /AWS1/ODBATNMSMAINTSCHDTYPE /AWS1/ODBATNMSMAINTSCHDTYPE¶
The maintenance schedule type for the Autonomous Database.
it_cuscontactstosendtooci TYPE /AWS1/CL_ODBCUSTOMERCONTACT=>TT_CUSTOMERCONTACTS TT_CUSTOMERCONTACTS¶
The list of customer contacts to receive operational notifications from OCI for the Autonomous Database.
it_scheduledoperations TYPE /AWS1/CL_ODBSCHEDULEDOPDETAILS=>TT_SCHEDULEDOPDETAILSLIST TT_SCHEDULEDOPDETAILSLIST¶
The list of scheduled start and stop times for the Autonomous Database.
io_longtermbackupschedule TYPE REF TO /AWS1/CL_ODBLONGTERMBACKUPSCHD /AWS1/CL_ODBLONGTERMBACKUPSCHD¶
The long-term backup schedule for the Autonomous Database.
iv_openmode TYPE /AWS1/ODBOPENMODE /AWS1/ODBOPENMODE¶
The mode in which to open the Autonomous Database, either read-only or read/write.
iv_permissionlevel TYPE /AWS1/ODBPERMISSIONLEVEL /AWS1/ODBPERMISSIONLEVEL¶
The permission level of the Autonomous Database.
iv_refreshablemode TYPE /AWS1/ODBREFRESHABLEMODE /AWS1/ODBREFRESHABLEMODE¶
The refresh mode of the refreshable clone Autonomous Database.
iv_privateendpointip TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING¶
The private endpoint IP address for the Autonomous Database.
iv_privateendpointlabel TYPE /AWS1/ODBSTRING /AWS1/ODBSTRING¶
The private endpoint label for the Autonomous Database.
iv_peerdbid TYPE /AWS1/ODBRESOURCEIDORARN /AWS1/ODBRESOURCEIDORARN¶
The unique identifier of the peer Autonomous Database.
iv_resourcepoolleaderid TYPE /AWS1/ODBRESOURCEIDORARN /AWS1/ODBRESOURCEIDORARN¶
The unique identifier of the resource pool leader Autonomous Database.
io_resourcepoolsummary TYPE REF TO /AWS1/CL_ODBRESPOOLSUMMARY /AWS1/CL_ODBRESPOOLSUMMARY¶
The configuration of the resource pool for the Autonomous Database.
iv_standbyalwlstipssource TYPE /AWS1/ODBSTANDBYALWLSTIPSSRC /AWS1/ODBSTANDBYALWLSTIPSSRC¶
The source of the allowlisted IP addresses for the standby Autonomous Database.
it_standbyallowlistedips TYPE /AWS1/CL_ODBSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST¶
The list of IP addresses that are allowed to access the standby Autonomous Database.
it_allowlistedips TYPE /AWS1/CL_ODBSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST¶
The list of IP addresses that are allowed to access the Autonomous Database.
iv_autorefreshfreqinseconds TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER¶
The frequency, in seconds, at which the refreshable clone Autonomous Database is automatically refreshed.
iv_autorefrpointlaginseconds TYPE /AWS1/ODBINTEGER /AWS1/ODBINTEGER¶
The time lag, in seconds, between the refreshable clone and its source Autonomous Database.
iv_timeofautorefreshstart TYPE /AWS1/ODBTIMESTAMP /AWS1/ODBTIMESTAMP¶
The date and time at which the automatic refresh of the refreshable clone Autonomous Database starts.
iv_encryptionkeyprovider TYPE /AWS1/ODBENCKEYPROVIDERINPUT /AWS1/ODBENCKEYPROVIDERINPUT¶
The provider of the encryption key to use for the Autonomous Database.
io_encryptionkeyconf TYPE REF TO /AWS1/CL_ODBENCKEYCONFINPUT /AWS1/CL_ODBENCKEYCONFINPUT¶
The configuration of the encryption key to use for the Autonomous Database.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_odbupdatnmsdbaseout /AWS1/CL_ODBUPDATNMSDBASEOUT¶
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->updateautonomousdatabase(
io_encryptionkeyconf = new /aws1/cl_odbenckeyconfinput(
io_awsencryptionkey = new /aws1/cl_odbawsenckeyconfinput(
iv_externalidtype = |string|
iv_iamrolearn = |string|
iv_kmskeyid = |string|
)
)
io_longtermbackupschedule = new /aws1/cl_odblongtermbackupschd(
iv_isdisabled = ABAP_TRUE
iv_repeatcadence = |string|
iv_retentionperiodindays = 123
iv_timeofbackup = '20150101000000.0000000'
)
io_resourcepoolsummary = new /aws1/cl_odbrespoolsummary(
iv_availablecomputecapacity = 123
iv_availstoragecapacityintbs = '0.1'
iv_isdisabled = ABAP_TRUE
iv_poolsize = 123
iv_poolstoragesizeintbs = 123
iv_totalcomputecapacity = 123
)
it_allowlistedips = VALUE /aws1/cl_odbstringlist_w=>tt_stringlist(
( new /aws1/cl_odbstringlist_w( |string| ) )
)
it_cuscontactstosendtooci = VALUE /aws1/cl_odbcustomercontact=>tt_customercontacts(
( new /aws1/cl_odbcustomercontact( |string| ) )
)
it_dbtoolsdetails = VALUE /aws1/cl_odbdatabasetool=>tt_databasetoollist(
(
new /aws1/cl_odbdatabasetool(
iv_computecount = '0.1'
iv_isenabled = ABAP_TRUE
iv_maxidletimeinminutes = 123
iv_name = |string|
)
)
)
it_scheduledoperations = VALUE /aws1/cl_odbscheduledopdetails=>tt_scheduledopdetailslist(
(
new /aws1/cl_odbscheduledopdetails(
io_dayofweek = new /aws1/cl_odbdayofweek( |string| )
iv_scheduledstarttime = |string|
iv_scheduledstoptime = |string|
)
)
)
it_standbyallowlistedips = VALUE /aws1/cl_odbstringlist_w=>tt_stringlist(
( new /aws1/cl_odbstringlist_w( |string| ) )
)
iv_adminpassword = |string|
iv_atnmsmaintscheduletype = |string|
iv_autonomousdatabaseid = |string|
iv_autorefreshfreqinseconds = 123
iv_autorefrpointlaginseconds = 123
iv_backupretperiodindays = 123
iv_byolcomputecountlimit = |0.1|
iv_computecount = |0.1|
iv_cpucorecount = 123
iv_databaseedition = |string|
iv_datastoragesizeingbs = 123
iv_datastoragesizeintbs = 123
iv_dbname = |string|
iv_dbversion = |string|
iv_dbworkload = |string|
iv_displayname = |string|
iv_encryptionkeyprovider = |string|
iv_isautoscalingenabled = ABAP_TRUE
iv_isautoscforstorageenabled = ABAP_TRUE
iv_isbackupretentionlocked = ABAP_TRUE
iv_isdisconnectpeer = ABAP_TRUE
iv_islocaldataguardenabled = ABAP_TRUE
iv_ismtlsconnectionrequired = ABAP_TRUE
iv_isrefreshableclone = ABAP_TRUE
iv_licensemodel = |string|
iv_locadgautflovrmaxdatlos00 = 123
iv_openmode = |string|
iv_peerdbid = |string|
iv_permissionlevel = |string|
iv_privateendpointip = |string|
iv_privateendpointlabel = |string|
iv_refreshablemode = |string|
iv_resourcepoolleaderid = |string|
iv_standbyalwlstipssource = |string|
iv_timeofautorefreshstart = '20150101000000.0000000'
).
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_autonomousdatabaseid( ).
lv_string = lo_result->get_displayname( ).
lv_autonomousdatabaseresou = lo_result->get_status( ).
lv_string = lo_result->get_statusreason( ).
ENDIF.