ionoscloud_natgateway_rule

Nivis 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_id
  • natgateway_id
  • public_ip
  • source_subnet
Optional arguments
  • id (defaults to null)
  • location (defaults to null)
  • cfg_name (defaults to null)
  • protocol (defaults to null)
  • target_subnet (defaults to null)
  • type (defaults to null)
  • target_port_range (defaults to null)
  • timeouts (defaults to null)
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.