tencentcloud-sdk-scf 3.0.452 → 3.0.453
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 +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20180416/models.rb +47 -6
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 961d2d13ba33e7f6a7d85f5024abc6ea3908f281
|
4
|
+
data.tar.gz: 02bf81c95ec918a173abde2169a75c3cb106222f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a7f79f06899146e8619bf97fc0a2c83290034407cf91f66659a55bd3d78f0b9731cee993be7515963c4ef0389a447c5fe2a2dc84207dc37a6d5bb171de6d5492
|
7
|
+
data.tar.gz: 8cec12ef2af95232c871b80d70fae8ba4bbdd3dcf8952e76c91a46bd65b93c09ed0fbb474ce0b556f5385bb2a5d417ca9c6b5cc77414a9aa0eff72f063dc874f
|
data/lib/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.0.
|
1
|
+
3.0.453
|
data/lib/v20180416/models.rb
CHANGED
@@ -493,10 +493,12 @@ module TencentCloud
|
|
493
493
|
# @type ProtocolType: String
|
494
494
|
# @param ProtocolParams: HTTP函数配置ProtocolType访问协议,当前协议可配置的参数
|
495
495
|
# @type ProtocolParams: :class:`Tencentcloud::Scf.v20180416.models.ProtocolParams`
|
496
|
+
# @param InstanceConcurrencyConfig: 单实例多并发配置。只支持Web函数。
|
497
|
+
# @type InstanceConcurrencyConfig: :class:`Tencentcloud::Scf.v20180416.models.InstanceConcurrencyConfig`
|
496
498
|
|
497
|
-
attr_accessor :FunctionName, :Code, :Handler, :Description, :MemorySize, :Timeout, :Environment, :Runtime, :VpcConfig, :Namespace, :Role, :InstallDependency, :ClsLogsetId, :ClsTopicId, :Type, :CodeSource, :Layers, :DeadLetterConfig, :PublicNetConfig, :CfsConfig, :InitTimeout, :Tags, :AsyncRunEnable, :TraceEnable, :ProtocolType, :ProtocolParams
|
499
|
+
attr_accessor :FunctionName, :Code, :Handler, :Description, :MemorySize, :Timeout, :Environment, :Runtime, :VpcConfig, :Namespace, :Role, :InstallDependency, :ClsLogsetId, :ClsTopicId, :Type, :CodeSource, :Layers, :DeadLetterConfig, :PublicNetConfig, :CfsConfig, :InitTimeout, :Tags, :AsyncRunEnable, :TraceEnable, :ProtocolType, :ProtocolParams, :InstanceConcurrencyConfig
|
498
500
|
|
499
|
-
def initialize(functionname=nil, code=nil, handler=nil, description=nil, memorysize=nil, timeout=nil, environment=nil, runtime=nil, vpcconfig=nil, namespace=nil, role=nil, installdependency=nil, clslogsetid=nil, clstopicid=nil, type=nil, codesource=nil, layers=nil, deadletterconfig=nil, publicnetconfig=nil, cfsconfig=nil, inittimeout=nil, tags=nil, asyncrunenable=nil, traceenable=nil, protocoltype=nil, protocolparams=nil)
|
501
|
+
def initialize(functionname=nil, code=nil, handler=nil, description=nil, memorysize=nil, timeout=nil, environment=nil, runtime=nil, vpcconfig=nil, namespace=nil, role=nil, installdependency=nil, clslogsetid=nil, clstopicid=nil, type=nil, codesource=nil, layers=nil, deadletterconfig=nil, publicnetconfig=nil, cfsconfig=nil, inittimeout=nil, tags=nil, asyncrunenable=nil, traceenable=nil, protocoltype=nil, protocolparams=nil, instanceconcurrencyconfig=nil)
|
500
502
|
@FunctionName = functionname
|
501
503
|
@Code = code
|
502
504
|
@Handler = handler
|
@@ -523,6 +525,7 @@ module TencentCloud
|
|
523
525
|
@TraceEnable = traceenable
|
524
526
|
@ProtocolType = protocoltype
|
525
527
|
@ProtocolParams = protocolparams
|
528
|
+
@InstanceConcurrencyConfig = instanceconcurrencyconfig
|
526
529
|
end
|
527
530
|
|
528
531
|
def deserialize(params)
|
@@ -587,6 +590,10 @@ module TencentCloud
|
|
587
590
|
@ProtocolParams = ProtocolParams.new
|
588
591
|
@ProtocolParams.deserialize(params['ProtocolParams'])
|
589
592
|
end
|
593
|
+
unless params['InstanceConcurrencyConfig'].nil?
|
594
|
+
@InstanceConcurrencyConfig = InstanceConcurrencyConfig.new
|
595
|
+
@InstanceConcurrencyConfig.deserialize(params['InstanceConcurrencyConfig'])
|
596
|
+
end
|
590
597
|
end
|
591
598
|
end
|
592
599
|
|
@@ -2194,16 +2201,20 @@ module TencentCloud
|
|
2194
2201
|
# @param Args: 容器的启动参数。该参数为可选参数,如果不填写,则默认使用 Dockerfile 中的 CMD。传入规范,以“空格”作为参数的分割标识,例如 -u app.py
|
2195
2202
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2196
2203
|
# @type Args: String
|
2204
|
+
# @param ContainerImageAccelerate: 镜像加速开关,默认False
|
2205
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2206
|
+
# @type ContainerImageAccelerate: Boolean
|
2197
2207
|
|
2198
|
-
attr_accessor :ImageType, :ImageUri, :RegistryId, :EntryPoint, :Command, :Args
|
2208
|
+
attr_accessor :ImageType, :ImageUri, :RegistryId, :EntryPoint, :Command, :Args, :ContainerImageAccelerate
|
2199
2209
|
|
2200
|
-
def initialize(imagetype=nil, imageuri=nil, registryid=nil, entrypoint=nil, command=nil, args=nil)
|
2210
|
+
def initialize(imagetype=nil, imageuri=nil, registryid=nil, entrypoint=nil, command=nil, args=nil, containerimageaccelerate=nil)
|
2201
2211
|
@ImageType = imagetype
|
2202
2212
|
@ImageUri = imageuri
|
2203
2213
|
@RegistryId = registryid
|
2204
2214
|
@EntryPoint = entrypoint
|
2205
2215
|
@Command = command
|
2206
2216
|
@Args = args
|
2217
|
+
@ContainerImageAccelerate = containerimageaccelerate
|
2207
2218
|
end
|
2208
2219
|
|
2209
2220
|
def deserialize(params)
|
@@ -2213,6 +2224,29 @@ module TencentCloud
|
|
2213
2224
|
@EntryPoint = params['EntryPoint']
|
2214
2225
|
@Command = params['Command']
|
2215
2226
|
@Args = params['Args']
|
2227
|
+
@ContainerImageAccelerate = params['ContainerImageAccelerate']
|
2228
|
+
end
|
2229
|
+
end
|
2230
|
+
|
2231
|
+
# 多并发执行配置描述
|
2232
|
+
class InstanceConcurrencyConfig < TencentCloud::Common::AbstractModel
|
2233
|
+
# @param DynamicEnabled: 是否开启智能动态并发。'FALSE'时是静态并发。''时取消多并发配置。
|
2234
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2235
|
+
# @type DynamicEnabled: String
|
2236
|
+
# @param MaxConcurrency: 单实例并发数最大值。取值范围 [1,100]
|
2237
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2238
|
+
# @type MaxConcurrency: Integer
|
2239
|
+
|
2240
|
+
attr_accessor :DynamicEnabled, :MaxConcurrency
|
2241
|
+
|
2242
|
+
def initialize(dynamicenabled=nil, maxconcurrency=nil)
|
2243
|
+
@DynamicEnabled = dynamicenabled
|
2244
|
+
@MaxConcurrency = maxconcurrency
|
2245
|
+
end
|
2246
|
+
|
2247
|
+
def deserialize(params)
|
2248
|
+
@DynamicEnabled = params['DynamicEnabled']
|
2249
|
+
@MaxConcurrency = params['MaxConcurrency']
|
2216
2250
|
end
|
2217
2251
|
end
|
2218
2252
|
|
@@ -4171,10 +4205,12 @@ module TencentCloud
|
|
4171
4205
|
# @type InitTimeout: Integer
|
4172
4206
|
# @param ProtocolParams: HTTP函数配置ProtocolType访问协议,当前协议可配置的参数
|
4173
4207
|
# @type ProtocolParams: :class:`Tencentcloud::Scf.v20180416.models.ProtocolParams`
|
4208
|
+
# @param InstanceConcurrencyConfig: 单实例多并发配置。只支持Web函数。
|
4209
|
+
# @type InstanceConcurrencyConfig: :class:`Tencentcloud::Scf.v20180416.models.InstanceConcurrencyConfig`
|
4174
4210
|
|
4175
|
-
attr_accessor :FunctionName, :Description, :MemorySize, :Timeout, :Runtime, :Environment, :Namespace, :VpcConfig, :Role, :InstallDependency, :ClsLogsetId, :ClsTopicId, :Publish, :L5Enable, :Layers, :DeadLetterConfig, :PublicNetConfig, :CfsConfig, :InitTimeout, :ProtocolParams
|
4211
|
+
attr_accessor :FunctionName, :Description, :MemorySize, :Timeout, :Runtime, :Environment, :Namespace, :VpcConfig, :Role, :InstallDependency, :ClsLogsetId, :ClsTopicId, :Publish, :L5Enable, :Layers, :DeadLetterConfig, :PublicNetConfig, :CfsConfig, :InitTimeout, :ProtocolParams, :InstanceConcurrencyConfig
|
4176
4212
|
|
4177
|
-
def initialize(functionname=nil, description=nil, memorysize=nil, timeout=nil, runtime=nil, environment=nil, namespace=nil, vpcconfig=nil, role=nil, installdependency=nil, clslogsetid=nil, clstopicid=nil, publish=nil, l5enable=nil, layers=nil, deadletterconfig=nil, publicnetconfig=nil, cfsconfig=nil, inittimeout=nil, protocolparams=nil)
|
4213
|
+
def initialize(functionname=nil, description=nil, memorysize=nil, timeout=nil, runtime=nil, environment=nil, namespace=nil, vpcconfig=nil, role=nil, installdependency=nil, clslogsetid=nil, clstopicid=nil, publish=nil, l5enable=nil, layers=nil, deadletterconfig=nil, publicnetconfig=nil, cfsconfig=nil, inittimeout=nil, protocolparams=nil, instanceconcurrencyconfig=nil)
|
4178
4214
|
@FunctionName = functionname
|
4179
4215
|
@Description = description
|
4180
4216
|
@MemorySize = memorysize
|
@@ -4195,6 +4231,7 @@ module TencentCloud
|
|
4195
4231
|
@CfsConfig = cfsconfig
|
4196
4232
|
@InitTimeout = inittimeout
|
4197
4233
|
@ProtocolParams = protocolparams
|
4234
|
+
@InstanceConcurrencyConfig = instanceconcurrencyconfig
|
4198
4235
|
end
|
4199
4236
|
|
4200
4237
|
def deserialize(params)
|
@@ -4243,6 +4280,10 @@ module TencentCloud
|
|
4243
4280
|
@ProtocolParams = ProtocolParams.new
|
4244
4281
|
@ProtocolParams.deserialize(params['ProtocolParams'])
|
4245
4282
|
end
|
4283
|
+
unless params['InstanceConcurrencyConfig'].nil?
|
4284
|
+
@InstanceConcurrencyConfig = InstanceConcurrencyConfig.new
|
4285
|
+
@InstanceConcurrencyConfig.deserialize(params['InstanceConcurrencyConfig'])
|
4286
|
+
end
|
4246
4287
|
end
|
4247
4288
|
end
|
4248
4289
|
|
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: 3.0.
|
4
|
+
version: 3.0.453
|
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-11-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: tencentcloud-sdk-common
|
@@ -34,8 +34,8 @@ extensions: []
|
|
34
34
|
extra_rdoc_files: []
|
35
35
|
files:
|
36
36
|
- lib/tencentcloud-sdk-scf.rb
|
37
|
-
- lib/v20180416/models.rb
|
38
37
|
- lib/v20180416/client.rb
|
38
|
+
- lib/v20180416/models.rb
|
39
39
|
- lib/VERSION
|
40
40
|
homepage: https://github.com/TencentCloud/tencentcloud-sdk-ruby
|
41
41
|
licenses:
|