---
type: resource-type
title: NetworkInterface
description: azure resource type Microsoft.Network/networkInterfaces
name: NetworkInterface
lexicon: azure
resource_type: Microsoft.Network/networkInterfaces
---
`Microsoft.Network/networkInterfaces`, a resource type of the azure lexicon.

## Properties

- `name` (`string`, required): The name of the network interface.
- `properties` (`NetworkInterface_CommonNetworkInterfacePropertiesFormat`, required): Properties of the network interface.
- `extendedLocation` (`NetworkInterface_CommonExtendedLocation`, optional): The extended location of the network interface.
- `id` (`string`, optional): Resource ID.
- `location` (`string`, optional): Resource location.
- `resources` (`any[]`, optional)
- `tags` (`Record<string, unknown>`, optional): Resource tags.

## Attributes

- `id`
- `provisioningState`

## Governed by

- [AZR028](/rules/AZR028.md): Network interface missing NSG — associate an NSG to control network traffic
