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

## Properties

- `name` (`string`, required): The name of the subnet.
- `properties` (`Subnet_CommonSubnetPropertiesFormat`, required): Properties of the subnet.
- `id` (`string`, optional): Resource ID.

## Attributes

- `id`
