### YamlMime:JavaType
uid: "com.microsoft.azure.management.network.NetworkSecurityGroup"
fullName: "com.microsoft.azure.management.network.NetworkSecurityGroup"
name: "NetworkSecurityGroup"
nameWithType: "NetworkSecurityGroup"
summary: "Network security group."
syntax: "public interface **NetworkSecurityGroup** extends <,>, <>, <>, <>, "
methods:
- uid: "com.microsoft.azure.management.network.NetworkSecurityGroup.defaultSecurityRules()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityGroup.defaultSecurityRules()"
name: "defaultSecurityRules()"
nameWithType: "NetworkSecurityGroup.defaultSecurityRules()"
modifiers:
- "abstract"
syntax: "public abstract Map defaultSecurityRules()"
returns:
description: "default security rules associated with this network security group, indexed by their name"
type: "<,>"
- uid: "com.microsoft.azure.management.network.NetworkSecurityGroup.networkInterfaceIds()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityGroup.networkInterfaceIds()"
name: "networkInterfaceIds()"
nameWithType: "NetworkSecurityGroup.networkInterfaceIds()"
modifiers:
- "abstract"
syntax: "public abstract Set networkInterfaceIds()"
returns:
description: "the IDs of the network interfaces associated with this network security group"
type: "<>"
- uid: "com.microsoft.azure.management.network.NetworkSecurityGroup.securityRules()"
fullName: "com.microsoft.azure.management.network.NetworkSecurityGroup.securityRules()"
name: "securityRules()"
nameWithType: "NetworkSecurityGroup.securityRules()"
modifiers:
- "abstract"
syntax: "public abstract Map securityRules()"
returns:
description: "security rules associated with this network security group, indexed by their names"
type: "<,>"
type: "interface"
desc: "Network security group."
implements:
- ""
- "<>"
- "<,>"
- "<>"
- "<>"
metadata: {}
package: "com.microsoft.azure.management.network"
artifact: com.microsoft.azure:azure-mgmt-network:1.41.4