public class SecurityRuleAssociations extends Object
| Constructor and Description |
|---|
SecurityRuleAssociations() |
| Modifier and Type | Method and Description |
|---|---|
List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> |
defaultSecurityRules()
Get collection of default security rules of the network security group.
|
List<EffectiveNetworkSecurityRule> |
effectiveSecurityRules()
Get collection of effective security rules.
|
NetworkInterfaceAssociation |
networkInterfaceAssociation()
Get network interface and it's custom security rules.
|
SubnetAssociation |
subnetAssociation()
Get subnet and it's custom security rules.
|
SecurityRuleAssociations |
withDefaultSecurityRules(List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> defaultSecurityRules)
Set collection of default security rules of the network security group.
|
SecurityRuleAssociations |
withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules)
Set collection of effective security rules.
|
SecurityRuleAssociations |
withNetworkInterfaceAssociation(NetworkInterfaceAssociation networkInterfaceAssociation)
Set network interface and it's custom security rules.
|
SecurityRuleAssociations |
withSubnetAssociation(SubnetAssociation subnetAssociation)
Set subnet and it's custom security rules.
|
public NetworkInterfaceAssociation networkInterfaceAssociation()
public SecurityRuleAssociations withNetworkInterfaceAssociation(NetworkInterfaceAssociation networkInterfaceAssociation)
networkInterfaceAssociation - the networkInterfaceAssociation value to setpublic SubnetAssociation subnetAssociation()
public SecurityRuleAssociations withSubnetAssociation(SubnetAssociation subnetAssociation)
subnetAssociation - the subnetAssociation value to setpublic List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> defaultSecurityRules()
public SecurityRuleAssociations withDefaultSecurityRules(List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> defaultSecurityRules)
defaultSecurityRules - the defaultSecurityRules value to setpublic List<EffectiveNetworkSecurityRule> effectiveSecurityRules()
public SecurityRuleAssociations withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules)
effectiveSecurityRules - the effectiveSecurityRules value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/