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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>"
},
"name": "nsg_rules_for"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes |