All Products
Search
Document Center

AnalyticDB for PostgreSQL:SwitchDBInstanceNetType

Last Updated:Mar 03, 2024

Switches between the internal and public endpoints of an AnalyticDB for PostgreSQL instance.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
DBInstanceIdstringYes

The instance ID.

Note You can call the DescribeDBInstances operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
rm-uf6wjk5xxxxxxx
ConnectionStringPrefixstringYes

The prefix of the custom endpoint.

  • The prefix can contain lowercase letters, digits, and hyphens (-) and must start with a lowercase letter.
  • The prefix can be up to 30 characters in length.
test1234
PortstringYes

The port number.

3306

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

FA67B751-2A2D-470C-850B-D6B93699D35C

Examples

Sample success responses

JSONformat

{
  "RequestId": "FA67B751-2A2D-470C-850B-D6B93699D35C"
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
2024-01-04The internal configuration of the API is changed, but the call is not affectedsee changesets
Change itemChange content
The internal configuration of the API is changed, but the call is not affected.