Creates Cloud Storage Link
post
/data-tools/cloud-storage-links/
Creates Cloud Storage Link
Request
There are no request parameters for this operation.
Supported Media Types
- application/json
Nested Schema : cloud-storage-link
Type:
Show Source
object
-
credential_name: string
Credential name used to access bucketExample:
MYCRED
-
sql_statements: array
sql_statements
SQL statements to perform database operation
-
storage_link_description: string
Description of Cloud Storage LinkExample:
My bucket for CSV files
-
storage_link_name: string
Name of Cloud Storage LinkExample:
MY-BUCKET
-
uri: 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: string
Credential name used to access bucketExample:
MYCRED
-
sql_statements: array
sql_statements
SQL statements to perform database operation
-
storage_link_description: string
Description of Cloud Storage LinkExample:
My bucket for CSV files
-
storage_link_name: string
Name of Cloud Storage LinkExample:
MY-BUCKET
-
uri: 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