Queries a list of external stores.
Operation description
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
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
project | string | Yes | The name of the project. | ali-test-project |
offset | integer | No | The line from which the query starts. Default value: 0. | 0 |
sizs | integer | No | The number of entries per page. Maximum value: 500. | 10 |
externalStoreName | string | No | The name of the external store. You can query external stores that contain a specified string. | store |
Response parameters
Examples
Sample success responses
JSON
format
{
"count": 3,
"total": 3,
"externalstores": [
{
"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.