核查db是否可以升级为高可用-CheckUDBInstanceToHAAllowance

核查db是否可以升级为高可用

Request Parameters

Parameter nameTypeDescriptionRequired
Regionstring数据中心,请参见数据中心RegionListYes
ProjectIdstring项目编号No
DBIdstring实例的Id,该值可以通过DescribeUDBInstance获取Yes

Response Elements

Parameter nameTypeDescriptionRequired
RetCodeint操作返回码Yes
Actionstring操作名称Yes
AllowancestringYes ,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"
}