vpc — Virtual Private Cloud
vpc · 2017-03-12

DescribeNatGateways

POST

Query NAT gateways.

Wire call

Converge Cloud is RPC over HTTP. There is one path — / — and the action travels in the X-TC-Action header. The /vpc/DescribeNatGateways path used in the OpenAPI document is a documentation convenience so each action is addressable; it is not a route on the server.

curl
curl -sS https://vpc.api3.convergecloud.com/ \
  -H 'Authorization: TC3-HMAC-SHA256 Credential=<SecretId>/<YYYY-MM-DD>/vpc/tc3_request, SignedHeaders=content-type;host;x-tc-action, Signature=<sig>' \
  -H 'Content-Type: application/json; charset=utf-8' \
  -H 'Host: vpc.api3.convergecloud.com' \
  -H 'X-TC-Action: DescribeNatGateways' \
  -H 'X-TC-Version: 2017-03-12' \
  -H 'X-TC-Timestamp: <unix-seconds>' \
  -H 'X-TC-Region: luzon' \
  -d '{"Offset":0,"Limit":20}'

Request parameters

FieldTypeRequiredDescription
NatGatewayIdsstring[]—The unified ID of the NAT gateways, such as `nat-123xx454`.
FiltersFilter[]—Filters. `NatGatewayIds` and `Filters` cannot be specified at the same time.
Offsetinteger—Offset. Default value: 0.
Limitinteger—Number of returned results. Default value: 20. Maximum value: 100.

Response

Fields are returned inside the Response envelope. Converge Cloud answers HTTP 200 for errors as well as successes, so read Response.Error rather than the status code — and test for the presence of that object, because Code is occasionally the empty string.

FieldTypeDescription
NatGatewaySetNatGateway[]NAT gateway object array.
TotalCountintegerThe number of eligible NAT gateway objects.
RequestIdstringThe unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
Success
{
  "Response": {
    "NatGatewaySet": …,
    "TotalCount": …,
    "RequestId": "…"
  }
}
Error
{
  "Response": {
    "Error": { "Code": "…", "Message": "…" },
    "RequestId": "…"
  }
}

Try it

CredentialThe key never leaves this tab — it signs the request here. The signed request goes to /api-relay/vpc.
Request bodyvalid JSONPOST vpc.api3.convergecloud.com · DescribeNatGateways
Read-only. Creates nothing.
Recorded example response — captured 2026-09-17
{
  "Response": {
    "NatGatewaySet": [
      {
        "NatGatewayId": "nat-b6ku8fsk",
        "NatGatewayName": "example-network",
        "GatewayType": "NORMAL",
        "VpcId": "vpc-5gqs921z",
        "CreatedTime": "2026-09-17 10:22:38",
        "State": "DELETING",
        "NetworkState": "AVAILABLE",
        "InternetMaxBandwidthOut": 20,
        "InternetMaxBandwidthIn": 5000,
        "MaxConcurrentConnection": 1000000,
        "PublicIpAddressSet": [
          {
            "AddressId": "eip-lrx681be",
            "PublicIpAddress": "203.0.113.30",
            "IsBlocked": false,
            "BlockType": "NORMAL",
            "MasterBackupStatus": "INITIAL",
            "UsageStatus": "INUSE"
          }
        ],
        "DestinationIpPortTranslationNatRuleSet": [],
        "SourceIpTranslationNatRuleSet": [],
        "Zone": "clz-1",
        "StrictSnatMode": false,
        "SmartScheduleMode": false,
        "TagSet": [],
        "SharedCount": null,
        "DirectConnectGatewayIds": [],
        "SubnetId": "",
        "SecurityGroupSet": [],
        "IsExclusive": null,
        "ExclusiveGatewayBandwidth": null,
        "DedicatedClusterId": null
      }
    ],
    "TotalCount": 1,
    "RequestId": "f088f2d5-d88b-a043-9ed9-5c2bbebc33e4"
  }
}