ionoscloud_natgateway_ruleNivis Nix constructor for the ionoscloud_natgateway_rule resource (provider ionoscloud). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
datacenter_id,
natgateway_id,
public_ip,
source_subnet,
id ? null,
location ? null,
cfg_name ? null,
protocol ? null,
target_subnet ? null,
type ? null,
target_port_range ? null,
timeouts ? null,
overrides ? {}
}Required arguments
datacenter_idnatgateway_idpublic_ipsource_subnet
Optional arguments
id(defaults tonull)location(defaults tonull)cfg_name(defaults tonull)protocol(defaults tonull)target_subnet(defaults tonull)type(defaults tonull)target_port_range(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
(none)
Example
ionoscloud_natgateway_rule {
name = "natgateway_rule";
datacenter_id = …; # required
natgateway_id = …; # required
public_ip = …; # required
source_subnet = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.