Class NetworkInterfaceAssociation

java.lang.Object
com.microsoft.azure.management.network.NetworkInterfaceAssociation

public class NetworkInterfaceAssociation extends Object
Network interface and its custom security rules.
  • Constructor Details

    • NetworkInterfaceAssociation

      public NetworkInterfaceAssociation()
  • Method Details

    • id

      public String 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.