NetworkSecurityRule.UpdateDefinitionStages.WithSourcePort<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public static interface NetworkSecurityRule.UpdateDefinitionStages.WithSourcePort
The stage of the network rule definition allowing the source port(s) to be specified.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
fromAnyPort()
Makes this rule apply to any source port. |
abstract
With |
fromPort(int port)
Specifies the source port to which this rule applies. |
abstract
With |
fromPortRange(int from, int to)
Specifies the source port range to which this rule applies. |
abstract
With |
fromPortRanges(String[] ranges)
Specifies the source port ranges to which this rule applies. |
Method Details
fromAnyPort
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup
Makes this rule apply to any source port.
Returns:
fromPort
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup
Specifies the source port to which this rule applies.
Parameters:
Returns:
fromPortRange
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup
Specifies the source port range to which this rule applies.
Parameters:
Returns:
fromPortRanges
public abstract NetworkSecurityRule.UpdateDefinitionStages.WithDestinationAddressOrSecurityGroup
Specifies the source 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