tencentcloud-sdk-tsf 3.0.424 → 3.0.425

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20180326/models.rb +111 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5d3fc5bb43fae0ce173be0fe235c9b5363f8d8f5
4
- data.tar.gz: 9a45cef10380e3bcfd27e6098d518e21556a901f
3
+ metadata.gz: f4fca10210620b91a3ca45beb74e5667e1c52252
4
+ data.tar.gz: 9ca21711ef17e4dad8a922922b4ae0fc8d31345b
5
5
  SHA512:
6
- metadata.gz: 8dd65f311e38b0576c0779ae583d210c29c496ba5aebba50df06ef41bc245ee68f8ffa78017f1b843e9c221b963acbbe85f2c2e660608cafe1ac1735e6c6a4b8
7
- data.tar.gz: 484c1b26575cb56000e3b4362decde3a15bbe40b88448b00fcb47c413fa6fd3a553cb9767d9b431917b43088c517c2dc8a1211974df31f910855e70bfabe7bef
6
+ metadata.gz: 5f263928c4a577702c4aec982796fccbc33ab982dae13ca23c673abe7e8fa8382729e7b99cb0d05ff33ee6352c7f582dbb5a3260627e62755310bb208815f3d7
7
+ data.tar.gz: e77fdb0064f49408309e9ee4c907e72336ed573a74b648752c51fcc54bb93b2ac567a6641a626f696d213c857367576ebf95430680f24294a8b7ca33d0c73a8f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.424
1
+ 3.0.425
@@ -217,6 +217,26 @@ module TencentCloud
217
217
  end
218
218
  end
219
219
 
220
+ # 部署javaagent的类型、版本信息
221
+ class AgentProfile < TencentCloud::Common::AbstractModel
222
+ # @param AgentType: Agent类型
223
+ # @type AgentType: String
224
+ # @param AgentVersion: Agent版本号
225
+ # @type AgentVersion: String
226
+
227
+ attr_accessor :AgentType, :AgentVersion
228
+
229
+ def initialize(agenttype=nil, agentversion=nil)
230
+ @AgentType = agenttype
231
+ @AgentVersion = agentversion
232
+ end
233
+
234
+ def deserialize(params)
235
+ @AgentType = params['AgentType']
236
+ @AgentVersion = params['AgentVersion']
237
+ end
238
+ end
239
+
220
240
  # API 对象类型描述
221
241
  class ApiDefinitionDescr < TencentCloud::Common::AbstractModel
222
242
  # @param Name: 对象名称
@@ -4674,10 +4694,14 @@ module TencentCloud
4674
4694
  # @type VolumeMountInfoList: Array
4675
4695
  # @param VolumeClean: 是否清除数据卷信息,默认false
4676
4696
  # @type VolumeClean: Boolean
4697
+ # @param AgentProfileList: javaagent信息: SERVICE_AGENT/OT_AGENT
4698
+ # @type AgentProfileList: Array
4699
+ # @param WarmupSetting: 预热配置信息
4700
+ # @type WarmupSetting: :class:`Tencentcloud::Tsf.v20180326.models.WarmupSetting`
4677
4701
 
4678
- attr_accessor :GroupId, :TagName, :InstanceNum, :Server, :Reponame, :CpuLimit, :MemLimit, :JvmOpts, :CpuRequest, :MemRequest, :DoNotStart, :RepoName, :UpdateType, :UpdateIvl, :AgentCpuRequest, :AgentCpuLimit, :AgentMemRequest, :AgentMemLimit, :IstioCpuRequest, :IstioCpuLimit, :IstioMemRequest, :IstioMemLimit, :MaxSurge, :MaxUnavailable, :HealthCheckSettings, :Envs, :ServiceSetting, :DeployAgent, :SchedulingStrategy, :IncrementalDeployment, :RepoType, :VolumeInfos, :VolumeMountInfos, :VolumeInfoList, :VolumeMountInfoList, :VolumeClean
4702
+ attr_accessor :GroupId, :TagName, :InstanceNum, :Server, :Reponame, :CpuLimit, :MemLimit, :JvmOpts, :CpuRequest, :MemRequest, :DoNotStart, :RepoName, :UpdateType, :UpdateIvl, :AgentCpuRequest, :AgentCpuLimit, :AgentMemRequest, :AgentMemLimit, :IstioCpuRequest, :IstioCpuLimit, :IstioMemRequest, :IstioMemLimit, :MaxSurge, :MaxUnavailable, :HealthCheckSettings, :Envs, :ServiceSetting, :DeployAgent, :SchedulingStrategy, :IncrementalDeployment, :RepoType, :VolumeInfos, :VolumeMountInfos, :VolumeInfoList, :VolumeMountInfoList, :VolumeClean, :AgentProfileList, :WarmupSetting
4679
4703
 
