public final class SecurityRuleAssociations extends Object
| Constructor and Description |
|---|
SecurityRuleAssociations() |
| Modifier and Type | Method and Description |
|---|---|
List<SecurityRuleInner> |
defaultSecurityRules()
Get the defaultSecurityRules property: Collection of default security rules of the network security group.
|
List<EffectiveNetworkSecurityRule> |
effectiveSecurityRules()
Get the effectiveSecurityRules property: Collection of effective security rules.
|
NetworkInterfaceAssociation |
networkInterfaceAssociation()
Get the networkInterfaceAssociation property: Network interface and it's custom security rules.
|
SubnetAssociation |
subnetAssociation()
Get the subnetAssociation property: Subnet and it's custom security rules.
|
void |
validate()
Validates the instance.
|
SecurityRuleAssociations |
withDefaultSecurityRules(List<SecurityRuleInner> defaultSecurityRules)
Set the defaultSecurityRules property: Collection of default security rules of the network security group.
|
SecurityRuleAssociations |
withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules)
Set the effectiveSecurityRules property: Collection of effective security rules.
|
SecurityRuleAssociations |
withNetworkInterfaceAssociation(NetworkInterfaceAssociation networkInterfaceAssociation)
Set the networkInterfaceAssociation property: Network interface and it's custom security rules.
|
SecurityRuleAssociations |
withSubnetAssociation(SubnetAssociation subnetAssociation)
Set the subnetAssociation property: Subnet and it's custom security rules.
|
public NetworkInterfaceAssociation networkInterfaceAssociation()
public SecurityRuleAssociations withNetworkInterfaceAssociation(NetworkInterfaceAssociation networkInterfaceAssociation)
networkInterfaceAssociation - the networkInterfaceAssociation value to set.public SubnetAssociation subnetAssociation()
public SecurityRuleAssociations withSubnetAssociation(SubnetAssociation subnetAssociation)
subnetAssociation - the subnetAssociation value to set.public List<SecurityRuleInner> defaultSecurityRules()
public SecurityRuleAssociations withDefaultSecurityRules(List<SecurityRuleInner> defaultSecurityRules)
defaultSecurityRules - the defaultSecurityRules value to set.public List<EffectiveNetworkSecurityRule> effectiveSecurityRules()
public SecurityRuleAssociations withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules)
effectiveSecurityRules - the effectiveSecurityRules value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.