Skip to main content

router_nat_mapping_info

Creates, updates, deletes, gets or lists a router_nat_mapping_info resource.

Overview​

Namerouter_nat_mapping_info
TypeResource
Idgoogle.compute.router_nat_mapping_info

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
instanceNamestringOutput only. Name of the VM instance which the endpoint belongs to
interfaceNatMappingsarray

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_nat_mapping_infoselectproject, region, routerfilter, maxResults, natName, orderBy, pageToken, returnPartialSuccessRetrieves runtime Nat mapping information of VM endpoints.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
projectstring
regionstring
routerstring
filterstring
maxResultsinteger (uint32)
natNamestring
orderBystring
pageTokenstring
returnPartialSuccessboolean

SELECT examples​

Retrieves runtime Nat mapping information of VM endpoints.

SELECT
instanceName,
interfaceNatMappings
FROM google.compute.router_nat_mapping_info
WHERE project = '{{ project }}' -- required
AND region = '{{ region }}' -- required
AND router = '{{ router }}' -- required
AND filter = '{{ filter }}'
AND maxResults = '{{ maxResults }}'
AND natName = '{{ natName }}'
AND orderBy = '{{ orderBy }}'
AND pageToken = '{{ pageToken }}'
AND returnPartialSuccess = '{{ returnPartialSuccess }}'
;