Azure Virtual network (VNet)
azure.subscription.networkService.virtualNetwork MQL resource for querying Azure infrastructure with cnquery and cnspec.
Azure
Azure Virtual network (VNet)
Use MQL in cnspec shell or policy:
azure.subscription.networkService.virtualNetworkMin version: 9.0.0Defaults:
id name locationRelationships
4 resources · 5 relationships·Click to select, expand fields to see properties.
Fields (11)
| Field | Type | Description |
|---|---|---|
dhcpOptionsrequired | azure.subscription.networkService.virtualNetwork.dhcpOptions | Virtual Network DHCP options |
enableDdosProtectionrequired | int | Whether DDoS protection is enabled for all the protected resources in the virtual network |
enableVmProtectionrequired | int | Whether VM protection is enabled for all the subnets in the virtual network |
etagrequired | string | Virtual Network etag |
idrequired | string | Virtual Network ID |
locationrequired | string | Virtual Network location |
namerequired | string | Virtual Network name |
propertiesrequired | dict | Virtual Network properties |
subnetsrequired | []azure.subscription.networkService.subnet | List of subnets within the virtual network |
tagsrequired | map[string]string | Virtual Network tags |
typerequired | string | Virtual Network type |
Azure network firewall network rule
azure.subscription.networkService.firewall.networkRule MQL resource for querying Azure infrastructure with cnquery and cnspec.
Azure Virtual Network (VNet) DHCP options
azure.subscription.networkService.virtualNetwork.dhcpOptions MQL resource for querying Azure infrastructure with cnquery and cnspec.