azurerm_network_interface

Nivis 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
  • location
  • resource_group_name
Optional arguments
  • accelerated_networking_enabled (defaults to null)
  • auxiliary_mode (defaults to null)
  • auxiliary_sku (defaults to null)
  • dns_servers (defaults to null)
  • edge_zone (defaults to null)
  • id (defaults to null)
  • internal_dns_name_label (defaults to null)
  • ip_forwarding_enabled (defaults to null)
  • cfg_name (defaults to null)
  • tags (defaults to null)
  • ip_configuration (defaults to null)
  • timeouts (defaults to null)
Computed outputs

Read these from the resource's refAttr:

  • applied_dns_servers
  • internal_domain_name_suffix
  • mac_address
  • private_ip_address
  • private_ip_addresses
  • virtual_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.