APIs

This page describes individual resources that can be used with Cloud NAT.

The Cloud NAT APIs and gcloud commands are part of Compute Engine.

Cloud NAT is configured using new Cloud Router commands and parameters.

gcloud SDK commands

Existing Cloud Router commands can be found in the gcloud command-line interface documentation.

New or updated commands are as follows:

Rest API

All NAT operations are performed on the Router resource. They all require OAuth 2.0 authentication.

New or updated commands are as follows:

  • routers.insert
    Creates a Cloud Router. You can specify a NAT configuration when you create the router.
  • routers.update
    Updates a Cloud Router. You can specify a NAT configuration when you update the router.
  • routers.patch
    Patches a Cloud Router. You can specify a NAT configuration when you patch the router.
  • routers.getRouterStatus
    Gets runtime information on the specified Cloud Router. This information includes the status of the NAT.
  • routers.getNatMappingInfo
    Retrieves runtime NAT mapping information of VM endpoints.
Kunde den här sidan hjälpa dig? Berätta:

Skicka feedback om ...