SecurityRuleAssociations Class
- java.
lang. Object - com.
microsoft. azure. management. network. SecurityRuleAssociations
- com.
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<Effective |
effectiveSecurityRules()
Get collection of effective security rules. |
Network |
networkInterfaceAssociation()
Get network interface and it's custom security rules. |
Subnet |
subnetAssociation()
Get subnet and it's custom security rules. |
Security |
withDefaultSecurityRules(List<SecurityRuleInner> defaultSecurityRules)
Set collection of default security rules of the network security group. |
Security |
withEffectiveSecurityRules(List<EffectiveNetworkSecurityRule> effectiveSecurityRules)
Set collection of effective security rules. |
Security |
withNetworkInterfaceAssociation(NetworkInterfaceAssociation networkInterfaceAssociation)
Set network interface and it's custom security rules. |
Security |
withSubnetAssociation(SubnetAssociation subnetAssociation)
Set subnet and it's custom security rules. |
Methods inherited from java.lang.Object
Constructor Details
SecurityRuleAssociations
public SecurityRuleAssociations()
Method Details
defaultSecurityRules
public List
Get collection of default security rules of the network security group.
Returns:
effectiveSecurityRules
public List
Get collection of effective security rules.
Returns:
networkInterfaceAssociation
public NetworkInterfaceAssociation networkInterfaceAssociation()
Get network interface and it's custom security rules.
Returns:
subnetAssociation
public SubnetAssociation subnetAssociation()
Get subnet and it's custom security rules.
Returns:
withDefaultSecurityRules
public SecurityRuleAssociations withDefaultSecurityRules(List
Set collection of default security rules of the network security group.
Parameters:
Returns:
withEffectiveSecurityRules
public SecurityRuleAssociations withEffectiveSecurityRules(List
Set collection of effective security rules.
Parameters:
Returns:
withNetworkInterfaceAssociation
public SecurityRuleAssociations withNetworkInterfaceAssociation(NetworkInterfaceAssociation networkInterfaceAssociation)
Set network interface and it's custom security rules.
Parameters:
Returns:
withSubnetAssociation
public SecurityRuleAssociations withSubnetAssociation(SubnetAssociation subnetAssociation)
Set subnet and it's custom security rules.
Parameters:
Returns:
Applies to
Azure SDK for Java