tencentcloud-sdk-es 3.0.452 → 3.0.453

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180416/models.rb +47 -6
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3d5186c0c2f7d7c6c9bc180ffc354f2531ee6b50
4
- data.tar.gz: 4291ad081a6d22ae07990ffc63992f9a644a0f4b
3
+ metadata.gz: 59bbc0c27a977ff590269053a963a62885aa3647
4
+ data.tar.gz: 21845e84445c97b229654e83475d14b5dd0699ce
5
5
  SHA512:
6
- metadata.gz: 74718c048f712fdbfc6ea24726ab772fa6bf112fd53975f22306fcd8dc01fec01c4b4bdcce0833f180608e0ab3b16c28a17dea49edbc032faac62aa18bf808e2
7
- data.tar.gz: 21441fca04f0bc33325e964d97cc289559fcb4d663e753b9302f3cf8de10b7428e68de573cdc80ca11c6d435e85f3899c7458c1e720b7e429c5ecc986357cd66
6
+ metadata.gz: a2016719e22aefcac66d6ad523283c94464a1668ac646f8f4c2805cd3985b65f642bcc3b510f916057256294ab4572fe23522d75afb2ddb5ca3afc3718163b1d
7
+ data.tar.gz: 547a08236501b76282dd3670cdfb3344b80bd590f3ce5f9c1d69c804744fef6675b85fc69af094e592f56215b6ab664f76809c08f231b42ae1fbf83e25e4acc3
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.452
1
+ 3.0.453
@@ -1242,10 +1242,12 @@ module TencentCloud
1242
1242
  # @type OrderByType: Integer
1243
1243
  # @param VpcIds: VpcId 筛选项
1244
1244
  # @type VpcIds: Array
1245
+ # @param TagList: 标签信息列表
1246
+ # @type TagList: Array
1245
1247
 
1246
- attr_accessor :Zone, :InstanceIds, :InstanceNames, :Offset, :Limit, :OrderByKey, :OrderByType, :VpcIds
1248
+ attr_accessor :Zone, :InstanceIds, :InstanceNames, :Offset, :Limit, :OrderByKey, :OrderByType, :VpcIds, :TagList
1247
1249
 
1248
- def initialize(zone=nil, instanceids=nil, instancenames=nil, offset=nil, limit=nil, orderbykey=nil, orderbytype=nil, vpcids=nil)
1250
+ def initialize(zone=nil, instanceids=nil, instancenames=nil, offset=nil, limit=nil, orderbykey=nil, orderbytype=nil, vpcids=nil, taglist=nil)
1249
1251
  @Zone = zone
1250
1252
  @InstanceIds = instanceids
1251
1253
  @InstanceNames = instancenames
@@ -1254,6 +1256,7 @@ module TencentCloud
1254
1256
  @OrderByKey = orderbykey
1255
1257
  @OrderByType = orderbytype
1256
1258
  @VpcIds = vpcids
1259
+ @TagList = taglist
1257
1260
  end
1258
1261
 
1259
1262
  def deserialize(params)
@@ -1265,6 +1268,14 @@ module TencentCloud
1265
1268
  @OrderByKey = params['OrderByKey']
1266
1269
  @OrderByType = params['OrderByType']
1267
1270
  @VpcIds = params['VpcIds']
1271
+ unless params['TagList'].nil?
1272
+ @TagList = []
1273
+ params['TagList'].each do |i|
1274
+ taginfo_tmp = TagInfo.new
1275
+ taginfo_tmp.deserialize(i)
1276
+ @TagList << taginfo_tmp
1277
+ end
1278
+ end
1268
1279
  end
1269
1280
  end
1270
1281
 
@@ -2542,10 +2553,19 @@ module TencentCloud
2542
2553
  # @param OperationDuration: 可维护时间段
2543
2554
  # 注意:此字段可能返回 null,表示取不到有效值。
2544
2555
  # @type OperationDuration: :class:`Tencentcloud::Es.v20180416.models.OperationDuration`
2556
+ # @param CpuNum: CPU数量
2557
+ # 注意:此字段可能返回 null,表示取不到有效值。
2558
+ # @type CpuNum: Integer
2559
+ # @param TagList: 实例标签信息
2560
+ # 注意:此字段可能返回 null,表示取不到有效值。
2561
+ # @type TagList: Array
2562
+ # @param MemSize: 内存大小
2563
+ # 注意:此字段可能返回 null,表示取不到有效值。
2564
+ # @type MemSize: Integer
2545
2565
 
2546
- attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :AppId, :Uin, :VpcId, :SubnetId, :Status, :ChargeType, :ChargePeriod, :RenewFlag, :NodeType, :NodeNum, :DiskType, :DiskSize, :LogstashVersion, :LicenseType, :CreateTime, :UpdateTime, :Deadline, :Nodes, :BindedESInstanceId, :YMLConfig, :ExtendedFiles, :OperationDuration
2566
+ attr_accessor :InstanceId, :InstanceName, :Region, :Zone, :AppId, :Uin, :VpcId, :SubnetId, :Status, :ChargeType, :ChargePeriod, :RenewFlag, :NodeType, :NodeNum, :DiskType, :DiskSize, :LogstashVersion, :LicenseType, :CreateTime, :UpdateTime, :Deadline, :Nodes, :BindedESInstanceId, :YMLConfig, :ExtendedFiles, :OperationDuration, :CpuNum, :TagList, :MemSize
2547
2567
 
