Class: TencentCloud::Tke::V20180525::GetUpgradeInstanceProgressRequest

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

Overview

GetUpgradeInstanceProgress请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(clusterid = nil, limit = nil, offset = nil) ⇒ GetUpgradeInstanceProgressRequest

Returns a new instance of GetUpgradeInstanceProgressRequest.



12475
12476
12477
12478
12479
# File 'lib/v20180525/models.rb', line 12475

def initialize(clusterid=nil, limit=nil, offset=nil)
  @ClusterId = clusterid
  @Limit = limit
  @Offset = offset
end

Instance Attribute Details

#ClusterIdObject

Parameters:

  • ClusterId:

    集群ID(请登录 [TKE 控制台](console.cloud.tencent.com/tke2) 获取集群 ID )

  • Limit:

    最多获取多少个节点的进度

  • Offset:

    从第几个节点开始获取进度



12473
12474
12475
# File 'lib/v20180525/models.rb', line 12473

def ClusterId
  @ClusterId
end

#LimitObject

Parameters:

  • ClusterId:

    集群ID(请登录 [TKE 控制台](console.cloud.tencent.com/tke2) 获取集群 ID )

  • Limit:

    最多获取多少个节点的进度

  • Offset:

    从第几个节点开始获取进度



12473
12474
12475
# File 'lib/v20180525/models.rb', line 12473

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • ClusterId:

    集群ID(请登录 [TKE 控制台](console.cloud.tencent.com/tke2) 获取集群 ID )

  • Limit:

    最多获取多少个节点的进度

  • Offset:

    从第几个节点开始获取进度



12473
12474
12475
# File 'lib/v20180525/models.rb', line 12473

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



12481
12482
12483
12484
12485
# File 'lib/v20180525/models.rb', line 12481

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