nsg_rules_for
Retrieve all network security group rules for an Azure VM, NIC, subnet, or IP, showing inbound and outbound layers in evaluation order, sorted by priority.
Instructions
Every NSG layer on a VM, NIC, private endpoint, public IP or subnet, in Azure evaluation order.
Inbound shows subnet NSG then NIC NSG. Outbound shows NIC NSG then subnet NSG. Rules are sorted by priority, default rules included.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes |