Azure Virtual Network (VNet) gateway
azure.subscription.networkService.virtualNetworkGateway MQL resource for querying Azure infrastructure with cnquery and cnspec.
Azure
Azure Virtual Network (VNet) gateway
Use MQL in cnspec shell or policy:
azure.subscription.networkService.virtualNetworkGatewayMin version: 9.0.0Defaults:
id name locationRelationships
5 resources · 8 relationships·Click to select, expand fields to see properties.
Fields (28)
| Field | Type | Description |
|---|---|---|
activerequired | int | Whether the virtual network gateway is active |
addressPrefixesrequired | []string | A list of address blocks reserved for this virtual network in CIDR notation |
bgpSettingsrequired | azure.subscription.networkService.bgpSettings | VNet gateway BGP settings |
connectionprivate | azure.subscription.networkService.virtualNetworkGateway.connection | Azure Virtual Network (VNet) gateway connection |
connections | []azure.subscription.networkService.virtualNetworkGateway.connection | Applicable connections for the gateway |
disableIPSecReplayProtectionrequired | int | Whether IP sec replay protection is disabled for this VNet gateway |
enableBgprequired | int | Whether BGP is enabled for this virtual network gateway |
enableBgpRouteTranslationForNatrequired | int | Whether BGP route translation is enabled for this VNet gateway |
enableDNSForwardingrequired | int | Whether DNS forwarding is enabled for this VNet gateway |
enablePrivateIPAddressrequired | int | Whether private IP must be enabled for connections |
etagrequired | string | VNet gateway etag |
gatewayTyperequired | string | VNet gateway type |
idrequired | string | VNet gateway ID |
inboundDNSForwardingEndpointrequired | string | The IP address allocated by the gateway to which DNS requests can be sent |
ipConfigprivate | azure.subscription.networkService.virtualNetworkGateway.ipConfig | Azure Virtual Network (VNet) gateway IP configuration |
ipConfigurationsrequired | []azure.subscription.networkService.virtualNetworkGateway.ipConfig | VNet gateway IP configurations |
locationrequired | string | VNet gateway location |
namerequired | string | VNet gateway name |
natRulesrequired | []azure.subscription.networkService.virtualNetworkGateway.natRule | VNet gateway NAT rules |
propertiesrequired | dict | VNet gateway properties |
provisioningStaterequired | string | VNet gateway provisioning state |
skuCapacityrequired | int | VNet gateway SKU capacity |
skuNamerequired | string | VNet gateway SKU name |
tagsrequired | map[string]string | VNet gateway tags |
typerequired | string | VNet gateway resource type |
vpnClientConfigurationrequired | dict | VPN client configuration (only set if P2S is configured for the gateway) |
vpnGatewayGenerationrequired | string | VNet gateway generation |
vpnTyperequired | string | VNet gateway VPN type |
Azure Virtual Network (VNet) DHCP options
azure.subscription.networkService.virtualNetwork.dhcpOptions MQL resource for querying Azure infrastructure with cnquery and cnspec.
Azure Virtual Network (VNet) gateway connection
azure.subscription.networkService.virtualNetworkGateway.connection MQL resource for querying Azure infrastructure with cnquery and cnspec.