Class: TencentCloud::Tke::V20180525::ModifyClusterAttributeRequest

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

Overview

ModifyClusterAttribute请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, projectid = nil, clustername = nil, clusterdesc = nil, clusterlevel = nil, autoupgradeclusterlevel = nil, qgpushareenable = nil, clusterproperty = nil) ⇒ ModifyClusterAttributeRequest

Returns a new instance of ModifyClusterAttributeRequest.



13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
# File 'lib/v20180525/models.rb', line 13941

def initialize(clusterid=nil, projectid=nil, clustername=nil, clusterdesc=nil, clusterlevel=nil, autoupgradeclusterlevel=nil, qgpushareenable=nil, clusterproperty=nil)
  @ClusterId = clusterid
  @ProjectId = projectid
  @ClusterName = clustername
  @ClusterDesc = clusterdesc
  @ClusterLevel = clusterlevel
  @AutoUpgradeClusterLevel = autoupgradeclusterlevel
  @QGPUShareEnable = qgpushareenable
  @ClusterProperty = clusterproperty
end

Instance Attribute Details

#AutoUpgradeClusterLevelObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称,字符长度50

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级,等级类型:L20、L50、L100、L200、L500、L1000、L3000、L5000

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13939
13940
13941
# File 'lib/v20180525/models.rb', line 13939

def AutoUpgradeClusterLevel
  @AutoUpgradeClusterLevel
end

#ClusterDescObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称,字符长度50

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级,等级类型:L20、L50、L100、L200、L500、L1000、L3000、L5000

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13939
13940
13941
# File 'lib/v20180525/models.rb', line 13939

def ClusterDesc
  @ClusterDesc
end

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称,字符长度50

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级,等级类型:L20、L50、L100、L200、L500、L1000、L3000、L5000

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13939
13940
13941
# File 'lib/v20180525/models.rb', line 13939

def ClusterId
  @ClusterId
end

#ClusterLevelObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称,字符长度50

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级,等级类型:L20、L50、L100、L200、L500、L1000、L3000、L5000

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13939
13940
13941
# File 'lib/v20180525/models.rb', line 13939

def ClusterLevel
  @ClusterLevel
end

#ClusterNameObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称,字符长度50

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级,等级类型:L20、L50、L100、L200、L500、L1000、L3000、L5000

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13939
13940
13941
# File 'lib/v20180525/models.rb', line 13939

def ClusterName
  @ClusterName
end

#ClusterPropertyObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称,字符长度50

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级,等级类型:L20、L50、L100、L200、L500、L1000、L3000、L5000

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13939
13940
13941
# File 'lib/v20180525/models.rb', line 13939

def ClusterProperty
  @ClusterProperty
end

#ProjectIdObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称,字符长度50

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级,等级类型:L20、L50、L100、L200、L500、L1000、L3000、L5000

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13939
13940
13941
# File 'lib/v20180525/models.rb', line 13939

def ProjectId
  @ProjectId
end

#QGPUShareEnableObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称,字符长度50

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级,等级类型:L20、L50、L100、L200、L500、L1000、L3000、L5000

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13939
13940
13941
# File 'lib/v20180525/models.rb', line 13939

def QGPUShareEnable
  @QGPUShareEnable
end

Instance Method Details

#deserialize(params) ⇒ Object



13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
# File 'lib/v20180525/models.rb', line 13952

def deserialize(params)
  @ClusterId = params['ClusterId']
  @ProjectId = params['ProjectId']
  @ClusterName = params['ClusterName']
  @ClusterDesc = params['ClusterDesc']
  @ClusterLevel = params['ClusterLevel']
  unless params['AutoUpgradeClusterLevel'].nil?
    @AutoUpgradeClusterLevel = AutoUpgradeClusterLevel.new
    @AutoUpgradeClusterLevel.deserialize(params['AutoUpgradeClusterLevel'])
  end
  @QGPUShareEnable = params['QGPUShareEnable']
  unless params['ClusterProperty'].nil?
    @ClusterProperty = ClusterProperty.new
    @ClusterProperty.deserialize(params['ClusterProperty'])
  end
end