Class NetworkInterfaceAssociation
java.lang.Object
com.microsoft.azure.management.network.NetworkInterfaceAssociation
Network interface and its custom security rules.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionid()
Get network interface ID.List<com.microsoft.azure.management.network.implementation.SecurityRuleInner>
Get collection of custom security rules.withSecurityRules
(List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> securityRules) Set collection of custom security rules.
-
Constructor Details
-
NetworkInterfaceAssociation
public NetworkInterfaceAssociation()
-
-
Method Details
-
id
Get network interface ID.- Returns:
- the id value
-
securityRules
public List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> securityRules()Get collection of custom security rules.- Returns:
- the securityRules value
-
withSecurityRules
public NetworkInterfaceAssociation withSecurityRules(List<com.microsoft.azure.management.network.implementation.SecurityRuleInner> securityRules) Set collection of custom security rules.- Parameters:
securityRules
- the securityRules value to set- Returns:
- the NetworkInterfaceAssociation object itself.
-