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.
2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 |
# File 'lib/v20180525/models.rb', line 2774 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
2772 2773 2774 |
# File 'lib/v20180525/models.rb', line 2772 def ClusterDesc @ClusterDesc end |
#ClusterName ⇒ Object
2772 2773 2774 |
# File 'lib/v20180525/models.rb', line 2772 def ClusterName @ClusterName end |
#DnsServers ⇒ Object
2772 2773 2774 |
# File 'lib/v20180525/models.rb', line 2772 def DnsServers @DnsServers end |
#EnableVpcCoreDNS ⇒ Object
2772 2773 2774 |
# File 'lib/v20180525/models.rb', line 2772 def EnableVpcCoreDNS @EnableVpcCoreDNS end |
#ExtraParam ⇒ Object
2772 2773 2774 |
# File 'lib/v20180525/models.rb', line 2772 def ExtraParam @ExtraParam end |
#K8SVersion ⇒ Object
2772 2773 2774 |
# File 'lib/v20180525/models.rb', line 2772 def K8SVersion @K8SVersion end |
#ServiceSubnetId ⇒ Object
2772 2773 2774 |
# File 'lib/v20180525/models.rb', line 2772 def ServiceSubnetId @ServiceSubnetId end |
#SubnetIds ⇒ Object
2772 2773 2774 |
# File 'lib/v20180525/models.rb', line 2772 def SubnetIds @SubnetIds end |
#SubnetInfos ⇒ Object
2772 2773 2774 |
# File 'lib/v20180525/models.rb', line 2772 def SubnetInfos @SubnetInfos end |
#TagSpecification ⇒ Object
2772 2773 2774 |
# File 'lib/v20180525/models.rb', line 2772 def TagSpecification @TagSpecification end |
#VpcId ⇒ Object
2772 2773 2774 |
# File 'lib/v20180525/models.rb', line 2772 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 |
# File 'lib/v20180525/models.rb', line 2788 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 |