Creates and manages Nat Gateway objects.
Manages a Nat Gateway on IonosCloud.
name
- (Required)[string] Name of the NAT gateway.
public_ips
- (Required)[list]Collection of public IP addresses of the NAT gateway. Should be customer reserved IP addresses in that location.
lans
- (Required)[list] A list of Local Area Networks the node pool should be part of.
id
- (Required)[int] Id for the LAN connected to the NAT gateway.
gateway_ips
- (Optional)[list] Collection of gateway IP addresses of the NAT gateway. Will be auto-generated if not provided. Should ideally be an IP belonging to the same subnet as the LAN.
datacenter_id
- (Required)[string] A Datacenter's UUID.
A Nat Gateway resource can be imported using its resource id
and the datacenter id
, e.g.