tencentcloud-sdk-tcb 3.0.499 → 3.0.501

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/v20180608/models.rb +37 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e318991f0f4685c155b05d032b0463275e954feb
4
- data.tar.gz: 854c0ce9bda06f28aaadab2a78b7d9101c343bb0
3
+ metadata.gz: 051806162795b74c491220f61163afe3f50bb0d7
4
+ data.tar.gz: 4d31568665029a49d3dbae6ca5b1f8a1e9682ffe
5
5
  SHA512:
6
- metadata.gz: b00eab1b49dbbfebc8ea3e132ed5caaf3dd04c768fe98923bf421b2e86ad6da894d3ef3fb5044beb3a51b2bd1b32efb5fd422f39d7cdb8c28f960169ef0e4383
7
- data.tar.gz: 12f1e9ea8f5f569f7b035cfb405cb67e2544da24e4f75fe85d1fad688c6e8e76bcc3d7c9ff2ea8e5e0e7eb527dced8dc5a0ee441ef527c7988680ce79ecb56ab
6
+ metadata.gz: 870736cadbb1eb0448098ad14066247390f12a39c9886bf456689d2d87dec0b39fe47e222871517b4e0384b84141b6e16494beb00f7d564e4d2b1a758edfa795
7
+ data.tar.gz: 0daf35e6795c22e589abd815114ae636a7596c2ae698c86fe835a09be1beedf96e46a30944a8a9f9bfbbf869dc28cfdce964228152445e913fede9beac5933c2
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.499
1
+ 3.0.501
@@ -3829,12 +3829,21 @@ module TencentCloud
3829
3829
  # @param MemSize: MEM 大小
3830
3830
  # 注意:此字段可能返回 null,表示取不到有效值。
3831
3831
  # @type MemSize: Float
3832
+ # @param PolicyDetail: 扩缩容策略详情
3833
+ # 注意:此字段可能返回 null,表示取不到有效值。
3834
+ # @type PolicyDetail: Array
3835
+ # @param Cpu: Cpu的Request值
3836
+ # 注意:此字段可能返回 null,表示取不到有效值。
3837
+ # @type Cpu: Float
3838
+ # @param Mem: Mem的Request值
3839
+ # 注意:此字段可能返回 null,表示取不到有效值。
3840
+ # @type Mem: Float
3832
3841
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3833
3842
  # @type RequestId: String
3834
3843
 
3835
- attr_accessor :VersionName, :Remark, :DockerfilePath, :BuildDir, :MinNum, :MaxNum, :PolicyType, :PolicyThreshold, :EnvParams, :CreatedTime, :UpdatedTime, :VersionIP, :VersionPort, :Status, :PackageName, :PackageVersion, :UploadType, :RepoType, :Repo, :Branch, :ServerName, :IsPublic, :VpcId, :SubnetIds, :CustomLogs, :ContainerPort, :InitialDelaySeconds, :ImageUrl, :CpuSize, :MemSize, :RequestId
3844
+ attr_accessor :VersionName, :Remark, :DockerfilePath, :BuildDir, :MinNum, :MaxNum, :PolicyType, :PolicyThreshold, :EnvParams, :CreatedTime, :UpdatedTime, :VersionIP, :VersionPort, :Status, :PackageName, :PackageVersion, :UploadType, :RepoType, :Repo, :Branch, :ServerName, :IsPublic, :VpcId, :SubnetIds, :CustomLogs, :ContainerPort, :InitialDelaySeconds, :ImageUrl, :CpuSize, :MemSize, :PolicyDetail, :Cpu, :Mem, :RequestId
3836
3845
 
3837
- def initialize(versionname=nil, remark=nil, dockerfilepath=nil, builddir=nil, minnum=nil, maxnum=nil, policytype=nil, policythreshold=nil, envparams=nil, createdtime=nil, updatedtime=nil, versionip=nil, versionport=nil, status=nil, packagename=nil, packageversion=nil, uploadtype=nil, repotype=nil, repo=nil, branch=nil, servername=nil, ispublic=nil, vpcid=nil, subnetids=nil, customlogs=nil, containerport=nil, initialdelayseconds=nil, imageurl=nil, cpusize=nil, memsize=nil, requestid=nil)
3846
+ def initialize(versionname=nil, remark=nil, dockerfilepath=nil, builddir=nil, minnum=nil, maxnum=nil, policytype=nil, policythreshold=nil, envparams=nil, createdtime=nil, updatedtime=nil, versionip=nil, versionport=nil, status=nil, packagename=nil, packageversion=nil, uploadtype=nil, repotype=nil, repo=nil, branch=nil, servername=nil, ispublic=nil, vpcid=nil, subnetids=nil, customlogs=nil, containerport=nil, initialdelayseconds=nil, imageurl=nil, cpusize=nil, memsize=nil, policydetail=nil, cpu=nil, mem=nil, requestid=nil)
3838
3847
  @VersionName = versionname
