Changes the expiration time of a classic network endpoint.
When an ApsaraDB for RDS instance is in the hybrid access mode, which uses both a VPC endpoint and a classic network endpoint, this operation is used to extend the expiration time of the classic network endpoint.
Debugging
Request parameters
Parameter | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | ModifyDBInstanceNetworkExpireTime |
The operation that you want to perform. Set the value to ModifyDBInstanceNetworkExpireTime. |
ClassicExpiredDays | Integer | Yes | 7 |
The retention days of the classic network endpoint. Valid values: 1 to 120. Unit: days. |
ConnectionString | String | Yes | rm-uf6wjk5xxxxx.mysql.rds.aliyuncs.com |
The classic network endpoint whose expiration time you want to extend. Two types of classic network endpoints are supported:
|
DBInstanceId | String | Yes | rm-uf6wjk5xxxxxxx |
The ID of the instance. |
Response parameters
Parameter | Type | Example | Description |
---|---|---|---|
RequestId | String | 4C467B38-3910-447D-87BC-AC049166F216 |
The ID of the request. |
Examples
Sample requests
http(s)://rds.aliyuncs.com/? Action=ModifyDBInstanceNetworkExpireTime
&DBInstanceId=rm-uf6wjk5xxxxxxx
&ConnectionString=rm-uf6wjk5xxxxx.mysql.rds.aliyuncs.com
&ClassicExpiredDays=7
&<Common request parameters>
Sample success responses
XML
format
<ModifyDBInstanceNetworkExpireTimeResponse>
<RequestId>4C467B38-3910-447D-87BC-AC049166F216</RequestId>
</ModifyDBInstanceNetworkExpireTimeResponse>
JSON
format
{
"RequestId": "4C467B38-3910-447D-87BC-AC049166F216"
}
Error codes
For a list of error codes, visit the API Error Center.