public final class ContainerServiceNetworkProfile extends Object
| Constructor and Description |
|---|
ContainerServiceNetworkProfile() |
| Modifier and Type | Method and Description |
|---|---|
String |
dnsServiceIp()
Get the dnsServiceIp property: An IP address assigned to the Kubernetes DNS service.
|
String |
dockerBridgeCidr()
Get the dockerBridgeCidr property: A CIDR notation IP range assigned to the Docker bridge network.
|
ManagedClusterLoadBalancerProfile |
loadBalancerProfile()
Get the loadBalancerProfile property: Profile of the cluster load balancer.
|
LoadBalancerSku |
loadBalancerSku()
Get the loadBalancerSku property: The load balancer sku for the managed cluster.
|
NetworkMode |
networkMode()
Get the networkMode property: Network mode used for building Kubernetes network.
|
NetworkPlugin |
networkPlugin()
Get the networkPlugin property: Network plugin used for building Kubernetes network.
|
NetworkPolicy |
networkPolicy()
Get the networkPolicy property: Network policy used for building Kubernetes network.
|
OutboundType |
outboundType()
Get the outboundType property: The outbound (egress) routing method.
|
String |
podCidr()
Get the podCidr property: A CIDR notation IP range from which to assign pod IPs when kubenet is used.
|
String |
serviceCidr()
Get the serviceCidr property: A CIDR notation IP range from which to assign service cluster IPs.
|
void |
validate()
Validates the instance.
|
ContainerServiceNetworkProfile |
withDnsServiceIp(String dnsServiceIp)
Set the dnsServiceIp property: An IP address assigned to the Kubernetes DNS service.
|
ContainerServiceNetworkProfile |
withDockerBridgeCidr(String dockerBridgeCidr)
Set the dockerBridgeCidr property: A CIDR notation IP range assigned to the Docker bridge network.
|
ContainerServiceNetworkProfile |
withLoadBalancerProfile(ManagedClusterLoadBalancerProfile loadBalancerProfile)
Set the loadBalancerProfile property: Profile of the cluster load balancer.
|
ContainerServiceNetworkProfile |
withLoadBalancerSku(LoadBalancerSku loadBalancerSku)
Set the loadBalancerSku property: The load balancer sku for the managed cluster.
|
ContainerServiceNetworkProfile |
withNetworkMode(NetworkMode networkMode)
Set the networkMode property: Network mode used for building Kubernetes network.
|
ContainerServiceNetworkProfile |
withNetworkPlugin(NetworkPlugin networkPlugin)
Set the networkPlugin property: Network plugin used for building Kubernetes network.
|
ContainerServiceNetworkProfile |
withNetworkPolicy(NetworkPolicy networkPolicy)
Set the networkPolicy property: Network policy used for building Kubernetes network.
|
ContainerServiceNetworkProfile |
withOutboundType(OutboundType outboundType)
Set the outboundType property: The outbound (egress) routing method.
|
ContainerServiceNetworkProfile |
withPodCidr(String podCidr)
Set the podCidr property: A CIDR notation IP range from which to assign pod IPs when kubenet is used.
|
ContainerServiceNetworkProfile |
withServiceCidr(String serviceCidr)
Set the serviceCidr property: A CIDR notation IP range from which to assign service cluster IPs.
|
public NetworkPlugin networkPlugin()
public ContainerServiceNetworkProfile withNetworkPlugin(NetworkPlugin networkPlugin)
networkPlugin - the networkPlugin value to set.public NetworkPolicy networkPolicy()
public ContainerServiceNetworkProfile withNetworkPolicy(NetworkPolicy networkPolicy)
networkPolicy - the networkPolicy value to set.public NetworkMode networkMode()
public ContainerServiceNetworkProfile withNetworkMode(NetworkMode networkMode)
networkMode - the networkMode value to set.public String podCidr()
public ContainerServiceNetworkProfile withPodCidr(String podCidr)
podCidr - the podCidr value to set.public String serviceCidr()
public ContainerServiceNetworkProfile withServiceCidr(String serviceCidr)
serviceCidr - the serviceCidr value to set.public String dnsServiceIp()
public ContainerServiceNetworkProfile withDnsServiceIp(String dnsServiceIp)
dnsServiceIp - the dnsServiceIp value to set.public String dockerBridgeCidr()
public ContainerServiceNetworkProfile withDockerBridgeCidr(String dockerBridgeCidr)
dockerBridgeCidr - the dockerBridgeCidr value to set.public OutboundType outboundType()
public ContainerServiceNetworkProfile withOutboundType(OutboundType outboundType)
outboundType - the outboundType value to set.public LoadBalancerSku loadBalancerSku()
public ContainerServiceNetworkProfile withLoadBalancerSku(LoadBalancerSku loadBalancerSku)
loadBalancerSku - the loadBalancerSku value to set.public ManagedClusterLoadBalancerProfile loadBalancerProfile()
public ContainerServiceNetworkProfile withLoadBalancerProfile(ManagedClusterLoadBalancerProfile loadBalancerProfile)
loadBalancerProfile - the loadBalancerProfile value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.