/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the eks-2017-11-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.EKS.Model { /// /// The Kubernetes network configuration for the cluster. The response contains a value /// for serviceIpv6Cidr or serviceIpv4Cidr, but not both. /// public partial class KubernetesNetworkConfigResponse { private IpFamily _ipFamily; private string _serviceIpv4Cidr; private string _serviceIpv6Cidr; /// /// Gets and sets the property IpFamily. /// /// The IP family used to assign Kubernetes pod and service IP addresses. The IP family /// is always ipv4, unless you have a 1.21 or later cluster /// running version 1.10.1 or later of the Amazon VPC CNI add-on and specified ipv6 /// when you created the cluster. /// /// public IpFamily IpFamily { get { return this._ipFamily; } set { this._ipFamily = value; } } // Check to see if IpFamily property is set internal bool IsSetIpFamily() { return this._ipFamily != null; } /// /// Gets and sets the property ServiceIpv4Cidr. /// /// The CIDR block that Kubernetes pod and service IP addresses are assigned from. Kubernetes /// assigns addresses from an IPv4 CIDR block assigned to a subnet that the node is in. /// If you didn't specify a CIDR block when you created the cluster, then Kubernetes assigns /// addresses from either the 10.100.0.0/16 or 172.20.0.0/16 /// CIDR blocks. If this was specified, then it was specified when the cluster was created /// and it can't be changed. /// /// public string ServiceIpv4Cidr { get { return this._serviceIpv4Cidr; } set { this._serviceIpv4Cidr = value; } } // Check to see if ServiceIpv4Cidr property is set internal bool IsSetServiceIpv4Cidr() { return this._serviceIpv4Cidr != null; } /// /// Gets and sets the property ServiceIpv6Cidr. /// /// The CIDR block that Kubernetes pod and service IP addresses are assigned from if you /// created a 1.21 or later cluster with version 1.10.1 or later of the Amazon VPC CNI /// add-on and specified ipv6 for ipFamily when you created the cluster. /// Kubernetes assigns service addresses from the unique local address range (fc00::/7) /// because you can't specify a custom IPv6 CIDR block when you create the cluster. /// /// public string ServiceIpv6Cidr { get { return this._serviceIpv6Cidr; } set { this._serviceIpv6Cidr = value; } } // Check to see if ServiceIpv6Cidr property is set internal bool IsSetServiceIpv6Cidr() { return this._serviceIpv6Cidr != null; } } }