public class ContainerServiceNetworkProfile extends Object
| Constructor and Description |
|---|
ContainerServiceNetworkProfile() |
| Modifier and Type | Method and Description |
|---|---|
String |
dnsServiceIP()
Get an IP address assigned to the Kubernetes DNS service.
|
String |
dockerBridgeCidr()
Get a CIDR notation IP range assigned to the Docker bridge network.
|
ManagedClusterLoadBalancerProfile |
loadBalancerProfile()
Get profile of the cluster load balancer.
|
LoadBalancerSku |
loadBalancerSku()
Get the load balancer sku for the managed cluster.
|
NetworkPlugin |
networkPlugin()
Get network plugin used for building Kubernetes network.
|
NetworkPolicy |
networkPolicy()
Get network policy used for building Kubernetes network.
|
String |
podCidr()
Get a CIDR notation IP range from which to assign pod IPs when kubenet is used.
|
String |
serviceCidr()
Get a CIDR notation IP range from which to assign service cluster IPs.
|
ContainerServiceNetworkProfile |
withDnsServiceIP(String dnsServiceIP)
Set an IP address assigned to the Kubernetes DNS service.
|
ContainerServiceNetworkProfile |
withDockerBridgeCidr(String dockerBridgeCidr)
Set a CIDR notation IP range assigned to the Docker bridge network.
|
ContainerServiceNetworkProfile |
withLoadBalancerProfile(ManagedClusterLoadBalancerProfile loadBalancerProfile)
Set profile of the cluster load balancer.
|
ContainerServiceNetworkProfile |
withLoadBalancerSku(LoadBalancerSku loadBalancerSku)
Set the load balancer sku for the managed cluster.
|
ContainerServiceNetworkProfile |
withNetworkPlugin(NetworkPlugin networkPlugin)
Set network plugin used for building Kubernetes network.
|
ContainerServiceNetworkProfile |
withNetworkPolicy(NetworkPolicy networkPolicy)
Set network policy used for building Kubernetes network.
|
ContainerServiceNetworkProfile |
withPodCidr(String podCidr)
Set a CIDR notation IP range from which to assign pod IPs when kubenet is used.
|
ContainerServiceNetworkProfile |
withServiceCidr(String serviceCidr)
Set 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 setpublic NetworkPolicy networkPolicy()
public ContainerServiceNetworkProfile withNetworkPolicy(NetworkPolicy networkPolicy)
networkPolicy - the networkPolicy value to setpublic String podCidr()
public ContainerServiceNetworkProfile withPodCidr(String podCidr)
podCidr - the podCidr value to setpublic String serviceCidr()
public ContainerServiceNetworkProfile withServiceCidr(String serviceCidr)
serviceCidr - the serviceCidr value to setpublic String dnsServiceIP()
public ContainerServiceNetworkProfile withDnsServiceIP(String dnsServiceIP)
dnsServiceIP - the dnsServiceIP value to setpublic String dockerBridgeCidr()
public ContainerServiceNetworkProfile withDockerBridgeCidr(String dockerBridgeCidr)
dockerBridgeCidr - the dockerBridgeCidr value to setpublic LoadBalancerSku loadBalancerSku()
public ContainerServiceNetworkProfile withLoadBalancerSku(LoadBalancerSku loadBalancerSku)
loadBalancerSku - the loadBalancerSku value to setpublic ManagedClusterLoadBalancerProfile loadBalancerProfile()
public ContainerServiceNetworkProfile withLoadBalancerProfile(ManagedClusterLoadBalancerProfile loadBalancerProfile)
loadBalancerProfile - the loadBalancerProfile value to set/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/