ParentT - the stage of the parent definition to return to after attaching this definitionpublic static interface NetworkSecurityRule.DefinitionStages.WithDestinationPort<ParentT>
| Modifier and Type | Method and Description |
|---|---|
NetworkSecurityRule.DefinitionStages.WithProtocol<ParentT> |
toAnyPort()
Makes this rule apply to any destination port.
|
NetworkSecurityRule.DefinitionStages.WithProtocol<ParentT> |
toPort(int port)
Specifies the destination port to which this rule applies.
|
NetworkSecurityRule.DefinitionStages.WithProtocol<ParentT> |
toPortRange(int from,
int to)
Specifies the destination port range to which this rule applies.
|
NetworkSecurityRule.DefinitionStages.WithProtocol<ParentT> |
toPortRanges(String... ranges)
Specifies the destination port ranges to which this rule applies.
|
NetworkSecurityRule.DefinitionStages.WithProtocol<ParentT> toPort(int port)
port - the destination port numberNetworkSecurityRule.DefinitionStages.WithProtocol<ParentT> toAnyPort()
NetworkSecurityRule.DefinitionStages.WithProtocol<ParentT> toPortRange(int from, int to)
from - the starting port numberto - the ending port numberNetworkSecurityRule.DefinitionStages.WithProtocol<ParentT> toPortRanges(String... ranges)
ranges - the destination port rangesCopyright © 2021 Microsoft Corporation. All rights reserved.