Creates an Object Storage Service (OSS) external store.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
POST /externalstores
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
project | string | Yes | A short description of struct | my-project |
body | object | Yes | The body of the request. | |
externalStoreName | string | Yes | The name of the external store. | test_oss_store |
storeType | string | Yes | The type of the external store. Set the value to oss. | oss |
parameter | object | Yes | The parameters that are configured for the external store. | |
accessid | string | Yes | The AccessKey ID of your account. | LTAI5tFsHGGeYry*****1Sz |
accesskey | string | Yes | The AccessKey secret of your account. | GyviCLDVHkHrOztdkxuE6******Rp6 |
endpoint | string | Yes | The Object Storage Service (OSS) endpoint. | oss-cn-hangzhou.aliyuncs.com |
bucket | string | Yes | The name of the OSS bucket. | my-bucket |
objects | array | Yes | The names of the OSS objects that are associated to the external store. | |
string | No | The name of the OSS object that is associated to the external store. | file-name | |
columns | object [] | Yes | The fields that are associated to the external store. | |
name | string | Yes | The name of the field. | auto-test |
type | string | Yes | The type of the field. | sls |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.