| Package | Description |
|---|---|
| com.microsoft.azure.management.network |
This package contains the classes for NetworkManagementClient.
|
| Modifier and Type | Method and Description |
|---|---|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withAccess(SecurityRuleAccess access)
Set whether network traffic is allowed or denied.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withDestinationAddressPrefix(String destinationAddressPrefix)
Set the destination address prefix.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withDestinationAddressPrefixes(List<String> destinationAddressPrefixes)
Set the destination address prefixes.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withDestinationPortRange(String destinationPortRange)
Set the destination port or range.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withDestinationPortRanges(List<String> destinationPortRanges)
Set the destination port ranges.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withDirection(SecurityRuleDirection direction)
Set the direction of the rule.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withExpandedDestinationAddressPrefix(List<String> expandedDestinationAddressPrefix)
Set expanded destination address prefix.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withExpandedSourceAddressPrefix(List<String> expandedSourceAddressPrefix)
Set the expanded source address prefix.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withName(String name)
Set the name of the security rule specified by the user (if created by the user).
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withPriority(Integer priority)
Set the priority of the rule.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withProtocol(EffectiveSecurityRuleProtocol protocol)
Set the network protocol this rule applies to.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withSourceAddressPrefix(String sourceAddressPrefix)
Set the source address prefix.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withSourceAddressPrefixes(List<String> sourceAddressPrefixes)
Set the source address prefixes.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withSourcePortRange(String sourcePortRange)
Set the source port or range.
|
EffectiveNetworkSecurityRule |
EffectiveNetworkSecurityRule.withSourcePortRanges(List<String> sourcePortRanges)
Set the source port ranges.
|
| Modifier and Type | Method and Description |
|---|---|
List<EffectiveNetworkSecurityRule> |
EffectiveNetworkSecurityGroup.effectiveSecurityRules()
Get a collection of effective security rules.
|
List<EffectiveNetworkSecurityRule> |
SecurityRuleAssociations.effectiveSecurityRules()
Get collection of effective security rules.
|
| Modifier and Type | Method and Description |
|---|---|
EffectiveNetworkSecurityGroup |
EffectiveNetworkSecurityGroup.withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules)
Set a collection of effective security rules.
|
SecurityRuleAssociations |
SecurityRuleAssociations.withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules)
Set collection of effective security rules.
|
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/