ionoscloud_nicNivis 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_idlanserver_id
Optional arguments
dhcp(defaults tonull)dhcpv6(defaults tonull)firewall_active(defaults tonull)firewall_type(defaults tonull)id(defaults tonull)ips(defaults tonull)ipv6_cidr_block(defaults tonull)ipv6_ips(defaults tonull)location(defaults tonull)mac(defaults tonull)cfg_name(defaults tonull)security_groups_ids(defaults tonull)flowlog(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
device_numberpci_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.