tencentcloud-sdk-tcbr 3.0.1103 → 3.0.1116

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/v20220217/models.rb +120 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2a2c02592f2e26648426593967d6fad5cf0e1b35
4
- data.tar.gz: 03dae5597dc11241833d0b2b5f56cf3256cc2a47
3
+ metadata.gz: 31636b4683a3fdca3c724c5c5051ae78d0d14621
4
+ data.tar.gz: c37854a790b518e00644dadd7505722781b55973
5
5
  SHA512:
6
- metadata.gz: 1273e5f4c196732bf6eece695825e06d2f018724a13cba9df99ff76d08617bd0b477dc7f86eebc0ca28892b4e53b112cd040887b00c4f557b664e811e21006c8
7
- data.tar.gz: b1100e586be3ff4b9753720d52aad9792d3d29a87fa79abfe83bc5706e94ec1c8519d5e9878ef06e6071d4d30e2a6090b1f6495cafb394b8359f77c50c2d0d58
6
+ metadata.gz: b56f3371c92dbc46862726ac0beb1d07658c7afd134b6f558fc8bed47605e230cb2a972766e57968e9fe7888c65b8ab09c50e7c1ffca215a77bcbcec3342dc0c
7
+ data.tar.gz: 6c0bc5684f94c2451e83fccb6fa644d1c893df8b4a827f4ad31a5c61e05ba560604a0f89015ce3620e20f4ccbc41450cdeb1919a175deb21103fc4066208937e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1103
1
+ 3.0.1116
@@ -163,16 +163,19 @@ module TencentCloud
163
163
  # @type ServerName: String
164
164
  # @param DeployInfo: 部署信息
165
165
  # @type DeployInfo: :class:`Tencentcloud::Tcbr.v20220217.models.DeployParam`
166
- # @param ServerConfig: 服务配置信息
166
+ # @param ServerConfig: 服务配置信息(已废弃)
167
167
  # @type ServerConfig: :class:`Tencentcloud::Tcbr.v20220217.models.ServerBaseConfig`
168
+ # @param Items: 服务配置信息
169
+ # @type Items: Array
168
170
 
169
- attr_accessor :EnvId, :ServerName, :DeployInfo, :ServerConfig
171
+ attr_accessor :EnvId, :ServerName, :DeployInfo, :ServerConfig, :Items
170
172
 
171
- def initialize(envid=nil, servername=nil, deployinfo=nil, serverconfig=nil)
173
+ def initialize(envid=nil, servername=nil, deployinfo=nil, serverconfig=nil, items=nil)
172
174
  @EnvId = envid
173
175
  @ServerName = servername
174
176
  @DeployInfo = deployinfo
175
177
  @ServerConfig = serverconfig
178
+ @Items = items
176
179
  end
177
180
 
178
181
  def deserialize(params)
@@ -186,6 +189,14 @@ module TencentCloud
186
189
  @ServerConfig = ServerBaseConfig.new
187
190
  @ServerConfig.deserialize(params['ServerConfig'])
188
191
  end
192
+ unless params['Items'].nil?
193
+ @Items = []
194
+ params['Items'].each do |i|
195
+ diffconfigitem_tmp = DiffConfigItem.new
196
+ diffconfigitem_tmp.deserialize(i)
197
+ @Items << diffconfigitem_tmp
198
+ end
199
+ end
189
200
  end
190
201
  end
191
202
 
@@ -564,6 +575,98 @@ module TencentCloud
564
575
  end
565
576
  end
566
577
 
