tencentcloud-sdk-tcbr 3.0.1103 → 3.0.1123

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 +180 -8
  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: 412251325501274f36d4d62f1f24825668f6899b
4
+ data.tar.gz: 723bf4d5b8d2c99587548076c6c530f497c1a49e
5
5
  SHA512:
6
- metadata.gz: 1273e5f4c196732bf6eece695825e06d2f018724a13cba9df99ff76d08617bd0b477dc7f86eebc0ca28892b4e53b112cd040887b00c4f557b664e811e21006c8
7
- data.tar.gz: b1100e586be3ff4b9753720d52aad9792d3d29a87fa79abfe83bc5706e94ec1c8519d5e9878ef06e6071d4d30e2a6090b1f6495cafb394b8359f77c50c2d0d58
6
+ metadata.gz: 53a6e9fbe0c8734f3461d2332875dbecf12c5bd1c08bbfafdd09ba4bb2406be56d7adcb306d46cbcfd43e3c345f02c95b41aa095294d958124c34162b6546735
7
+ data.tar.gz: 7634d4106b03996bcbd561e00fc5b3f75129231109d1e44a2c6e3308a12ada8dba548c5b39f3d3226f3cc26d2ec1fd73a763e061bda1eea467a6d07ef9d78c8b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.1103
1
+ 3.0.1123
@@ -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,109 @@ 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
+ # @param VolumesConf: 存储配置信息
626
+ # @type VolumesConf: Array
627
+
628
+ attr_accessor :Key, :Value, :IntValue, :BoolValue, :FloatValue, :ArrayValue, :PolicyDetails, :TimerScale, :VpcConf, :VolumesConf
629
+
630
+ def initialize(key=nil, value=nil, intvalue=nil, boolvalue=nil, floatvalue=nil, arrayvalue=nil, policydetails=nil, timerscale=nil, vpcconf=nil, volumesconf=nil)
631
+ @Key = key
632
+ @Value = value
633
+ @IntValue = intvalue
634
+ @BoolValue = boolvalue
635
+ @FloatValue = floatvalue
636
+ @ArrayValue = arrayvalue
637
+ @PolicyDetails = policydetails
638
+ @TimerScale = timerscale
639
+ @VpcConf = vpcconf
640
+ @VolumesConf = volumesconf
641
+ end
642
+
643
+ def deserialize(params)
644
+ @Key = params['Key']
645
+ @Value = params['Value']
646
+ @IntValue = params['IntValue']
647
+ @BoolValue = params['BoolValue']
648
+ @FloatValue = params['FloatValue']
649
+ @ArrayValue = params['ArrayValue']
650
+ unless params['PolicyDetails'].nil?
651
+ @PolicyDetails = []
652
+ params['PolicyDetails'].each do |i|
653
+ hpapolicy_tmp = HpaPolicy.new
654
+ hpapolicy_tmp.deserialize(i)
655
+ @PolicyDetails << hpapolicy_tmp
656
+ end
657
+ end
658
+ unless params['TimerScale'].nil?
659
+ @TimerScale = []
660
+ params['TimerScale'].each do |i|
661
+ timerscale_tmp = TimerScale.new
662
+ timerscale_tmp.deserialize(i)
663
+ @TimerScale << timerscale_tmp
664
+ end
665
+ end
666
+ unless params['VpcConf'].nil?
667
+ @VpcConf = VpcConf.new
668
+ @VpcConf.deserialize(params['VpcConf'])
669
+ end
670
+ unless params['VolumesConf'].nil?
671
+ @VolumesConf = []
672
+ params['VolumesConf'].each do |i|
673
+ volumeconf_tmp = VolumeConf.new
674
+ volumeconf_tmp.deserialize(i)
675
+ @VolumesConf << volumeconf_tmp
676
+ end
677
+ end
678
+ end
679
+ end
680
+
567
681
  # 环境基础信息
568
682
  class EnvBaseInfo < TencentCloud::Common::AbstractModel
569
683
  # @param EnvId: 环境Id
