tencentcloud-sdk-eis 3.0.451 → 3.0.452

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/v20210601/models.rb +129 -31
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 93e490e2c2d0d3910f58b6fc64b76e3b8044ca34
4
- data.tar.gz: 08fb3671cda91bb97b7ab593176903bf00a67a0b
3
+ metadata.gz: bff7292ca2a1dfbd55e551517cd13e34140bad84
4
+ data.tar.gz: 5fa9c7e2c52c097c2edff95f3bdbac6a27c8041f
5
5
  SHA512:
6
- metadata.gz: 0904fa41f5649ca410a90aa336fefd4f74ed796fb3244ea561a123ad814458680519c7ba1ca3c00a602e476ea3e715f7ea8368230d01ee688c0b2074bc8f31d7
7
- data.tar.gz: 22ccfeaba6ca9be99c49fd954032af528a64793ad2afa840b73d1648a90bc2fb676a9fc51d9d296f020afe85ab36d32cb096394063f13fca7afde7a166bbff2d
6
+ metadata.gz: db52b7c5382783594965541a9668bfa8f15c320b23596847d39b47a2739b49e7176915a6a8392a1f474852f703648a220c171d3fce47f262a312573a8a830146
7
+ data.tar.gz: 21e78d891a58f74db780ed1664b28643060d319b904900d072ae0c1416f99225503cc3a9592c8670d347b4d6669a0fb6d05d9c7928b2d05430909562a2bb541c
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.451
1
+ 3.0.452
@@ -19,26 +19,31 @@ module TencentCloud
19
19
  module V20210601
20
20
  # 运行时精简信息
21
21
  class AbstractRuntimeMC < TencentCloud::Common::AbstractModel
22
- # @param RuntimeId: 运行时id
22
+ # @param RuntimeId: 环境id
23
23
  # @type RuntimeId: Integer
24
- # @param DisplayName: 运行时名称,用户输入,同一uin内唯一
24
+ # @param DisplayName: 环境名称,用户输入,同一uin内唯一
25
25
  # @type DisplayName: String
26
- # @param Type: 运行时类型:0: sandbox, 1:shared, 2:private
26
+ # @param Type: 环境类型:0: sandbox, 1:shared, 2:private
27
27
  # @type Type: Integer
28
- # @param Zone: 运行时所在地域,tianjin,beijiing,guangzhou等
28
+ # @param Zone: 环境所在地域,tianjin,beijiing,guangzhou等
29
29
  # @type Zone: String
30
- # @param Area: 运行时所在地域,tianjin,beijiing,guangzhou等(同Zone)
30
+ # @param Area: 环境所在地域,tianjin,beijiing,guangzhou等(同Zone)
31
31
  # @type Area: String
32
- # @param Addr: 运行时应用listener地址后缀
32
+ # @param Addr: 环境应用listener地址后缀
33
33
  # @type Addr: String
34
- # @param Status: 运行时状态
34
+ # @param Status: 环境状态
35
35
  # @type Status: Integer
36
- # @param ExpiredAt: 运行时过期时间
36
+ # @param ExpiredAt: 环境过期时间
37
37
  # @type ExpiredAt: Integer
38
+ # @param RuntimeClass: 环境运行类型:0:运行时类型、1:api类型
39
+ # @type RuntimeClass: Integer
40
+ # @param Deployed: 是否已在当前环境发布
41
+ # 注意:此字段可能返回 null,表示取不到有效值。
42
+ # @type Deployed: Boolean
38
43
 
39
- attr_accessor :RuntimeId, :DisplayName, :Type, :Zone, :Area, :Addr, :Status, :ExpiredAt
44
+ attr_accessor :RuntimeId, :DisplayName, :Type, :Zone, :Area, :Addr, :Status, :ExpiredAt, :RuntimeClass, :Deployed
40
45
 
41
- def initialize(runtimeid=nil, displayname=nil, type=nil, zone=nil, area=nil, addr=nil, status=nil, expiredat=nil)
46
+ def initialize(runtimeid=nil, displayname=nil, type=nil, zone=nil, area=nil, addr=nil, status=nil, expiredat=nil, runtimeclass=nil, deployed=nil)
42
47
  @RuntimeId = runtimeid
