AgentPoolNetworkProfile Class
- java.
lang. Object - com.
azure. resourcemanager. containerservice. models. AgentPoolNetworkProfile
- com.
Implements
public final class AgentPoolNetworkProfile
implements JsonSerializable<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 |
static
Agent |
fromJson(JsonReader jsonReader)
Reads an instance of Agent |
List<Ip |
nodePublicIpTags()
Get the node |
Json |
toJson(JsonWriter jsonWriter) |
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:
fromJson
public static AgentPoolNetworkProfile fromJson(JsonReader jsonReader)
Reads an instance of AgentPoolNetworkProfile from the JsonReader.
Parameters:
Returns:
Throws:
nodePublicIpTags
public List
Get the nodePublicIpTags property: IPTags of instance-level public IPs.
Returns:
toJson
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