查询NAT网关的操作状态

最近更新时间:2019-08-09 14:50:35

我的收藏

1. 接口描述

本接口(QueryNatGatewayProductionStatus)用于查询 NAT 网关的生产状态 接口请求域名:vpc.api.qcloud.com

2. 输入参数

以下请求参数列表仅列出了接口请求参数,正式调用时需要加上公共请求参数,详情请参见 公共请求参数 页面。其中,此接口的 Action 字段为 QueryNatGatewayProductionStatus。
参数名称
必选
类型
描述
billId
String
创建时返回的订单 ID, 用该 ID 查询最后结果

3. 输出参数

参数名称
类型
描述
code
int
错误码。0: 成功, 其他值: 失败
message
string
错误信息
data.status
int
生产结果:0: 成功, 1:失败, 2:进行中
data.errorCode
string
错误码

4. 错误码表

该接口没有业务错误码,公共错误码详见 vpc 错误码

5. 示例

输入
https://vpc.api.qcloud.com/v2/index.php?Action=QueryNatGatewayProductionStatus
&<公共请求参数>
&billId=2160000000
输出
{
"code":"0",
"message":"",
"data":{
"status":0,
"errorCode":0
}
}