Query NAT Gateway Price

Last updated: 2020-06-04 17:45:53

    Note:

    This is a legacy API which has been hidden and will no longer be updated. We recommend using the new VPC API 3.0 which is standardized and faster.

    1. API Description

    This API (InquiryNatPrice) is used to query NAT gateway price.
    Domain: vpc.api.qcloud.com

    2. Input Parameters

    Parameter Name Required Type Description
    maxConcurrent Yes Int Maximum concurrent connection of NAT gateway

    3. Output Parameters

    Parameter Name Type Description
    code Int Error code. 0: Succeeded; other values: Failed
    message String Error message
    data Array Returned price array

    Details of data

    Parameter Name Type Description
    data.price Int Description (to be appended)
    data.totalCost Int Description (to be appended)
    data.realTotalCost Int Description (to be appended)
    data.timeSpan Int Description (to be appended)
    data.timeUnit String Description (to be appended)
    data.goodsNum Int Description (to be appended)
    data.policy Int Description (to be appended)
    data.unitPrice Int Description (to be appended)

    4. Example

    Input

    https://vpc.api.qcloud.com/v2/index.php?Action=InquiryNatPrice
    &maxConcurrent=2000000
    &Common request parameters
    

    Output

    {
        "code":"0",
        "message":"",
        "data":[
            {
                "price":"150",
                "totalCost":"150",
                "realTotalCost":"150",
                "timeSpan":"1",
                "timeUnit":"h",
                "goodsNum":"1",
                "policy":"100",
                "unitPrice":"150"
            }
        ]
    }

    Was this page helpful?

    Was this page helpful?

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