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 com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
Resource.DefinitionWithRegion<T>, Resource.DefinitionWithTags<T>, Resource.UpdateWithTags<T>Nested classes/interfaces inherited from interface com.azure.resourcemanager.network.models.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 com.azure.resourcemanager.network.models.HasAssociatedSubnets
listAssociatedSubnetsMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.HasInnerModel
innerModelMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasManager
managerMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasName
nameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.HasResourceGroup
resourceGroupNameMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Refreshable
refresh, refreshAsyncMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.arm.models.Resource
region, regionName, tags, typeMethods inherited from interface com.azure.resourcemanager.resources.fluentcore.model.Updatable
updateMethods inherited from interface com.azure.resourcemanager.network.models.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
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
-