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.WithDestinationAddress<ParentT> |
fromAnyPort()
Makes this rule apply to any source port.
|
NetworkSecurityRule.DefinitionStages.WithDestinationAddress<ParentT> |
fromPort(int port)
Specifies the source port to which this rule applies.
|
NetworkSecurityRule.DefinitionStages.WithDestinationAddress<ParentT> |
fromPortRange(int from,
int to)
Specifies the source port range to which this rule applies.
|
NetworkSecurityRule.DefinitionStages.WithDestinationAddress<ParentT> fromPort(int port)
port - the source port numberNetworkSecurityRule.DefinitionStages.WithDestinationAddress<ParentT> fromAnyPort()
NetworkSecurityRule.DefinitionStages.WithDestinationAddress<ParentT> fromPortRange(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.
*/