Class EffectiveNetworkSecurityGroupAssociation

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

public class EffectiveNetworkSecurityGroupAssociation extends Object
The effective network security group association.
  • Constructor Details

    • EffectiveNetworkSecurityGroupAssociation

      public EffectiveNetworkSecurityGroupAssociation()
  • Method Details

    • subnet

      public com.microsoft.azure.SubResource subnet()
      Get the ID of the subnet if assigned.
      Returns:
      the subnet value
    • withSubnet

      public EffectiveNetworkSecurityGroupAssociation withSubnet(com.microsoft.azure.SubResource subnet)
      Set the ID of the subnet if assigned.
      Parameters:
      subnet - the subnet value to set
      Returns:
      the EffectiveNetworkSecurityGroupAssociation object itself.
    • networkInterface

      public com.microsoft.azure.SubResource networkInterface()
      Get the ID of the network interface if assigned.
      Returns:
      the networkInterface value
    • withNetworkInterface

      public EffectiveNetworkSecurityGroupAssociation withNetworkInterface(com.microsoft.azure.SubResource networkInterface)
      Set the ID of the network interface if assigned.
      Parameters:
      networkInterface - the networkInterface value to set
      Returns:
      the EffectiveNetworkSecurityGroupAssociation object itself.