tencentcloud-sdk-scf 1.0.278 → 1.0.281

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: 4cefe1a25d605dbd77744bf6c260ad300e919bd9
4
- data.tar.gz: 469666959ba62ec40cc56771fee53ab9770a1305
3
+ metadata.gz: 2cea75d475be113948ad7a80ad47a4c7e41d13d2
4
+ data.tar.gz: 7870a0437e9dca8562bd2fc30264b0f329de835e
5
5
  SHA512:
6
- metadata.gz: 21b714c6f6cf24cf67b37ce54175695e82c3c3a84b6a2862d4c41d3c1ea5981b009c0b56965c481050e388b7f4c27f60c29a5c7636cf6211cb37f1e7ea60b717
7
- data.tar.gz: 42194897741f8992ba20edb54fc57caf83c76b11d69aab28a6f391a0db880e3f4b5c123b1f042fc89a9c645b82262a4f71110d01830abb5c8c97d81cac3c1033
6
+ metadata.gz: 369d3add79c3cb42bd9b445894d454ffd78fbc4d2d9cfb4d508f4294a0302313548c750146032daf3b3969b0f379a2949ae184656b78bf1e0b47cc07c5f45578
7
+ data.tar.gz: 1b810336e1a0da917f4c42bedc7da4cfcb4cb5cb4c49ca28b779055ffec065cdd46b646da67da8ba255e26130c71f4e2e0171bd84e3876140846c7d75b6452eb
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.278
1
+ 1.0.281
@@ -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.278
4
+ version: 1.0.281
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-17 00:00:00.000000000 Z
11
+ date: 2022-03-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common