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()

Gets default security rules associated with this network security group.

abstract Set<String> networkInterfaceIds()

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

abstract Map<String,NetworkSecurityRule> securityRules()

Gets security rules associated with this network security group.

Method Details

defaultSecurityRules

public abstract Map defaultSecurityRules()

Gets default security rules associated with this network security group.

Returns:

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

networkInterfaceIds

public abstract Set networkInterfaceIds()

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

Returns:

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

securityRules

public abstract Map securityRules()

Gets security rules associated with this network security group.

Returns:

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

Applies to