Class: TencentCloud::Tke::V20180525::CreateEKSClusterRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CreateEKSClusterRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CreateEKSCluster请求参数结构体
Instance Attribute Summary collapse
- #ClusterDesc ⇒ Object
- #ClusterName ⇒ Object
- #DnsServers ⇒ Object
- #EnableVpcCoreDNS ⇒ Object
- #ExtraParam ⇒ Object
- #K8SVersion ⇒ Object
- #ServiceSubnetId ⇒ Object
- #SubnetIds ⇒ Object
- #SubnetInfos ⇒ Object
- #TagSpecification ⇒ Object
- #VpcId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(k8sversion = nil, vpcid = nil, clustername = nil, subnetids = nil, clusterdesc = nil, servicesubnetid = nil, dnsservers = nil, extraparam = nil, enablevpccoredns = nil, tagspecification = nil, subnetinfos = nil) ⇒ CreateEKSClusterRequest
constructor
A new instance of CreateEKSClusterRequest.
Constructor Details
#initialize(k8sversion = nil, vpcid = nil, clustername = nil, subnetids = nil, clusterdesc = nil, servicesubnetid = nil, dnsservers = nil, extraparam = nil, enablevpccoredns = nil, tagspecification = nil, subnetinfos = nil) ⇒ CreateEKSClusterRequest
Returns a new instance of CreateEKSClusterRequest.
2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 |
# File 'lib/v20180525/models.rb', line 2831 def initialize(k8sversion=nil, vpcid=nil, clustername=nil, subnetids=nil, clusterdesc=nil, servicesubnetid=nil, dnsservers=nil, extraparam=nil, enablevpccoredns=nil, =nil, subnetinfos=nil) @K8SVersion = k8sversion @VpcId = vpcid @ClusterName = clustername @SubnetIds = subnetids @ClusterDesc = clusterdesc @ServiceSubnetId = servicesubnetid @DnsServers = dnsservers @ExtraParam = extraparam @EnableVpcCoreDNS = enablevpccoredns @TagSpecification = @SubnetInfos = subnetinfos end |
Instance Attribute Details
#ClusterDesc ⇒ Object
2829 2830 2831 |
# File 'lib/v20180525/models.rb', line 2829 def ClusterDesc @ClusterDesc end |
#ClusterName ⇒ Object
2829 2830 2831 |
# File 'lib/v20180525/models.rb', line 2829 def ClusterName @ClusterName end |
#DnsServers ⇒ Object
2829 2830 2831 |
# File 'lib/v20180525/models.rb', line 2829 def DnsServers @DnsServers end |
#EnableVpcCoreDNS ⇒ Object
2829 2830 2831 |
# File 'lib/v20180525/models.rb', line 2829 def EnableVpcCoreDNS @EnableVpcCoreDNS end |
#ExtraParam ⇒ Object
2829 2830 2831 |
# File 'lib/v20180525/models.rb', line 2829 def ExtraParam @ExtraParam end |
#K8SVersion ⇒ Object
2829 2830 2831 |
# File 'lib/v20180525/models.rb', line 2829 def K8SVersion @K8SVersion end |
#ServiceSubnetId ⇒ Object
2829 2830 2831 |
# File 'lib/v20180525/models.rb', line 2829 def ServiceSubnetId @ServiceSubnetId end |
#SubnetIds ⇒ Object
2829 2830 2831 |
# File 'lib/v20180525/models.rb', line 2829 def SubnetIds @SubnetIds end |
#SubnetInfos ⇒ Object
2829 2830 2831 |
# File 'lib/v20180525/models.rb', line 2829 def SubnetInfos @SubnetInfos end |
#TagSpecification ⇒ Object
2829 2830 2831 |
# File 'lib/v20180525/models.rb', line 2829 def TagSpecification @TagSpecification end |
#VpcId ⇒ Object
2829 2830 2831 |
# File 'lib/v20180525/models.rb', line 2829 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 |
# File 'lib/v20180525/models.rb', line 2845 def deserialize(params) @K8SVersion = params['K8SVersion'] @VpcId = params['VpcId'] @ClusterName = params['ClusterName'] @SubnetIds = params['SubnetIds'] @ClusterDesc = params['ClusterDesc'] @ServiceSubnetId = params['ServiceSubnetId'] unless params['DnsServers'].nil? @DnsServers = [] params['DnsServers'].each do |i| dnsserverconf_tmp = DnsServerConf.new dnsserverconf_tmp.deserialize(i) @DnsServers << dnsserverconf_tmp end end @ExtraParam = params['ExtraParam'] @EnableVpcCoreDNS = params['EnableVpcCoreDNS'] unless params['TagSpecification'].nil? @TagSpecification = [] params['TagSpecification'].each do |i| = TagSpecification.new .deserialize(i) @TagSpecification << end end unless params['SubnetInfos'].nil? @SubnetInfos = [] params['SubnetInfos'].each do |i| subnetinfos_tmp = SubnetInfos.new subnetinfos_tmp.deserialize(i) @SubnetInfos << subnetinfos_tmp end end end |