tencentcloud-sdk-scf 3.0.714 → 3.0.716

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 +47 -6
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 3cd713b4a4f91c1eea740f151379b6e56d95928d
4
- data.tar.gz: e18783a42d2e1eb2d60b5b60b8907070b33cc34a
3
+ metadata.gz: 90a6105cf64c66cab3ec6bf8f6ede2b0812f35df
4
+ data.tar.gz: bd97183169cb7d3f07f0b39bdf1bb8ec55f032c1
5
5
  SHA512:
6
- metadata.gz: 175bd5e4d02d5cd305012aa6700316bd505a31bd9e59d89c1742da4aadc47cfc5d9433deccc1309fd00d18aaea21e4db73a1703bdef052fd7f6150ef9f031bfb
7
- data.tar.gz: eaa3a94f6a1bee14ca5fbae1fc14bcd2ce8da055c013d060f229b35b5fb92d7bbe3bf90622f315107fa2e7a337337ded387090db41584a88a2989062adb833f0
6
+ metadata.gz: 0585a81a071bc421853dab060d83034a3e9fb9ddd32c430f71b202bca399a6ec60f9f9ecd0f10fd88cbde20b616665a857bf5e454e52b3258898bcc04287b12c
7
+ data.tar.gz: 6fece760263ea73c10a6422ee61e7f1a246a8d4995b1a699c08990b53aeb8930ac25b68f9a195c030e4cb3a5af1f4e92e5d6741829d8eb6b92331e68500b68c1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.714
1
+ 3.0.716
@@ -394,7 +394,7 @@ module TencentCloud
394
394
  # @type FunctionVersion: String
395
395
  # @param Namespace: 函数所在的命名空间
396
396
  # @type Namespace: String
397
- # @param RoutingConfig: 别名的请求路由配置
397
+ # @param RoutingConfig: 别名的路由信息,需要为别名指定附加版本时,必须提供此参数; 附加版本指的是:除主版本 FunctionVersion 外,为此别名再指定一个函数可正常使用的版本; 这里附加版本中的 Version 值 不能是别名指向的主版本; 要注意的是:如果想要某个版本的流量全部指向这个别名,不需配置此参数; 目前一个别名最多只能指定一个附加版本
398
398
  # @type RoutingConfig: :class:`Tencentcloud::Scf.v20180416.models.RoutingConfig`
399
399
  # @param Description: 别名的描述信息
400
400
  # @type Description: String
@@ -499,10 +499,14 @@ module TencentCloud
499
499
  # @type ProtocolParams: :class:`Tencentcloud::Scf.v20180416.models.ProtocolParams`
500
500
  # @param InstanceConcurrencyConfig: 单实例多并发配置。只支持Web函数。
501
501
  # @type InstanceConcurrencyConfig: :class:`Tencentcloud::Scf.v20180416.models.InstanceConcurrencyConfig`
502
+ # @param DnsCache: 是否开启Dns缓存能力。只支持EVENT函数。默认为FALSE,TRUE 为开启,FALSE为关闭
503
+ # @type DnsCache: String
504
+ # @param IntranetConfig: 内网访问配置
505
+ # @type IntranetConfig: :class:`Tencentcloud::Scf.v20180416.models.IntranetConfigIn`
502
506
 
503
- 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, :AutoDeployClsTopicIndex, :AutoCreateClsTopic, :ProtocolType, :ProtocolParams, :InstanceConcurrencyConfig
507
+ 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, :AutoDeployClsTopicIndex, :AutoCreateClsTopic, :ProtocolType, :ProtocolParams, :InstanceConcurrencyConfig, :DnsCache, :IntranetConfig
504
508
 
505
- 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, autodeployclstopicindex=nil, autocreateclstopic=nil, protocoltype=nil, protocolparams=nil, instanceconcurrencyconfig=nil)
509
+ 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, autodeployclstopicindex=nil, autocreateclstopic=nil, protocoltype=nil, protocolparams=nil, instanceconcurrencyconfig=nil, dnscache=nil, intranetconfig=nil)
506
510
  @FunctionName = functionname
507
511
  @Code = code
508
512
  @Handler = handler
@@ -532,6 +536,8 @@ module TencentCloud
532
536
  @ProtocolType = protocoltype
533
537
  @ProtocolParams = protocolparams
534
538
  @InstanceConcurrencyConfig = instanceconcurrencyconfig
539
+ @DnsCache = dnscache
540
+ @IntranetConfig = intranetconfig
535
541
  end
536
542
 
537
543
  def deserialize(params)
@@ -602,6 +608,11 @@ module TencentCloud
602
608
  @InstanceConcurrencyConfig = InstanceConcurrencyConfig.new
603
609
  @InstanceConcurrencyConfig.deserialize(params['InstanceConcurrencyConfig'])
604
610
  end
611
+ @DnsCache = params['DnsCache']
612
+ unless params['IntranetConfig'].nil?
613
+ @IntranetConfig = IntranetConfigIn.new
614
+ @IntranetConfig.deserialize(params['IntranetConfig'])
615
+ end
605
616
  end
606
617
  end
607
618
 
@@ -2299,6 +2310,24 @@ module TencentCloud
2299
2310
  end
2300
2311
  end
2301
2312
 
