Class: TencentCloud::Tke::V20180525::InstallAddonRequest

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

Overview

InstallAddon请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, addonname = nil, addonversion = nil, rawvalues = nil) ⇒ InstallAddonRequest

Returns a new instance of InstallAddonRequest.



12635
12636
12637
12638
12639
12640
# File 'lib/v20180525/models.rb', line 12635

def initialize(clusterid=nil, addonname=nil, addonversion=nil, rawvalues=nil)
  @ClusterId = clusterid
  @AddonName = addonname
  @AddonVersion = addonversion
  @RawValues = rawvalues
end

Instance Attribute Details

#AddonNameObject

Parameters:

  • ClusterId:

    集群ID

  • AddonName:

    addon名称

  • AddonVersion:

    addon版本(不传默认安装最新版本)

  • RawValues:

    addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)



12633
12634
12635
# File 'lib/v20180525/models.rb', line 12633

def AddonName
  @AddonName
end

#AddonVersionObject

Parameters:

  • ClusterId:

    集群ID

  • AddonName:

    addon名称

  • AddonVersion:

    addon版本(不传默认安装最新版本)

  • RawValues:

    addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)



12633
12634
12635
# File 'lib/v20180525/models.rb', line 12633

def AddonVersion
  @AddonVersion
end

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • AddonName:

    addon名称

  • AddonVersion:

    addon版本(不传默认安装最新版本)

  • RawValues:

    addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)



12633
12634
12635
# File 'lib/v20180525/models.rb', line 12633

def ClusterId
  @ClusterId
end

#RawValuesObject

Parameters:

  • ClusterId:

    集群ID

  • AddonName:

    addon名称

  • AddonVersion:

    addon版本(不传默认安装最新版本)

  • RawValues:

    addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取)



12633
12634
12635
# File 'lib/v20180525/models.rb', line 12633

def RawValues
  @RawValues
end

Instance Method Details

#deserialize(params) ⇒ Object



12642
12643
12644
12645
12646
12647
# File 'lib/v20180525/models.rb', line 12642

def deserialize(params)
  @ClusterId = params['ClusterId']
  @AddonName = params['AddonName']
  @AddonVersion = params['AddonVersion']
  @RawValues = params['RawValues']
end