NetworkSecurityRule.UpdateStages.WithDestinationPort Interface
public static interface NetworkSecurityRule.UpdateStages.WithDestinationPort
The stage of the network rule description allowing the destination port(s) to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
toAnyPort()
Makes this rule apply to any destination port. |
abstract Update |
toPort(int port)
Specifies the destination port to which this rule applies. |
abstract Update |
toPortRange(int from, int to)
Specifies the destination port range to which this rule applies. |
abstract Update |
toPortRanges(String[] ranges)
Specifies the destination port ranges to which this rule applies. |
Method Details
toAnyPort
public abstract NetworkSecurityRule.Update toAnyPort()
Makes this rule apply to any destination port.
Returns:
toPort
public abstract NetworkSecurityRule.Update toPort(int port)
Specifies the destination port to which this rule applies.
Parameters:
Returns:
toPortRange
public abstract NetworkSecurityRule.Update toPortRange(int from, int to)
Specifies the destination port range to which this rule applies.
Parameters:
Returns:
toPortRanges
public abstract NetworkSecurityRule.Update toPortRanges(String[] ranges)
Specifies the destination port ranges to which this rule applies.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor