tencentcloud-sdk-tcb 3.0.498 → 3.0.500

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/v20180608/models.rb +31 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 75828fadb56fcf0949ae543e505ddb6d3c5ac0ea
4
- data.tar.gz: cabc4979f485de00d671283f9f0accdf34706b83
3
+ metadata.gz: 0021278fd170691aa8b6f4ecad5f0306b9efa57c
4
+ data.tar.gz: 6e09e581c31182790c745e8676226ebdeb882a8b
5
5
  SHA512:
6
- metadata.gz: c0e9e98875185d583cac09bf916b4bd4b3848d986431d47eab155fc1d1e3ba6d625c485d0f1a38a6d0951a8534a1c7dadd48240f9200dde7388cd92d5a98164c
7
- data.tar.gz: 51f4a66e210d860eeae0de1191f303c8d74349c98aff57aa57bfe9657a8ac9cec95745e0657f2387635fd2b50e26517981e260417c16d3cc3442dd7403457272
6
+ metadata.gz: 925230ee700e8106ca3c73f0147cbad4fa29115baa0e0fcb76840618f483cfb2994646bb3cab3e92e0dcdd7648a156541a4893653e34c6561b127a5c3e17440e
7
+ data.tar.gz: 2584d009e0b7f5fcfc142778647bbc4d0c0118c08105370db6133fbf09f56612da6028cef923fcd6978ed5dc683f904a5af08b41632c1a49fe31c7a8bed84766
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.498
1
+ 3.0.500
@@ -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
@@ -5832,16 +5854,21 @@ module TencentCloud
5832
5854
 
5833
5855
  # EstablishCloudBaseRunServer返回参数结构体
5834
5856
  class EstablishCloudBaseRunServerResponse < TencentCloud::Common::AbstractModel
5857
+ # @param Result: 创建服务是否成功
5858
+ # 注意:此字段可能返回 null,表示取不到有效值。
5859
+ # @type Result: String
5835
5860
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5836
5861
  # @type RequestId: String
5837
5862
 
5838
- attr_accessor :RequestId
5863
+ attr_accessor :Result, :RequestId
5839
5864
 
5840
- def initialize(requestid=nil)
5865
+ def initialize(result=nil, requestid=nil)
5866
+ @Result = result
5841
5867
  @RequestId = requestid
5842
5868
  end
5843
5869
 
5844
5870
  def deserialize(params)
5871
+ @Result = params['Result']
5845
5872
  @RequestId = params['RequestId']
5846
5873
  end
5847
5874
  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.498
4
+ version: 3.0.500
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-01-31 00:00:00.000000000 Z
11
+ date: 2023-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common