43
48
  @DisplayName = displayname
44
49
  @Type = type
@@ -47,6 +52,8 @@ module TencentCloud
47
52
  @Addr = addr
48
53
  @Status = status
49
54
  @ExpiredAt = expiredat
55
+ @RuntimeClass = runtimeclass
56
+ @Deployed = deployed
50
57
  end
51
58
 
52
59
  def deserialize(params)
@@ -58,26 +65,32 @@ module TencentCloud
58
65
  @Addr = params['Addr']
59
66
  @Status = params['Status']
60
67
  @ExpiredAt = params['ExpiredAt']
68
+ @RuntimeClass = params['RuntimeClass']
69
+ @Deployed = params['Deployed']
61
70
  end
62
71
  end
63
72
 
64
73
  # GetRuntimeMC请求参数结构体
65
74
  class GetRuntimeMCRequest < TencentCloud::Common::AbstractModel
66
- # @param RuntimeId: 运行时id
75
+ # @param RuntimeId: 环境id
67
76
  # @type RuntimeId: Integer
68
- # @param Zone: 运行时地域
77
+ # @param Zone: 环境地域
69
78
  # @type Zone: String
79
+ # @param RuntimeClass: 环境运行类型:0:运行时类型、1:api类型
80
+ # @type RuntimeClass: Integer
70
81
 
71
- attr_accessor :RuntimeId, :Zone
82
+ attr_accessor :RuntimeId, :Zone, :RuntimeClass
72
83
 
73
- def initialize(runtimeid=nil, zone=nil)
84
+ def initialize(runtimeid=nil, zone=nil, runtimeclass=nil)
74
85
  @RuntimeId = runtimeid
75
86
  @Zone = zone
87
+ @RuntimeClass = runtimeclass
76
88
  end
77
89
 
78
90
  def deserialize(params)
79
91
  @RuntimeId = params['RuntimeId']
80
92
  @Zone = params['Zone']
93
+ @RuntimeClass = params['RuntimeClass']
81
94
  end
82
95
  end
83
96
 
@@ -118,16 +131,19 @@ module TencentCloud
118
131
  # @type RateType: Boolean
119
132
  # @param Interval: 采样粒度:60(s), 300(s), 3600(s), 86400(s)
120
133
  # @type Interval: Integer
134
+ # @param RuntimeClass: 环境运行类型:0:运行时类型、1:api类型
135
+ # @type RuntimeClass: Integer
121
136
 
122
- attr_accessor :RuntimeId, :StartTime, :EndTime, :MetricType, :RateType, :Interval
137
+ attr_accessor :RuntimeId, :StartTime, :EndTime, :MetricType, :RateType, :Interval, :RuntimeClass
123
138
 
124
- def initialize(runtimeid=nil, starttime=nil, endtime=nil, metrictype=nil, ratetype=nil, interval=nil)
139
+ def initialize(runtimeid=nil, starttime=nil, endtime=nil, metrictype=nil, ratetype=nil, interval=nil, runtimeclass=nil)
125
140
  @RuntimeId = runtimeid
126
141
  @StartTime = starttime
127
142
  @EndTime = endtime
128
143
  @MetricType = metrictype
129
144
  @RateType = ratetype
130
145
  @Interval = interval
146
+ @RuntimeClass = runtimeclass
131
147
  end
132
148
 
133
149
  def deserialize(params)
@@ -137,6 +153,7 @@ module TencentCloud
137
153
  @MetricType = params['MetricType']
138
154
  @RateType = params['RateType']
139
155
  @Interval = params['Interval']
156
+ @RuntimeClass = params['RuntimeClass']
140
157
  end
141
158
  end
142
159
 
@@ -293,12 +310,17 @@ module TencentCloud
293
310
 
294
311
  # ListRuntimesMC请求参数结构体
295
312
  class ListRuntimesMCRequest < TencentCloud::Common::AbstractModel
313
+ # @param RuntimeClass: 环境运行类型:0:运行时类型、1:api类型
314
+ # @type RuntimeClass: Integer
296
315
 
316
+ attr_accessor :RuntimeClass
297
317
 
