tencentcloud-sdk-scf 3.0.715 → 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 +16 -4
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f99c840a0d5726c7deaba7e8fd1fbb1ed4d82b2f
4
- data.tar.gz: 8e334d64d82b261e8642b55fb8509856b1c3facf
3
+ metadata.gz: 90a6105cf64c66cab3ec6bf8f6ede2b0812f35df
4
+ data.tar.gz: bd97183169cb7d3f07f0b39bdf1bb8ec55f032c1
5
5
  SHA512:
6
- metadata.gz: ea8047bea4e373cea29cd82e332b9ca4e40db9e714191fe3684b8a6d8d02552feadcc71608ec5415b5dcdaedc324297a73661ca3d9367d983581c7d30f2ad8c4
7
- data.tar.gz: 24943640768d3aa6f86a1e390dbd2fa4007e491a34d015ea72cdc99bc4fb20381e71173cb2e99afd12b1d2e32a9d45ed5790c9393d1195a7ef331ec19e23de9f
6
+ metadata.gz: 0585a81a071bc421853dab060d83034a3e9fb9ddd32c430f71b202bca399a6ec60f9f9ecd0f10fd88cbde20b616665a857bf5e454e52b3258898bcc04287b12c
7
+ data.tar.gz: 6fece760263ea73c10a6422ee61e7f1a246a8d4995b1a699c08990b53aeb8930ac25b68f9a195c030e4cb3a5af1f4e92e5d6741829d8eb6b92331e68500b68c1
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.715
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
@@ -3914,6 +3914,7 @@ module TencentCloud
3914
3914
  end
3915
3915
 
3916
3916
  # 别名的版本路由配置
3917
+ # 其中:随机权重路由附加版本和规则路由附加版本不可以同时配置
3917
3918
  class RoutingConfig < TencentCloud::Common::AbstractModel
3918
3919
  # @param AdditionalVersionWeights: 随机权重路由附加版本
3919
3920
  # @type AdditionalVersionWeights: Array
@@ -4318,7 +4319,7 @@ module TencentCloud
4318
4319
  # @type FunctionVersion: String
4319
4320
  # @param Namespace: 函数所在的命名空间
4320
4321
  # @type Namespace: String
4321
- # @param RoutingConfig: 别名的路由信息,需要为别名指定附加版本时,必须提供此参数
4322
+ # @param RoutingConfig: 别名的路由信息,需要为别名指定附加版本时,必须提供此参数; 附加版本指的是:除主版本 FunctionVersion 外,为此别名再指定一个函数可正常使用的版本; 这里附加版本中的 Version 值 不能是别名指向的主版本; 要注意的是:如果想要某个版本的流量全部指向这个别名,不需配置此参数; 目前一个别名最多只能指定一个附加版本
4322
4323
  # @type RoutingConfig: :class:`Tencentcloud::Scf.v20180416.models.RoutingConfig`
4323
4324
  # @param Description: 别名的描述
4324
4325
  # @type Description: String
@@ -4487,10 +4488,14 @@ module TencentCloud
4487
4488
  # @type ProtocolParams: :class:`Tencentcloud::Scf.v20180416.models.ProtocolParams`
4488
4489
  # @param InstanceConcurrencyConfig: 单实例多并发配置。只支持Web函数。
4489
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`
4490
4495
 
4491
- 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
4492
4497
 
4493
- 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)
4494
4499
  @FunctionName = functionname
4495
4500
  @Description = description
4496
4501
  @MemorySize = memorysize
@@ -4512,6 +4517,8 @@ module TencentCloud
4512
4517
  @InitTimeout = inittimeout
4513
4518
  @ProtocolParams = protocolparams
4514
4519
  @InstanceConcurrencyConfig = instanceconcurrencyconfig
4520
+ @DnsCache = dnscache
4521
+ @IntranetConfig = intranetconfig
4515
4522
  end
4516
4523
 
4517
4524
  def deserialize(params)
@@ -4564,6 +4571,11 @@ module TencentCloud
4564
4571
  @InstanceConcurrencyConfig = InstanceConcurrencyConfig.new
4565
4572
  @InstanceConcurrencyConfig.deserialize(params['InstanceConcurrencyConfig'])
4566
4573
  end
4574
+ @DnsCache = params['DnsCache']
4575
+ unless params['IntranetConfig'].nil?
4576
+ @IntranetConfig = IntranetConfigIn.new
4577
+ @IntranetConfig.deserialize(params['IntranetConfig'])
4578
+ end
4567
4579
  end
4568
4580
  end
4569
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.715
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-28 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