ModifyDBInstanceVip
Modifies the virtual IP address or network properties of a database instance. This operation supports changing the internal IP address, adjusting the subnet, and migrating across zones.
Operation description
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
polardbx:ModifyDBInstanceVip |
create |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| RegionId |
string |
Yes |
The region ID. |
cn-hangzhou |
| DBInstanceName |
string |
Yes |
The instance ID. |
pxc-******** |
| VpcId |
string |
Yes |
The ID of the VPC where the endpoint is located. |
vpc-******** |
| VSwitchId |
string |
Yes |
The vSwitch ID. |
vsw-********* |
| InstanceClusterName |
string |
No |
The name of the CN cluster for the instance, such as default. |
default |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
MigrateDBInstanceResponse |
||
| Success |
boolean |
Indicates whether the request is successful. |
true |
| Message |
string |
The message returned for the request. Note
This parameter is empty if the request is successful. If the request fails, an exception message such as an error code is returned. |
***** |
| RequestId |
string |
The request ID. |
9B2F3840-5C98-475C-B269-2D5C3A31797C |
Examples
Success response
JSON format
{
"Success": true,
"Message": "*****",
"RequestId": "9B2F3840-5C98-475C-B269-2D5C3A31797C"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.