tencentcloud-sdk-scf 1.0.279 → 1.0.282

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/v20180416/models.rb +23 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a194fcf47d8b064f5bd62b0c5ff63efecbde503f
4
- data.tar.gz: fcbbccccfff8b8f812133d13122059f1cc36c5f4
3
+ metadata.gz: f3acf7fd78e5894ec3a2b4da04b47f7d8df4bbc8
4
+ data.tar.gz: d973fe325807ff10fb606a5c08a3a669076b3799
5
5
  SHA512:
6
- metadata.gz: ab1997c472f780450848bdc413b09c3f3793a3dced53d6d8381ce6189c53c787023efec95a90a4d6611b5be21f1711cb422aa53ada6c43a2f62467956c32348e
7
- data.tar.gz: 25548669f60b508be081d03006058a1dfcaaf1fd61c386ebb6793d8771369527f44cbbf757a1a3882f4c9c539ed6ef3aec1f2b69c5ceab039f121e6f520845f0
6
+ metadata.gz: 48ba103fd3c41d9f8843c41f0c0ea2ca99fbf4b085b0cfb356738a5cab06b32b34145b25464be120a86163061cc9061d861fd0511f9db7a6206237b84be9ae02
7
+ data.tar.gz: ffdefa50ed49c4e0c4d6c134fbd8915a4a57406594d862ccfcb92b36c87b4fa622d3caa9a7d42f95ceca0a460d21084e14492fbcd0146db4ca826e4d9b4e279f
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.279
1
+ 1.0.282
@@ -3379,15 +3379,32 @@ module TencentCloud
3379
3379
  # @type Namespace: String
3380
3380
  # @param TriggerActions: 定时预置任务
3381
3381
  # @type TriggerActions: Array
3382
+ # @param ProvisionedType: 预置类型,
3383
+ # 静态预置:Default
3384
+ # 动态追踪并发利用率指标预置:ConcurrencyUtilizationTracking
3385
+ # 预置类型二选一,设置静态预置时可以设置VersionProvisionedConcurrencyNum。
3382
3386
 
3383
- attr_accessor :FunctionName, :Qualifier, :VersionProvisionedConcurrencyNum, :Namespace, :TriggerActions
3387
+ # 动态利用率预置可以设置TrackingTarget,MinCapacity,MaxCapacity,保持向后兼容性此时VersionProvisionedConcurrencyNum设置为0.
3388
+ # @type ProvisionedType: String
3389
+ # @param TrackingTarget: 指标追踪的并发利用率。设置范围(0,1)
3390
+ # @type TrackingTarget: Float
3391
+ # @param MinCapacity: 缩容时的最小值, 最小值为1
3392
+ # @type MinCapacity: Integer
3393
+ # @param MaxCapacity: 扩容时的最大值
3394
+ # @type MaxCapacity: Integer
3395
+
3396
+ attr_accessor :FunctionName, :Qualifier, :VersionProvisionedConcurrencyNum, :Namespace, :TriggerActions, :ProvisionedType, :TrackingTarget, :MinCapacity, :MaxCapacity
3384
3397
 
3385
- def initialize(functionname=nil, qualifier=nil, versionprovisionedconcurrencynum=nil, namespace=nil, triggeractions=nil)
3398
+ def initialize(functionname=nil, qualifier=nil, versionprovisionedconcurrencynum=nil, namespace=nil, triggeractions=nil, provisionedtype=nil, trackingtarget=nil, mincapacity=nil, maxcapacity=nil)
3386
3399
  @FunctionName = functionname
3387
3400
  @Qualifier = qualifier
3388
3401
  @VersionProvisionedConcurrencyNum = versionprovisionedconcurrencynum
3389
3402
  @Namespace = namespace
3390
3403
  @TriggerActions = triggeractions
3404
+ @ProvisionedType = provisionedtype
3405
+ @TrackingTarget = trackingtarget
3406
+ @MinCapacity = mincapacity
3407
+ @MaxCapacity = maxcapacity
3391
3408
  end
3392
3409
 
3393
3410
  def deserialize(params)
@@ -3403,6 +3420,10 @@ module TencentCloud
3403
3420
  @TriggerActions << triggeraction_tmp
3404
3421
  end
3405
3422
  end
3423
+ @ProvisionedType = params['ProvisionedType']
3424
+ @TrackingTarget = params['TrackingTarget']
3425
+ @MinCapacity = params['MinCapacity']
3426
+ @MaxCapacity = params['MaxCapacity']
3406
3427
  end
3407
3428
  end
3408
3429
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-scf
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.279
4
+ version: 1.0.282
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-03-18 00:00:00.000000000 Z
11
+ date: 2022-03-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common