Queries the details of an external store.
Operation description
- The supported data sources of external stores include Object Storage Service (OSS) buckets and ApsaraDB RDS for MySQL databases in a virtual private cloud (VPC).
- Host consists of a project name and a Simple Log Service endpoint. You must specify a project in Host.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request syntax
GET /externalstores/{externalStoreName} HTTP/1.1
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
project | string | Yes | The name of the project. | ali-test-project |
externalStoreName | string | Yes | The name of the external store. | rds_store |
Response parameters
Examples
Sample success responses
JSON
format
{
"externalStoreName": "rds_store",
"storeType": "rds-vpc",
"parameter": {
"vpc-id": "vpc-bp1aevy8sofi8mh1q****",
"instance-id": "i-bp1b6c719dfa08exf****",
"host": "192.168.XX.XX",
"port": "3306",
"username": "root",
"password": "sfdsfldsfksfls****",
"db": "meta",
"table": "join_meta",
"region": "cn-qingdao"
}
}
Error codes
For a list of error codes, visit the Service error codes.