Change the availability check method of an instance.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
DBInstanceId | string | Yes | The instance ID. You can call the DescribeDBInstances operation to query the instance ID. | rm-uf6wjk5xxxxxxxxxx |
TcpConnectionType | string | Yes | The availability check method of the instance. Valid values:
| SHORT |
RegionId | string | Yes | The region ID. You can call the DescribeRegions operation to query the most recent region list. | cn-hangzhou |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "9EFA6DF3-5247-4D9D-80AA-68765BE6D5EA"
}
Error codes
HTTP status code | Error code | Error message |
---|---|---|
400 | HaDiagnoseConfig.Format | The value of tcpConnectionType must be LONG or SHORT |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history