Query NAT Gateway Operation Status

Last updated: 2019-11-29 16:14:50

    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.

    5. Example

    Input

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

    Output

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

    Was this page helpful?

    Was this page helpful?

    • Not at all
    • Not very helpful
    • Somewhat helpful
    • Very helpful
    • Extremely helpful
    Send Feedback
    Help