SecurityRuleAssociations Class

  • java.lang.Object
    • com.microsoft.azure.management.network.SecurityRuleAssociations

public class SecurityRuleAssociations

All security rules associated with the network interface.

Constructor Summary

Constructor Description
SecurityRuleAssociations()

Method Summary

Modifier and Type Method and Description
java.util.List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> defaultSecurityRules()

Get collection of default security rules of the network security group.

java.util.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<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.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SecurityRuleAssociations

public SecurityRuleAssociations()

Method Details

defaultSecurityRules

public List defaultSecurityRules()

Get collection of default security rules of the network security group.

Returns:

the defaultSecurityRules value

effectiveSecurityRules

public List effectiveSecurityRules()

Get collection of effective security rules.

Returns:

the effectiveSecurityRules value

networkInterfaceAssociation

public NetworkInterfaceAssociation networkInterfaceAssociation()

Get network interface and it's custom security rules.

Returns:

the networkInterfaceAssociation value

subnetAssociation

public SubnetAssociation subnetAssociation()

Get subnet and it's custom security rules.

Returns:

the subnetAssociation value

withDefaultSecurityRules

public SecurityRuleAssociations withDefaultSecurityRules(List defaultSecurityRules)

Set collection of default security rules of the network security group.

Parameters:

defaultSecurityRules - the defaultSecurityRules value to set

Returns:

the SecurityRuleAssociations object itself.

withEffectiveSecurityRules

public SecurityRuleAssociations withEffectiveSecurityRules(List effectiveSecurityRules)

Set collection of effective security rules.

Parameters:

effectiveSecurityRules - the effectiveSecurityRules value to set

Returns:

the SecurityRuleAssociations object itself.

withNetworkInterfaceAssociation

public SecurityRuleAssociations withNetworkInterfaceAssociation(NetworkInterfaceAssociation networkInterfaceAssociation)

Set network interface and it's custom security rules.

Parameters:

networkInterfaceAssociation - the networkInterfaceAssociation value to set

Returns:

the SecurityRuleAssociations object itself.

withSubnetAssociation

public SecurityRuleAssociations withSubnetAssociation(SubnetAssociation subnetAssociation)

Set subnet and it's custom security rules.

Parameters:

subnetAssociation - the subnetAssociation value to set

Returns:

the SecurityRuleAssociations object itself.

Applies to