298
- def initialize()
318
+ def initialize(runtimeclass=nil)
319
+ @RuntimeClass = runtimeclass
299
320
  end
300
321
 
301
322
  def deserialize(params)
323
+ @RuntimeClass = params['RuntimeClass']
302
324
  end
303
325
  end
304
326
 
@@ -375,10 +397,12 @@ module TencentCloud
375
397
  # @type UpdatedAt: Integer
376
398
  # @param ProjectType: 应用类型:0:NormalApp普通应用 1:TemplateApp模板应用 2:LightApp轻应用 3:MicroConnTemplate微连接模板 4:MicroConnApp微连接应用
377
399
  # @type ProjectType: Integer
400
+ # @param ProjectVersion: 应用版本:0:旧版 1:3.0新控制台
401
+ # @type ProjectVersion: Integer
378
402
 
379
- attr_accessor :GroupId, :GroupName, :ProjectId, :ProjectName, :InstanceId, :InstanceVersion, :InstanceCreatedAt, :Status, :CreatedAt, :UpdatedAt, :ProjectType
403
+ attr_accessor :GroupId, :GroupName, :ProjectId, :ProjectName, :InstanceId, :InstanceVersion, :InstanceCreatedAt, :Status, :CreatedAt, :UpdatedAt, :ProjectType, :ProjectVersion
380
404
 
381
- def initialize(groupid=nil, groupname=nil, projectid=nil, projectname=nil, instanceid=nil, instanceversion=nil, instancecreatedat=nil, status=nil, createdat=nil, updatedat=nil, projecttype=nil)
405
+ def initialize(groupid=nil, groupname=nil, projectid=nil, projectname=nil, instanceid=nil, instanceversion=nil, instancecreatedat=nil, status=nil, createdat=nil, updatedat=nil, projecttype=nil, projectversion=nil)
382
406
  @GroupId = groupid
383
407
  @GroupName = groupname
384
408
  @ProjectId = projectid
@@ -390,6 +414,7 @@ module TencentCloud
390
414
  @CreatedAt = createdat
391
415
  @UpdatedAt = updatedat
392
416
  @ProjectType = projecttype
417
+ @ProjectVersion = projectversion
393
418
  end
394
419
 
395
420
  def deserialize(params)
@@ -404,30 +429,71 @@ module TencentCloud
404
429
  @CreatedAt = params['CreatedAt']
405
430
  @UpdatedAt = params['UpdatedAt']
406
431
  @ProjectType = params['ProjectType']
432
+ @ProjectVersion = params['ProjectVersion']
433
+ end
434
+ end
435
+
436
+ # 运行环境扩展组件
437
+ class RuntimeExtensionMC < TencentCloud::Common::AbstractModel
438
+ # @param Type: 扩展组件类型:0:cdc
439
+ # @type Type: Integer
440
+ # @param Size: 部署规格vcore数
441
+ # @type Size: Float
442
+ # @param Replica: 副本数
443
+ # @type Replica: Integer
444
+ # @param Name: 扩展组件名称
445
+ # @type Name: String
446
+ # @param Status: 状态 1:未启用 2:已启用
447
+ # @type Status: Integer
448
+ # @param CreatedAt: 创建时间
449
+ # @type CreatedAt: Integer
450
+ # @param UpdatedAt: 修改时间
451
+ # @type UpdatedAt: Integer
452
+
453
+ attr_accessor :Type, :Size, :Replica, :Name, :Status, :CreatedAt, :UpdatedAt
454
+
455
+ def initialize(type=nil, size=nil, replica=nil, name=nil, status=nil, createdat=nil, updatedat=nil)
456
+ @Type = type
457
+ @Size = size
458
+ @Replica = replica
459
+ @Name = name
460
+ @Status = status
461
+ @CreatedAt = createdat
462
+ @UpdatedAt = updatedat
463
+ end
464
+
465
+ def deserialize(params)
466
+ @Type = params['Type']
467
+ @Size = params['Size']
468
+ @Replica = params['Replica']
469
+ @Name = params['Name']
470
+ @Status = params['Status']
471
+ @CreatedAt = params['CreatedAt']
472
+ @UpdatedAt = params['UpdatedAt']
407
473
  end
