ionoscloud_nic

Nivis Nix constructor for the ionoscloud_nic 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,
  lan,
  server_id,
  dhcp ? null,
  dhcpv6 ? null,
  firewall_active ? null,
  firewall_type ? null,
  id ? null,
  ips ? null,
  ipv6_cidr_block ? null,
  ipv6_ips ? null,
  location ? null,
  mac ? null,
  cfg_name ? null,
  security_groups_ids ? null,
  flowlog ? null,
  timeouts ? null,
  overrides ? {}
}
Required arguments
  • datacenter_id
  • lan
  • server_id
Optional arguments
  • dhcp (defaults to null)
  • dhcpv6 (defaults to null)
  • firewall_active (defaults to null)
  • firewall_type (defaults to null)
  • id (defaults to null)
  • ips (defaults to null)
  • ipv6_cidr_block (defaults to null)
  • ipv6_ips (defaults to null)
  • location (defaults to null)
  • mac (defaults to null)
  • cfg_name (defaults to null)
  • security_groups_ids (defaults to null)
  • flowlog (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • device_number
  • pci_slot
Example
ionoscloud_nic {
  name = "nic";
  datacenter_id = …;  # required
  lan = …;  # required
  server_id = …;  # required
}

The reference for every provider is generated from the provider's own schema, not copied from its documentation.