---
title: Subnet
description: Datadog, the leading service for cloud-scale monitoring.
breadcrumbs: Docs > DDSQL Reference > Data Directory > Subnet
---

# Subnet

A Subnet in Azure is a logical subdivision of a virtual network that allows you to segment and organize resources within defined IP address ranges. It enables isolation, traffic control, and efficient use of network space while supporting features like network security groups, route tables, and service endpoints.

```
azure.network_subnet
```

## Fields

| Title                                 | ID   | Type          | Data Type                                                                                                                                                                                                 | Description |
| ------------------------------------- | ---- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ----------- |
| _key                                  | core | string        |
| address_prefix                        | core | string        | The address prefix for the subnet.                                                                                                                                                                        |
| address_prefixes                      | core | array<string> | List of address prefixes for the subnet.                                                                                                                                                                  |
| default_outbound_access               | core | bool          | Set this property to false to disable default outbound connectivity for all VMs in the subnet. This property can only be set at the time of subnet creation and cannot be updated for an existing subnet. |
| delegations                           | core | json          | An array of references to the delegations on the subnet.                                                                                                                                                  |
| etag                                  | core | string        | A unique read-only string that changes whenever the resource is updated.                                                                                                                                  |
| id                                    | core | string        | Resource ID.                                                                                                                                                                                              |
| location                              | core | string        |
| name                                  | core | string        | The name of the resource that is unique within a resource group. This name can be used to access the resource.                                                                                            |
| private_endpoint_network_policies     | core | string        | Enable or Disable apply network policies on private end point in the subnet.                                                                                                                              |
| private_link_service_network_policies | core | string        | Enable or Disable apply network policies on private link service in the subnet.                                                                                                                           |
| provisioning_state                    | core | string        | The current provisioning state.                                                                                                                                                                           |
| purpose                               | core | string        | A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.                                                                               |
| resource_group                        | core | string        |
| service_endpoints                     | core | json          | An array of service endpoints.                                                                                                                                                                            |
| subscription_id                       | core | string        |
| subscription_name                     | core | string        |
| tags                                  | core | hstore_csv    |
| type                                  | core | string        | Resource type.                                                                                                                                                                                            |
