tencentcloud-sdk-teo 3.0.1153 → 3.0.1158
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/v20220901/client.rb +2 -2
- data/lib/v20220901/models.rb +158 -23
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 8ed7e43d8ed5fea4c5c7fabfd37ea35721bf1341
|
|
4
|
+
data.tar.gz: 5e5bbb6e8aaef230ffc557b055c3432439b2adbf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b67bfbe1680b21afd4d0715fc9d2bce8714fa3c82a65865406ab43b806f3669a2c8892086f73f32aabd77ffa1604b5e32ca11d0dd5fe1d5ef2db5c555fe31002
|
|
7
|
+
data.tar.gz: 5f8d968f01f4de064f2cf14fde3f655ed3111b54e0f828391abec78e05d35b06471e5a31ef34128409feec963313cec2c29d0ec53002d3f602dabc883754d272
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1158
|
data/lib/v20220901/client.rb
CHANGED
|
@@ -417,7 +417,7 @@ module TencentCloud
|
|
|
417
417
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
418
418
|
end
|
|
419
419
|
|
|
420
|
-
#
|
|
420
|
+
# 创建边缘函数的触发规则。支持通过自定义过滤条件来决定是否需要执行函数,当需要执行函数时,提供了多种选择目标函数的方式,包括:直接指定,基于客户端归属地区选择和基于权重选择。
|
|
421
421
|
|
|
422
422
|
# @param request: Request instance for CreateFunctionRule.
|
|
423
423
|
# @type request: :class:`Tencentcloud::teo::V20220901::CreateFunctionRuleRequest`
|
|
@@ -3897,7 +3897,7 @@ module TencentCloud
|
|
|
3897
3897
|
raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
|
|
3898
3898
|
end
|
|
3899
3899
|
|
|
3900
|
-
#
|
|
3900
|
+
# 修改边缘函数触发规则,支持修改规则条件、执行函数以及描述信息。您可以先通过 DescribeFunctionRules 接口来获取需要修改的规则的 RuleId,然后传入修改后的规则内容,原规则内容会被覆盖式更新。
|
|
3901
3901
|
|
|
3902
3902
|
# @param request: Request instance for ModifyFunctionRule.
|
|
3903
3903
|
# @type request: :class:`Tencentcloud::teo::V20220901::ModifyFunctionRuleRequest`
|
data/lib/v20220901/models.rb
CHANGED
|
@@ -231,7 +231,7 @@ module TencentCloud
|
|
|
231
231
|
|
|
232
232
|
# 加速域名所对应的证书信息。
|
|
233
233
|
class AccelerationDomainCertificate < TencentCloud::Common::AbstractModel
|
|
234
|
-
# @param Mode:
|
|
234
|
+
# @param Mode: 配置服务端证书的模式,取值有: <ul><li>disable:不配置服务端证书;</li> <li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437) - 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。 - 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口获取申请失败原因。</li><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://tcloud4api.woa.com/document/product/1657/927322?!preview&!document=1'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li> <ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li> </ul> <li>sslcert:配置 SSL 托管服务端证书。</li></ul>
|
|
235
235
|
# @type Mode: String
|
|
236
236
|
# @param List: 服务端证书列表,相关证书部署在 EO 的入口侧。
|
|
237
237
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
@@ -3657,17 +3657,30 @@ module TencentCloud
|
|
|
3657
3657
|
# @type ZoneId: String
|
|
3658
3658
|
# @param FunctionRuleConditions: 规则条件列表,相同触发规则的不同条件匹配项之间为或关系。
|
|
3659
3659
|
# @type FunctionRuleConditions: Array
|
|
3660
|
-
# @param
|
|
3660
|
+
# @param TriggerType: 函数选择配置类型:
|
|
3661
|
+
# <li> direct:直接指定执行函数;</li>
|
|
3662
|
+
# <li> weight:基于权重比选择函数;</li>
|
|
3663
|
+
# <li> region:基于客户端 IP 的国家/地区选择函数。</li>
|
|
3664
|
+
# 不填时默认为 direct 。
|
|
3665
|
+
# @type TriggerType: String
|
|
3666
|
+
# @param FunctionId: 指定执行的函数 ID。当 TriggerType 为 direct 或 TriggerType 不填时生效。
|
|
3661
3667
|
# @type FunctionId: String
|
|
3668
|
+
# @param RegionMappingSelections: 基于客户端 IP 国家/地区的函数选择配置,当 TriggerType 为 region 时生效且 RegionMappingSelections 必填。RegionMappingSelections 中至少包含一项 Regions 为 Default 的配置。
|
|
3669
|
+
# @type RegionMappingSelections: Array
|
|
3670
|
+
# @param WeightedSelections: 基于权重的函数选择配置,当 TriggerType 为 weight 时生效且 WeightedSelections 必填。WeightedSelections 中的所有权重之和需要为100。
|
|
3671
|
+
# @type WeightedSelections: Array
|
|
3662
3672
|
# @param Remark: 规则描述,最大支持 60 个字符。
|
|
3663
3673
|
# @type Remark: String
|
|
3664
3674
|
|
|
3665
|
-
attr_accessor :ZoneId, :FunctionRuleConditions, :FunctionId, :Remark
|
|
3675
|
+
attr_accessor :ZoneId, :FunctionRuleConditions, :TriggerType, :FunctionId, :RegionMappingSelections, :WeightedSelections, :Remark
|
|
3666
3676
|
|
|
3667
|
-
def initialize(zoneid=nil, functionruleconditions=nil, functionid=nil, remark=nil)
|
|
3677
|
+
def initialize(zoneid=nil, functionruleconditions=nil, triggertype=nil, functionid=nil, regionmappingselections=nil, weightedselections=nil, remark=nil)
|
|
3668
3678
|
@ZoneId = zoneid
|
|
3669
3679
|
@FunctionRuleConditions = functionruleconditions
|
|
3680
|
+
@TriggerType = triggertype
|
|
3670
3681
|
@FunctionId = functionid
|
|
3682
|
+
@RegionMappingSelections = regionmappingselections
|
|
3683
|
+
@WeightedSelections = weightedselections
|
|
3671
3684
|
@Remark = remark
|
|
3672
3685
|
end
|
|
3673
3686
|
|
|
@@ -3681,7 +3694,24 @@ module TencentCloud
|
|
|
3681
3694
|
@FunctionRuleConditions << functionrulecondition_tmp
|
|
3682
3695
|
end
|
|
3683
3696
|
end
|
|
3697
|
+
@TriggerType = params['TriggerType']
|
|
3684
3698
|
@FunctionId = params['FunctionId']
|
|
3699
|
+
unless params['RegionMappingSelections'].nil?
|
|
3700
|
+
@RegionMappingSelections = []
|
|
3701
|
+
params['RegionMappingSelections'].each do |i|
|
|
3702
|
+
functionregionselection_tmp = FunctionRegionSelection.new
|
|
3703
|
+
functionregionselection_tmp.deserialize(i)
|
|
3704
|
+
@RegionMappingSelections << functionregionselection_tmp
|
|
3705
|
+
end
|
|
3706
|
+
end
|
|
3707
|
+
unless params['WeightedSelections'].nil?
|
|
3708
|
+
@WeightedSelections = []
|
|
3709
|
+
params['WeightedSelections'].each do |i|
|
|
3710
|
+
functionweightedselection_tmp = FunctionWeightedSelection.new
|
|
3711
|
+
functionweightedselection_tmp.deserialize(i)
|
|
3712
|
+
@WeightedSelections << functionweightedselection_tmp
|
|
3713
|
+
end
|
|
3714
|
+
end
|
|
3685
3715
|
@Remark = params['Remark']
|
|
3686
3716
|
end
|
|
3687
3717
|
end
|
|
@@ -11559,7 +11589,7 @@ module TencentCloud
|
|
|
11559
11589
|
end
|
|
11560
11590
|
end
|
|
11561
11591
|
|
|
11562
|
-
# CNAME
|
|
11592
|
+
# 站点 CNAME 模式接入验证归属权或域名申请免费证书时,使用 DNS 解析验证时所需的信息。
|
|
11563
11593
|
class DnsVerification < TencentCloud::Common::AbstractModel
|
|
11564
11594
|
# @param Subdomain: 主机记录。
|
|
11565
11595
|
# @type Subdomain: String
|
|
@@ -12349,9 +12379,9 @@ module TencentCloud
|
|
|
12349
12379
|
end
|
|
12350
12380
|
end
|
|
12351
12381
|
|
|
12352
|
-
# CNAME
|
|
12382
|
+
# 站点 CNAME 模式接入验证归属权或域名申请免费证书时,使用 HTTP 访问验证文件时所需的信息。
|
|
12353
12383
|
class FileVerification < TencentCloud::Common::AbstractModel
|
|
12354
|
-
# @param Path: EdgeOne 后台服务器将通过
|
|
12384
|
+
# @param Path: EdgeOne 后台服务器将通过 http://{Host}{URL Path} 的格式(例如 http://www.example.com/.well-known/teo-verification/z12h416twn.txt)获取文件验证信息。其中,本字段为您需要创建的 URL Path 部分,Host 为当前加速域名。
|
|
12355
12385
|
# @type Path: String
|
|
12356
12386
|
# @param Content: 验证文件的内容。该字段的内容需要您填写至 Path 字段返回的 txt 文件中。
|
|
12357
12387
|
# @type Content: String
|
|
@@ -12604,34 +12634,66 @@ module TencentCloud
|
|
|
12604
12634
|
end
|
|
12605
12635
|
end
|
|
12606
12636
|
|
|
12637
|
+
# 地区策略配置。
|
|
12638
|
+
class FunctionRegionSelection < TencentCloud::Common::AbstractModel
|
|
12639
|
+
# @param FunctionId: 函数 ID 。
|
|
12640
|
+
# @type FunctionId: String
|
|
12641
|
+
# @param Regions: 国家/地区列表。示例值:CN:中国,CN.GD:中国广东。取值请参考:[国家/地区及对应代码枚举](https://cloud.tencent.com/document/product/1552/112542)。
|
|
12642
|
+
# @type Regions: Array
|
|
12643
|
+
|
|
12644
|
+
attr_accessor :FunctionId, :Regions
|
|
12645
|
+
|
|
12646
|
+
def initialize(functionid=nil, regions=nil)
|
|
12647
|
+
@FunctionId = functionid
|
|
12648
|
+
@Regions = regions
|
|
12649
|
+
end
|
|
12650
|
+
|
|
12651
|
+
def deserialize(params)
|
|
12652
|
+
@FunctionId = params['FunctionId']
|
|
12653
|
+
@Regions = params['Regions']
|
|
12654
|
+
end
|
|
12655
|
+
end
|
|
12656
|
+
|
|
12607
12657
|
# 边缘函数触发规则。
|
|
12608
12658
|
class FunctionRule < TencentCloud::Common::AbstractModel
|
|
12609
12659
|
# @param RuleId: 规则ID。
|
|
12610
12660
|
# @type RuleId: String
|
|
12611
12661
|
# @param FunctionRuleConditions: 规则条件列表,列表项之间为或关系。
|
|
12612
12662
|
# @type FunctionRuleConditions: Array
|
|
12613
|
-
# @param
|
|
12663
|
+
# @param TriggerType: 函数选择配置类型:
|
|
12664
|
+
# <li> direct:直接指定执行函数;</li>
|
|
12665
|
+
# <li> weight:基于权重比选择函数;</li>
|
|
12666
|
+
# <li> region:基于客户端 IP 的国家/地区选择函数。</li>
|
|
12667
|
+
# @type TriggerType: String
|
|
12668
|
+
# @param FunctionId: 指定执行的函数 ID。当 TriggerType 为 direct 时有效。
|
|
12614
12669
|
# @type FunctionId: String
|
|
12615
|
-
# @param
|
|
12616
|
-
# @type Remark: String
|
|
12617
|
-
# @param FunctionName: 函数名称。
|
|
12670
|
+
# @param FunctionName: 指定执行的函数名称。
|
|
12618
12671
|
# @type FunctionName: String
|
|
12672
|
+
# @param RegionMappingSelections: 基于客户端 IP 国家/地区的函数选择配置。
|
|
12673
|
+
# @type RegionMappingSelections: Array
|
|
12674
|
+
# @param WeightedSelections: 基于权重的函数选择配置。
|
|
12675
|
+
# @type WeightedSelections: Array
|
|
12619
12676
|
# @param Priority: 函数触发规则优先级,数值越大,优先级越高。
|
|
12620
12677
|
# @type Priority: Integer
|
|
12678
|
+
# @param Remark: 规则描述。
|
|
12679
|
+
# @type Remark: String
|
|
12621
12680
|
# @param CreateTime: 创建时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
|
|
12622
12681
|
# @type CreateTime: String
|
|
12623
12682
|
# @param UpdateTime: 更新时间。时间为世界标准时间(UTC), 遵循 ISO 8601 标准的日期和时间格式。
|
|
12624
12683
|
# @type UpdateTime: String
|
|
12625
12684
|
|
|
12626
|
-
attr_accessor :RuleId, :FunctionRuleConditions, :
|
|
12685
|
+
attr_accessor :RuleId, :FunctionRuleConditions, :TriggerType, :FunctionId, :FunctionName, :RegionMappingSelections, :WeightedSelections, :Priority, :Remark, :CreateTime, :UpdateTime
|
|
12627
12686
|
|
|
12628
|
-
def initialize(ruleid=nil, functionruleconditions=nil,
|
|
12687
|
+
def initialize(ruleid=nil, functionruleconditions=nil, triggertype=nil, functionid=nil, functionname=nil, regionmappingselections=nil, weightedselections=nil, priority=nil, remark=nil, createtime=nil, updatetime=nil)
|
|
12629
12688
|
@RuleId = ruleid
|
|
12630
12689
|
@FunctionRuleConditions = functionruleconditions
|
|
12690
|
+
@TriggerType = triggertype
|
|
12631
12691
|
@FunctionId = functionid
|
|
12632
|
-
@Remark = remark
|
|
12633
12692
|
@FunctionName = functionname
|
|
12693
|
+
@RegionMappingSelections = regionmappingselections
|
|
12694
|
+
@WeightedSelections = weightedselections
|
|
12634
12695
|
@Priority = priority
|
|
12696
|
+
@Remark = remark
|
|
12635
12697
|
@CreateTime = createtime
|
|
12636
12698
|
@UpdateTime = updatetime
|
|
12637
12699
|
end
|
|
@@ -12646,10 +12708,27 @@ module TencentCloud
|
|
|
12646
12708
|
@FunctionRuleConditions << functionrulecondition_tmp
|
|
12647
12709
|
end
|
|
12648
12710
|
end
|
|
12711
|
+
@TriggerType = params['TriggerType']
|
|
12649
12712
|
@FunctionId = params['FunctionId']
|
|
12650
|
-
@Remark = params['Remark']
|
|
12651
12713
|
@FunctionName = params['FunctionName']
|
|
12714
|
+
unless params['RegionMappingSelections'].nil?
|
|
12715
|
+
@RegionMappingSelections = []
|
|
12716
|
+
params['RegionMappingSelections'].each do |i|
|
|
12717
|
+
functionregionselection_tmp = FunctionRegionSelection.new
|
|
12718
|
+
functionregionselection_tmp.deserialize(i)
|
|
12719
|
+
@RegionMappingSelections << functionregionselection_tmp
|
|
12720
|
+
end
|
|
12721
|
+
end
|
|
12722
|
+
unless params['WeightedSelections'].nil?
|
|
12723
|
+
@WeightedSelections = []
|
|
12724
|
+
params['WeightedSelections'].each do |i|
|
|
12725
|
+
functionweightedselection_tmp = FunctionWeightedSelection.new
|
|
12726
|
+
functionweightedselection_tmp.deserialize(i)
|
|
12727
|
+
@WeightedSelections << functionweightedselection_tmp
|
|
12728
|
+
end
|
|
12729
|
+
end
|
|
12652
12730
|
@Priority = params['Priority']
|
|
12731
|
+
@Remark = params['Remark']
|
|
12653
12732
|
@CreateTime = params['CreateTime']
|
|
12654
12733
|
@UpdateTime = params['UpdateTime']
|
|
12655
12734
|
end
|
|
@@ -12678,6 +12757,28 @@ module TencentCloud
|
|
|
12678
12757
|
end
|
|
12679
12758
|
end
|
|
12680
12759
|
|
|
12760
|
+
# 权重策略配置。
|
|
12761
|
+
class FunctionWeightedSelection < TencentCloud::Common::AbstractModel
|
|
12762
|
+
# @param FunctionId: 函数 ID 。
|
|
12763
|
+
# @type FunctionId: String
|
|
12764
|
+
# @param Weight: 选中权重。取值范围0-100,所有的权重之和需要为100。
|
|
12765
|
+
# 选中概率计算方式为:
|
|
12766
|
+
# weight/100。例如设置了两个函数 A 和 B ,其中 A 的权重为30,那么 B 的权重必须为70,最终选中 A 的概率为30%,选中 B 的概率为70%。
|
|
12767
|
+
# @type Weight: Integer
|
|
12768
|
+
|
|
12769
|
+
attr_accessor :FunctionId, :Weight
|
|
12770
|
+
|
|
12771
|
+
def initialize(functionid=nil, weight=nil)
|
|
12772
|
+
@FunctionId = functionid
|
|
12773
|
+
@Weight = weight
|
|
12774
|
+
end
|
|
12775
|
+
|
|
12776
|
+
def deserialize(params)
|
|
12777
|
+
@FunctionId = params['FunctionId']
|
|
12778
|
+
@Weight = params['Weight']
|
|
12779
|
+
end
|
|
12780
|
+
end
|
|
12781
|
+
|
|
12681
12782
|
# 多通道安全网关可用地域
|
|
12682
12783
|
class GatewayRegion < TencentCloud::Common::AbstractModel
|
|
12683
12784
|
# @param RegionId: 地域 ID 。
|
|
@@ -15237,22 +15338,35 @@ module TencentCloud
|
|
|
15237
15338
|
class ModifyFunctionRuleRequest < TencentCloud::Common::AbstractModel
|
|
15238
15339
|
# @param ZoneId: 站点 ID。
|
|
15239
15340
|
# @type ZoneId: String
|
|
15240
|
-
# @param RuleId: 规则 ID
|
|
15341
|
+
# @param RuleId: 规则 ID。您可以先通过 DescribeFunctionRules 接口来获取需要修改的规则的 RuleId,然后传入修改后的规则内容,原规则内容会被覆盖式更新。
|
|
15241
15342
|
# @type RuleId: String
|
|
15242
15343
|
# @param FunctionRuleConditions: 规则条件列表,相同触发规则的不同条件匹配项之间为或关系,不填写保持原有配置。
|
|
15243
15344
|
# @type FunctionRuleConditions: Array
|
|
15244
|
-
# @param
|
|
15345
|
+
# @param TriggerType: 函数选择配置类型:
|
|
15346
|
+
# <li> direct:直接指定执行函数;</li>
|
|
15347
|
+
# <li> weight:基于权重比选择函数;</li>
|
|
15348
|
+
# <li> region:基于客户端 IP 的国家/地区选择函数。</li>
|
|
15349
|
+
# 不填时默认为 direct 。
|
|
15350
|
+
# @type TriggerType: String
|
|
15351
|
+
# @param FunctionId: 指定执行的函数 ID。当 TriggerType 为 direct 或 TriggerType 不填时生效。
|
|
15245
15352
|
# @type FunctionId: String
|
|
15353
|
+
# @param RegionMappingSelections: 基于客户端 IP 国家/地区的函数选择配置,当 TriggerType 为 region 时生效且 RegionMappingSelections 必填。RegionMappingSelections 中至少包含一项 Regions 为 Default 的配置。
|
|
15354
|
+
# @type RegionMappingSelections: Array
|
|
15355
|
+
# @param WeightedSelections: 基于权重的函数选择配置,当 TriggerType 为 weight 时生效且 WeightedSelections 必填。WeightedSelections 中的所有权重之和需要为100。
|
|
15356
|
+
# @type WeightedSelections: Array
|
|
15246
15357
|
# @param Remark: 规则描述,最大支持 60 个字符,不填写保持原有配置。
|
|
15247
15358
|
# @type Remark: String
|
|
15248
15359
|
|
|
15249
|
-
attr_accessor :ZoneId, :RuleId, :FunctionRuleConditions, :FunctionId, :Remark
|
|
15360
|
+
attr_accessor :ZoneId, :RuleId, :FunctionRuleConditions, :TriggerType, :FunctionId, :RegionMappingSelections, :WeightedSelections, :Remark
|
|
15250
15361
|
|
|
15251
|
-
def initialize(zoneid=nil, ruleid=nil, functionruleconditions=nil, functionid=nil, remark=nil)
|
|
15362
|
+
def initialize(zoneid=nil, ruleid=nil, functionruleconditions=nil, triggertype=nil, functionid=nil, regionmappingselections=nil, weightedselections=nil, remark=nil)
|
|
15252
15363
|
@ZoneId = zoneid
|
|
15253
15364
|
@RuleId = ruleid
|
|
15254
15365
|
@FunctionRuleConditions = functionruleconditions
|
|
15366
|
+
@TriggerType = triggertype
|
|
15255
15367
|
@FunctionId = functionid
|
|
15368
|
+
@RegionMappingSelections = regionmappingselections
|
|
15369
|
+
@WeightedSelections = weightedselections
|
|
15256
15370
|
@Remark = remark
|
|
15257
15371
|
end
|
|
15258
15372
|
|
|
@@ -15267,7 +15381,24 @@ module TencentCloud
|
|
|
15267
15381
|
@FunctionRuleConditions << functionrulecondition_tmp
|
|
15268
15382
|
end
|
|
15269
15383
|
end
|
|
15384
|
+
@TriggerType = params['TriggerType']
|
|
15270
15385
|
@FunctionId = params['FunctionId']
|
|
15386
|
+
unless params['RegionMappingSelections'].nil?
|
|
15387
|
+
@RegionMappingSelections = []
|
|
15388
|
+
params['RegionMappingSelections'].each do |i|
|
|
15389
|
+
functionregionselection_tmp = FunctionRegionSelection.new
|
|
15390
|
+
functionregionselection_tmp.deserialize(i)
|
|
15391
|
+
@RegionMappingSelections << functionregionselection_tmp
|
|
15392
|
+
end
|
|
15393
|
+
end
|
|
15394
|
+
unless params['WeightedSelections'].nil?
|
|
15395
|
+
@WeightedSelections = []
|
|
15396
|
+
params['WeightedSelections'].each do |i|
|
|
15397
|
+
functionweightedselection_tmp = FunctionWeightedSelection.new
|
|
15398
|
+
functionweightedselection_tmp.deserialize(i)
|
|
15399
|
+
@WeightedSelections << functionweightedselection_tmp
|
|
15400
|
+
end
|
|
15401
|
+
end
|
|
15271
15402
|
@Remark = params['Remark']
|
|
15272
15403
|
end
|
|
15273
15404
|
end
|
|
@@ -15295,10 +15426,14 @@ module TencentCloud
|
|
|
15295
15426
|
# @param Hosts: 需要修改证书配置的加速域名。
|
|
15296
15427
|
# @type Hosts: Array
|
|
15297
15428
|
# @param Mode: 配置服务端证书的模式,取值有:
|
|
15298
|
-
# <li>disable:不配置服务端证书;</li>
|
|
15299
|
-
# <li>eofreecert
|
|
15300
|
-
|
|
15301
|
-
#
|
|
15429
|
+
# <ul><li>disable:不配置服务端证书;</li>
|
|
15430
|
+
# <li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437)
|
|
15431
|
+
|
|
15432
|
+
# - 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。
|
|
15433
|
+
# - 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口获取申请失败原因。</li>
|
|
15434
|
+
# </ul><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://tcloud4api.woa.com/document/product/1657/927322?!preview&!document=1'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li>
|
|
15435
|
+
# <ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li>
|
|
15436
|
+
# </ul><li>sslcert:配置 SSL 托管服务端证书。</li>
|
|
15302
15437
|
# @type Mode: String
|
|
15303
15438
|
# @param ServerCertInfo: SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
|
|
15304
15439
|
# @type ServerCertInfo: Array
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: tencentcloud-sdk-teo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.0.
|
|
4
|
+
version: 3.0.1158
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Tencent Cloud
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-10-
|
|
11
|
+
date: 2025-10-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|