azurerm_network_interfaceNivis Nix constructor for the azurerm_network_interface resource (provider azurerm). This reference is derived from the provider binary's own schema via nivis gen — it always matches the real provider.
Constructor
{
name,
location,
resource_group_name,
accelerated_networking_enabled ? null,
auxiliary_mode ? null,
auxiliary_sku ? null,
dns_servers ? null,
edge_zone ? null,
id ? null,
internal_dns_name_label ? null,
ip_forwarding_enabled ? null,
cfg_name ? null,
tags ? null,
ip_configuration ? null,
timeouts ? null,
overrides ? {}
}Required arguments
locationresource_group_name
Optional arguments
accelerated_networking_enabled(defaults tonull)auxiliary_mode(defaults tonull)auxiliary_sku(defaults tonull)dns_servers(defaults tonull)edge_zone(defaults tonull)id(defaults tonull)internal_dns_name_label(defaults tonull)ip_forwarding_enabled(defaults tonull)cfg_name(defaults tonull)tags(defaults tonull)ip_configuration(defaults tonull)timeouts(defaults tonull)
Computed outputs
Read these from the resource's refAttr:
applied_dns_serversinternal_domain_name_suffixmac_addressprivate_ip_addressprivate_ip_addressesvirtual_machine_id
Example
azurerm_network_interface {
name = "network_interface";
location = …; # required
resource_group_name = …; # required
}The reference for every provider is generated from the provider's own schema, not copied from its documentation.