578
+ # 服务配置入参
579
+ class DiffConfigItem < TencentCloud::Common::AbstractModel
580
+ # @param Key: 配置项 Key
581
+ # MinNum 最小副本数
582
+ # MaxNum 最大副本数
583
+ # PolicyDetails 扩缩容策略
584
+ # AccessTypes 访问类型
585
+ # TimerScale 定时扩缩容
586
+ # InternalAccess 内网访问
587
+ # OperationMode 运行模式 noScale | condScale | alwaysScale | custom | manualScale
588
+ # SessionAffinity 会话亲和性 open | close
589
+ # CpuSpecs cpu 规格
590
+ # MemSpecs mem规格
591
+ # EnvParam 环境变量
592
+ # LogPath 日志采集路径
593
+ # Port 端口
594
+ # Dockerfile dockerfile 文件名
595
+ # BuildDir 目标目录
596
+ # Tag 服务标签
597
+ # LogType 日志类型 none | default | custom
598
+ # LogSetId 日志集Id
599
+ # LogTopicId 日志主题ID
600
+ # LogParseType 日志解析类型 json | line
601
+ # EntryPoint entrypoint 命令
602
+ # Cmd cmd命令
603
+ # VpcConf 网络信息
604
+ # @type Key: String
605
+ # @param Value: 字符串类型配置项值
606
+ # InternalAccess、OperationMode、SessionAffinity、EnvParam、LogPath、Dockerfile、BuildDir、Tag、LogType、LogSetId、LogTopicId、LogParseType
607
+ # @type Value: String
608
+ # @param IntValue: int 类型配置项值
609
+ # MinNum、MaxNum、Port
610
+ # @type IntValue: Integer
611
+ # @param BoolValue: bool 类型配置项值
612
+ # @type BoolValue: Boolean
613
+ # @param FloatValue: 浮点型配置项值
614
+ # CpuSpecs、MemSpecs
615
+ # @type FloatValue: Float
616
+ # @param ArrayValue: 字符串数组配置项值
617
+ # AccessTypes,EntryPoint,Cmd
618
+ # @type ArrayValue: Array
619
+ # @param PolicyDetails: 扩缩容策略配置项值
620
+ # @type PolicyDetails: Array
621
+ # @param TimerScale: 定时扩缩容配置项值
622
+ # @type TimerScale: Array
623
+ # @param VpcConf: 配置内网访问时网络信息
624
+ # @type VpcConf: :class:`Tencentcloud::Tcbr.v20220217.models.VpcConf`
625
+
626
+ attr_accessor :Key, :Value, :IntValue, :BoolValue, :FloatValue, :ArrayValue, :PolicyDetails, :TimerScale, :VpcConf
627
+
628
+ def initialize(key=nil, value=nil, intvalue=nil, boolvalue=nil, floatvalue=nil, arrayvalue=nil, policydetails=nil, timerscale=nil, vpcconf=nil)
629
+ @Key = key
630
+ @Value = value
631
+ @IntValue = intvalue
632
+ @BoolValue = boolvalue
633
+ @FloatValue = floatvalue
634
+ @ArrayValue = arrayvalue
635
+ @PolicyDetails = policydetails
636
+ @TimerScale = timerscale
637
+ @VpcConf = vpcconf
638
+ end
639
+
640
+ def deserialize(params)
641
+ @Key = params['Key']
642
+ @Value = params['Value']
643
+ @IntValue = params['IntValue']
644
+ @BoolValue = params['BoolValue']
645
+ @FloatValue = params['FloatValue']
646
+ @ArrayValue = params['ArrayValue']
647
+ unless params['PolicyDetails'].nil?
648
+ @PolicyDetails = []
649
+ params['PolicyDetails'].each do |i|
650
+ hpapolicy_tmp = HpaPolicy.new
651
+ hpapolicy_tmp.deserialize(i)
652
+ @PolicyDetails << hpapolicy_tmp
653
+ end
654
+ end
655
+ unless params['TimerScale'].nil?
656
+ @TimerScale = []
657
+ params['TimerScale'].each do |i|
658
+ timerscale_tmp = TimerScale.new
659
+ timerscale_tmp.deserialize(i)
660
+ @TimerScale << timerscale_tmp
661
+ end
662
+ end
663
+ unless params['VpcConf'].nil?
664
+ @VpcConf = VpcConf.new
665
+ @VpcConf.deserialize(params['VpcConf'])
666
+ end
667
+ end
668
+ end
669
+
567
670
  # 环境基础信息
568
671
  class EnvBaseInfo < TencentCloud::Common::AbstractModel
569
672
  # @param EnvId: 环境Id
@@ -1460,19 +1563,22 @@ module TencentCloud
1460
1563
  # @type ServerName: String
1461
1564
  # @param DeployInfo: 部署信息
1462
1565
  # @type DeployInfo: :class:`Tencentcloud::Tcbr.v20220217.models.DeployParam`
1463
- # @param ServerConfig: 服务配置信息
1566
+ # @param ServerConfig: 服务配置信息(已废弃)
1464
1567
  # @type ServerConfig: :class:`Tencentcloud::Tcbr.v20220217.models.ServerBaseConfig`
1465
1568
  # @param Business: 业务类型,默认tcr
1466
1569
  # @type Business: String
1570
+ # @param Items: 服务配置信息
1571
+ # @type Items: Array
1467
1572
 
1468
- attr_accessor :EnvId, :ServerName, :DeployInfo, :ServerConfig, :Business
1573
+ attr_accessor :EnvId, :ServerName, :DeployInfo, :ServerConfig, :Business, :Items
1469
1574
 
1470
- def initialize(envid=nil, servername=nil, deployinfo=nil, serverconfig=nil, business=nil)
1575
+ def initialize(envid=nil, servername=nil, deployinfo=nil, serverconfig=nil, business=nil, items=nil)
1471
1576
  @EnvId = envid
1472
1577
  @ServerName = servername
1473
1578
  @DeployInfo = deployinfo
1474
1579
  @ServerConfig = serverconfig
1475
1580
  @Business = business
1581
+ @Items = items
1476
1582
  end
1477
1583
 
1478
1584
  def deserialize(params)
@@ -1487,6 +1593,14 @@ module TencentCloud
1487
1593
  @ServerConfig.deserialize(params['ServerConfig'])
1488
1594
  end
1489
1595
  @Business = params['Business']
1596
+ unless params['Items'].nil?
1597
+ @Items = []
1598
+ params['Items'].each do |i|
1599
+ diffconfigitem_tmp = DiffConfigItem.new
1600
+ diffconfigitem_tmp.deserialize(i)
1601
+ @Items << diffconfigitem_tmp
1602
+ end
1603
+ end
1490
1604
  end
1491
1605
  end
1492
1606
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcbr
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.1103
4
+ version: 3.0.1116
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-07-17 00:00:00.000000000 Z
11
+ date: 2025-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common