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.
This API (QueryNatGatewayProductionStatus) is used to query the production status of the NAT gateway
Domain for API request: vpc.api.qcloud.com
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. |
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 |
The API does not have a business error code.
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?