Interface NetworkSecurityGroup
- All Superinterfaces:
GroupableResource<NetworkManager, NetworkSecurityGroupInner>, HasAssociatedSubnets, HasId, HasInnerModel<NetworkSecurityGroupInner>, HasManager<NetworkManager>, HasName, HasResourceGroup, Indexable, Refreshable<NetworkSecurityGroup>, Resource, Updatable<NetworkSecurityGroup.Update>, UpdatableWithTags<NetworkSecurityGroup>
public interface NetworkSecurityGroup
extends GroupableResource<NetworkManager, NetworkSecurityGroupInner>, Refreshable<NetworkSecurityGroup>, Updatable<NetworkSecurityGroup.Update>, UpdatableWithTags<NetworkSecurityGroup>, HasAssociatedSubnets
Network security group.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe entirety of the network security group definition.static interfaceGrouping of network security group definition stages.static interfaceThe template for an update operation, containing all the settings that can be modified.static interfaceGrouping of network security group update stages.Nested classes/interfaces inherited from interface Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>Nested classes/interfaces inherited from interface UpdatableWithTags
UpdatableWithTags.UpdateWithTags<T> -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets default security rules associated with this network security group.Gets the IDs of the network interfaces associated with this network security group.Gets security rules associated with this network security group.Methods inherited from interface HasAssociatedSubnets
listAssociatedSubnetsMethods inherited from interface HasInnerModel
innerModelMethods inherited from interface HasManager
managerMethods inherited from interface HasResourceGroup
resourceGroupNameMethods inherited from interface Refreshable
refresh, refreshAsyncMethods inherited from interface Resource
region, regionName, tags, typeMethods inherited from interface UpdatableWithTags
updateTags
-
Method Details
-
securityRules
Map<String, NetworkSecurityRule> securityRules()Gets security rules associated with this network security group.- Returns:
- security rules associated with this network security group, indexed by their names
-
defaultSecurityRules
Map<String, NetworkSecurityRule> 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
-