SecurityRuleAssociations Class
- java.
lang. Object - com.
microsoft. azure. management. network. SecurityRuleAssociations
- com.
public class SecurityRuleAssociations
All security rules associated with the network interface.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<SecurityRuleInner> |
defaultSecurityRules()
Get the defaultSecurityRules value. |
List<Effective |
effectiveSecurityRules()
Get the effectiveSecurityRules value. |
Network |
networkInterfaceAssociation()
Get the networkInterfaceAssociation value. |
Subnet |
subnetAssociation()
Get the subnetAssociation value. |
Security |
withDefaultSecurityRules(List<SecurityRuleInner> defaultSecurityRules)
Set the defaultSecurityRules value. |
Security |
withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules)
Set the effectiveSecurityRules value. |
Security |
withNetworkInterfaceAssociation(NetworkInterfaceAssociation networkInterfaceAssociation)
Set the networkInterfaceAssociation value. |
Security |
withSubnetAssociation(SubnetAssociation subnetAssociation)
Set the subnetAssociation value. |
Method Details
defaultSecurityRules
public List
Get the defaultSecurityRules value.
Returns:
effectiveSecurityRules
public List
Get the effectiveSecurityRules value.
Returns:
networkInterfaceAssociation
public NetworkInterfaceAssociation networkInterfaceAssociation()
Get the networkInterfaceAssociation value.
Returns:
subnetAssociation
public SubnetAssociation subnetAssociation()
Get the subnetAssociation value.
Returns:
withDefaultSecurityRules
public SecurityRuleAssociations withDefaultSecurityRules(List
Set the defaultSecurityRules value.
Parameters:
Returns:
withEffectiveSecurityRules
public SecurityRuleAssociations withEffectiveSecurityRules(List
Set the effectiveSecurityRules value.
Parameters:
Returns:
withNetworkInterfaceAssociation
public SecurityRuleAssociations withNetworkInterfaceAssociation(NetworkInterfaceAssociation networkInterfaceAssociation)
Set the networkInterfaceAssociation value.
Parameters:
Returns:
withSubnetAssociation
public SecurityRuleAssociations withSubnetAssociation(SubnetAssociation subnetAssociation)
Set the subnetAssociation value.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for