408
474
  end
409
475
 
410
476
  # 运行时详细信息
411
477
  class RuntimeMC < TencentCloud::Common::AbstractModel
412
- # @param RuntimeId: 运行时id
478
+ # @param RuntimeId: 环境id
413
479
  # @type RuntimeId: Integer
414
480
  # @param Uin: 主账号uin
415
481
  # @type Uin: String
416
- # @param DisplayName: 运行时名称,用户输入,同一uin内唯一
482
+ # @param DisplayName: 环境名称,用户输入,同一uin内唯一
417
483
  # @type DisplayName: String
418
- # @param Zone: 运行时所在地域,tianjin,beijiing,guangzhou等
484
+ # @param Zone: 环境所在地域,tianjin,beijiing,guangzhou等
419
485
  # @type Zone: String
420
- # @param Type: 运行时类型:0: sandbox, 1:shared, 2:private
486
+ # @param Type: 环境类型:0: sandbox, 1:shared, 2:private 3: trial
421
487
  # @type Type: Integer
422
488
  # @param Status: 运行时状态:1:running, 2:deleting, 3:creating, 4:scaling, 5:unavailable, 6:deleted, 7:errored
423
489
  # @type Status: Integer
424
- # @param CreatedAt: 运行时创建时间
490
+ # @param CreatedAt: 环境创建时间
425
491
  # @type CreatedAt: Integer
426
- # @param UpdatedAt: 运行时更新时间
492
+ # @param UpdatedAt: 环境更新时间
427
493
  # @type UpdatedAt: Integer
428
- # @param WorkerSize: 运行时资源配置,worker总配额,0:0vCore0G, 1:1vCore2G, 2:2vCore4G, 4:4vCore8G, 8:8vCore16G, 12:12vCore24G, 16:16vCore32G, 100:unlimited
494
+ # @param WorkerSize: 环境资源配置,worker总配额,0:0vCore0G, 1:1vCore2G, 2:2vCore4G, 4:4vCore8G, 8:8vCore16G, 12:12vCore24G, 16:16vCore32G, 100:unlimited
429
495
  # @type WorkerSize: Integer
430
- # @param WorkerReplica: 运行时资源配置,worker副本数
496
+ # @param WorkerReplica: 环境资源配置,worker副本数
431
497
  # @type WorkerReplica: Integer
432
498
  # @param RunningInstanceCount: 正在运行的应用实例数量
433
499
  # @type RunningInstanceCount: Integer
@@ -439,10 +505,10 @@ module TencentCloud
439
505
  # @type MemoryUsed: Float
440
506
  # @param MemoryLimit: 内存上限 MB
441
507
  # @type MemoryLimit: Float
442
- # @param ExpiredAt: 运行时过期时间
508
+ # @param ExpiredAt: 环境过期时间
443
509
  # 注意:此字段可能返回 null,表示取不到有效值。
444
510
  # @type ExpiredAt: Integer
445
- # @param ChargeType: 收费类型:0:缺省,1:通过订单页自助下单(支持续费/升配等操作)
511
+ # @param ChargeType: 收费类型:0:缺省,1:自助下单页购买(支持续费/升配等操作),2:代销下单页购买
446
512
  # 注意:此字段可能返回 null,表示取不到有效值。
447
513
  # @type ChargeType: Integer
448
514
  # @param ResourceLimitType: 资源限制类型:0:无限制,1:有限制
@@ -451,10 +517,25 @@ module TencentCloud
451
517
  # @param AutoRenewal: 是否开启自动续费
452
518
  # 注意:此字段可能返回 null,表示取不到有效值。
453
519
  # @type AutoRenewal: Boolean