2313
+ # 内网配置
2314
+ class IntranetConfigIn < TencentCloud::Common::AbstractModel
2315
+ # @param IpFixed: 是否开启固定内网IP
2316
+ # ENABLE 为开启
2317
+ # DISABLE 为不开启
2318
+ # @type IpFixed: String
2319
+
2320
+ attr_accessor :IpFixed
2321
+
2322
+ def initialize(ipfixed=nil)
2323
+ @IpFixed = ipfixed
2324
+ end
2325
+
2326
+ def deserialize(params)
2327
+ @IpFixed = params['IpFixed']
2328
+ end
2329
+ end
2330
+
2302
2331
  # 内网配置
2303
2332
  class IntranetConfigOut < TencentCloud::Common::AbstractModel
2304
2333
  # @param IpFixed: 是否启用固定内网IP
@@ -3885,6 +3914,7 @@ module TencentCloud
3885
3914
  end
3886
3915
 
3887
3916
  # 别名的版本路由配置
3917
+ # 其中:随机权重路由附加版本和规则路由附加版本不可以同时配置
3888
3918
  class RoutingConfig < TencentCloud::Common::AbstractModel
3889
3919
  # @param AdditionalVersionWeights: 随机权重路由附加版本
3890
3920
  # @type AdditionalVersionWeights: Array
@@ -4289,7 +4319,7 @@ module TencentCloud
4289
4319
  # @type FunctionVersion: String
4290
4320
  # @param Namespace: 函数所在的命名空间
4291
4321
  # @type Namespace: String
4292
- # @param RoutingConfig: 别名的路由信息,需要为别名指定附加版本时,必须提供此参数
4322
+ # @param RoutingConfig: 别名的路由信息,需要为别名指定附加版本时,必须提供此参数; 附加版本指的是:除主版本 FunctionVersion 外,为此别名再指定一个函数可正常使用的版本; 这里附加版本中的 Version 值 不能是别名指向的主版本; 要注意的是:如果想要某个版本的流量全部指向这个别名,不需配置此参数; 目前一个别名最多只能指定一个附加版本
4293
4323
  # @type RoutingConfig: :class:`Tencentcloud::Scf.v20180416.models.RoutingConfig`
4294
4324
  # @param Description: 别名的描述
4295
4325
  # @type Description: String
@@ -4458,10 +4488,14 @@ module TencentCloud
4458
4488
  # @type ProtocolParams: :class:`Tencentcloud::Scf.v20180416.models.ProtocolParams`
4459
4489
  # @param InstanceConcurrencyConfig: 单实例多并发配置。只支持Web函数。
4460
4490
  # @type InstanceConcurrencyConfig: :class:`Tencentcloud::Scf.v20180416.models.InstanceConcurrencyConfig`
4491
+ # @param DnsCache: 是否开启Dns缓存能力。只支持EVENT函数。默认为FALSE,TRUE 为开启,FALSE为关闭
4492
+ # @type DnsCache: String
4493
+ # @param IntranetConfig: 内网访问配置
4494
+ # @type IntranetConfig: :class:`Tencentcloud::Scf.v20180416.models.IntranetConfigIn`
4461
4495
 
4462
- attr_accessor :FunctionName, :Description, :MemorySize, :Timeout, :Runtime, :Environment, :Namespace, :VpcConfig, :Role, :InstallDependency, :ClsLogsetId, :ClsTopicId, :Publish, :L5Enable, :Layers, :DeadLetterConfig, :PublicNetConfig, :CfsConfig, :InitTimeout, :ProtocolParams, :InstanceConcurrencyConfig
4496
+ attr_accessor :FunctionName, :Description, :MemorySize, :Timeout, :Runtime, :Environment, :Namespace, :VpcConfig, :Role, :InstallDependency, :ClsLogsetId, :ClsTopicId, :Publish, :L5Enable, :Layers, :DeadLetterConfig, :PublicNetConfig, :CfsConfig, :InitTimeout, :ProtocolParams, :InstanceConcurrencyConfig, :DnsCache, :IntranetConfig
4463
4497
 
4464
- 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)
4498
+ 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, dnscache=nil, intranetconfig=nil)
4465
4499
  @FunctionName = functionname
4466
4500
  @Description = description
4467
4501
  @MemorySize = memorysize
@@ -4483,6 +4517,8 @@ module TencentCloud
4483
4517
  @InitTimeout = inittimeout
4484
4518
  @ProtocolParams = protocolparams
4485
4519
  @InstanceConcurrencyConfig = instanceconcurrencyconfig
4520
+ @DnsCache = dnscache
4521
+ @IntranetConfig = intranetconfig
4486
4522
  end
4487
4523
 
4488
4524
  def deserialize(params)
@@ -4535,6 +4571,11 @@ module TencentCloud
4535
4571
  @InstanceConcurrencyConfig = InstanceConcurrencyConfig.new
4536
4572
  @InstanceConcurrencyConfig.deserialize(params['InstanceConcurrencyConfig'])
4537
4573
  end
4574
+ @DnsCache = params['DnsCache']
4575
+ unless params['IntranetConfig'].nil?
4576
+ @IntranetConfig = IntranetConfigIn.new
4577
+ @IntranetConfig.deserialize(params['IntranetConfig'])
4578
+ end
4538
4579
  end
4539
4580
  end
4540
4581
 
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.714
4
+ version: 3.0.716
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-11-27 00:00:00.000000000 Z
11
+ date: 2023-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common