tencentcloud-sdk-tem 1.0.219 → 1.0.220

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1dbb9212b64b5de074ab276b9d33118ea1c6ce35
4
- data.tar.gz: ff47d856aebd23ebce15a6dfffcfeb76d0e06f46
3
+ metadata.gz: 7087716105bffb5c8322d56095d2f0d584c6f3da
4
+ data.tar.gz: b6053376fd63c4c8c94dd1c25d7dc16df8a149de
5
5
  SHA512:
6
- metadata.gz: d39ebe21e51efa2b4c6c892ca73e9e0285149de760c1116f7c5a3c336552f7d3887452a204529d9e5bd1cb5226e909a9013776ce16303c78e14c4df7f8c0fa36
7
- data.tar.gz: b13ed962cddf57c73ee2c75bb19686c9d796248ab3716569bbf745b050bf21a4be4c8255af6c4494bed0eeba51acbf208c8df8abf4fd08258579b74e9b401e79
6
+ metadata.gz: d4d3299949e1b0b995b0889e6808f40b69c3980d62b06d930a06e6bed84cd14dd86e1e7ce73641543e3d337c0ac3202125141b0ceced5f41113610934d3838f0
7
+ data.tar.gz: 300bcd26055369066a772403b0105b919ace13698782862d718317cf955256e9416eb0854b5134136e726c3dea37badcf1196cfbcfa9673df0fd62e02aa8b30a
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.219
1
+ 1.0.220
@@ -365,6 +365,30 @@ module TencentCloud
365
365
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
366
  end
367
367
 
368
+ # 修改应用实例数量
369
+
370
+ # @param request: Request instance for ModifyApplicationReplicas.
371
+ # @type request: :class:`Tencentcloud::tem::V20210701::ModifyApplicationReplicasRequest`
372
+ # @rtype: :class:`Tencentcloud::tem::V20210701::ModifyApplicationReplicasResponse`
373
+ def ModifyApplicationReplicas(request)
374
+ body = send_request('ModifyApplicationReplicas', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = ModifyApplicationReplicasResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
368
392
  # 编辑环境
369
393
 
370
394
  # @param request: Request instance for ModifyEnvironment.
@@ -1675,6 +1675,50 @@ module TencentCloud
1675
1675
  end
1676
1676
  end
1677
1677
 
1678
+ # ModifyApplicationReplicas请求参数结构体
1679
+ class ModifyApplicationReplicasRequest < TencentCloud::Common::AbstractModel
1680
+ # @param ApplicationId: 服务id
1681
+ # @type ApplicationId: String
1682
+ # @param EnvironmentId: 环境ID
1683
+ # @type EnvironmentId: String
1684
+ # @param Replicas: 实例数量
1685
+ # @type Replicas: Integer
1686
+ # @param SourceChannel: 来源渠道
1687
+ # @type SourceChannel: Integer
1688
+
1689
+ attr_accessor :ApplicationId, :EnvironmentId, :Replicas, :SourceChannel
1690
+
1691
+ def initialize(applicationid=nil, environmentid=nil, replicas=nil, sourcechannel=nil)
1692
+ @ApplicationId = applicationid
1693
+ @EnvironmentId = environmentid
1694
+ @Replicas = replicas
1695
+ @SourceChannel = sourcechannel
1696
+ end
1697
+
1698
+ def deserialize(params)
1699
+ @ApplicationId = params['ApplicationId']
1700
+ @EnvironmentId = params['EnvironmentId']
1701
+ @Replicas = params['Replicas']
1702
+ @SourceChannel = params['SourceChannel']
1703
+ end
1704
+ end
1705
+
1706
+ # ModifyApplicationReplicas返回参数结构体
1707
+ class ModifyApplicationReplicasResponse < TencentCloud::Common::AbstractModel
1708
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1709
+ # @type RequestId: String
1710
+
1711
+ attr_accessor :RequestId
1712
+
1713
+ def initialize(requestid=nil)
1714
+ @RequestId = requestid
1715
+ end
1716
+
1717
+ def deserialize(params)
1718
+ @RequestId = params['RequestId']
1719
+ end
1720
+ end
1721
+
1678
1722
  # ModifyEnvironment请求参数结构体
1679
1723
  class ModifyEnvironmentRequest < TencentCloud::Common::AbstractModel
1680
1724
  # @param EnvironmentId: 环境id
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-tem
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.219
4
+ version: 1.0.220
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-08 00:00:00.000000000 Z
11
+ date: 2021-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common