Creates Cloud Storage Link
post
/data-tools/cloud-storage-links/
Request
Supported Media Types
- application/json
Cloud Storage Links to create
Nested Schema : cloud-storage-link
Type:
Show Source
object
-
credential_name(optional):
string
Credential name used to access bucketExample:
MYCRED
-
sql_statements(optional):
array sql_statements
SQL statements to perform database operation
-
storage_link_description(optional):
string
Description of Cloud Storage LinkExample:
My bucket for CSV files
-
storage_link_name(optional):
string
Name of Cloud Storage LinkExample:
MY-BUCKET
-
uri(optional):
string
URI of bucket for Cloud Storage LinksExample:
https://objectstorage.us-ashburn-1.oraclecloud.com/n/kdnmfs3kdj2x/b/my-bucket/o/
Nested Schema : sql_statements
Type:
array
SQL statements to perform database operation
Show Source
-
Array of:
string
SQL statement
Example:
[
"CREATE TABLE \"MYSCHEMA\".\"EXAMPLE_TABLE\"(\"ID\" NUMBER, \"DATE_RECV\" DATE);"
]
Response
Supported Media Types
- application/json
201 Response
Cloud Storage Links were succesfully created
Nested Schema : cloud-storage-link
Type:
Show Source
object
-
credential_name(optional):
string
Credential name used to access bucketExample:
MYCRED
-
sql_statements(optional):
array sql_statements
SQL statements to perform database operation
-
storage_link_description(optional):
string
Description of Cloud Storage LinkExample:
My bucket for CSV files
-
storage_link_name(optional):
string
Name of Cloud Storage LinkExample:
MY-BUCKET
-
uri(optional):
string
URI of bucket for Cloud Storage LinksExample:
https://objectstorage.us-ashburn-1.oraclecloud.com/n/kdnmfs3kdj2x/b/my-bucket/o/
Nested Schema : sql_statements
Type:
array
SQL statements to perform database operation
Show Source
-
Array of:
string
SQL statement
Example:
[
"CREATE TABLE \"MYSCHEMA\".\"EXAMPLE_TABLE\"(\"ID\" NUMBER, \"DATE_RECV\" DATE);"
]
204 Response
No content
409 Response
Name conflict with existing Cloud Storage Link