Class AgentPoolNetworkProfile

java.lang.Object
com.azure.resourcemanager.containerservice.models.AgentPoolNetworkProfile

public final class AgentPoolNetworkProfile extends Object
Network settings of an agent pool.
  • Constructor Details

    • AgentPoolNetworkProfile

      public AgentPoolNetworkProfile()
      Creates an instance of AgentPoolNetworkProfile class.
  • Method Details

    • nodePublicIpTags

      public List<IpTag> nodePublicIpTags()
      Get the nodePublicIpTags property: IPTags of instance-level public IPs.
      Returns:
      the nodePublicIpTags value.
    • withNodePublicIpTags

      public AgentPoolNetworkProfile withNodePublicIpTags(List<IpTag> nodePublicIpTags)
      Set the nodePublicIpTags property: IPTags of instance-level public IPs.
      Parameters:
      nodePublicIpTags - the nodePublicIpTags value to set.
      Returns:
      the AgentPoolNetworkProfile object itself.
    • allowedHostPorts

      public List<PortRange> allowedHostPorts()
      Get the allowedHostPorts property: The port ranges that are allowed to access. The specified ranges are allowed to overlap.
      Returns:
      the allowedHostPorts value.
    • withAllowedHostPorts

      public AgentPoolNetworkProfile withAllowedHostPorts(List<PortRange> allowedHostPorts)
      Set the allowedHostPorts property: The port ranges that are allowed to access. The specified ranges are allowed to overlap.
      Parameters:
      allowedHostPorts - the allowedHostPorts value to set.
      Returns:
      the AgentPoolNetworkProfile object itself.
    • applicationSecurityGroups

      public List<String> applicationSecurityGroups()
      Get the applicationSecurityGroups property: The IDs of the application security groups which agent pool will associate when created.
      Returns:
      the applicationSecurityGroups value.
    • withApplicationSecurityGroups

      public AgentPoolNetworkProfile withApplicationSecurityGroups(List<String> applicationSecurityGroups)
      Set the applicationSecurityGroups property: The IDs of the application security groups which agent pool will associate when created.
      Parameters:
      applicationSecurityGroups - the applicationSecurityGroups value to set.
      Returns:
      the AgentPoolNetworkProfile object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.