Partilhar via


NetworkSecurityGroup Interface

Implements

public interface NetworkSecurityGroup
extends GroupableResource<NetworkManager,NetworkSecurityGroupInner>, Refreshable<NetworkSecurityGroup>, Updatable<Update>, UpdatableWithTags<NetworkSecurityGroup>, HasAssociatedSubnets

Network security group.

Method Summary

Modifier and Type Method and Description
abstract Map<String,NetworkSecurityRule> defaultSecurityRules()
abstract Set<String> networkInterfaceIds()
abstract Map<String,NetworkSecurityRule> securityRules()

Method Details

defaultSecurityRules

public abstract Map defaultSecurityRules()

Returns:

default security rules associated with this network security group, indexed by their name

networkInterfaceIds

public abstract Set networkInterfaceIds()

Returns:

the IDs of the network interfaces associated with this network security group

securityRules

public abstract Map securityRules()

Returns:

security rules associated with this network security group, indexed by their names

Applies to