Class: TencentCloud::Tke::V20180525::CheckInstancesUpgradeAbleRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tke::V20180525::CheckInstancesUpgradeAbleRequest
- Defined in:
- lib/v20180525/models.rb
Overview
CheckInstancesUpgradeAble请求参数结构体
Instance Attribute Summary collapse
-
#ClusterId ⇒ Object
-
Name 为 ip 时,Value 为待查询节点 ip - Name 为 hostname 时,Value 为待查询节点名称 - Name 为 label 时,Value 为待查询 K8S 节点 label - Name 为 instanceId 时,Value 为 待查询节点 id.
-
-
#Filter ⇒ Object
-
Name 为 ip 时,Value 为待查询节点 ip - Name 为 hostname 时,Value 为待查询节点名称 - Name 为 label 时,Value 为待查询 K8S 节点 label - Name 为 instanceId 时,Value 为 待查询节点 id.
-
-
#InstanceIds ⇒ Object
-
Name 为 ip 时,Value 为待查询节点 ip - Name 为 hostname 时,Value 为待查询节点名称 - Name 为 label 时,Value 为待查询 K8S 节点 label - Name 为 instanceId 时,Value 为 待查询节点 id.
-
-
#Limit ⇒ Object
-
Name 为 ip 时,Value 为待查询节点 ip - Name 为 hostname 时,Value 为待查询节点名称 - Name 为 label 时,Value 为待查询 K8S 节点 label - Name 为 instanceId 时,Value 为 待查询节点 id.
-
-
#Offset ⇒ Object
-
Name 为 ip 时,Value 为待查询节点 ip - Name 为 hostname 时,Value 为待查询节点名称 - Name 为 label 时,Value 为待查询 K8S 节点 label - Name 为 instanceId 时,Value 为 待查询节点 id.
-
-
#UpgradeType ⇒ Object
-
Name 为 ip 时,Value 为待查询节点 ip - Name 为 hostname 时,Value 为待查询节点名称 - Name 为 label 时,Value 为待查询 K8S 节点 label - Name 为 instanceId 时,Value 为 待查询节点 id.
-
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(clusterid = nil, instanceids = nil, upgradetype = nil, offset = nil, limit = nil, filter = nil) ⇒ CheckInstancesUpgradeAbleRequest
constructor
A new instance of CheckInstancesUpgradeAbleRequest.
Constructor Details
#initialize(clusterid = nil, instanceids = nil, upgradetype = nil, offset = nil, limit = nil, filter = nil) ⇒ CheckInstancesUpgradeAbleRequest
Returns a new instance of CheckInstancesUpgradeAbleRequest.
771 772 773 774 775 776 777 778 |
# File 'lib/v20180525/models.rb', line 771 def initialize(clusterid=nil, instanceids=nil, upgradetype=nil, offset=nil, limit=nil, filter=nil) @ClusterId = clusterid @InstanceIds = instanceids @UpgradeType = upgradetype @Offset = offset @Limit = limit @Filter = filter end |
Instance Attribute Details
#ClusterId ⇒ Object
-
Name 为 ip 时,Value 为待查询节点 ip
-
Name 为 hostname 时,Value 为待查询节点名称
-
Name 为 label 时,Value 为待查询 K8S 节点 label
-
Name 为 instanceId 时,Value 为 待查询节点 id
769 770 771 |
# File 'lib/v20180525/models.rb', line 769 def ClusterId @ClusterId end |
#Filter ⇒ Object
-
Name 为 ip 时,Value 为待查询节点 ip
-
Name 为 hostname 时,Value 为待查询节点名称
-
Name 为 label 时,Value 为待查询 K8S 节点 label
-
Name 为 instanceId 时,Value 为 待查询节点 id
769 770 771 |
# File 'lib/v20180525/models.rb', line 769 def Filter @Filter end |
#InstanceIds ⇒ Object
-
Name 为 ip 时,Value 为待查询节点 ip
-
Name 为 hostname 时,Value 为待查询节点名称
-
Name 为 label 时,Value 为待查询 K8S 节点 label
-
Name 为 instanceId 时,Value 为 待查询节点 id
769 770 771 |
# File 'lib/v20180525/models.rb', line 769 def InstanceIds @InstanceIds end |
#Limit ⇒ Object
-
Name 为 ip 时,Value 为待查询节点 ip
-
Name 为 hostname 时,Value 为待查询节点名称
-
Name 为 label 时,Value 为待查询 K8S 节点 label
-
Name 为 instanceId 时,Value 为 待查询节点 id
769 770 771 |
# File 'lib/v20180525/models.rb', line 769 def Limit @Limit end |
#Offset ⇒ Object
-
Name 为 ip 时,Value 为待查询节点 ip
-
Name 为 hostname 时,Value 为待查询节点名称
-
Name 为 label 时,Value 为待查询 K8S 节点 label
-
Name 为 instanceId 时,Value 为 待查询节点 id
769 770 771 |
# File 'lib/v20180525/models.rb', line 769 def Offset @Offset end |
#UpgradeType ⇒ Object
-
Name 为 ip 时,Value 为待查询节点 ip
-
Name 为 hostname 时,Value 为待查询节点名称
-
Name 为 label 时,Value 为待查询 K8S 节点 label
-
Name 为 instanceId 时,Value 为 待查询节点 id
769 770 771 |
# File 'lib/v20180525/models.rb', line 769 def UpgradeType @UpgradeType end |
Instance Method Details
#deserialize(params) ⇒ Object
780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 |
# File 'lib/v20180525/models.rb', line 780 def deserialize(params) @ClusterId = params['ClusterId'] @InstanceIds = params['InstanceIds'] @UpgradeType = params['UpgradeType'] @Offset = params['Offset'] @Limit = params['Limit'] unless params['Filter'].nil? @Filter = [] params['Filter'].each do |i| filter_tmp = Filter.new filter_tmp.deserialize(i) @Filter << filter_tmp end end end |