2548
- def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, appid=nil, uin=nil, vpcid=nil, subnetid=nil, status=nil, chargetype=nil, chargeperiod=nil, renewflag=nil, nodetype=nil, nodenum=nil, disktype=nil, disksize=nil, logstashversion=nil, licensetype=nil, createtime=nil, updatetime=nil, deadline=nil, nodes=nil, bindedesinstanceid=nil, ymlconfig=nil, extendedfiles=nil, operationduration=nil)
2568
+ def initialize(instanceid=nil, instancename=nil, region=nil, zone=nil, appid=nil, uin=nil, vpcid=nil, subnetid=nil, status=nil, chargetype=nil, chargeperiod=nil, renewflag=nil, nodetype=nil, nodenum=nil, disktype=nil, disksize=nil, logstashversion=nil, licensetype=nil, createtime=nil, updatetime=nil, deadline=nil, nodes=nil, bindedesinstanceid=nil, ymlconfig=nil, extendedfiles=nil, operationduration=nil, cpunum=nil, taglist=nil, memsize=nil)
2549
2569
  @InstanceId = instanceid
2550
2570
  @InstanceName = instancename
2551
2571
  @Region = region
@@ -2572,6 +2592,9 @@ module TencentCloud
2572
2592
  @YMLConfig = ymlconfig
2573
2593
  @ExtendedFiles = extendedfiles
2574
2594
  @OperationDuration = operationduration
2595
+ @CpuNum = cpunum
2596
+ @TagList = taglist
2597
+ @MemSize = memsize
2575
2598
  end
2576
2599
 
2577
2600
  def deserialize(params)
@@ -2618,6 +2641,16 @@ module TencentCloud
2618
2641
  @OperationDuration = OperationDuration.new
2619
2642
  @OperationDuration.deserialize(params['OperationDuration'])
2620
2643
  end
2644
+ @CpuNum = params['CpuNum']
2645
+ unless params['TagList'].nil?
2646
+ @TagList = []
2647
+ params['TagList'].each do |i|
2648
+ taginfo_tmp = TagInfo.new
2649
+ taginfo_tmp.deserialize(i)
2650
+ @TagList << taginfo_tmp
2651
+ end
2652
+ end
2653
+ @MemSize = params['MemSize']
2621
2654
  end
2622
2655
  end
2623
2656
 
@@ -3254,19 +3287,27 @@ module TencentCloud
3254
3287
  # @type NodeNames: Array
3255
3288
  # @param ForceRestart: 是否强制重启
3256
3289
  # @type ForceRestart: Boolean
3290
+ # @param RestartMode: 可选重启模式"in-place","blue-green",分别表示重启,蓝绿重启;默认值为"in-place"
3291
+ # @type RestartMode: String
3292
+ # @param IsOffline: 节点状态,在蓝绿模式中使用;离线节点蓝绿有风险
3293
+ # @type IsOffline: Boolean
3257
3294
 
3258
- attr_accessor :InstanceId, :NodeNames, :ForceRestart
3295
+ attr_accessor :InstanceId, :NodeNames, :ForceRestart, :RestartMode, :IsOffline
3259
3296
 
3260
- def initialize(instanceid=nil, nodenames=nil, forcerestart=nil)
3297
+ def initialize(instanceid=nil, nodenames=nil, forcerestart=nil, restartmode=nil, isoffline=nil)
3261
3298
  @InstanceId = instanceid
3262
3299
  @NodeNames = nodenames
3263
3300
  @ForceRestart = forcerestart
3301
+ @RestartMode = restartmode
3302
+ @IsOffline = isoffline
3264
3303
  end
3265
3304
 
3266
3305
  def deserialize(params)
3267
3306
  @InstanceId = params['InstanceId']
3268
3307
  @NodeNames = params['NodeNames']
3269
3308
  @ForceRestart = params['ForceRestart']
3309
+ @RestartMode = params['RestartMode']
3310
+ @IsOffline = params['IsOffline']
3270
3311
  end
3271
3312
  end
3272
3313
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-es
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.452
4
+ version: 3.0.453
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-11-15 00:00:00.000000000 Z
11
+ date: 2022-11-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common
@@ -34,8 +34,8 @@ extensions: []
34
34
  extra_rdoc_files: []
35
35
  files:
36
36
  - lib/tencentcloud-sdk-es.rb
37
- - lib/v20180416/models.rb
38
37
  - lib/v20180416/client.rb
38
+ - lib/v20180416/models.rb
39
39
  - lib/VERSION
40
40
  homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
41
41
  licenses: