tencentcloud-sdk-scf 1.0.279 → 1.0.280

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: 15bd7aa9de09dde3b388f5cc02443057affd4839
4
+ data.tar.gz: d95e3d35c9a55b2b899c483c6465cf6b6485ee2f
5
5
  SHA512:
6
- metadata.gz: ab1997c472f780450848bdc413b09c3f3793a3dced53d6d8381ce6189c53c787023efec95a90a4d6611b5be21f1711cb422aa53ada6c43a2f62467956c32348e
7
- data.tar.gz: 25548669f60b508be081d03006058a1dfcaaf1fd61c386ebb6793d8771369527f44cbbf757a1a3882f4c9c539ed6ef3aec1f2b69c5ceab039f121e6f520845f0
6
+ metadata.gz: 2133a459372503e1b75707b972711e0ad9f37273d929ced24cb98870db4986a5fe206be55484a58da69fc2119cd310899ef9d783fe8fd59978143d1299c2cb9f
7
+ data.tar.gz: 2f9185fe866e1c4169103fffcdc6e02b107f1d914426a3ce21ca79b9666b83d4ad88b564116451d0b4c00419465a193764f8690ce143f8a351da2d721a56046b
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.279
1
+ 1.0.280
@@ -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.280
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-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common