/AWS1/IF_ODB=>CREATEODBNETWORK()
¶
About CreateOdbNetwork¶
Creates an ODB network.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_displayname
TYPE /AWS1/ODBRESOURCEDISPLAYNAME
/AWS1/ODBRESOURCEDISPLAYNAME
¶
A user-friendly name for the ODB network.
iv_clientsubnetcidr
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
The CIDR range of the client subnet for the ODB network.
Constraints:
Must not overlap with the CIDR range of the backup subnet.
Must not overlap with the CIDR ranges of the VPCs that are connected to the ODB network.
Must not use the following CIDR ranges that are reserved by OCI:
100.106.0.0/16
and100.107.0.0/16
169.254.0.0/16
224.0.0.0 - 239.255.255.255
240.0.0.0 - 255.255.255.255
Optional arguments:¶
iv_availabilityzone
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
The Amazon Web Services Availability Zone (AZ) where the ODB network is located.
This operation requires that you specify a value for either
availabilityZone
oravailabilityZoneId
.
iv_availabilityzoneid
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
The AZ ID of the AZ where the ODB network is located.
This operation requires that you specify a value for either
availabilityZone
oravailabilityZoneId
.
iv_backupsubnetcidr
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
The CIDR range of the backup subnet for the ODB network.
Constraints:
Must not overlap with the CIDR range of the client subnet.
Must not overlap with the CIDR ranges of the VPCs that are connected to the ODB network.
Must not use the following CIDR ranges that are reserved by OCI:
100.106.0.0/16
and100.107.0.0/16
169.254.0.0/16
224.0.0.0 - 239.255.255.255
240.0.0.0 - 255.255.255.255
iv_customdomainname
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
The domain name to use for the resources in the ODB network.
iv_defaultdnsprefix
TYPE /AWS1/ODBSTRING
/AWS1/ODBSTRING
¶
The DNS prefix to the default DNS domain name. The default DNS domain name is oraclevcn.com.
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_s3access
TYPE /AWS1/ODBACCESS
/AWS1/ODBACCESS
¶
Specifies the configuration for Amazon S3 access from the ODB network.
iv_zeroetlaccess
TYPE /AWS1/ODBACCESS
/AWS1/ODBACCESS
¶
Specifies the configuration for Zero-ETL access from the ODB network.
iv_s3policydocument
TYPE /AWS1/ODBPOLICYDOCUMENT
/AWS1/ODBPOLICYDOCUMENT
¶
Specifies the endpoint policy for Amazon S3 access from the ODB network.
it_tags
TYPE /AWS1/CL_ODBREQUESTTAGMAP_W=>TT_REQUESTTAGMAP
TT_REQUESTTAGMAP
¶
The list of resource tags to apply to the ODB network.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_odbcreateodbnetoutput
/AWS1/CL_ODBCREATEODBNETOUTPUT
¶
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->createodbnetwork(
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_availabilityzone = |string|
iv_availabilityzoneid = |string|
iv_backupsubnetcidr = |string|
iv_clientsubnetcidr = |string|
iv_clienttoken = |string|
iv_customdomainname = |string|
iv_defaultdnsprefix = |string|
iv_displayname = |string|
iv_s3access = |string|
iv_s3policydocument = |string|
iv_zeroetlaccess = |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_odbnetworkid( ).
ENDIF.