3839
3848
  @Remark = remark
3840
3849
  @DockerfilePath = dockerfilepath
@@ -3865,6 +3874,9 @@ module TencentCloud
3865
3874
  @ImageUrl = imageurl
3866
3875
  @CpuSize = cpusize
3867
3876
  @MemSize = memsize
3877
+ @PolicyDetail = policydetail
3878
+ @Cpu = cpu
3879
+ @Mem = mem
3868
3880
  @RequestId = requestid
3869
3881
  end
3870
3882
 
@@ -3899,6 +3911,16 @@ module TencentCloud
3899
3911
  @ImageUrl = params['ImageUrl']
3900
3912
  @CpuSize = params['CpuSize']
3901
3913
  @MemSize = params['MemSize']
3914
+ unless params['PolicyDetail'].nil?
3915
+ @PolicyDetail = []
3916
+ params['PolicyDetail'].each do |i|
3917
+ hpapolicy_tmp = HpaPolicy.new
3918
+ hpapolicy_tmp.deserialize(i)
3919
+ @PolicyDetail << hpapolicy_tmp
3920
+ end
3921
+ end
3922
+ @Cpu = params['Cpu']
3923
+ @Mem = params['Mem']
3902
3924
  @RequestId = params['RequestId']
3903
3925
  end
3904
3926
  end
@@ -4622,13 +4644,16 @@ module TencentCloud
4622
4644
  class DescribeEnvsResponse < TencentCloud::Common::AbstractModel
4623
4645
  # @param EnvList: 环境信息列表
4624
4646
  # @type EnvList: Array
4647
+ # @param Total: 环境个数
4648
+ # @type Total: Integer
4625
4649
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4626
4650
  # @type RequestId: String
4627
4651
 
4628
- attr_accessor :EnvList, :RequestId
4652
+ attr_accessor :EnvList, :Total, :RequestId
4629
4653
 
4630
- def initialize(envlist=nil, requestid=nil)
4654
+ def initialize(envlist=nil, total=nil, requestid=nil)
4631
4655
  @EnvList = envlist
4656
+ @Total = total
4632
4657
  @RequestId = requestid
4633
4658
  end
4634
4659
 
@@ -4641,6 +4666,7 @@ module TencentCloud
4641
4666
  @EnvList << envinfo_tmp
4642
4667
  end
4643
4668
  end
4669
+ @Total = params['Total']
4644
4670
  @RequestId = params['RequestId']
4645
4671
  end
4646
4672
  end
@@ -5832,16 +5858,21 @@ module TencentCloud
5832
5858
 
5833
5859
  # EstablishCloudBaseRunServer返回参数结构体
5834
5860
  class EstablishCloudBaseRunServerResponse < TencentCloud::Common::AbstractModel
5861
+ # @param Result: 创建服务是否成功
5862
+ # 注意:此字段可能返回 null,表示取不到有效值。
5863
+ # @type Result: String
5835
5864
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5836
5865
  # @type RequestId: String
5837
5866
 
5838
- attr_accessor :RequestId
5867
+ attr_accessor :Result, :RequestId
5839
5868
 
5840
- def initialize(requestid=nil)
5869
+ def initialize(result=nil, requestid=nil)
5870
+ @Result = result
5841
5871
  @RequestId = requestid
5842
5872
  end
5843
5873
 
5844
5874
  def deserialize(params)
5875
+ @Result = params['Result']
5845
5876
  @RequestId = params['RequestId']
5846
5877
  end
5847
5878
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tcb
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.499
4
+ version: 3.0.501
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-01 00:00:00.000000000 Z
11
+ date: 2023-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common