4680
- def initialize(groupid=nil, tagname=nil, instancenum=nil, server=nil, reponame=nil, cpulimit=nil, memlimit=nil, jvmopts=nil, cpurequest=nil, memrequest=nil, donotstart=nil, reponame=nil, updatetype=nil, updateivl=nil, agentcpurequest=nil, agentcpulimit=nil, agentmemrequest=nil, agentmemlimit=nil, istiocpurequest=nil, istiocpulimit=nil, istiomemrequest=nil, istiomemlimit=nil, maxsurge=nil, maxunavailable=nil, healthchecksettings=nil, envs=nil, servicesetting=nil, deployagent=nil, schedulingstrategy=nil, incrementaldeployment=nil, repotype=nil, volumeinfos=nil, volumemountinfos=nil, volumeinfolist=nil, volumemountinfolist=nil, volumeclean=nil)
4704
+ def initialize(groupid=nil, tagname=nil, instancenum=nil, server=nil, reponame=nil, cpulimit=nil, memlimit=nil, jvmopts=nil, cpurequest=nil, memrequest=nil, donotstart=nil, reponame=nil, updatetype=nil, updateivl=nil, agentcpurequest=nil, agentcpulimit=nil, agentmemrequest=nil, agentmemlimit=nil, istiocpurequest=nil, istiocpulimit=nil, istiomemrequest=nil, istiomemlimit=nil, maxsurge=nil, maxunavailable=nil, healthchecksettings=nil, envs=nil, servicesetting=nil, deployagent=nil, schedulingstrategy=nil, incrementaldeployment=nil, repotype=nil, volumeinfos=nil, volumemountinfos=nil, volumeinfolist=nil, volumemountinfolist=nil, volumeclean=nil, agentprofilelist=nil, warmupsetting=nil)
4681
4705
  @GroupId = groupid
4682
4706
  @TagName = tagname
4683
4707
  @InstanceNum = instancenum
@@ -4714,6 +4738,8 @@ module TencentCloud
4714
4738
  @VolumeInfoList = volumeinfolist
4715
4739
  @VolumeMountInfoList = volumemountinfolist
4716
4740
  @VolumeClean = volumeclean
4741
+ @AgentProfileList = agentprofilelist
4742
+ @WarmupSetting = warmupsetting
4717
4743
  end
4718
4744
 
4719
4745
  def deserialize(params)
@@ -4789,6 +4815,18 @@ module TencentCloud
4789
4815
  end
4790
4816
  end
4791
4817
  @VolumeClean = params['VolumeClean']
4818
+ unless params['AgentProfileList'].nil?
4819
+ @AgentProfileList = []
4820
+ params['AgentProfileList'].each do |i|
4821
+ agentprofile_tmp = AgentProfile.new
4822
+ agentprofile_tmp.deserialize(i)
4823
+ @AgentProfileList << agentprofile_tmp
4824
+ end
4825
+ end
4826
+ unless params['WarmupSetting'].nil?
4827
+ @WarmupSetting = WarmupSetting.new
4828
+ @WarmupSetting.deserialize(params['WarmupSetting'])
4829
+ end
4792
4830
  end
4793
4831
  end
4794
4832
 
@@ -4797,6 +4835,7 @@ module TencentCloud
4797
4835
  # @param Result: 部署容器应用是否成功。
4798
4836
  # true:成功。
4799
4837
  # false:失败。
4838
+ # 注意:此字段可能返回 null,表示取不到有效值。
4800
4839
  # @type Result: Boolean
4801
4840
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4802
4841
  # @type RequestId: String
@@ -4850,10 +4889,14 @@ module TencentCloud
4850
4889
  # @type JdkName: String
4851
4890
  # @param JdkVersion: JDK版本: 8或11 (openJDK只支持8)
4852
4891
  # @type JdkVersion: String
4892
+ # @param AgentProfileList: 部署agent的类型、版本
4893
+ # @type AgentProfileList: Array
4894
+ # @param WarmupSetting: 预热参数配置
4895
+ # @type WarmupSetting: :class:`Tencentcloud::Tsf.v20180326.models.WarmupSetting`
4853
4896
 
4854
- attr_accessor :GroupId, :PkgId, :StartupParameters, :DeployDesc, :ForceStart, :EnableHealthCheck, :HealthCheckSettings, :UpdateType, :DeployBetaEnable, :DeployBatch, :DeployExeMode, :DeployWaitTime, :StartScript, :StopScript, :IncrementalDeployment, :JdkName, :JdkVersion
4897
+ attr_accessor :GroupId, :PkgId, :StartupParameters, :DeployDesc, :ForceStart, :EnableHealthCheck, :HealthCheckSettings, :UpdateType, :DeployBetaEnable, :DeployBatch, :DeployExeMode, :DeployWaitTime, :StartScript, :StopScript, :IncrementalDeployment, :JdkName, :JdkVersion, :AgentProfileList, :WarmupSetting
4855
4898
 
