Skip to content

Cloud NAT Configs

Provider: Google Cloud
Service ID: gcp_cloud_nat
Rendering: Standard table with expandable detail rows

Quick Example

<script>
var serviceDiscoveryRequests = serviceDiscoveryRequests || [];
serviceDiscoveryRequests.push({
    service: 'gcp_cloud_nat',
    provider: 'gcp',
    region: 'europe-west2',
    source: 'live',
    attributes: ['router_name', 'region', 'network', 'nat_name', 'ip_allocation', 'subnet_scope']
});
</script>

<div data-sd-service="gcp_cloud_nat" data-sd-source="live"></div>

Default Attributes

When no attributes array is specified, these columns are displayed:

attributes: ['router_name', 'region', 'network', 'nat_name', 'ip_allocation', 'subnet_scope', 'enable_logging']

All Attributes

Attribute Display Name Format Description
router_name Router Name text From API field: name
region Region gcp_resource_name From API field: region
network Network gcp_resource_name From API field: network
nat_name NAT Config Name text From API field: nats[0].name
ip_allocation IP Allocation status_badge From API field: nats[0].natIpAllocateOption
subnet_scope Subnet Scope text From API field: nats[0].sourceSubnetworkIpRangesToNat
nat_ips NAT IPs tag_list From API field: nats[0].natIps. Default: []
min_ports_per_vm Min Ports/VM text From API field: nats[0].minPortsPerVm. Default: 64
enable_logging Logging boolean From API field: nats[0].logConfig.enable. Default: False
endpoint_types Endpoint Types tag_list From API field: nats[0].endpointTypes. Default: []
nat_count NAT Configs array_length From API field: nats. Default: 0

= included in default view

Sort Order

Results are sorted by: router_name