Class SecurityRuleAssociations
java.lang.Object
com.microsoft.azure.management.network.SecurityRuleAssociations
All security rules associated with the network interface.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionList<com.microsoft.azure.management.network.implementation.SecurityRuleInner>
Get collection of default security rules of the network security group.Get collection of effective security rules.Get network interface and it's custom security rules.Get subnet and it's custom security rules.withDefaultSecurityRules
(List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> defaultSecurityRules) Set collection of default security rules of the network security group.withEffectiveSecurityRules
(List<EffectiveNetworkSecurityRule> effectiveSecurityRules) Set collection of effective security rules.withNetworkInterfaceAssociation
(NetworkInterfaceAssociation networkInterfaceAssociation) Set network interface and it's custom security rules.withSubnetAssociation
(SubnetAssociation subnetAssociation) Set subnet and it's custom security rules.
-
Constructor Details
-
SecurityRuleAssociations
public SecurityRuleAssociations()
-
-
Method Details
-
networkInterfaceAssociation
Get network interface and it's custom security rules.- Returns:
- the networkInterfaceAssociation value
-
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.
-
subnetAssociation
Get subnet and it's custom security rules.- Returns:
- the subnetAssociation value
-
withSubnetAssociation
Set subnet and it's custom security rules.- Parameters:
subnetAssociation
- the subnetAssociation value to set- Returns:
- the SecurityRuleAssociations object itself.
-
defaultSecurityRules
public List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> defaultSecurityRules()Get collection of default security rules of the network security group.- Returns:
- the defaultSecurityRules value
-
withDefaultSecurityRules
public SecurityRuleAssociations withDefaultSecurityRules(List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> defaultSecurityRules) Set collection of default security rules of the network security group.- Parameters:
defaultSecurityRules
- the defaultSecurityRules value to set- Returns:
- the SecurityRuleAssociations object itself.
-
effectiveSecurityRules
Get collection of effective security rules.- Returns:
- the effectiveSecurityRules value
-
withEffectiveSecurityRules
public SecurityRuleAssociations withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules) Set collection of effective security rules.- Parameters:
effectiveSecurityRules
- the effectiveSecurityRules value to set- Returns:
- the SecurityRuleAssociations object itself.
-