Interface NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<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.WithDestinationPort<ParentT>The stage of the network rule definition allowing the destination port(s) to be specified.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT>toAnyPort()Makes this rule apply to any destination port.NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT>toPort(int port)Specifies the destination port to which this rule applies.NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT>toPortRange(int from, int to)Specifies the destination port range to which this rule applies.NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT>toPortRanges(String... ranges)Specifies the destination port ranges to which this rule applies.
-
-
-
Method Detail
-
toPort
NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT> toPort(int port)
Specifies the destination port to which this rule applies.- Parameters:
port- the destination port number- Returns:
- the next stage of the definition
-
toAnyPort
NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT> toAnyPort()
Makes this rule apply to any destination port.- Returns:
- the next stage of the definition
-
toPortRange
NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT> toPortRange(int from, int to)
Specifies the destination port range to which this rule applies.- Parameters:
from- the starting port numberto- the ending port number- Returns:
- the next stage of the definition
-
toPortRanges
NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT> toPortRanges(String... ranges)
Specifies the destination port ranges to which this rule applies.- Parameters:
ranges- the destination port ranges- Returns:
- the next stage of the definition
-
-