Class: TencentCloud::Tke::V20180525::CreateEKSClusterRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20180525/models.rb

Overview

CreateEKSCluster请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

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, tagspecification=nil, subnetinfos=nil)
  @K8SVersion = k8sversion
  @VpcId = vpcid
  @ClusterName = clustername
  @SubnetIds = subnetids
  @ClusterDesc = clusterdesc
  @ServiceSubnetId = servicesubnetid
  @DnsServers = dnsservers
  @ExtraParam = extraparam
  @EnableVpcCoreDNS = enablevpccoredns
  @TagSpecification = tagspecification
  @SubnetInfos = subnetinfos
end

Instance Attribute Details

#ClusterDescObject

Parameters:

  • k8s版本号。可为1.18.4 1.20.6。

  • vpc 的Id

  • 集群名称

  • 子网Id 列表

  • 集群描述信息

  • Service CIDR 或 Serivce 所在子网Id

  • 集群自定义的Dns服务器信息

  • 扩展参数。须是mapstring 的json 格式。

  • 是否在用户集群内开启Dns。默认为true

  • 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。

  • 子网信息列表



3003
3004
3005
# File 'lib/v20180525/models.rb', line 3003

def ClusterDesc
  @ClusterDesc
end

#ClusterNameObject

Parameters:

  • k8s版本号。可为1.18.4 1.20.6。

  • vpc 的Id

  • 集群名称

  • 子网Id 列表

  • 集群描述信息

  • Service CIDR 或 Serivce 所在子网Id

  • 集群自定义的Dns服务器信息

  • 扩展参数。须是mapstring 的json 格式。

  • 是否在用户集群内开启Dns。默认为true

  • 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。

  • 子网信息列表



3003
3004
3005
# File 'lib/v20180525/models.rb', line 3003

def ClusterName
  @ClusterName
end

#DnsServersObject

Parameters:

  • k8s版本号。可为1.18.4 1.20.6。

  • vpc 的Id

  • 集群名称

  • 子网Id 列表

  • 集群描述信息

  • Service CIDR 或 Serivce 所在子网Id

  • 集群自定义的Dns服务器信息

  • 扩展参数。须是mapstring 的json 格式。

  • 是否在用户集群内开启Dns。默认为true

  • 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。

  • 子网信息列表



3003
3004
3005
# File 'lib/v20180525/models.rb', line 3003

def DnsServers
  @DnsServers
end

#EnableVpcCoreDNSObject

Parameters:

  • k8s版本号。可为1.18.4 1.20.6。

  • vpc 的Id

  • 集群名称

  • 子网Id 列表

  • 集群描述信息

  • Service CIDR 或 Serivce 所在子网Id

  • 集群自定义的Dns服务器信息

  • 扩展参数。须是mapstring 的json 格式。

  • 是否在用户集群内开启Dns。默认为true

  • 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。

  • 子网信息列表



3003
3004
3005
# File 'lib/v20180525/models.rb', line 3003

def EnableVpcCoreDNS
  @EnableVpcCoreDNS
end

#ExtraParamObject

Parameters:

  • k8s版本号。可为1.18.4 1.20.6。

  • vpc 的Id

  • 集群名称

  • 子网Id 列表

  • 集群描述信息

  • Service CIDR 或 Serivce 所在子网Id

  • 集群自定义的Dns服务器信息

  • 扩展参数。须是mapstring 的json 格式。

  • 是否在用户集群内开启Dns。默认为true

  • 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。

  • 子网信息列表



3003
3004
3005
# File 'lib/v20180525/models.rb', line 3003

def ExtraParam
  @ExtraParam
end

#K8SVersionObject

Parameters:

  • k8s版本号。可为1.18.4 1.20.6。

  • vpc 的Id

  • 集群名称

  • 子网Id 列表

  • 集群描述信息

  • Service CIDR 或 Serivce 所在子网Id

  • 集群自定义的Dns服务器信息

  • 扩展参数。须是mapstring 的json 格式。

  • 是否在用户集群内开启Dns。默认为true

  • 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。

  • 子网信息列表



3003
3004
3005
# File 'lib/v20180525/models.rb', line 3003

def K8SVersion
  @K8SVersion
end

#ServiceSubnetIdObject

Parameters:

  • k8s版本号。可为1.18.4 1.20.6。

  • vpc 的Id

  • 集群名称

  • 子网Id 列表

  • 集群描述信息

  • Service CIDR 或 Serivce 所在子网Id

  • 集群自定义的Dns服务器信息

  • 扩展参数。须是mapstring 的json 格式。

  • 是否在用户集群内开启Dns。默认为true

  • 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。

  • 子网信息列表



3003
3004
3005
# File 'lib/v20180525/models.rb', line 3003

def ServiceSubnetId
  @ServiceSubnetId
end

#SubnetIdsObject

Parameters:

  • k8s版本号。可为1.18.4 1.20.6。

  • vpc 的Id

  • 集群名称

  • 子网Id 列表

  • 集群描述信息

  • Service CIDR 或 Serivce 所在子网Id

  • 集群自定义的Dns服务器信息

  • 扩展参数。须是mapstring 的json 格式。

  • 是否在用户集群内开启Dns。默认为true

  • 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。

  • 子网信息列表



3003
3004
3005
# File 'lib/v20180525/models.rb', line 3003

def SubnetIds
  @SubnetIds
end

#SubnetInfosObject

Parameters:

  • k8s版本号。可为1.18.4 1.20.6。

  • vpc 的Id

  • 集群名称

  • 子网Id 列表

  • 集群描述信息

  • Service CIDR 或 Serivce 所在子网Id

  • 集群自定义的Dns服务器信息

  • 扩展参数。须是mapstring 的json 格式。

  • 是否在用户集群内开启Dns。默认为true

  • 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。

  • 子网信息列表



3003
3004
3005
# File 'lib/v20180525/models.rb', line 3003

def SubnetInfos
  @SubnetInfos
end

#TagSpecificationObject

Parameters:

  • k8s版本号。可为1.18.4 1.20.6。

  • vpc 的Id

  • 集群名称

  • 子网Id 列表

  • 集群描述信息

  • Service CIDR 或 Serivce 所在子网Id

  • 集群自定义的Dns服务器信息

  • 扩展参数。须是mapstring 的json 格式。

  • 是否在用户集群内开启Dns。默认为true

  • 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。

  • 子网信息列表



3003
3004
3005
# File 'lib/v20180525/models.rb', line 3003

def TagSpecification
  @TagSpecification
end

#VpcIdObject

Parameters:

  • k8s版本号。可为1.18.4 1.20.6。

  • vpc 的Id

  • 集群名称

  • 子网Id 列表

  • 集群描述信息

  • Service CIDR 或 Serivce 所在子网Id

  • 集群自定义的Dns服务器信息

  • 扩展参数。须是mapstring 的json 格式。

  • 是否在用户集群内开启Dns。默认为true

  • 标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。

  • 子网信息列表



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_tmp = TagSpecification.new
      tagspecification_tmp.deserialize(i)
      @TagSpecification << tagspecification_tmp
    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