核查db是否可以升级为高可用-CheckUDBInstanceToHAAllowance
核查db是否可以升级为高可用
Request Parameters
Parameter name | Type | Description | Required |
Region | string | 数据中心,请参见数据中心RegionList | Yes |
ProjectId | string | 项目编号 | No |
DBId | string | 实例的Id,该值可以通过DescribeUDBInstance获取 | Yes |
Response Elements
Parameter name | Type | Description | Required |
RetCode | int | 操作返回码 | Yes |
Action | string | 操作名称 | Yes |
Allowance | string | Yes ,No ,Yes即可以升级,No为不可以升级 | No |
Request Example
http(s)://api.ucloud.cn/?Action=CheckUDBInstanceToHAAllowance &Region=cn-east-01 &DBId=00f9868c-c7f5-4852-9eac-d200b678f0e1
Response Example
{ "Action": "CheckUDBInstanceToHAAllowanceResponse", "RetCode": 0, "Allowance": "Yes" }