Class: TencentCloud::Tke::V20180525::ModifyClusterImageRequest

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

Overview

ModifyClusterImage请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, imageid = nil) ⇒ ModifyClusterImageRequest

Returns a new instance of ModifyClusterImageRequest.



13991
13992
13993
13994
# File 'lib/v20180525/models.rb', line 13991

def initialize(clusterid=nil, imageid=nil)
  @ClusterId = clusterid
  @ImageId = imageid
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID

  • ImageId:

    指定有效的镜像ID,格式形如img-xxxx。可通过登录控制台查询,也可调用接口 [DescribeImages](cloud.tencent.com/document/api/213/15715),取返回信息中的ImageId字段。



13989
13990
13991
# File 'lib/v20180525/models.rb', line 13989

def ClusterId
  @ClusterId
end

#ImageIdObject

Parameters:

  • ClusterId:

    集群ID

  • ImageId:

    指定有效的镜像ID,格式形如img-xxxx。可通过登录控制台查询,也可调用接口 [DescribeImages](cloud.tencent.com/document/api/213/15715),取返回信息中的ImageId字段。



13989
13990
13991
# File 'lib/v20180525/models.rb', line 13989

def ImageId
  @ImageId
end

Instance Method Details

#deserialize(params) ⇒ Object



13996
13997
13998
13999
# File 'lib/v20180525/models.rb', line 13996

def deserialize(params)
  @ClusterId = params['ClusterId']
  @ImageId = params['ImageId']
end