Updates an ApsaraDB RDS external store.
Operation description
Host consists of a project name and a Log Service endpoint. You must specify a project in Host.
Debugging
Authorization information
Request syntax
PUT /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. | test-external-store |
body | object | Yes | The request body. | |
externalStoreName | string | Yes | The name of the external store. | rds_store |
storeType | string | Yes | The storage type. Set the value to rds-vpc, which indicates an ApsaraDB RDS for MySQL database in a virtual private cloud (VPC). | rds-vpc |
parameter | object | Yes | The parameter struct. | |
vpc-id | string | No | The ID of the VPC to which the ApsaraDB RDS for MySQL instance belongs. | vpc-bp1aevy8sofi8mh1q**** |
instance-id | string | No | The ID of the ApsaraDB RDS for MySQL instance. | i-bp1b6c719dfa08exf**** |
host | string | No | The internal or public endpoint of the ApsaraDB RDS for MySQL instance. | 192.168.XX.XX |
port | string | Yes | The internal or public port of the ApsaraDB RDS for MySQL instance. | 3306 |
username | string | Yes | The username that is used to log on to the ApsaraDB RDS for MySQL instance. | root |
password | string | Yes | The password that is used to log on to the ApsaraDB RDS for MySQL instance. | sfdsfldsfksfls**** |
db | string | Yes | The name of the database in the ApsaraDB RDS for MySQL instance. | meta |
table | string | Yes | The name of the database table in the ApsaraDB RDS for MySQL instance. | join_meta |
region | string | Yes | The region where the ApsaraDB RDS for MySQL instance resides. Valid values: cn-qingdao, cn-beijing, and cn-hangzhou. | cn-qingdao |
Response parameters
Examples
Sample success responses
JSON
format
{}
Error codes
For a list of error codes, visit the Service error codes.