/AWS1/CL_ODB=>CREATECLOUDVMCLUSTER()
¶
About CreateCloudVmCluster¶
Creates a VM cluster on the specified Exadata infrastructure.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_cloudexadatainfrastruct00
TYPE /AWS1/ODBRESOURCEIDORARN
/AWS1/ODBRESOURCEIDORARN
¶
The unique identifier of the Exadata infrastructure for this VM cluster.
iv_cpucorecount
TYPE /AWS1/ODBINTEGER
/AWS1/ODBINTEGER
¶
The number of CPU cores to enable on the VM cluster.
iv_displayname
TYPE /AWS1/ODBRESOURCEDISPLAYNAME
/AWS1/ODBRESOURCEDISPLAYNAME
¶
A user-friendly name for the VM cluster.
iv_giversion
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
A valid software version of Oracle Grid Infrastructure (GI). To get the list of valid values, use the
ListGiVersions
operation and specify the shape of the Exadata infrastructure.Example:
19.0.0.0
iv_hostname
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
The host name for the VM cluster.
Constraints:
Can't be "localhost" or "hostname".
Can't contain "-version".
The maximum length of the combined hostname and domain is 63 characters.
The hostname must be unique within the subnet.
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 VM cluster.
iv_odbnetworkid
TYPE /AWS1/ODBRESOURCEIDORARN
/AWS1/ODBRESOURCEIDORARN
¶
The unique identifier of the ODB network for the VM cluster.
Optional arguments:¶
iv_clustername
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
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 VM cluster.
iv_datastoragesizeintbs
TYPE /AWS1/RT_DOUBLE_AS_STRING
/AWS1/RT_DOUBLE_AS_STRING
¶
The size of the data disk group, in terabytes (TBs), to allocate for the VM cluster.
iv_dbnodestoragesizeingbs
TYPE /AWS1/ODBINTEGER
/AWS1/ODBINTEGER
¶
The amount of local node storage, in gigabytes (GBs), to allocate for the VM cluster.
it_dbservers
TYPE /AWS1/CL_ODBSTRINGLIST_W=>TT_STRINGLIST
TT_STRINGLIST
¶
The list of database servers for the VM cluster.
it_tags
TYPE /AWS1/CL_ODBREQUESTTAGMAP_W=>TT_REQUESTTAGMAP
TT_REQUESTTAGMAP
¶
The list of resource tags to apply to the VM cluster.
iv_islocalbackupenabled
TYPE /AWS1/ODBBOOLEAN
/AWS1/ODBBOOLEAN
¶
Specifies whether to enable database backups to local Exadata storage for the VM cluster.
iv_issparsediskgroupenabled
TYPE /AWS1/ODBBOOLEAN
/AWS1/ODBBOOLEAN
¶
Specifies whether to create a sparse disk group for the VM cluster.
iv_licensemodel
TYPE /AWS1/ODBLICENSEMODEL
/AWS1/ODBLICENSEMODEL
¶
The Oracle license model to apply to the VM cluster.
Default:
LICENSE_INCLUDED
iv_memorysizeingbs
TYPE /AWS1/ODBINTEGER
/AWS1/ODBINTEGER
¶
The amount of memory, in gigabytes (GBs), to allocate for the VM cluster.
iv_systemversion
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
The version of the operating system of the image for the VM cluster.
iv_timezone
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
The time zone for the VM cluster. For a list of valid values for time zone, you can check the options in the console.
Default: UTC
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_scanlistenerporttcp
TYPE /AWS1/ODBINTEGER
/AWS1/ODBINTEGER
¶
The port number for TCP connections to the single client access name (SCAN) listener.
Valid values:
1024–8999
with the following exceptions:2484
,6100
,6200
,7060
,7070
,7085
, and7879
Default:
1521
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_odbcrecloudvmclustout
/AWS1/CL_ODBCRECLOUDVMCLUSTOUT
¶
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~createcloudvmcluster(
io_datacollectionoptions = new /aws1/cl_odbdatacolloptions(
iv_isdiagnosticseventsenbd = ABAP_TRUE
iv_ishealthmonitoringenabled = ABAP_TRUE
iv_isincidentlogsenabled = ABAP_TRUE
)
it_dbservers = VALUE /aws1/cl_odbstringlist_w=>tt_stringlist(
( new /aws1/cl_odbstringlist_w( |string| ) )
)
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_cloudexadatainfrastruct00 = |string|
iv_clustername = |string|
iv_cpucorecount = 123
iv_datastoragesizeintbs = |0.1|
iv_dbnodestoragesizeingbs = 123
iv_displayname = |string|
iv_giversion = |string|
iv_hostname = |string|
iv_islocalbackupenabled = ABAP_TRUE
iv_issparsediskgroupenabled = ABAP_TRUE
iv_licensemodel = |string|
iv_memorysizeingbs = 123
iv_odbnetworkid = |string|
iv_scanlistenerporttcp = 123
iv_systemversion = |string|
iv_timezone = |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_cloudvmclusterid( ).
ENDIF.