@@ -1076,10 +1190,12 @@ module TencentCloud
1076
1190
  # @type SessionAffinity: String
1077
1191
  # @param VpcConf: Vpc 配置参数
1078
1192
  # @type VpcConf: :class:`Tencentcloud::Tcbr.v20220217.models.VpcConf`
1193
+ # @param VolumesConf: 存储配置信息
1194
+ # @type VolumesConf: Array
1079
1195
 
1080
- attr_accessor :EnvId, :ServerName, :OpenAccessTypes, :Cpu, :Mem, :MinNum, :MaxNum, :PolicyDetails, :CustomLogs, :EnvParams, :InitialDelaySeconds, :CreateTime, :Port, :HasDockerfile, :Dockerfile, :BuildDir, :LogType, :LogSetId, :LogTopicId, :LogParseType, :Tag, :InternalAccess, :InternalDomain, :OperationMode, :TimerScale, :EntryPoint, :Cmd, :SessionAffinity, :VpcConf
1196
+ attr_accessor :EnvId, :ServerName, :OpenAccessTypes, :Cpu, :Mem, :MinNum, :MaxNum, :PolicyDetails, :CustomLogs, :EnvParams, :InitialDelaySeconds, :CreateTime, :Port, :HasDockerfile, :Dockerfile, :BuildDir, :LogType, :LogSetId, :LogTopicId, :LogParseType, :Tag, :InternalAccess, :InternalDomain, :OperationMode, :TimerScale, :EntryPoint, :Cmd, :SessionAffinity, :VpcConf, :VolumesConf
1081
1197
 
1082
- def initialize(envid=nil, servername=nil, openaccesstypes=nil, cpu=nil, mem=nil, minnum=nil, maxnum=nil, policydetails=nil, customlogs=nil, envparams=nil, initialdelayseconds=nil, createtime=nil, port=nil, hasdockerfile=nil, dockerfile=nil, builddir=nil, logtype=nil, logsetid=nil, logtopicid=nil, logparsetype=nil, tag=nil, internalaccess=nil, internaldomain=nil, operationmode=nil, timerscale=nil, entrypoint=nil, cmd=nil, sessionaffinity=nil, vpcconf=nil)
1198
+ def initialize(envid=nil, servername=nil, openaccesstypes=nil, cpu=nil, mem=nil, minnum=nil, maxnum=nil, policydetails=nil, customlogs=nil, envparams=nil, initialdelayseconds=nil, createtime=nil, port=nil, hasdockerfile=nil, dockerfile=nil, builddir=nil, logtype=nil, logsetid=nil, logtopicid=nil, logparsetype=nil, tag=nil, internalaccess=nil, internaldomain=nil, operationmode=nil, timerscale=nil, entrypoint=nil, cmd=nil, sessionaffinity=nil, vpcconf=nil, volumesconf=nil)
1083
1199
  @EnvId = envid
1084
1200
  @ServerName = servername
1085
1201
  @OpenAccessTypes = openaccesstypes
@@ -1109,6 +1225,7 @@ module TencentCloud
1109
1225
  @Cmd = cmd
1110
1226
  @SessionAffinity = sessionaffinity
1111
1227
  @VpcConf = vpcconf
1228
+ @VolumesConf = volumesconf
1112
1229
  end
1113
1230
 
1114
1231
  def deserialize(params)
@@ -1158,6 +1275,14 @@ module TencentCloud
1158
1275
  @VpcConf = VpcConf.new
1159
1276
  @VpcConf.deserialize(params['VpcConf'])
1160
1277
  end
1278
+ unless params['VolumesConf'].nil?
1279
+ @VolumesConf = []
1280
+ params['VolumesConf'].each do |i|
1281
+ volumeconf_tmp = VolumeConf.new
1282
+ volumeconf_tmp.deserialize(i)
1283
+ @VolumesConf << volumeconf_tmp
1284
+ end
1285
+ end
1161
1286
  end
1162
1287
  end
1163
1288
 
@@ -1460,19 +1585,22 @@ module TencentCloud
1460
1585
  # @type ServerName: String
