Azure Virtual Network (VNet) subnet
azure.subscription.networkService.subnet MQL resource for querying Azure infrastructure with cnquery and cnspec.
Azure
Azure Virtual Network (VNet) subnet
Use MQL in cnspec shell or policy:
azure.subscription.networkService.subnetMin version: 9.0.0Defaults:
id name addressPrefixRelationships
6 resources · 10 relationships·Click to select, expand fields to see properties.
Fields (8)
| Field | Type | Description |
|---|---|---|
addressPrefixrequired | string | Subnet address prefix |
etagrequired | string | Subnet etag |
idrequired | string | Subnet ID |
ipConfigurations | []azure.subscription.networkService.virtualNetworkGateway.ipConfig | List of IP configurations for the subnet |
namerequired | string | Subnet name |
natGateway | azure.subscription.networkService.natGateway | The NAT gateway this subnet is associated with, if any |
propertiesrequired | dict | Subnet properties |
typerequired | string | Subnet type |