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

## Properties

- `name` (`string`, required): The name of the network security group.
- `properties` (`NetworkSecurityGroup_CommonNetworkSecurityGroupPropertiesFormat`, required): Properties of the network security group.
- `id` (`string`, optional): Resource ID.
- `location` (`string`, optional): Resource location.
- `resources` (`any[]`, optional)
- `tags` (`Record<string, unknown>`, optional): Resource tags.

## Attributes

- `id`
- `provisioningState`
