public static interface NetworkSecurityRule.UpdateStages.WithDestinationPort
| Modifier and Type | Method and Description |
|---|---|
NetworkSecurityRule.Update |
toAnyPort()
Makes this rule apply to any destination port.
|
NetworkSecurityRule.Update |
toPort(int port)
Specifies the destination port to which this rule applies.
|
NetworkSecurityRule.Update |
toPortRange(int from,
int to)
Specifies the destination port range to which this rule applies.
|
NetworkSecurityRule.Update |
toPortRanges(String... ranges)
Specifies the destination port ranges to which this rule applies.
|
NetworkSecurityRule.Update toPort(int port)
port - the destination port numberNetworkSecurityRule.Update toAnyPort()
NetworkSecurityRule.Update toPortRange(int from, int to)
from - the starting port numberto - the ending port numberNetworkSecurityRule.Update toPortRanges(String... ranges)
ranges - the destination port ranges/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/