4856
- def initialize(groupid=nil, pkgid=nil, startupparameters=nil, deploydesc=nil, forcestart=nil, enablehealthcheck=nil, healthchecksettings=nil, updatetype=nil, deploybetaenable=nil, deploybatch=nil, deployexemode=nil, deploywaittime=nil, startscript=nil, stopscript=nil, incrementaldeployment=nil, jdkname=nil, jdkversion=nil)
4899
+ def initialize(groupid=nil, pkgid=nil, startupparameters=nil, deploydesc=nil, forcestart=nil, enablehealthcheck=nil, healthchecksettings=nil, updatetype=nil, deploybetaenable=nil, deploybatch=nil, deployexemode=nil, deploywaittime=nil, startscript=nil, stopscript=nil, incrementaldeployment=nil, jdkname=nil, jdkversion=nil, agentprofilelist=nil, warmupsetting=nil)
4857
4900
  @GroupId = groupid
4858
4901
  @PkgId = pkgid
4859
4902
  @StartupParameters = startupparameters
@@ -4871,6 +4914,8 @@ module TencentCloud
4871
4914
  @IncrementalDeployment = incrementaldeployment
4872
4915
  @JdkName = jdkname
4873
4916
  @JdkVersion = jdkversion
4917
+ @AgentProfileList = agentprofilelist
4918
+ @WarmupSetting = warmupsetting
4874
4919
  end
4875
4920
 
4876
4921
  def deserialize(params)
@@ -4894,6 +4939,18 @@ module TencentCloud
4894
4939
  @IncrementalDeployment = params['IncrementalDeployment']
4895
4940
  @JdkName = params['JdkName']
4896
4941
  @JdkVersion = params['JdkVersion']
4942
+ unless params['AgentProfileList'].nil?
4943
+ @AgentProfileList = []
4944
+ params['AgentProfileList'].each do |i|
4945
+ agentprofile_tmp = AgentProfile.new
4946
+ agentprofile_tmp.deserialize(i)
4947
+ @AgentProfileList << agentprofile_tmp
4948
+ end
4949
+ end
4950
+ unless params['WarmupSetting'].nil?
4951
+ @WarmupSetting = WarmupSetting.new
4952
+ @WarmupSetting.deserialize(params['WarmupSetting'])
4953
+ end
4897
4954
  end
4898
4955
  end
4899
4956
 
@@ -17900,10 +17957,16 @@ module TencentCloud
17900
17957
  # @param Alias: 部署组备注
17901
17958
  # 注意:此字段可能返回 null,表示取不到有效值。
17902
17959
  # @type Alias: String
17960
+ # @param AgentProfileList: javaagent信息
17961
+ # 注意:此字段可能返回 null,表示取不到有效值。
17962
+ # @type AgentProfileList: Array
17963
+ # @param WarmupSetting: 预热属性配置
17964
+ # 注意:此字段可能返回 null,表示取不到有效值。
17965
+ # @type WarmupSetting: :class:`Tencentcloud::Tsf.v20180326.models.WarmupSetting`
17903
17966
 
17904
- attr_accessor :GroupId, :GroupName, :GroupStatus, :PackageId, :PackageName, :PackageVersion, :ClusterId, :ClusterName, :NamespaceId, :NamespaceName, :ApplicationId, :ApplicationName, :InstanceCount, :RunInstanceCount, :StartupParameters, :CreateTime, :UpdateTime, :OffInstanceCount, :GroupDesc, :MicroserviceType, :ApplicationType, :GroupResourceType, :UpdatedTime, :DeployDesc, :UpdateType, :DeployBetaEnable, :DeployBatch, :DeployExeMode, :DeployWaitTime, :EnableHealthCheck, :HealthCheckSettings, :PackageType, :StartScript, :StopScript, :Alias
17967
+ attr_accessor :GroupId, :GroupName, :GroupStatus, :PackageId, :PackageName, :PackageVersion, :ClusterId, :ClusterName, :NamespaceId, :NamespaceName, :ApplicationId, :ApplicationName, :InstanceCount, :RunInstanceCount, :StartupParameters, :CreateTime, :UpdateTime, :OffInstanceCount, :GroupDesc, :MicroserviceType, :ApplicationType, :GroupResourceType, :UpdatedTime, :DeployDesc, :UpdateType, :DeployBetaEnable, :DeployBatch, :DeployExeMode, :DeployWaitTime, :EnableHealthCheck, :HealthCheckSettings, :PackageType, :StartScript, :StopScript, :Alias, :AgentProfileList, :WarmupSetting
17905
17968
 
