natgateway
Type representing a IonosCloud NAT Gateway.
Parameters:
name
true
The name of the NAT Gateway.
Properties:
ensure
No
The basic property that the resource should be in. Valid values are present
, absent
.
public_ips
No
Collection of public IP addresses of the NAT gateway. Should be customer reserved IP addresses in that location.
lans
No
Collection of LANs connected to the NAT gateway. IPs must contain valid subnet mask. If user will not provide any IP then system will generate an IP with /24 subnet.
rules
No
A list of flow logs associated to the NAT Gateway.
flowlogs
No
A list of flow logs associated to the NAT Gateway.
datacenter_id
No
The ID of the virtual data center where the NAT Gateway will reside.
datacenter_name
No
The name of the virtual data center where the NAT Gateway will reside.
id
No
The NAT Gateway ID.
***
Changeable properties:
public_ips
lans
rules
flowlogs
Examples
To list resources:
NOTE: If two resources have the same name only one of them will be shown.
To create, update or delete a resource:
NOTE: If two resources with the same name ar found an error will be thrown, this only applies to cases where the resource cannot be identified. Example: an error is thrown for two servers with the same name in the same datacenter, not for two servers with the same name, but in different datacenters.
Last updated