AgentPoolNetworkProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. AgentPoolNetworkProfile
- com.
public final class AgentPoolNetworkProfile
Network settings of an agent pool.
Constructor Summary
Constructor | Description |
---|---|
AgentPoolNetworkProfile() |
Creates an instance of Agent |
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Port |
allowedHostPorts()
Get the allowed |
List<String> |
applicationSecurityGroups()
Get the application |
List<Ip |
nodePublicIpTags()
Get the node |
void |
validate()
Validates the instance. |
Agent |
withAllowedHostPorts(List<PortRange> allowedHostPorts)
Set the allowed |
Agent |
withApplicationSecurityGroups(List<String> applicationSecurityGroups)
Set the application |
Agent |
withNodePublicIpTags(List<IpTag> nodePublicIpTags)
Set the node |
Methods inherited from java.lang.Object
Constructor Details
AgentPoolNetworkProfile
public AgentPoolNetworkProfile()
Creates an instance of AgentPoolNetworkProfile class.
Method Details
allowedHostPorts
public List
Get the allowedHostPorts property: The port ranges that are allowed to access. The specified ranges are allowed to overlap.
Returns:
applicationSecurityGroups
public List
Get the applicationSecurityGroups property: The IDs of the application security groups which agent pool will associate when created.
Returns:
nodePublicIpTags
public List
Get the nodePublicIpTags property: IPTags of instance-level public IPs.
Returns:
validate
public void validate()
Validates the instance.
withAllowedHostPorts
public AgentPoolNetworkProfile withAllowedHostPorts(List
Set the allowedHostPorts property: The port ranges that are allowed to access. The specified ranges are allowed to overlap.
Parameters:
Returns:
withApplicationSecurityGroups
public AgentPoolNetworkProfile withApplicationSecurityGroups(List
Set the applicationSecurityGroups property: The IDs of the application security groups which agent pool will associate when created.
Parameters:
Returns:
withNodePublicIpTags
public AgentPoolNetworkProfile withNodePublicIpTags(List
Set the nodePublicIpTags property: IPTags of instance-level public IPs.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for