/// <summary>
 /// Initializes a new instance of the ContainerServiceNetworkProfile
 /// class.
 /// </summary>
 /// <param name="networkPlugin">Network plugin used for building
 /// Kubernetes network. Possible values include: 'azure',
 /// 'kubenet'</param>
 /// <param name="networkPolicy">Network policy used for building
 /// Kubernetes network. Possible values include: 'calico',
 /// 'azure'</param>
 /// <param name="podCidr">A CIDR notation IP range from which to assign
 /// pod IPs when kubenet is used.</param>
 /// <param name="serviceCidr">A CIDR notation IP range from which to
 /// assign service cluster IPs. It must not overlap with any Subnet IP
 /// ranges.</param>
 /// <param name="dnsServiceIP">An IP address assigned to the Kubernetes
 /// DNS service. It must be within the Kubernetes service address range
 /// specified in serviceCidr.</param>
 /// <param name="dockerBridgeCidr">A CIDR notation IP range assigned to
 /// the Docker bridge network. It must not overlap with any Subnet IP
 /// ranges or the Kubernetes service address range.</param>
 /// <param name="loadBalancerSku">The load balancer sku for the managed
 /// cluster. Possible values include: 'standard', 'basic'</param>
 /// <param name="loadBalancerProfile">Profile of the cluster load
 /// balancer.</param>
 public ContainerServiceNetworkProfile(string networkPlugin = default(string), string networkPolicy = default(string), string podCidr = default(string), string serviceCidr = default(string), string dnsServiceIP = default(string), string dockerBridgeCidr = default(string), string loadBalancerSku = default(string), ManagedClusterLoadBalancerProfile loadBalancerProfile = default(ManagedClusterLoadBalancerProfile))
 {
     NetworkPlugin       = networkPlugin;
     NetworkPolicy       = networkPolicy;
     PodCidr             = podCidr;
     ServiceCidr         = serviceCidr;
     DnsServiceIP        = dnsServiceIP;
     DockerBridgeCidr    = dockerBridgeCidr;
     LoadBalancerSku     = loadBalancerSku;
     LoadBalancerProfile = loadBalancerProfile;
     CustomInit();
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the ContainerServiceNetworkProfile
 /// class.
 /// </summary>
 /// <param name="networkPlugin">Network plugin used for building the
 /// Kubernetes network. Possible values include: 'azure',
 /// 'kubenet'</param>
 /// <param name="networkPolicy">Network policy used for building the
 /// Kubernetes network. Possible values include: 'calico',
 /// 'azure'</param>
 /// <param name="networkMode">The network mode Azure CNI is configured
 /// with.</param>
 /// <param name="podCidr">A CIDR notation IP range from which to assign
 /// pod IPs when kubenet is used.</param>
 /// <param name="serviceCidr">A CIDR notation IP range from which to
 /// assign service cluster IPs. It must not overlap with any Subnet IP
 /// ranges.</param>
 /// <param name="dnsServiceIP">An IP address assigned to the Kubernetes
 /// DNS service. It must be within the Kubernetes service address range
 /// specified in serviceCidr.</param>
 /// <param name="dockerBridgeCidr">A CIDR notation IP range assigned to
 /// the Docker bridge network. It must not overlap with any Subnet IP
 /// ranges or the Kubernetes service address range.</param>
 /// <param name="outboundType">The outbound (egress) routing
 /// method.</param>
 /// <param name="loadBalancerSku">The load balancer sku for the managed
 /// cluster.</param>
 /// <param name="loadBalancerProfile">Profile of the cluster load
 /// balancer.</param>
 /// <param name="natGatewayProfile">Profile of the cluster NAT
 /// gateway.</param>
 public ContainerServiceNetworkProfile(string networkPlugin = default(string), string networkPolicy = default(string), string networkMode = default(string), string podCidr = default(string), string serviceCidr = default(string), string dnsServiceIP = default(string), string dockerBridgeCidr = default(string), string outboundType = default(string), string loadBalancerSku = default(string), ManagedClusterLoadBalancerProfile loadBalancerProfile = default(ManagedClusterLoadBalancerProfile), ManagedClusterNATGatewayProfile natGatewayProfile = default(ManagedClusterNATGatewayProfile))
 {
     NetworkPlugin       = networkPlugin;
     NetworkPolicy       = networkPolicy;
     NetworkMode         = networkMode;
     PodCidr             = podCidr;
     ServiceCidr         = serviceCidr;
     DnsServiceIP        = dnsServiceIP;
     DockerBridgeCidr    = dockerBridgeCidr;
     OutboundType        = outboundType;
     LoadBalancerSku     = loadBalancerSku;
     LoadBalancerProfile = loadBalancerProfile;
     NatGatewayProfile   = natGatewayProfile;
     CustomInit();
 }