-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add connected_devices
information in azure_virtual_network
and azure_subnet
tables
#815
Comments
Hello @marcbrlcln, Could you please provide a bit more detail about what you mean by Are you referring to the NICs attached to the VM, or is there something else you're looking for? |
Thanks for the detailed information! I will take a look. |
Hello @marcbrlcln, I apologize for the delay in addressing this issue. I’ve raised a PR to resolve it, and I'm now getting the expected results. Here’s a snapshot of the connected devices with my subnet: Query result: > select name, jsonb_pretty(ip_configurations) from azure_subnet where name = 'turbottest38108'
+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| name | jsonb_pretty |
+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| turbottest38108 | [ |
| | { |
| | "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/turbottest38108/providers/Microsoft.Network/loadBalancers/test53/frontendIPConfigurations/test53", |
| | "name": "test53", |
| | "type": "Microsoft.Network/loadBalancers/frontendIPConfigurations", |
| | "properties": { |
| | "subnet": { |
| | "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/turbottest38108/providers/Microsoft.Network/virtualNetworks/turbottest38108/subnets/turbottest38108" |
| | }, |
| | "privateIPAddress": "10.0.2.5", |
| | "provisioningState": "Succeeded", |
| | "privateIPAddressVersion": "IPv4", |
| | "privateIPAllocationMethod": "Dynamic" |
| | } |
| | }, |
| | { |
| | "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/turbottest38108/providers/Microsoft.Network/networkInterfaces/turbottest38108/ipConfigurations/turbottest38108", |
| | "name": "turbottest38108", |
| | "type": "Microsoft.Network/networkInterfaces/ipConfigurations", |
| | "properties": { |
| | "subnet": { |
| | "id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/turbottest38108/providers/Microsoft.Network/virtualNetworks/turbottest38108/subnets/turbottest38108" |
| | }, |
| | "primary": true, |
| | "privateIPAddress": "10.0.2.4", |
| | "provisioningState": "Succeeded", |
| | "privateIPAddressVersion": "IPv4", |
| | "privateIPAllocationMethod": "Dynamic" |
| | } |
| | } |
| | ] |
+-----------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ Please let us know if you need any further assistance. Thank you! |
Thank you for your help ! |
Describe the solution you'd like
We'd like to check that a virtual network or subnet has connected devices. To do this, it'd be useful to have a column for connected devices in these tables.
The text was updated successfully, but these errors were encountered: