Class: TencentCloud::Tke::V20180525::CreateTKEEdgeClusterRequest

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

Overview

CreateTKEEdgeCluster请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(k8sversion = nil, vpcid = nil, clustername = nil, podcidr = nil, servicecidr = nil, clusterdesc = nil, clusteradvancedsettings = nil, maxnodepodnum = nil, publiclb = nil, clusterlevel = nil, autoupgradeclusterlevel = nil, chargetype = nil, edgeversion = nil, registryprefix = nil, tagspecification = nil) ⇒ CreateTKEEdgeClusterRequest

Returns a new instance of CreateTKEEdgeClusterRequest.



3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
# File 'lib/v20180525/models.rb', line 3819

def initialize(k8sversion=nil, vpcid=nil, clustername=nil, podcidr=nil, servicecidr=nil, clusterdesc=nil, clusteradvancedsettings=nil, maxnodepodnum=nil, publiclb=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, chargetype=nil, edgeversion=nil, registryprefix=nil, tagspecification=nil)
  @K8SVersion = k8sversion
  @VpcId = vpcid
  @ClusterName = clustername
  @PodCIDR = podcidr
  @ServiceCIDR = servicecidr
  @ClusterDesc = clusterdesc
  @ClusterAdvancedSettings = clusteradvancedsettings
  @MaxNodePodNum = maxnodepodnum
  @PublicLB = publiclb
  @ClusterLevel = clusterlevel
  @AutoUpgradeClusterLevel = autoupgradeclusterlevel
  @ChargeType = chargetype
  @EdgeVersion = edgeversion
  @RegistryPrefix = registryprefix
  @TagSpecification = tagspecification
end

Instance Attribute Details

#AutoUpgradeClusterLevelObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def AutoUpgradeClusterLevel
  @AutoUpgradeClusterLevel
end

#ChargeTypeObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def ChargeType
  @ChargeType
end

#ClusterAdvancedSettingsObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def ClusterAdvancedSettings
  @ClusterAdvancedSettings
end

#ClusterDescObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def ClusterDesc
  @ClusterDesc
end

#ClusterLevelObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def ClusterLevel
  @ClusterLevel
end

#ClusterNameObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def ClusterName
  @ClusterName
end

#EdgeVersionObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def EdgeVersion
  @EdgeVersion
end

#K8SVersionObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def K8SVersion
  @K8SVersion
end

#MaxNodePodNumObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def MaxNodePodNum
  @MaxNodePodNum
end

#PodCIDRObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def PodCIDR
  @PodCIDR
end

#PublicLBObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def PublicLB
  @PublicLB
end

#RegistryPrefixObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def RegistryPrefix
  @RegistryPrefix
end

#ServiceCIDRObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def ServiceCIDR
  @ServiceCIDR
end

#TagSpecificationObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def TagSpecification
  @TagSpecification
end

#VpcIdObject

Parameters:

  • K8SVersion:

    k8s版本号

  • VpcId:

    vpc 的Id

  • ClusterName:

    集群名称

  • PodCIDR:

    集群pod cidr

  • ServiceCIDR:

    集群service cidr

  • ClusterDesc:

    集群描述信息

  • ClusterAdvancedSettings:

    集群高级设置

  • MaxNodePodNum:

    节点上最大Pod数量

  • PublicLB:

    边缘计算集群公网访问LB信息

  • ClusterLevel:

    集群的级别

  • AutoUpgradeClusterLevel:

    集群是否支持自动升配

  • ChargeType:

    集群计费方式

  • EdgeVersion:

    边缘集群版本,此版本区别于k8s版本,是整个集群各组件版本集合

  • RegistryPrefix:

    边缘组件镜像仓库前缀

  • TagSpecification:

    集群绑定的云标签



3817
3818
3819
# File 'lib/v20180525/models.rb', line 3817

def VpcId
  @VpcId
end

Instance Method Details

#deserialize(params) ⇒ Object



3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
# File 'lib/v20180525/models.rb', line 3837

def deserialize(params)
  @K8SVersion = params['K8SVersion']
  @VpcId = params['VpcId']
  @ClusterName = params['ClusterName']
  @PodCIDR = params['PodCIDR']
  @ServiceCIDR = params['ServiceCIDR']
  @ClusterDesc = params['ClusterDesc']
  unless params['ClusterAdvancedSettings'].nil?
    @ClusterAdvancedSettings = EdgeClusterAdvancedSettings.new
    @ClusterAdvancedSettings.deserialize(params['ClusterAdvancedSettings'])
  end
  @MaxNodePodNum = params['MaxNodePodNum']
  unless params['PublicLB'].nil?
    @PublicLB = EdgeClusterPublicLB.new
    @PublicLB.deserialize(params['PublicLB'])
  end
  @ClusterLevel = params['ClusterLevel']
  @AutoUpgradeClusterLevel = params['AutoUpgradeClusterLevel']
  @ChargeType = params['ChargeType']
  @EdgeVersion = params['EdgeVersion']
  @RegistryPrefix = params['RegistryPrefix']
  unless params['TagSpecification'].nil?
    @TagSpecification = TagSpecification.new
    @TagSpecification.deserialize(params['TagSpecification'])
  end
end