Alibaba Cloud CLI
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
oceanbase:ModifyTenantPrimaryZone |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| TenantId |
string |
Yes |
The return result of the request. |
ob2mr3oae0**** |
| InstanceId |
string |
Yes |
The primary zone of the tenant. |
ob317v4uif**** |
| PrimaryZone |
string |
No |
The ID of the vSwitch. |
cn-hangzhou-h |
| UserVSwitchId |
string |
No |
The request ID. |
vsw-xxx |
| MasterIntranetAddressZone |
string |
No |
|
cn-hangzhou-h |
| TenantEndpointId |
string |
No |
Tenant endpoint ID. |
obe-4tw51gp7**** |
| TenantEndpointDirectId |
string |
No |
Tenant direct connection endpoint ID. |
obe-*** |
| UserDirectVSwitchId |
string |
No |
The vSwitch ID for the tenant direct connection address. |
vsw-*** |
| VpcId |
string |
No |
Virtual private cloud (VPC) ID. |
vpc-wz9a8*********** |
| UserVpcOwnerId |
string |
No |
Owner ID of the user VPC. |
vpc-******** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
You can call this operation to switch the primary zone of the tenant. |
||
| RequestId |
string |
Request ID. |
EE205C00-30E4-****-****-87E3A8A2AA0C |
Examples
Success response
JSON format
{
"RequestId": "EE205C00-30E4-****-****-87E3A8A2AA0C"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.