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.



13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
# File 'lib/v20180525/models.rb', line 13810

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:

    集群名称

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13808
13809
13810
# File 'lib/v20180525/models.rb', line 13808

def AutoUpgradeClusterLevel
  @AutoUpgradeClusterLevel
end

#ClusterDescObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13808
13809
13810
# File 'lib/v20180525/models.rb', line 13808

def ClusterDesc
  @ClusterDesc
end

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13808
13809
13810
# File 'lib/v20180525/models.rb', line 13808

def ClusterId
  @ClusterId
end

#ClusterLevelObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13808
13809
13810
# File 'lib/v20180525/models.rb', line 13808

def ClusterLevel
  @ClusterLevel
end

#ClusterNameObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13808
13809
13810
# File 'lib/v20180525/models.rb', line 13808

def ClusterName
  @ClusterName
end

#ClusterPropertyObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13808
13809
13810
# File 'lib/v20180525/models.rb', line 13808

def ClusterProperty
  @ClusterProperty
end

#ProjectIdObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13808
13809
13810
# File 'lib/v20180525/models.rb', line 13808

def ProjectId
  @ProjectId
end

#QGPUShareEnableObject

Parameters:

  • ClusterId:

    集群ID

  • ProjectId:

    集群所属项目

  • ClusterName:

    集群名称

  • ClusterDesc:

    集群描述

  • ClusterLevel:

    集群等级

  • AutoUpgradeClusterLevel:

    自动变配集群等级

  • QGPUShareEnable:

    是否开启QGPU共享

  • ClusterProperty:

    集群属性



13808
13809
13810
# File 'lib/v20180525/models.rb', line 13808

def QGPUShareEnable
  @QGPUShareEnable
end

Instance Method Details

#deserialize(params) ⇒ Object



13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
# File 'lib/v20180525/models.rb', line 13821

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