查询主机地域列表

最近更新时间: 2026-09-17 00:02:49

1. 接口描述

接口请求域名: cwp.api3.fincloud.tencent.cn。

查询机器地域列表

默认接口请求频率限制:20次/秒。

接口更新时间:0001-01-01 00:00:00。

接口既验签名又鉴权。

2. 输入参数

以下请求参数列表仅列出了接口请求参数和部分公共参数,完整公共参数列表见公共请求参数

参数名称 必选 允许NULL 类型 描述
Action String 公共参数,本接口取值:DescribeMachineRegionList
Version String 公共参数,本接口取值:2018-02-28
Region String 公共参数,地域信息本接口不需要传递此参数。

3. 输出参数

参数名称 类型 描述
RegionList Array of RegionListDetail 云服务器类型地域列表
示例值:查看
RequestId String 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。

4. 错误码

以下仅列出了接口业务逻辑相关的错误码,其他错误码详见公共错误码

错误码 描述
InternalError 内部错误。
MissingParameter 缺少参数错误。
ResourceNotFound 资源不存在。
InvalidParameter 参数错误。
OperationDenied 操作被拒绝。
InvalidParameterValue 参数取值错误。

5. 示例

示例1 示例

查询用户所有云服务器已有地域的地域列表

输入示例

POST / HTTP/1.1
Host: cwp.api3.fincloud.tencent.cn
Content-Type: application/json
X-TC-Action: DescribeMachineRegionList
<Public request parameters>

{}

输出示例

{"Response ":{" RegionList":[{"CloudFrom ": 0," MachineType ":" ALL "," RegionList ":[{" Region":"all-regions","RegionCode":"all","RegionId": 999,"RegionName":"All Regions "," RegionNameEn ":" All regions "},{"Region ":" ap-city1-ecm-cm2 "," RegionCode ":" ap-city1-ecm-cm2 "," RegionId ": 1063," RegionName ":" City 1 City 1 Mobile 2","RegionNameEn":"Country 1ap-city1-ecm-cm2 "},{" Region":"ap-city1-ecm-cm3","RegionCode":" ap-city1-ecm-cm3"," RegionId": 1058," RegionName":" City 1 City 1 Mobile 3"," RegionNameEn":" Country 1 (ap-city 1-ecm-cm3)"},{" Region":" ap-city 1"," RegionCode":" nj"," RegionId": 33," RegionName":" City 1 Region City 1"," RegionNameEn":" Country 2 (city1)"}]}]," RequestId":" 94245821-efb0 - 4220-a909 - 6b58888e2ffe "}}