Interface NetworkSecurityRule.UpdateDefinitionStages.WithSourcePort<ParentT>
-
- Type Parameters:
ParentT
- the stage of the parent definition to return to after attaching this definition
- All Known Subinterfaces:
NetworkSecurityRule.UpdateDefinition<ParentT>
- Enclosing interface:
- NetworkSecurityRule.UpdateDefinitionStages
public static interface NetworkSecurityRule.UpdateDefinitionStages.WithSourcePort<ParentT>
The stage of the network rule definition allowing the source port(s) to be specified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT>
fromAnyPort()
Makes this rule apply to any source port.NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT>
fromPort(int port)
Specifies the source port to which this rule applies.NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT>
fromPortRange(int from, int to)
Specifies the source port range to which this rule applies.NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT>
fromPortRanges(String... ranges)
Specifies the source port ranges to which this rule applies.
-
-
-
Method Detail
-
fromPort
NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> fromPort(int port)
Specifies the source port to which this rule applies.- Parameters:
port
- the source port number- Returns:
- the next stage of the definition
-
fromAnyPort
NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> fromAnyPort()
Makes this rule apply to any source port.- Returns:
- the next stage of the definition
-
fromPortRange
NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> fromPortRange(int from, int to)
Specifies the source port range to which this rule applies.- Parameters:
from
- the starting port numberto
- the ending port number- Returns:
- the next stage of the definition
-
fromPortRanges
NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> fromPortRanges(String... ranges)
Specifies the source port ranges to which this rule applies.- Parameters:
ranges
- the starting port ranges- Returns:
- the next stage of the definition
-
-