public class ServicePort extends Object
Constructor and Description |
---|
ServicePort(int hostPort,
int containerPort,
com.microsoft.azure.management.network.Protocol protocol) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getContainerPort() |
int |
getHostPort() |
com.microsoft.azure.management.network.Protocol |
getProtocol() |
com.microsoft.azure.management.network.TransportProtocol |
getTransportProtocol() |
int |
hashCode() |
boolean |
matchesLoadBalancingRule(com.microsoft.azure.management.network.LoadBalancingRule rule) |
String |
toString() |
public ServicePort(int hostPort, int containerPort, com.microsoft.azure.management.network.Protocol protocol)
public int getHostPort()
public int getContainerPort()
public com.microsoft.azure.management.network.Protocol getProtocol()
public com.microsoft.azure.management.network.TransportProtocol getTransportProtocol()
public boolean matchesLoadBalancingRule(com.microsoft.azure.management.network.LoadBalancingRule rule)
Copyright © 2016–2021. All rights reserved.