NetworkSecurityGroup
Resource Icon

Resource Overview
Network Security Group is a security resource that controls inbound and outbound network traffic to Azure resources within a Virtual Network using rule-based filtering.
Using priority-based security rules, traffic can be allowed or denied based on protocol, port, and IP address ranges, and applied at the Subnet or Network Interface level.
This enables precise control over network access boundaries and enhances the overall security posture of applications.
Associated Resources
Parent Resources
Connected Resources
Resource Configuration
linked_subnet_names: Names of the Subnets to associate with the Network Security Grouplinked_network_interface_names: Names of the Network Interfaces to associate with the Network Security Group
Security Rules (security_rules)
security_rules.priority: Rule priority -100~4096security_rules.direction: Traffic direction to which the rule applies -Inbound,Outboundsecurity_rules.access: Whether network traffic is allowed -Allow,Denysecurity_rules.protocol: Network protocol to which the rule applies -Tcp,Udp,Icmp,Esp,Ah,*security_rules.source_port_ranges: Source port or port range - integer or0~65535security_rules.destination_port_ranges: Destination port or port range - integer or0~65535security_rules.source_address_prefixes: CIDR or source IP rangesecurity_rules.destination_address_prefixes: CIDR or destination IP rangesecurity_rules.description: Description of the security rule
Tags
tag: Tags used to categorize resources - maximum 512 characters,key:value