Interface NetworkSecurityRule
- All Superinterfaces:
ChildResource<NetworkSecurityGroup>
,HasInner<com.microsoft.azure.management.network.implementation.SecurityRuleInner>
,HasName
,HasParent<NetworkSecurityGroup>
,Indexable
public interface NetworkSecurityRule
extends HasInner<com.microsoft.azure.management.network.implementation.SecurityRuleInner>, ChildResource<NetworkSecurityGroup>
A network security rule in a network security group.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
The entirety of a network security rule definition.static interface
Grouping of security rule definition stages applicable as part of a network security group creation.static interface
The entirety of a security rule update as part of a network security group update.static interface
The entirety of a network security rule definition as part of a network security group update.static interface
Grouping of security rule definition stages applicable as part of a network security group update.static interface
Grouping of security rule update stages. -
Method Summary
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.model.HasInner
inner
Methods inherited from interface com.microsoft.azure.management.resources.fluentcore.arm.models.HasName
name
-
Method Details
-
direction
SecurityRuleDirection direction()- Returns:
- the direction of the network traffic that the network security rule applies to.
-
protocol
SecurityRuleProtocol protocol()- Returns:
- the network protocol the rule applies to
-
description
String description()- Returns:
- the user-defined description of the security rule
-
access
SecurityRuleAccess access()- Returns:
- the type of access the rule enforces
-
sourceAddressPrefix
String sourceAddressPrefix()- Returns:
- the source address prefix the rule applies to, expressed using the CIDR notation in the format: "###.###.###.###/##", and "*" means "any"
-
sourceAddressPrefixes
- Returns:
- the list of source address prefixes the rule applies to, expressed using the CIDR notation in the format: "###.###.###.###/##", and "*" means "any", or IP addresses
-
sourcePortRange
String sourcePortRange()- Returns:
- the source port range that the rule applies to, in the format "##-##", where "*" means "any"
-
sourcePortRanges
- Returns:
- the source port ranges that the rule applies to, in the format "##-##", where "*" means "any"
-
destinationAddressPrefix
String destinationAddressPrefix()- Returns:
- the destination address prefix the rule applies to, expressed using the CIDR notation in the format: "###.###.###.###/##", and "*" means "any"
-
destinationAddressPrefixes
- Returns:
- the list of destination address prefixes the rule applies to, expressed using the CIDR notation in the format: "###.###.###.###/##", and "*" means "any", or IP addresses
-
destinationPortRange
String destinationPortRange()- Returns:
- the destination port range that the rule applies to, in the format "##-##", where "*" means any
-
destinationPortRanges
- Returns:
- the destination port ranges that the rule applies to, in the format "##-##", where "*" means any
-
priority
int priority()- Returns:
- the priority number of this rule based on which this rule will be applied relative to the priority numbers of any other rules specified for this network security group
-
sourceApplicationSecurityGroupIds
- Returns:
- list of application security group ids specified as source
-
destinationApplicationSecurityGroupIds
- Returns:
- list of application security group ids specified as destination
-