该接口用于查询所有RDS地域的详情。
接口说明
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
AcceptLanguage | string | 否 | 指定返回的 LocalName 参数的语言。取值:
默认值:en-US | en-US |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "1AD222E9-E606-4A42-BF6D-8A4442913CEF",
"Regions": {
"RDSRegion": [
{
"ZoneId": "cn-hangzhou-h",
"RegionEndpoint": "rds.aliyuncs.com",
"LocalName": "China (Hangzhou)",
"RegionId": "cn-hangzhou",
"ZoneName": "Hangzhou Zone H"
}
]
}
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Order.ComboInstanceNotAllowOperate | A package instance is not allowed to operate independently. | 套餐实例不允许单独操作。 |
400 | Price.PricingPlanResultNotFound | Pricing plan price result not found. | 定价计划价格结果没有找到。 |
400 | Order.NoRealNameAuthentication | You have not passed the real-name authentication and do not meet the purchase conditions. Please log in to the user center for real-name authentication. | 您还未通过实名认证,不符合购买条件,请登录用户中心进行实名认证。 |
400 | InsufficientAvailableQuota | Your account quota limit is less than 0, please recharge before trying to purchase. | 您的账户可用额度小于0,请先充值后再尝试购买。 |
400 | CommodityServiceCalling.Exception | Failed to call commodity service. | 调用商品服务返回失败。 |
404 | InvalidAcceptLanguage.NotFound | Only Chinese (zh-CN) and English (en-US) are allowed. | - |
访问错误中心查看更多错误码。