ParentT - the stage of the parent definition to return to after attaching this definitionpublic static interface NetworkSecurityRule.UpdateDefinitionStages.WithProtocol<ParentT>
| Modifier and Type | Method and Description |
|---|---|
NetworkSecurityRule.UpdateDefinitionStages.WithAttach<ParentT> |
withAnyProtocol()
Makes this rule apply to any supported protocol.
|
NetworkSecurityRule.UpdateDefinitionStages.WithAttach<ParentT> |
withProtocol(SecurityRuleProtocol protocol)
Specifies the protocol that this rule applies to.
|
NetworkSecurityRule.UpdateDefinitionStages.WithAttach<ParentT> withProtocol(SecurityRuleProtocol protocol)
protocol - one of the supported protocolsNetworkSecurityRule.UpdateDefinitionStages.WithAttach<ParentT> withAnyProtocol()
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/