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.
3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 |
# File 'lib/v20180525/models.rb', line 3005 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
3003 3004 3005 |
# File 'lib/v20180525/models.rb', line 3003 def ClusterDesc @ClusterDesc end |
#ClusterName ⇒ Object
3003 3004 3005 |
# File 'lib/v20180525/models.rb', line 3003 def ClusterName @ClusterName end |
#DnsServers ⇒ Object
3003 3004 3005 |
# File 'lib/v20180525/models.rb', line 3003 def DnsServers @DnsServers end |
#EnableVpcCoreDNS ⇒ Object
3003 3004 3005 |
# File 'lib/v20180525/models.rb', line 3003 def EnableVpcCoreDNS @EnableVpcCoreDNS end |
#ExtraParam ⇒ Object
3003 3004 3005 |
# File 'lib/v20180525/models.rb', line 3003 def ExtraParam @ExtraParam end |
#K8SVersion ⇒ Object
3003 3004 3005 |
# File 'lib/v20180525/models.rb', line 3003 def K8SVersion @K8SVersion end |
#ServiceSubnetId ⇒ Object
3003 3004 3005 |
# File 'lib/v20180525/models.rb', line 3003 def ServiceSubnetId @ServiceSubnetId end |
#SubnetIds ⇒ Object
3003 3004 3005 |
# File 'lib/v20180525/models.rb', line 3003 def SubnetIds @SubnetIds end |
#SubnetInfos ⇒ Object
3003 3004 3005 |
# File 'lib/v20180525/models.rb', line 3003 def SubnetInfos @SubnetInfos end |
#TagSpecification ⇒ Object
3003 3004 3005 |
# File 'lib/v20180525/models.rb', line 3003 def TagSpecification @TagSpecification end |
#VpcId ⇒ Object
3003 3004 3005 |
# File 'lib/v20180525/models.rb', line 3003 def VpcId @VpcId end |
Instance Method Details
#deserialize(params) ⇒ Object
3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 |
# File 'lib/v20180525/models.rb', line 3019 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 |