17906
- def initialize(groupid=nil, groupname=nil, groupstatus=nil, packageid=nil, packagename=nil, packageversion=nil, clusterid=nil, clustername=nil, namespaceid=nil, namespacename=nil, applicationid=nil, applicationname=nil, instancecount=nil, runinstancecount=nil, startupparameters=nil, createtime=nil, updatetime=nil, offinstancecount=nil, groupdesc=nil, microservicetype=nil, applicationtype=nil, groupresourcetype=nil, updatedtime=nil, deploydesc=nil, updatetype=nil, deploybetaenable=nil, deploybatch=nil, deployexemode=nil, deploywaittime=nil, enablehealthcheck=nil, healthchecksettings=nil, packagetype=nil, startscript=nil, stopscript=nil, _alias=nil)
17969
+ def initialize(groupid=nil, groupname=nil, groupstatus=nil, packageid=nil, packagename=nil, packageversion=nil, clusterid=nil, clustername=nil, namespaceid=nil, namespacename=nil, applicationid=nil, applicationname=nil, instancecount=nil, runinstancecount=nil, startupparameters=nil, createtime=nil, updatetime=nil, offinstancecount=nil, groupdesc=nil, microservicetype=nil, applicationtype=nil, groupresourcetype=nil, updatedtime=nil, deploydesc=nil, updatetype=nil, deploybetaenable=nil, deploybatch=nil, deployexemode=nil, deploywaittime=nil, enablehealthcheck=nil, healthchecksettings=nil, packagetype=nil, startscript=nil, stopscript=nil, _alias=nil, agentprofilelist=nil, warmupsetting=nil)
17907
17970
  @GroupId = groupid
17908
17971
  @GroupName = groupname
17909
17972
  @GroupStatus = groupstatus
@@ -17939,6 +18002,8 @@ module TencentCloud
17939
18002
  @StartScript = startscript
17940
18003
  @StopScript = stopscript
17941
18004
  @Alias = _alias
18005
+ @AgentProfileList = agentprofilelist
18006
+ @WarmupSetting = warmupsetting
17942
18007
  end
17943
18008
 
17944
18009
  def deserialize(params)
@@ -17980,6 +18045,18 @@ module TencentCloud
17980
18045
  @StartScript = params['StartScript']
17981
18046
  @StopScript = params['StopScript']
17982
18047
  @Alias = params['Alias']
18048
+ unless params['AgentProfileList'].nil?
18049
+ @AgentProfileList = []
18050
+ params['AgentProfileList'].each do |i|
18051
+ agentprofile_tmp = AgentProfile.new
18052
+ agentprofile_tmp.deserialize(i)
18053
+ @AgentProfileList << agentprofile_tmp
18054
+ end
18055
+ end
18056
+ unless params['WarmupSetting'].nil?
18057
+ @WarmupSetting = WarmupSetting.new
18058
+ @WarmupSetting.deserialize(params['WarmupSetting'])
18059
+ end
17983
18060
  end
17984
18061
  end
17985
18062
 
@@ -18194,6 +18271,34 @@ module TencentCloud
18194
18271
  end
18195
18272
  end
18196
18273
 
18274
+ # 预热配置
18275
+ class WarmupSetting < TencentCloud::Common::AbstractModel
18276
+ # @param Enabled: 是否开启预热
18277
+ # @type Enabled: Boolean
18278
+ # @param WarmupTime: 预热时间
18279
+ # @type WarmupTime: Integer
18280
+ # @param Curvature: 预热曲率,取值 1~5
18281
+ # @type Curvature: Integer
18282
+ # @param EnabledProtection: 是否开启预热保护,在开启保护的情况下,超过 50% 的节点处于预热中,则会中止预热
18283
+ # @type EnabledProtection: Boolean
18284
+
18285
+ attr_accessor :Enabled, :WarmupTime, :Curvature, :EnabledProtection
18286
+
18287
+ def initialize(enabled=nil, warmuptime=nil, curvature=nil, enabledprotection=nil)
18288
+ @Enabled = enabled
18289
+ @WarmupTime = warmuptime
18290
+ @Curvature = curvature
18291
+ @EnabledProtection = enabledprotection
18292
+ end
18293
+
18294
+ def deserialize(params)
18295
+ @Enabled = params['Enabled']
18296
+ @WarmupTime = params['WarmupTime']
18297
+ @Curvature = params['Curvature']
18298
+ @EnabledProtection = params['EnabledProtection']
18299
+ end
18300
+ end
18301
+
18197
18302
  end
18198
18303
  end
18199
18304
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tsf
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.424
4
+ version: 3.0.425
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-10-09 00:00:00.000000000 Z
11
+ date: 2022-10-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common