NetworkSecurityRule.UpdateDefinitionStages.WithSourcePort<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public interface WithSourcePort
The stage of the network rule definition allowing the source port(s) to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
Network |
fromAnyPort()
Makes this rule apply to any source port. |
Network |
fromPort(int port)
Specifies the source port to which this rule applies. |
Network |
fromPortRange(int from, int to)
Specifies the source port range to which this rule applies. |
Method Details
fromAnyPort
public WithDestinationAddress
Makes this rule apply to any source port.
Returns:
fromPort
public WithDestinationAddress
Specifies the source port to which this rule applies.
Parameters:
Returns:
fromPortRange
public WithDestinationAddress
Specifies the source port range to which this rule applies.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for