ParentT - the stage of the parent definition to return to after attaching this definitionpublic static interface NetworkSecurityRule.DefinitionStages.WithSourcePort<ParentT>
| Modifier and Type | Method and Description |
|---|---|
NetworkSecurityRule.DefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> |
fromAnyPort()
Makes this rule apply to any source port.
|
NetworkSecurityRule.DefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> |
fromPort(int port)
Specifies the source port to which this rule applies.
|
NetworkSecurityRule.DefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> |
fromPortRange(int from,
int to)
Specifies the source port range to which this rule applies.
|
NetworkSecurityRule.DefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> |
fromPortRanges(String... ranges)
Specifies the source port ranges to which this rule applies.
|
NetworkSecurityRule.DefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> fromPort(int port)
port - the source port numberNetworkSecurityRule.DefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> fromAnyPort()
NetworkSecurityRule.DefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> fromPortRange(int from, int to)
from - the starting port numberto - the ending port numberNetworkSecurityRule.DefinitionStages.WithDestinationAddressOrSecurityGroup<ParentT> fromPortRanges(String... ranges)
ranges - the starting port rangesCopyright © 2020 Microsoft Corporation. All rights reserved.