520
+ # @param WorkerExtensions: 扩展组件列表
521
+ # 注意:此字段可能返回 null,表示取不到有效值。
522
+ # @type WorkerExtensions: Array
523
+ # @param RuntimeType: 环境类型:0: sandbox, 1:shared, 2:private 3: trial
524
+ # 注意:此字段可能返回 null,表示取不到有效值。
525
+ # @type RuntimeType: Integer
526
+ # @param RuntimeClass: 环境运行类型:0:运行时类型、1:api类型
527
+ # 注意:此字段可能返回 null,表示取不到有效值。
528
+ # @type RuntimeClass: Integer
529
+ # @param BandwidthOutUsed: 已使用出带宽 Mbps
530
+ # 注意:此字段可能返回 null,表示取不到有效值。
531
+ # @type BandwidthOutUsed: Float
532
+ # @param BandwidthOutLimit: 出带宽上限 Mbps
533
+ # 注意:此字段可能返回 null,表示取不到有效值。
534
+ # @type BandwidthOutLimit: Float
454
535
 
455
- attr_accessor :RuntimeId, :Uin, :DisplayName, :Zone, :Type, :Status, :CreatedAt, :UpdatedAt, :WorkerSize, :WorkerReplica, :RunningInstanceCount, :CpuUsed, :CpuLimit, :MemoryUsed, :MemoryLimit, :ExpiredAt, :ChargeType, :ResourceLimitType, :AutoRenewal
536
+ attr_accessor :RuntimeId, :Uin, :DisplayName, :Zone, :Type, :Status, :CreatedAt, :UpdatedAt, :WorkerSize, :WorkerReplica, :RunningInstanceCount, :CpuUsed, :CpuLimit, :MemoryUsed, :MemoryLimit, :ExpiredAt, :ChargeType, :ResourceLimitType, :AutoRenewal, :WorkerExtensions, :RuntimeType, :RuntimeClass, :BandwidthOutUsed, :BandwidthOutLimit
456
537
 
457
- def initialize(runtimeid=nil, uin=nil, displayname=nil, zone=nil, type=nil, status=nil, createdat=nil, updatedat=nil, workersize=nil, workerreplica=nil, runninginstancecount=nil, cpuused=nil, cpulimit=nil, memoryused=nil, memorylimit=nil, expiredat=nil, chargetype=nil, resourcelimittype=nil, autorenewal=nil)
538
+ def initialize(runtimeid=nil, uin=nil, displayname=nil, zone=nil, type=nil, status=nil, createdat=nil, updatedat=nil, workersize=nil, workerreplica=nil, runninginstancecount=nil, cpuused=nil, cpulimit=nil, memoryused=nil, memorylimit=nil, expiredat=nil, chargetype=nil, resourcelimittype=nil, autorenewal=nil, workerextensions=nil, runtimetype=nil, runtimeclass=nil, bandwidthoutused=nil, bandwidthoutlimit=nil)
458
539
  @RuntimeId = runtimeid
459
540
  @Uin = uin
460
541
  @DisplayName = displayname
@@ -474,6 +555,11 @@ module TencentCloud
474
555
  @ChargeType = chargetype
475
556
  @ResourceLimitType = resourcelimittype
476
557
  @AutoRenewal = autorenewal
558
+ @WorkerExtensions = workerextensions
559
+ @RuntimeType = runtimetype
560
+ @RuntimeClass = runtimeclass
561
+ @BandwidthOutUsed = bandwidthoutused
562
+ @BandwidthOutLimit = bandwidthoutlimit
477
563
  end
478
564
 
479
565
  def deserialize(params)
@@ -496,6 +582,18 @@ module TencentCloud
496
582
  @ChargeType = params['ChargeType']
497
583
  @ResourceLimitType = params['ResourceLimitType']
498
584
  @AutoRenewal = params['AutoRenewal']
585
+ unless params['WorkerExtensions'].nil?
586
+ @WorkerExtensions = []
587
+ params['WorkerExtensions'].each do |i|
588
+ runtimeextensionmc_tmp = RuntimeExtensionMC.new
589
+ runtimeextensionmc_tmp.deserialize(i)
590
+ @WorkerExtensions << runtimeextensionmc_tmp
591
+ end
592
+ end
593
+ @RuntimeType = params['RuntimeType']
594
+ @RuntimeClass = params['RuntimeClass']
595
+ @BandwidthOutUsed = params['BandwidthOutUsed']
596
+ @BandwidthOutLimit = params['BandwidthOutLimit']
499
597
  end
500
598
  end
501
599
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-eis
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.451
4
+ version: 3.0.452
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-14 00:00:00.000000000 Z
11
+ date: 2022-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common