ParentT - the stage of the parent definition to return to after attaching this definitionpublic static interface NetworkSecurityRule.UpdateDefinitionStages.WithDestinationPort<ParentT>
| Modifier and Type | Method and Description |
|---|---|
NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT> |
toAnyPort()
Makes this rule apply to any destination port.
|
NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT> |
toPort(int port)
Specifies the destination port to which this rule applies.
|
NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT> |
toPortRange(int from,
int to)
Specifies the destination port range to which this rule applies.
|
NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT> toPort(int port)
port - the destination port numberNetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT> toAnyPort()
NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT> toPortRange(int from, int to)
from - the starting port numberto - the ending port number/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/