1461
1586
  # @param DeployInfo: 部署信息
1462
1587
  # @type DeployInfo: :class:`Tencentcloud::Tcbr.v20220217.models.DeployParam`
1463
- # @param ServerConfig: 服务配置信息
1588
+ # @param ServerConfig: 服务配置信息(已废弃)
1464
1589
  # @type ServerConfig: :class:`Tencentcloud::Tcbr.v20220217.models.ServerBaseConfig`
1465
1590
  # @param Business: 业务类型,默认tcr
1466
1591
  # @type Business: String
1592
+ # @param Items: 服务配置信息
1593
+ # @type Items: Array
1467
1594
 
1468
- attr_accessor :EnvId, :ServerName, :DeployInfo, :ServerConfig, :Business
1595
+ attr_accessor :EnvId, :ServerName, :DeployInfo, :ServerConfig, :Business, :Items
1469
1596
 
1470
- def initialize(envid=nil, servername=nil, deployinfo=nil, serverconfig=nil, business=nil)
1597
+ def initialize(envid=nil, servername=nil, deployinfo=nil, serverconfig=nil, business=nil, items=nil)
1471
1598
  @EnvId = envid
1472
1599
  @ServerName = servername
1473
1600
  @DeployInfo = deployinfo
1474
1601
  @ServerConfig = serverconfig
1475
1602
  @Business = business
1603
+ @Items = items
1476
1604
  end
1477
1605
 
1478
1606
  def deserialize(params)
@@ -1487,6 +1615,14 @@ module TencentCloud
1487
1615
  @ServerConfig.deserialize(params['ServerConfig'])
1488
1616
  end
1489
1617
  @Business = params['Business']
1618
+ unless params['Items'].nil?
1619
+ @Items = []
1620
+ params['Items'].each do |i|
1621
+ diffconfigitem_tmp = DiffConfigItem.new
1622
+ diffconfigitem_tmp.deserialize(i)
1623
+ @Items << diffconfigitem_tmp
1624
+ end
1625
+ end
1490
1626
  end
1491
1627
  end
1492
1628
 
@@ -1549,6 +1685,42 @@ module TencentCloud
1549
1685
  end
1550
1686
  end
1551
1687
 
1688
+ # 存储配置
1689
+ class VolumeConf < TencentCloud::Common::AbstractModel
1690
+ # @param Type: 存储类型
1691
+ # @type Type: String
1692
+ # @param BucketName: 对象存储桶名称
1693
+ # @type BucketName: String
1694
+ # @param Endpoint: 存储连接地址
1695
+ # @type Endpoint: String
1696
+ # @param KeyID: 存储连接用户密码
1697
+ # @type KeyID: String
1698
+ # @param DstPath: 存储挂载目的目录
1699
+ # @type DstPath: String
1700
+ # @param SrcPath: 存储挂载源目录
1701
+ # @type SrcPath: String
1702
+
1703
+ attr_accessor :Type, :BucketName, :Endpoint, :KeyID, :DstPath, :SrcPath
1704
+
1705
+ def initialize(type=nil, bucketname=nil, endpoint=nil, keyid=nil, dstpath=nil, srcpath=nil)
1706
+ @Type = type
1707
+ @BucketName = bucketname
1708
+ @Endpoint = endpoint
1709
+ @KeyID = keyid
1710
+ @DstPath = dstpath
1711
+ @SrcPath = srcpath
1712
+ end
1713
+
1714
+ def deserialize(params)
1715
+ @Type = params['Type']
1716
+ @BucketName = params['BucketName']
1717
+ @Endpoint = params['Endpoint']
1718
+ @KeyID = params['KeyID']
1719
+ @DstPath = params['DstPath']
1720
+ @SrcPath = params['SrcPath']
1721
+ end
1722
+ end
1723
+
1552
1724
  # 云托管服务 Vpc 配置
1553
1725
  class VpcConf < TencentCloud::Common::AbstractModel
1554
1726
  # @param VpcId: vpc id
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.1123
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-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common