Mondoo Docs

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.virtualNetwork
Min version: 9.0.0Defaults: id name location

Relationships

Mini Map
Azure
4 resources · 5 relationshipsClick to select, expand fields to see properties.

Fields (11)

FieldTypeDescription
dhcpOptionsrequired
azure.subscription.networkService.virtualNetwork.dhcpOptionsVirtual Network DHCP options
enableDdosProtectionrequired
intWhether DDoS protection is enabled for all the protected resources in the virtual network
enableVmProtectionrequired
intWhether VM protection is enabled for all the subnets in the virtual network
etagrequired
stringVirtual Network etag
idrequired
stringVirtual Network ID
locationrequired
stringVirtual Network location
namerequired
stringVirtual Network name
propertiesrequired
dictVirtual Network properties
subnetsrequired
[]azure.subscription.networkService.subnetList of subnets within the virtual network
tagsrequired
map[string]stringVirtual Network tags
typerequired
stringVirtual Network type