Query NAT Gateway Operation Status

Last updated: 2017-08-10 15:00:02

PDF

1. API Description

This API (QueryNatGatewayProductionStatus) is used to query the production status of the NAT gateway
Domain for API request: vpc.api.qcloud.com

2. Input Parameters

The following request parameter list only provides API request parameters. Common request parameters need to be added when the API is called. For more information, refer to Common Request Parameters.

Parameter Name Required Type Description
billId Yes String The order ID returned when creating the gateway.

3. Output Parameters

Parameter Name Type Description
code Int Error code. 0: Succeeded, other values: Failed
message string Error message
data.status int Production result: 0: Succeeded; 1: Failed; 2: In progress
data.errorCode string Error code

4. Error Codes

The API does not have a business error code. For common error codes, see VPC Error Codes for details

5. Example

Input


https://vpc.api.qcloud.com/v2/index.php?Action=QueryNatGatewayProductionStatus
&<Common request parameters>
&billId=2160000000

Output

{
    "code":"0",
    "message":"",
    "data":{
          "status":0,
          "errorCode":0
        }
}