tencentcloud-sdk-teo 3.0.1156 → 3.0.1159
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/models.rb +839 -84
- 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: b5916bc0f18f1724d6f83cad939452e32bc53e67
|
|
4
|
+
data.tar.gz: b61302ad4034ec5d764410b3efe6e082191ad374
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 23dd7672e015b218f8ed21796d03b1a2b4ab4845282ffa189f02da9482aac9a4357387a5ea5a6504e139906cab43453b1e3fec5386048717ef7aed6b01cd48ea
|
|
7
|
+
data.tar.gz: 0c6d0c44751d263bb3b0975a756dd9f4925cc225882cbb4f722591746c6e0caa8050d5978a280e5e65b36d3df7f5e476634b52820acc155451be3471511448df
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.0.
|
|
1
|
+
3.0.1159
|
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,表示取不到有效值。
|
|
@@ -1264,6 +1264,53 @@ module TencentCloud
|
|
|
1264
1264
|
end
|
|
1265
1265
|
end
|
|
1266
1266
|
|
|
1267
|
+
# Bot 管理的基础配置,对策略关联的所有域名生效。可以通过 CustomRules 进行精细化定制。
|
|
1268
|
+
class BasicBotSettings < TencentCloud::Common::AbstractModel
|
|
1269
|
+
# @param SourceIDC: 客户端 IP 的来源 IDC 配置,用于处置来自 IDC(数据中心) 的客户端 IP 的访问请求。此类来源请求不是由移动端或浏览器端直接访问。
|
|
1270
|
+
# @type SourceIDC: :class:`Tencentcloud::Teo.v20220901.models.SourceIDC`
|
|
1271
|
+
# @param SearchEngineBots: 搜索引擎爬虫配置,用于处置来自搜索引擎爬虫的请求。此类请求的 IP、User-Agent 或 rDNS 结果匹配已知搜索引擎爬虫。
|
|
1272
|
+
# @type SearchEngineBots: :class:`Tencentcloud::Teo.v20220901.models.SearchEngineBots`
|
|
1273
|
+
# @param KnownBotCategories: 商业或开源工具 UA 特征配置(原 UA 特征规则),用于处置来自已知商业工具或开源工具的访问请求。此类请求的 User-Agent 头部符合已知商业或开源工具特征。
|
|
1274
|
+
# @type KnownBotCategories: :class:`Tencentcloud::Teo.v20220901.models.KnownBotCategories`
|
|
1275
|
+
# @param IPReputation: IP 威胁情报库(原客户端画像分析)配置,用于处置近期访问行为具有特定风险特征的客户端 IP。
|
|
1276
|
+
# @type IPReputation: :class:`Tencentcloud::Teo.v20220901.models.IPReputation`
|
|
1277
|
+
# @param BotIntelligence: Bot 智能分析的具体配置。
|
|
1278
|
+
# @type BotIntelligence: :class:`Tencentcloud::Teo.v20220901.models.BotIntelligence`
|
|
1279
|
+
|
|
1280
|
+
attr_accessor :SourceIDC, :SearchEngineBots, :KnownBotCategories, :IPReputation, :BotIntelligence
|
|
1281
|
+
|
|
1282
|
+
def initialize(sourceidc=nil, searchenginebots=nil, knownbotcategories=nil, ipreputation=nil, botintelligence=nil)
|
|
1283
|
+
@SourceIDC = sourceidc
|
|
1284
|
+
@SearchEngineBots = searchenginebots
|
|
1285
|
+
@KnownBotCategories = knownbotcategories
|
|
1286
|
+
@IPReputation = ipreputation
|
|
1287
|
+
@BotIntelligence = botintelligence
|
|
1288
|
+
end
|
|
1289
|
+
|
|
1290
|
+
def deserialize(params)
|
|
1291
|
+
unless params['SourceIDC'].nil?
|
|
1292
|
+
@SourceIDC = SourceIDC.new
|
|
1293
|
+
@SourceIDC.deserialize(params['SourceIDC'])
|
|
1294
|
+
end
|
|
1295
|
+
unless params['SearchEngineBots'].nil?
|
|
1296
|
+
@SearchEngineBots = SearchEngineBots.new
|
|
1297
|
+
@SearchEngineBots.deserialize(params['SearchEngineBots'])
|
|
1298
|
+
end
|
|
1299
|
+
unless params['KnownBotCategories'].nil?
|
|
1300
|
+
@KnownBotCategories = KnownBotCategories.new
|
|
1301
|
+
@KnownBotCategories.deserialize(params['KnownBotCategories'])
|
|
1302
|
+
end
|
|
1303
|
+
unless params['IPReputation'].nil?
|
|
1304
|
+
@IPReputation = IPReputation.new
|
|
1305
|
+
@IPReputation.deserialize(params['IPReputation'])
|
|
1306
|
+
end
|
|
1307
|
+
unless params['BotIntelligence'].nil?
|
|
1308
|
+
@BotIntelligence = BotIntelligence.new
|
|
1309
|
+
@BotIntelligence.deserialize(params['BotIntelligence'])
|
|
1310
|
+
end
|
|
1311
|
+
end
|
|
1312
|
+
end
|
|
1313
|
+
|
|
1267
1314
|
# 计费数据项。
|
|
1268
1315
|
class BillingData < TencentCloud::Common::AbstractModel
|
|
1269
1316
|
# @param Time: 数据时间戳。
|
|
@@ -1622,6 +1669,32 @@ module TencentCloud
|
|
|
1622
1669
|
end
|
|
1623
1670
|
end
|
|
1624
1671
|
|
|
1672
|
+
# Bot 智能分析的具体配置。
|
|
1673
|
+
class BotIntelligence < TencentCloud::Common::AbstractModel
|
|
1674
|
+
# @param BotRatings: 基于客户端和请求特征,将请求来源分为人类来源请求、合法 Bot 请求、疑似 Bot 请求和高风险 Bot 请求,并提供请求处置选项。
|
|
1675
|
+
# @type BotRatings: :class:`Tencentcloud::Teo.v20220901.models.BotRatings`
|
|
1676
|
+
# @param Enabled: Bot 智能分析的具体配置开关。取值有:
|
|
1677
|
+
|
|
1678
|
+
# on:开启;
|
|
1679
|
+
# off:关闭。
|
|
1680
|
+
# @type Enabled: String
|
|
1681
|
+
|
|
1682
|
+
attr_accessor :BotRatings, :Enabled
|
|
1683
|
+
|
|
1684
|
+
def initialize(botratings=nil, enabled=nil)
|
|
1685
|
+
@BotRatings = botratings
|
|
1686
|
+
@Enabled = enabled
|
|
1687
|
+
end
|
|
1688
|
+
|
|
1689
|
+
def deserialize(params)
|
|
1690
|
+
unless params['BotRatings'].nil?
|
|
1691
|
+
@BotRatings = BotRatings.new
|
|
1692
|
+
@BotRatings.deserialize(params['BotRatings'])
|
|
1693
|
+
end
|
|
1694
|
+
@Enabled = params['Enabled']
|
|
1695
|
+
end
|
|
1696
|
+
end
|
|
1697
|
+
|
|
1625
1698
|
# Bot 规则,下列规则ID可参考接口 DescribeBotManagedRules返回的ID信息
|
|
1626
1699
|
class BotManagedRule < TencentCloud::Common::AbstractModel
|
|
1627
1700
|
# @param Action: 触发规则后的处置方式,取值有:
|
|
@@ -1668,20 +1741,134 @@ module TencentCloud
|
|
|
1668
1741
|
|
|
1669
1742
|
# Web 安全的 BOT 规则结构。
|
|
1670
1743
|
class BotManagement < TencentCloud::Common::AbstractModel
|
|
1671
|
-
# @param
|
|
1744
|
+
# @param Enabled: Bot 管理是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
1745
|
+
# @type Enabled: String
|
|
1746
|
+
# @param CustomRules: Bot 管理的自定义规则,组合各类爬虫和请求行为特征,精准定义 Bot 并配置定制化处置方式。
|
|
1747
|
+
# @type CustomRules: :class:`Tencentcloud::Teo.v20220901.models.BotManagementCustomRules`
|
|
1748
|
+
# @param BasicBotSettings: Bot 管理的基础配置,对策略关联的所有域名生效。可以通过 CustomRules 进行精细化定制。
|
|
1749
|
+
# @type BasicBotSettings: :class:`Tencentcloud::Teo.v20220901.models.BasicBotSettings`
|
|
1750
|
+
# @param ClientAttestationRules: 客户端认证规则的定义列表。该功能内测中,如需使用,请提工单。
|
|
1672
1751
|
# @type ClientAttestationRules: :class:`Tencentcloud::Teo.v20220901.models.ClientAttestationRules`
|
|
1752
|
+
# @param BrowserImpersonationDetection: 配置浏览器伪造识别规则(原主动特征识别规则)。设置注入 JavaScript 的响应页面范围,浏览器校验选项,以及对非浏览器客户端的处置方式。
|
|
1753
|
+
# @type BrowserImpersonationDetection: :class:`Tencentcloud::Teo.v20220901.models.BrowserImpersonationDetection`
|
|
1673
1754
|
|
|
1674
|
-
attr_accessor :ClientAttestationRules
|
|
1755
|
+
attr_accessor :Enabled, :CustomRules, :BasicBotSettings, :ClientAttestationRules, :BrowserImpersonationDetection
|
|
1675
1756
|
|
|
1676
|
-
def initialize(clientattestationrules=nil)
|
|
1757
|
+
def initialize(enabled=nil, customrules=nil, basicbotsettings=nil, clientattestationrules=nil, browserimpersonationdetection=nil)
|
|
1758
|
+
@Enabled = enabled
|
|
1759
|
+
@CustomRules = customrules
|
|
1760
|
+
@BasicBotSettings = basicbotsettings
|
|
1677
1761
|
@ClientAttestationRules = clientattestationrules
|
|
1762
|
+
@BrowserImpersonationDetection = browserimpersonationdetection
|
|
1678
1763
|
end
|
|
1679
1764
|
|
|
1680
1765
|
def deserialize(params)
|
|
1766
|
+
@Enabled = params['Enabled']
|
|
1767
|
+
unless params['CustomRules'].nil?
|
|
1768
|
+
@CustomRules = BotManagementCustomRules.new
|
|
1769
|
+
@CustomRules.deserialize(params['CustomRules'])
|
|
1770
|
+
end
|
|
1771
|
+
unless params['BasicBotSettings'].nil?
|
|
1772
|
+
@BasicBotSettings = BasicBotSettings.new
|
|
1773
|
+
@BasicBotSettings.deserialize(params['BasicBotSettings'])
|
|
1774
|
+
end
|
|
1681
1775
|
unless params['ClientAttestationRules'].nil?
|
|
1682
1776
|
@ClientAttestationRules = ClientAttestationRules.new
|
|
1683
1777
|
@ClientAttestationRules.deserialize(params['ClientAttestationRules'])
|
|
1684
1778
|
end
|
|
1779
|
+
unless params['BrowserImpersonationDetection'].nil?
|
|
1780
|
+
@BrowserImpersonationDetection = BrowserImpersonationDetection.new
|
|
1781
|
+
@BrowserImpersonationDetection.deserialize(params['BrowserImpersonationDetection'])
|
|
1782
|
+
end
|
|
1783
|
+
end
|
|
1784
|
+
end
|
|
1785
|
+
|
|
1786
|
+
# Bot 规则项的具体配置,用于覆盖上层的默认配置。
|
|
1787
|
+
class BotManagementActionOverrides < TencentCloud::Common::AbstractModel
|
|
1788
|
+
# @param Ids: Bot 规则组下的具体项,用于改写此单条规则项配置的内容,Ids 所对应的具体信息请参考 DescribeBotManagedRules 接口返回的信息。
|
|
1789
|
+
# @type Ids: Array
|
|
1790
|
+
# @param Action: Ids 中指定 Bot 规则项的处置动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Disabled:未启用,不启用指定规则;</li><li>Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge;</li><li>Allow:放行(仅限Bot基础特征管理)。</li>
|
|
1791
|
+
# @type Action: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
1792
|
+
|
|
1793
|
+
attr_accessor :Ids, :Action
|
|
1794
|
+
|
|
1795
|
+
def initialize(ids=nil, action=nil)
|
|
1796
|
+
@Ids = ids
|
|
1797
|
+
@Action = action
|
|
1798
|
+
end
|
|
1799
|
+
|
|
1800
|
+
def deserialize(params)
|
|
1801
|
+
@Ids = params['Ids']
|
|
1802
|
+
unless params['Action'].nil?
|
|
1803
|
+
@Action = SecurityAction.new
|
|
1804
|
+
@Action.deserialize(params['Action'])
|
|
1805
|
+
end
|
|
1806
|
+
end
|
|
1807
|
+
end
|
|
1808
|
+
|
|
1809
|
+
# Web 安全的 Bot 自定义规则。
|
|
1810
|
+
class BotManagementCustomRule < TencentCloud::Common::AbstractModel
|
|
1811
|
+
# @param Id: Bot 自定义规则的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li><b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li><b>删除</b>已有规则:BotManagementCustomRules 参数中,Rules 列表中未包含的已有规则将被删除。</li>
|
|
1812
|
+
# @type Id: String
|
|
1813
|
+
# @param Name: Bot 自定义规则的名称。
|
|
1814
|
+
# @type Name: String
|
|
1815
|
+
# @param Enabled: Bot 自定义规则是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
1816
|
+
# @type Enabled: String
|
|
1817
|
+
# @param Priority: Bot 自定义规则的优先级,范围是 1 ~ 100,默认为 50。
|
|
1818
|
+
# @type Priority: Integer
|
|
1819
|
+
# @param Condition: Bot 自定义规则的具体内容,需符合表达式语法,详细规范参见产品文档。
|
|
1820
|
+
# @type Condition: String
|
|
1821
|
+
# @param Action: Bot 自定义规则的处置方式。取值有:<li>Monitor:观察;</li><li>Deny:拦截,其中 DenyActionParameters.Name 支持 Deny 和 ReturnCustomPage;</li><li>Challenge:挑战,其中 ChallengeActionParameters.Name 支持 JSChallenge 和 ManagedChallenge;</li><li>Redirect:重定向至 URL。</li>
|
|
1822
|
+
# @type Action: Array
|
|
1823
|
+
|
|
1824
|
+
attr_accessor :Id, :Name, :Enabled, :Priority, :Condition, :Action
|
|
1825
|
+
|
|
1826
|
+
def initialize(id=nil, name=nil, enabled=nil, priority=nil, condition=nil, action=nil)
|
|
1827
|
+
@Id = id
|
|
1828
|
+
@Name = name
|
|
1829
|
+
@Enabled = enabled
|
|
1830
|
+
@Priority = priority
|
|
1831
|
+
@Condition = condition
|
|
1832
|
+
@Action = action
|
|
1833
|
+
end
|
|
1834
|
+
|
|
1835
|
+
def deserialize(params)
|
|
1836
|
+
@Id = params['Id']
|
|
1837
|
+
@Name = params['Name']
|
|
1838
|
+
@Enabled = params['Enabled']
|
|
1839
|
+
@Priority = params['Priority']
|
|
1840
|
+
@Condition = params['Condition']
|
|
1841
|
+
unless params['Action'].nil?
|
|
1842
|
+
@Action = []
|
|
1843
|
+
params['Action'].each do |i|
|
|
1844
|
+
securityweightedaction_tmp = SecurityWeightedAction.new
|
|
1845
|
+
securityweightedaction_tmp.deserialize(i)
|
|
1846
|
+
@Action << securityweightedaction_tmp
|
|
1847
|
+
end
|
|
1848
|
+
end
|
|
1849
|
+
end
|
|
1850
|
+
end
|
|
1851
|
+
|
|
1852
|
+
# Bot 自定义规则的配置。
|
|
1853
|
+
class BotManagementCustomRules < TencentCloud::Common::AbstractModel
|
|
1854
|
+
# @param Rules: Bot 自定义规则的列表。使用 ModifySecurityPolicy 修改 Web 防护配置时: <br> <li> 若未指定 SecurityPolicy.BotManagement.CustomRules 中的 Rules 参数,或 Rules 参数长度为零:清空所有 Bot 自定义规则配置。</li> <li> 若 SecurityPolicy.BotManagement 参数中,未指定 CustomRules 参数值:保持已有 Bot 自定义规则配置,不做修改。</li>
|
|
1855
|
+
# @type Rules: Array
|
|
1856
|
+
|
|
1857
|
+
attr_accessor :Rules
|
|
1858
|
+
|
|
1859
|
+
def initialize(rules=nil)
|
|
1860
|
+
@Rules = rules
|
|
1861
|
+
end
|
|
1862
|
+
|
|
1863
|
+
def deserialize(params)
|
|
1864
|
+
unless params['Rules'].nil?
|
|
1865
|
+
@Rules = []
|
|
1866
|
+
params['Rules'].each do |i|
|
|
1867
|
+
botmanagementcustomrule_tmp = BotManagementCustomRule.new
|
|
1868
|
+
botmanagementcustomrule_tmp.deserialize(i)
|
|
1869
|
+
@Rules << botmanagementcustomrule_tmp
|
|
1870
|
+
end
|
|
1871
|
+
end
|
|
1685
1872
|
end
|
|
1686
1873
|
end
|
|
1687
1874
|
|
|
@@ -1723,6 +1910,90 @@ module TencentCloud
|
|
|
1723
1910
|
end
|
|
1724
1911
|
end
|
|
1725
1912
|
|
|
1913
|
+
# 基于客户端和请求特征,将请求来源分为人类来源请求、合法 Bot 请求、疑似 Bot 请求和高风险 Bot 请求,并提供请求处置选项。
|
|
1914
|
+
class BotRatings < TencentCloud::Common::AbstractModel
|
|
1915
|
+
# @param HighRiskBotRequestsAction: 恶意 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Allow:放行;</li><li>Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge。</li>
|
|
1916
|
+
# @type HighRiskBotRequestsAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
1917
|
+
# @param LikelyBotRequestsAction: 疑似 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Allow:放行;</li><li>Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge。</li>
|
|
1918
|
+
# @type LikelyBotRequestsAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
1919
|
+
# @param VerifiedBotRequestsAction: 友好 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Allow:放行;</li><li>Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge。</li>
|
|
1920
|
+
# @type VerifiedBotRequestsAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
1921
|
+
# @param HumanRequestsAction: 正常 Bot 请求的执行动作。 SecurityAction 的 Name 取值支持:<li>Allow:放行。</li>
|
|
1922
|
+
# @type HumanRequestsAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
1923
|
+
|
|
1924
|
+
attr_accessor :HighRiskBotRequestsAction, :LikelyBotRequestsAction, :VerifiedBotRequestsAction, :HumanRequestsAction
|
|
1925
|
+
|
|
1926
|
+
def initialize(highriskbotrequestsaction=nil, likelybotrequestsaction=nil, verifiedbotrequestsaction=nil, humanrequestsaction=nil)
|
|
1927
|
+
@HighRiskBotRequestsAction = highriskbotrequestsaction
|
|
1928
|
+
@LikelyBotRequestsAction = likelybotrequestsaction
|
|
1929
|
+
@VerifiedBotRequestsAction = verifiedbotrequestsaction
|
|
1930
|
+
@HumanRequestsAction = humanrequestsaction
|
|
1931
|
+
end
|
|
1932
|
+
|
|
1933
|
+
def deserialize(params)
|
|
1934
|
+
unless params['HighRiskBotRequestsAction'].nil?
|
|
1935
|
+
@HighRiskBotRequestsAction = SecurityAction.new
|
|
1936
|
+
@HighRiskBotRequestsAction.deserialize(params['HighRiskBotRequestsAction'])
|
|
1937
|
+
end
|
|
1938
|
+
unless params['LikelyBotRequestsAction'].nil?
|
|
1939
|
+
@LikelyBotRequestsAction = SecurityAction.new
|
|
1940
|
+
@LikelyBotRequestsAction.deserialize(params['LikelyBotRequestsAction'])
|
|
1941
|
+
end
|
|
1942
|
+
unless params['VerifiedBotRequestsAction'].nil?
|
|
1943
|
+
@VerifiedBotRequestsAction = SecurityAction.new
|
|
1944
|
+
@VerifiedBotRequestsAction.deserialize(params['VerifiedBotRequestsAction'])
|
|
1945
|
+
end
|
|
1946
|
+
unless params['HumanRequestsAction'].nil?
|
|
1947
|
+
@HumanRequestsAction = SecurityAction.new
|
|
1948
|
+
@HumanRequestsAction.deserialize(params['HumanRequestsAction'])
|
|
1949
|
+
end
|
|
1950
|
+
end
|
|
1951
|
+
end
|
|
1952
|
+
|
|
1953
|
+
# Cookie 校验和会话跟踪行为具体配置。
|
|
1954
|
+
class BotSessionValidation < TencentCloud::Common::AbstractModel
|
|
1955
|
+
# @param IssueNewBotSessionCookie: 是否更新 Cookie 并校验。取值有:<li>on:更新 Cookie 并校验;</li><li>off:仅校验。</li>
|
|
1956
|
+
# @type IssueNewBotSessionCookie: String
|
|
1957
|
+
# @param MaxNewSessionTriggerConfig: 更新 Cookie 并校验时的触发阈值,仅当 IssueNewBotSessionCookie 为 on 时有效。
|
|
1958
|
+
# @type MaxNewSessionTriggerConfig: :class:`Tencentcloud::Teo.v20220901.models.MaxNewSessionTriggerConfig`
|
|
1959
|
+
# @param SessionExpiredAction: 未携带 Cookie 或 Cookie 已过期的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截,其中 DenyActionParameters 中支持 Stall 配置;</li><li>Monitor:观察;</li><li>Allow:等待后响应,其中 AllowActionParameters 需要 MinDelayTime 和 MaxDelayTime 配置。</li>
|
|
1960
|
+
# @type SessionExpiredAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
1961
|
+
# @param SessionInvalidAction: 不合法 Cookie 的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截,其中 DenyActionParameters 中支持 Stall 配置;</li><li>Monitor:观察;</li><li>Allow:等待后响应,其中 AllowActionParameters 需要 MinDelayTime 和 MaxDelayTime 配置。</li>
|
|
1962
|
+
# @type SessionInvalidAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
1963
|
+
# @param SessionRateControl: 会话速率和周期特征校验的具体配置。
|
|
1964
|
+
# @type SessionRateControl: :class:`Tencentcloud::Teo.v20220901.models.SessionRateControl`
|
|
1965
|
+
|
|
1966
|
+
attr_accessor :IssueNewBotSessionCookie, :MaxNewSessionTriggerConfig, :SessionExpiredAction, :SessionInvalidAction, :SessionRateControl
|
|
1967
|
+
|
|
1968
|
+
def initialize(issuenewbotsessioncookie=nil, maxnewsessiontriggerconfig=nil, sessionexpiredaction=nil, sessioninvalidaction=nil, sessionratecontrol=nil)
|
|
1969
|
+
@IssueNewBotSessionCookie = issuenewbotsessioncookie
|
|
1970
|
+
@MaxNewSessionTriggerConfig = maxnewsessiontriggerconfig
|
|
1971
|
+
@SessionExpiredAction = sessionexpiredaction
|
|
1972
|
+
@SessionInvalidAction = sessioninvalidaction
|
|
1973
|
+
@SessionRateControl = sessionratecontrol
|
|
1974
|
+
end
|
|
1975
|
+
|
|
1976
|
+
def deserialize(params)
|
|
1977
|
+
@IssueNewBotSessionCookie = params['IssueNewBotSessionCookie']
|
|
1978
|
+
unless params['MaxNewSessionTriggerConfig'].nil?
|
|
1979
|
+
@MaxNewSessionTriggerConfig = MaxNewSessionTriggerConfig.new
|
|
1980
|
+
@MaxNewSessionTriggerConfig.deserialize(params['MaxNewSessionTriggerConfig'])
|
|
1981
|
+
end
|
|
1982
|
+
unless params['SessionExpiredAction'].nil?
|
|
1983
|
+
@SessionExpiredAction = SecurityAction.new
|
|
1984
|
+
@SessionExpiredAction.deserialize(params['SessionExpiredAction'])
|
|
1985
|
+
end
|
|
1986
|
+
unless params['SessionInvalidAction'].nil?
|
|
1987
|
+
@SessionInvalidAction = SecurityAction.new
|
|
1988
|
+
@SessionInvalidAction.deserialize(params['SessionInvalidAction'])
|
|
1989
|
+
end
|
|
1990
|
+
unless params['SessionRateControl'].nil?
|
|
1991
|
+
@SessionRateControl = SessionRateControl.new
|
|
1992
|
+
@SessionRateControl.deserialize(params['SessionRateControl'])
|
|
1993
|
+
end
|
|
1994
|
+
end
|
|
1995
|
+
end
|
|
1996
|
+
|
|
1726
1997
|
# Bot自定义规则
|
|
1727
1998
|
class BotUserRule < TencentCloud::Common::AbstractModel
|
|
1728
1999
|
# @param RuleName: 规则名,只能以英文字符,数字,下划线组合,且不能以下划线开头。
|
|
@@ -1823,6 +2094,90 @@ module TencentCloud
|
|
|
1823
2094
|
end
|
|
1824
2095
|
end
|
|
1825
2096
|
|
|
2097
|
+
# 浏览器伪造识别规则(原主动特征识别规则)的配置。
|
|
2098
|
+
class BrowserImpersonationDetection < TencentCloud::Common::AbstractModel
|
|
2099
|
+
# @param Rules: 浏览器伪造识别规则的列表。使用 ModifySecurityPolicy 修改 Web 防护配置时: <br> <li> 若未指定 SecurityPolicy.BotManagement.BrowserImpersonationDetection 中的 Rules 参数,或 Rules 参数长度为零: 清空所有浏览器伪造识别规则配置。</li> <li> 若 SecurityPolicy.BotManagement 参数中,未指定 BrowserImpersonationDetection 参数值: 保持已有浏览器伪造识别规则配置,不做修改。</li>
|
|
2100
|
+
# @type Rules: Array
|
|
2101
|
+
|
|
2102
|
+
attr_accessor :Rules
|
|
2103
|
+
|
|
2104
|
+
def initialize(rules=nil)
|
|
2105
|
+
@Rules = rules
|
|
2106
|
+
end
|
|
2107
|
+
|
|
2108
|
+
def deserialize(params)
|
|
2109
|
+
unless params['Rules'].nil?
|
|
2110
|
+
@Rules = []
|
|
2111
|
+
params['Rules'].each do |i|
|
|
2112
|
+
browserimpersonationdetectionrule_tmp = BrowserImpersonationDetectionRule.new
|
|
2113
|
+
browserimpersonationdetectionrule_tmp.deserialize(i)
|
|
2114
|
+
@Rules << browserimpersonationdetectionrule_tmp
|
|
2115
|
+
end
|
|
2116
|
+
end
|
|
2117
|
+
end
|
|
2118
|
+
end
|
|
2119
|
+
|
|
2120
|
+
# Bot 浏览器校验规则(原主动特征识别规则)的 Action。
|
|
2121
|
+
class BrowserImpersonationDetectionAction < TencentCloud::Common::AbstractModel
|
|
2122
|
+
# @param BotSessionValidation: Cookie 校验和会话跟踪配置。
|
|
2123
|
+
# @type BotSessionValidation: :class:`Tencentcloud::Teo.v20220901.models.BotSessionValidation`
|
|
2124
|
+
# @param ClientBehaviorDetection: 客户端行为校验配置。
|
|
2125
|
+
# @type ClientBehaviorDetection: :class:`Tencentcloud::Teo.v20220901.models.ClientBehaviorDetection`
|
|
2126
|
+
|
|
2127
|
+
attr_accessor :BotSessionValidation, :ClientBehaviorDetection
|
|
2128
|
+
|
|
2129
|
+
def initialize(botsessionvalidation=nil, clientbehaviordetection=nil)
|
|
2130
|
+
@BotSessionValidation = botsessionvalidation
|
|
2131
|
+
@ClientBehaviorDetection = clientbehaviordetection
|
|
2132
|
+
end
|
|
2133
|
+
|
|
2134
|
+
def deserialize(params)
|
|
2135
|
+
unless params['BotSessionValidation'].nil?
|
|
2136
|
+
@BotSessionValidation = BotSessionValidation.new
|
|
2137
|
+
@BotSessionValidation.deserialize(params['BotSessionValidation'])
|
|
2138
|
+
end
|
|
2139
|
+
unless params['ClientBehaviorDetection'].nil?
|
|
2140
|
+
@ClientBehaviorDetection = ClientBehaviorDetection.new
|
|
2141
|
+
@ClientBehaviorDetection.deserialize(params['ClientBehaviorDetection'])
|
|
2142
|
+
end
|
|
2143
|
+
end
|
|
2144
|
+
end
|
|
2145
|
+
|
|
2146
|
+
# 浏览器伪造识别规则(原主动特征识别规则)。
|
|
2147
|
+
class BrowserImpersonationDetectionRule < TencentCloud::Common::AbstractModel
|
|
2148
|
+
# @param Id: 浏览器伪造识别规则的 ID。<br>通过规则 ID 可支持不同的规则配置操作:<br> <li> <b>增加</b>新规则:ID 为空或不指定 ID 参数;</li><li><b>修改</b>已有规则:指定需要更新/修改的规则 ID;</li><li><b>删除</b>已有规则:BrowserImpersonationDetection 参数中,Rules 列表中未包含的已有规则将被删除。</li>
|
|
2149
|
+
# @type Id: String
|
|
2150
|
+
# @param Name: 浏览器伪造识别规则的名称。
|
|
2151
|
+
# @type Name: String
|
|
2152
|
+
# @param Enabled: 浏览器伪造识别规则是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
2153
|
+
# @type Enabled: String
|
|
2154
|
+
# @param Condition: 浏览器伪造识别规则的具体内容,其中仅支持请求方式(Method)、请求路径(Path)和请求 URL 的配置,需符合表达式语法,详细规范参见产品文档。
|
|
2155
|
+
# @type Condition: String
|
|
2156
|
+
# @param Action: 浏览器伪造识别规则的处置方式,包括 Cookie 校验和会话跟踪配置以及客户端行为校验配置。
|
|
2157
|
+
# @type Action: :class:`Tencentcloud::Teo.v20220901.models.BrowserImpersonationDetectionAction`
|
|
2158
|
+
|
|
2159
|
+
attr_accessor :Id, :Name, :Enabled, :Condition, :Action
|
|
2160
|
+
|
|
2161
|
+
def initialize(id=nil, name=nil, enabled=nil, condition=nil, action=nil)
|
|
2162
|
+
@Id = id
|
|
2163
|
+
@Name = name
|
|
2164
|
+
@Enabled = enabled
|
|
2165
|
+
@Condition = condition
|
|
2166
|
+
@Action = action
|
|
2167
|
+
end
|
|
2168
|
+
|
|
2169
|
+
def deserialize(params)
|
|
2170
|
+
@Id = params['Id']
|
|
2171
|
+
@Name = params['Name']
|
|
2172
|
+
@Enabled = params['Enabled']
|
|
2173
|
+
@Condition = params['Condition']
|
|
2174
|
+
unless params['Action'].nil?
|
|
2175
|
+
@Action = BrowserImpersonationDetectionAction.new
|
|
2176
|
+
@Action.deserialize(params['Action'])
|
|
2177
|
+
end
|
|
2178
|
+
end
|
|
2179
|
+
end
|
|
2180
|
+
|
|
1826
2181
|
# cc配置项。
|
|
1827
2182
|
class CC < TencentCloud::Common::AbstractModel
|
|
1828
2183
|
# @param Switch: Waf开关,取值为:
|
|
@@ -1869,6 +2224,31 @@ module TencentCloud
|
|
|
1869
2224
|
end
|
|
1870
2225
|
end
|
|
1871
2226
|
|
|
2227
|
+
# CNAME 接入类型站点参数详情。
|
|
2228
|
+
class CNAMEDetail < TencentCloud::Common::AbstractModel
|
|
2229
|
+
# @param IsFake: 是否伪站点,取值有:
|
|
2230
|
+
# <li> 0:非伪站点;</li>
|
|
2231
|
+
# <li> 1:伪站点。</li>
|
|
2232
|
+
# @type IsFake: Integer
|
|
2233
|
+
# @param OwnershipVerification: 归属权验证信息。详情请参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789) 。
|
|
2234
|
+
# @type OwnershipVerification: :class:`Tencentcloud::Teo.v20220901.models.OwnershipVerification`
|
|
2235
|
+
|
|
2236
|
+
attr_accessor :IsFake, :OwnershipVerification
|
|
2237
|
+
|
|
2238
|
+
def initialize(isfake=nil, ownershipverification=nil)
|
|
2239
|
+
@IsFake = isfake
|
|
2240
|
+
@OwnershipVerification = ownershipverification
|
|
2241
|
+
end
|
|
2242
|
+
|
|
2243
|
+
def deserialize(params)
|
|
2244
|
+
@IsFake = params['IsFake']
|
|
2245
|
+
unless params['OwnershipVerification'].nil?
|
|
2246
|
+
@OwnershipVerification = OwnershipVerification.new
|
|
2247
|
+
@OwnershipVerification.deserialize(params['OwnershipVerification'])
|
|
2248
|
+
end
|
|
2249
|
+
end
|
|
2250
|
+
end
|
|
2251
|
+
|
|
1872
2252
|
# 缓存时间设置
|
|
1873
2253
|
class Cache < TencentCloud::Common::AbstractModel
|
|
1874
2254
|
# @param Switch: 缓存配置开关,取值有:
|
|
@@ -2626,6 +3006,55 @@ module TencentCloud
|
|
|
2626
3006
|
end
|
|
2627
3007
|
end
|
|
2628
3008
|
|
|
3009
|
+
# 客户端行为校验
|
|
3010
|
+
class ClientBehaviorDetection < TencentCloud::Common::AbstractModel
|
|
3011
|
+
# @param CryptoChallengeIntensity: 工作量证明校验强度。取值有:<li>low:低;</li><li>medium:中;</li><li>high:高。</li>
|
|
3012
|
+
# @type CryptoChallengeIntensity: String
|
|
3013
|
+
# @param CryptoChallengeDelayBefore: 客户端行为校验的执行方式。取值有:<li>0ms:立即执行;</li><li>100ms:延迟 100ms 执行;</li><li>200ms:延迟 200ms 执行;</li><li>300ms:延迟 300ms 执行;</li><li>400ms:延迟 400ms 执行;</li><li>500ms:延迟 500ms 执行;</li><li>600ms:延迟 600ms 执行;</li><li>700ms:延迟 700ms 执行;</li><li>800ms:延迟 800ms 执行;</li><li>900ms:延迟 900ms 执行;</li><li>1000ms:延迟 1000ms 执行。</li>
|
|
3014
|
+
# @type CryptoChallengeDelayBefore: String
|
|
3015
|
+
# @param MaxChallengeCountInterval: 触发阈值统计的时间窗口,取值有:<li>5s:5 秒内;</li><li>10s:10 秒内;</li><li>15s:15 秒内;</li><li>30s:30 秒内;</li><li>60s:60 秒内;</li><li>5m:5 分钟内;</li><li>10m:10 分钟内;</li><li>30m:30 分钟内;</li><li>60m:60 分钟内。</li>
|
|
3016
|
+
# @type MaxChallengeCountInterval: String
|
|
3017
|
+
# @param MaxChallengeCountThreshold: 触发阈值统计的累计次数,取值范围 1 ~ 100000000。
|
|
3018
|
+
# @type MaxChallengeCountThreshold: Integer
|
|
3019
|
+
# @param ChallengeNotFinishedAction: 客户端未启用 JS(未完成检测)时的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截,其中 DenyActionParameters 中支持 Stall 配置;</li><li>Monitor:观察;</li><li>Allow:等待后响应,其中 AllowActionParameters 需要 MinDelayTime 和 MaxDelayTime 配置。</li>
|
|
3020
|
+
# @type ChallengeNotFinishedAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
3021
|
+
# @param ChallengeTimeoutAction: 客户端检测超时的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截,其中 DenyActionParameters 中支持 Stall 配置;</li><li>Monitor:观察;</li><li>Allow:等待后响应,其中 AllowActionParameters 需要 MinDelayTime 和 MaxDelayTime 配置。</li>
|
|
3022
|
+
# @type ChallengeTimeoutAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
3023
|
+
# @param BotClientAction: Bot 客户端的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截,其中 DenyActionParameters 中支持 Stall 配置;</li><li>Monitor:观察;</li><li>Allow:等待后响应,其中 AllowActionParameters 需要 MinDelayTime 和 MaxDelayTime 配置。</li>
|
|
3024
|
+
# @type BotClientAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
3025
|
+
|
|
3026
|
+
attr_accessor :CryptoChallengeIntensity, :CryptoChallengeDelayBefore, :MaxChallengeCountInterval, :MaxChallengeCountThreshold, :ChallengeNotFinishedAction, :ChallengeTimeoutAction, :BotClientAction
|
|
3027
|
+
|
|
3028
|
+
def initialize(cryptochallengeintensity=nil, cryptochallengedelaybefore=nil, maxchallengecountinterval=nil, maxchallengecountthreshold=nil, challengenotfinishedaction=nil, challengetimeoutaction=nil, botclientaction=nil)
|
|
3029
|
+
@CryptoChallengeIntensity = cryptochallengeintensity
|
|
3030
|
+
@CryptoChallengeDelayBefore = cryptochallengedelaybefore
|
|
3031
|
+
@MaxChallengeCountInterval = maxchallengecountinterval
|
|
3032
|
+
@MaxChallengeCountThreshold = maxchallengecountthreshold
|
|
3033
|
+
@ChallengeNotFinishedAction = challengenotfinishedaction
|
|
3034
|
+
@ChallengeTimeoutAction = challengetimeoutaction
|
|
3035
|
+
@BotClientAction = botclientaction
|
|
3036
|
+
end
|
|
3037
|
+
|
|
3038
|
+
def deserialize(params)
|
|
3039
|
+
@CryptoChallengeIntensity = params['CryptoChallengeIntensity']
|
|
3040
|
+
@CryptoChallengeDelayBefore = params['CryptoChallengeDelayBefore']
|
|
3041
|
+
@MaxChallengeCountInterval = params['MaxChallengeCountInterval']
|
|
3042
|
+
@MaxChallengeCountThreshold = params['MaxChallengeCountThreshold']
|
|
3043
|
+
unless params['ChallengeNotFinishedAction'].nil?
|
|
3044
|
+
@ChallengeNotFinishedAction = SecurityAction.new
|
|
3045
|
+
@ChallengeNotFinishedAction.deserialize(params['ChallengeNotFinishedAction'])
|
|
3046
|
+
end
|
|
3047
|
+
unless params['ChallengeTimeoutAction'].nil?
|
|
3048
|
+
@ChallengeTimeoutAction = SecurityAction.new
|
|
3049
|
+
@ChallengeTimeoutAction.deserialize(params['ChallengeTimeoutAction'])
|
|
3050
|
+
end
|
|
3051
|
+
unless params['BotClientAction'].nil?
|
|
3052
|
+
@BotClientAction = SecurityAction.new
|
|
3053
|
+
@BotClientAction.deserialize(params['BotClientAction'])
|
|
3054
|
+
end
|
|
3055
|
+
end
|
|
3056
|
+
end
|
|
3057
|
+
|
|
2629
3058
|
# 智能客户端过滤
|
|
2630
3059
|
class ClientFiltering < TencentCloud::Common::AbstractModel
|
|
2631
3060
|
# @param Enabled: 智能客户端过滤是否开启。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
@@ -5628,6 +6057,24 @@ module TencentCloud
|
|
|
5628
6057
|
end
|
|
5629
6058
|
end
|
|
5630
6059
|
|
|
6060
|
+
# DNSPod 托管类型站点参数详情。
|
|
6061
|
+
class DNSPodDetail < TencentCloud::Common::AbstractModel
|
|
6062
|
+
# @param IsFake: 是否伪站点,取值有:
|
|
6063
|
+
# <li> 0:非伪站点;</li>
|
|
6064
|
+
# <li> 1:伪站点。</li>
|
|
6065
|
+
# @type IsFake: Integer
|
|
6066
|
+
|
|
6067
|
+
attr_accessor :IsFake
|
|
6068
|
+
|
|
6069
|
+
def initialize(isfake=nil)
|
|
6070
|
+
@IsFake = isfake
|
|
6071
|
+
end
|
|
6072
|
+
|
|
6073
|
+
def deserialize(params)
|
|
6074
|
+
@IsFake = params['IsFake']
|
|
6075
|
+
end
|
|
6076
|
+
end
|
|
6077
|
+
|
|
5631
6078
|
# https 服务端证书配置
|
|
5632
6079
|
class DefaultServerCertInfo < TencentCloud::Common::AbstractModel
|
|
5633
6080
|
# @param CertId: 服务器证书 ID。
|
|
@@ -11056,7 +11503,7 @@ module TencentCloud
|
|
|
11056
11503
|
# @param Limit: 分页查询限制数目。默认值:20,最大值:100。
|
|
11057
11504
|
# @type Limit: Integer
|
|
11058
11505
|
# @param Filters: 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 appid 下有权限的所有站点信息。详细的过滤条件如下:
|
|
11059
|
-
# <li>zone-name:按照站点名称进行过滤;</li><li>zone-id:按照站点 ID
|
|
11506
|
+
# <li>zone-name:按照站点名称进行过滤;</li><li>zone-type:按照站点类型进行过滤。可选项:<br> full:NS 接入类型;<br> partial:CNAME 接入类型;<br> partialComposite:无域名接入类型;<br> dnsPodAccess:DNSPod 托管接入类型;<br> pages:Pages 类型。</li><li>zone-id:按照站点 ID 进行过滤,站点 ID 形如:zone-2noz78a8ev6k;</li><li>status:按照站点状态进行过滤。可选项:<br> active:NS 已切换;<br> pending:NS 待切换;<br> deleted:已删除。</li><li>tag-key:按照标签键进行过滤;</li><li>tag-value: 按照标签值进行过滤;</li><li>alias-zone-name: 按照同名站点标识进行过滤。</li>模糊查询时支持过滤字段名为 zone-name 或 alias-zone-name。
|
|
11060
11507
|
# @type Filters: Array
|
|
11061
11508
|
# @param Order: 可根据该字段对返回结果进行排序,取值有:
|
|
11062
11509
|
# <li> type:接入类型;</li>
|
|
@@ -11101,7 +11548,7 @@ module TencentCloud
|
|
|
11101
11548
|
class DescribeZonesResponse < TencentCloud::Common::AbstractModel
|
|
11102
11549
|
# @param TotalCount: 符合条件的站点个数。
|
|
11103
11550
|
# @type TotalCount: Integer
|
|
11104
|
-
# @param Zones:
|
|
11551
|
+
# @param Zones: 站点列表详情。
|
|
11105
11552
|
# @type Zones: Array
|
|
11106
11553
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11107
11554
|
# @type RequestId: String
|
|
@@ -11589,7 +12036,7 @@ module TencentCloud
|
|
|
11589
12036
|
end
|
|
11590
12037
|
end
|
|
11591
12038
|
|
|
11592
|
-
# CNAME
|
|
12039
|
+
# 站点 CNAME 模式接入验证归属权或域名申请免费证书时,使用 DNS 解析验证时所需的信息。
|
|
11593
12040
|
class DnsVerification < TencentCloud::Common::AbstractModel
|
|
11594
12041
|
# @param Subdomain: 主机记录。
|
|
11595
12042
|
# @type Subdomain: String
|
|
@@ -12379,9 +12826,9 @@ module TencentCloud
|
|
|
12379
12826
|
end
|
|
12380
12827
|
end
|
|
12381
12828
|
|
|
12382
|
-
# CNAME
|
|
12829
|
+
# 站点 CNAME 模式接入验证归属权或域名申请免费证书时,使用 HTTP 访问验证文件时所需的信息。
|
|
12383
12830
|
class FileVerification < TencentCloud::Common::AbstractModel
|
|
12384
|
-
# @param Path: EdgeOne 后台服务器将通过
|
|
12831
|
+
# @param Path: EdgeOne 后台服务器将通过 http://{Host}{URL Path} 的格式(例如 http://www.example.com/.well-known/teo-verification/z12h416twn.txt)获取文件验证信息。其中,本字段为您需要创建的 URL Path 部分,Host 为当前加速域名。
|
|
12385
12832
|
# @type Path: String
|
|
12386
12833
|
# @param Content: 验证文件的内容。该字段的内容需要您填写至 Path 字段返回的 txt 文件中。
|
|
12387
12834
|
# @type Content: String
|
|
@@ -13377,6 +13824,59 @@ module TencentCloud
|
|
|
13377
13824
|
end
|
|
13378
13825
|
end
|
|
13379
13826
|
|
|
13827
|
+
# IP 情报库(原客户端画像分析)配置。
|
|
13828
|
+
class IPReputation < TencentCloud::Common::AbstractModel
|
|
13829
|
+
# @param Enabled: IP 情报库(原客户端画像分析)。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
13830
|
+
# @type Enabled: String
|
|
13831
|
+
# @param IPReputationGroup: IP 情报库(原客户端画像分析)的具体配置内容。
|
|
13832
|
+
# @type IPReputationGroup: :class:`Tencentcloud::Teo.v20220901.models.IPReputationGroup`
|
|
13833
|
+
|
|
13834
|
+
attr_accessor :Enabled, :IPReputationGroup
|
|
13835
|
+
|
|
13836
|
+
def initialize(enabled=nil, ipreputationgroup=nil)
|
|
13837
|
+
@Enabled = enabled
|
|
13838
|
+
@IPReputationGroup = ipreputationgroup
|
|
13839
|
+
end
|
|
13840
|
+
|
|
13841
|
+
def deserialize(params)
|
|
13842
|
+
@Enabled = params['Enabled']
|
|
13843
|
+
unless params['IPReputationGroup'].nil?
|
|
13844
|
+
@IPReputationGroup = IPReputationGroup.new
|
|
13845
|
+
@IPReputationGroup.deserialize(params['IPReputationGroup'])
|
|
13846
|
+
end
|
|
13847
|
+
end
|
|
13848
|
+
end
|
|
13849
|
+
|
|
13850
|
+
# IP 情报库(原客户端画像分析)的具体配置。
|
|
13851
|
+
class IPReputationGroup < TencentCloud::Common::AbstractModel
|
|
13852
|
+
# @param BaseAction: IP 情报库(原客户端画像分析)的执行动作。SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Disabled:未启用,不启用指定规则;</li><li>Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge。</li>
|
|
13853
|
+
# @type BaseAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
13854
|
+
# @param BotManagementActionOverrides: IP 情报库(原客户端画像分析)的具体配置,用于覆盖 BaseAction 中的默认配置。其中 BotManagementActionOverrides 的 Ids 中可以填写:<li>IPREP_WEB_AND_DDOS_ATTACKERS_LOW:网络攻击 - 一般置信度;</li><li>IPREP_WEB_AND_DDOS_ATTACKERS_MID:网络攻击 - 中等置信度;</li><li>IPREP_WEB_AND_DDOS_ATTACKERS_HIGH:网络攻击 - 高置信度;</li><li>IPREP_PROXIES_AND_ANONYMIZERS_LOW:网络代理 - 一般置信度;</li><li>IPREP_PROXIES_AND_ANONYMIZERS_MID:网络代理 - 中等置信度;</li><li>IPREP_PROXIES_AND_ANONYMIZERS_HIGH:网络代理 - 高置信度;</li><li>IPREP_SCANNING_TOOLS_LOW:扫描器 - 一般置信度;</li><li>IPREP_SCANNING_TOOLS_MID:扫描器 - 中等置信度;</li><li>IPREP_SCANNING_TOOLS_HIGH:扫描器 - 高置信度;</li><li>IPREP_ATO_ATTACKERS_LOW:账号接管攻击 - 一般置信度;</li><li>IPREP_ATO_ATTACKERS_MID:账号接管攻击 - 中等置信度;</li><li>IPREP_ATO_ATTACKERS_HIGH:账号接管攻击 - 高置信度;</li><li>IPREP_WEB_SCRAPERS_AND_TRAFFIC_BOTS_LOW:恶意 BOT - 一般置信度;</li><li>IPREP_WEB_SCRAPERS_AND_TRAFFIC_BOTS_MID:恶意 BOT - 中等置信度;</li><li>IPREP_WEB_SCRAPERS_AND_TRAFFIC_BOTS_HIGH:恶意 BOT - 高置信度。</li>
|
|
13855
|
+
# @type BotManagementActionOverrides: Array
|
|
13856
|
+
|
|
13857
|
+
attr_accessor :BaseAction, :BotManagementActionOverrides
|
|
13858
|
+
|
|
13859
|
+
def initialize(baseaction=nil, botmanagementactionoverrides=nil)
|
|
13860
|
+
@BaseAction = baseaction
|
|
13861
|
+
@BotManagementActionOverrides = botmanagementactionoverrides
|
|
13862
|
+
end
|
|
13863
|
+
|
|
13864
|
+
def deserialize(params)
|
|
13865
|
+
unless params['BaseAction'].nil?
|
|
13866
|
+
@BaseAction = SecurityAction.new
|
|
13867
|
+
@BaseAction.deserialize(params['BaseAction'])
|
|
13868
|
+
end
|
|
13869
|
+
unless params['BotManagementActionOverrides'].nil?
|
|
13870
|
+
@BotManagementActionOverrides = []
|
|
13871
|
+
params['BotManagementActionOverrides'].each do |i|
|
|
13872
|
+
botmanagementactionoverrides_tmp = BotManagementActionOverrides.new
|
|
13873
|
+
botmanagementactionoverrides_tmp.deserialize(i)
|
|
13874
|
+
@BotManagementActionOverrides << botmanagementactionoverrides_tmp
|
|
13875
|
+
end
|
|
13876
|
+
end
|
|
13877
|
+
end
|
|
13878
|
+
end
|
|
13879
|
+
|
|
13380
13880
|
# 源站防护IP白名单
|
|
13381
13881
|
class IPWhitelist < TencentCloud::Common::AbstractModel
|
|
13382
13882
|
# @param IPv4: IPv4列表。
|
|
@@ -13897,6 +14397,36 @@ module TencentCloud
|
|
|
13897
14397
|
end
|
|
13898
14398
|
end
|
|
13899
14399
|
|
|
14400
|
+
# 商业或开源工具 UA 特征配置(原 UA 特征规则)。
|
|
14401
|
+
class KnownBotCategories < TencentCloud::Common::AbstractModel
|
|
14402
|
+
# @param BaseAction: 来自已知商业工具或开源工具的访问请求的处置方式。 SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Disabled:未启用,不启用指定规则;</li><li>Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge;</li><li>Allow:放行(待废弃)。</li>
|
|
14403
|
+
# @type BaseAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
14404
|
+
# @param BotManagementActionOverrides: 指定已知商业工具或开源工具的访问请求的处置方式。
|
|
14405
|
+
# @type BotManagementActionOverrides: Array
|
|
14406
|
+
|
|
14407
|
+
attr_accessor :BaseAction, :BotManagementActionOverrides
|
|
14408
|
+
|
|
14409
|
+
def initialize(baseaction=nil, botmanagementactionoverrides=nil)
|
|
14410
|
+
@BaseAction = baseaction
|
|
14411
|
+
@BotManagementActionOverrides = botmanagementactionoverrides
|
|
14412
|
+
end
|
|
14413
|
+
|
|
14414
|
+
def deserialize(params)
|
|
14415
|
+
unless params['BaseAction'].nil?
|
|
14416
|
+
@BaseAction = SecurityAction.new
|
|
14417
|
+
@BaseAction.deserialize(params['BaseAction'])
|
|
14418
|
+
end
|
|
14419
|
+
unless params['BotManagementActionOverrides'].nil?
|
|
14420
|
+
@BotManagementActionOverrides = []
|
|
14421
|
+
params['BotManagementActionOverrides'].each do |i|
|
|
14422
|
+
botmanagementactionoverrides_tmp = BotManagementActionOverrides.new
|
|
14423
|
+
botmanagementactionoverrides_tmp.deserialize(i)
|
|
14424
|
+
@BotManagementActionOverrides << botmanagementactionoverrides_tmp
|
|
14425
|
+
end
|
|
14426
|
+
end
|
|
14427
|
+
end
|
|
14428
|
+
end
|
|
14429
|
+
|
|
13900
14430
|
# 离线日志详细信息
|
|
13901
14431
|
class L4OfflineLog < TencentCloud::Common::AbstractModel
|
|
13902
14432
|
# @param ProxyId: 四层代理实例 ID。
|
|
@@ -14565,6 +15095,26 @@ module TencentCloud
|
|
|
14565
15095
|
end
|
|
14566
15096
|
end
|
|
14567
15097
|
|
|
15098
|
+
# Bot 管理中校验的触发阈值。
|
|
15099
|
+
class MaxNewSessionTriggerConfig < TencentCloud::Common::AbstractModel
|
|
15100
|
+
# @param MaxNewSessionCountInterval: 触发阈值统计的时间窗口,取值有:<li>5s:5 秒内;</li><li>10s:10 秒内;</li><li>15s:15 秒内;</li><li>30s:30 秒内;</li><li>60s:60 秒内;</li><li>5m:5 分钟内;</li><li>10m:10 分钟内;</li><li>30m:30 分钟内;</li><li>60m:60 分钟内。</li>
|
|
15101
|
+
# @type MaxNewSessionCountInterval: String
|
|
15102
|
+
# @param MaxNewSessionCountThreshold: 触发阈值统计的累计次数,取值范围 1 ~ 100000000。
|
|
15103
|
+
# @type MaxNewSessionCountThreshold: Integer
|
|
15104
|
+
|
|
15105
|
+
attr_accessor :MaxNewSessionCountInterval, :MaxNewSessionCountThreshold
|
|
15106
|
+
|
|
15107
|
+
def initialize(maxnewsessioncountinterval=nil, maxnewsessioncountthreshold=nil)
|
|
15108
|
+
@MaxNewSessionCountInterval = maxnewsessioncountinterval
|
|
15109
|
+
@MaxNewSessionCountThreshold = maxnewsessioncountthreshold
|
|
15110
|
+
end
|
|
15111
|
+
|
|
15112
|
+
def deserialize(params)
|
|
15113
|
+
@MaxNewSessionCountInterval = params['MaxNewSessionCountInterval']
|
|
15114
|
+
@MaxNewSessionCountThreshold = params['MaxNewSessionCountThreshold']
|
|
15115
|
+
end
|
|
15116
|
+
end
|
|
15117
|
+
|
|
14568
15118
|
# 正文传输最小速率阈值的具体配置。
|
|
14569
15119
|
class MinimalRequestBodyTransferRate < TencentCloud::Common::AbstractModel
|
|
14570
15120
|
# @param MinimalAvgTransferRateThreshold: 正文传输最小速率阈值,单位仅支持bps。
|
|
@@ -15426,10 +15976,14 @@ module TencentCloud
|
|
|
15426
15976
|
# @param Hosts: 需要修改证书配置的加速域名。
|
|
15427
15977
|
# @type Hosts: Array
|
|
15428
15978
|
# @param Mode: 配置服务端证书的模式,取值有:
|
|
15429
|
-
# <li>disable:不配置服务端证书;</li>
|
|
15430
|
-
# <li>eofreecert
|
|
15431
|
-
|
|
15432
|
-
#
|
|
15979
|
+
# <ul><li>disable:不配置服务端证书;</li>
|
|
15980
|
+
# <li>eofreecert:通过自动验证申请免费证书并部署。验证方式详见:[申请免费证书支持的验证方式](https://cloud.tencent.com/document/product/1552/90437)
|
|
15981
|
+
|
|
15982
|
+
# - 在 NS 或者 DNSPod 托管接入模式下,仅支持自动验证的方式申请免费证书。
|
|
15983
|
+
# - 当免费证书申请失败时会导致证书部署失败,您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口获取申请失败原因。</li>
|
|
15984
|
+
# </ul><li>eofreecert_manual:部署 DNS 委派验证或者文件验证申请的免费证书。在部署免费证书前,您需要触发<a href = 'https://tcloud4api.woa.com/document/product/1657/927322?!preview&!document=1'>申请免费证书</a>接口申请免费证书。在免费证书申请成功后,你可以通过该枚举值对免费证书进行部署;</li>
|
|
15985
|
+
# <ul><li>注意:在对免费证书部署时,需要保证当前已存在申请成功的免费证书。您可以通过<a href = 'https://tcloud4api.woa.com/document/product/1657/927938?!preview&!document=1'>检查免费证书申请结果</a>接口检查当前是否已存在申请成功的免费证书。</li>
|
|
15986
|
+
# </ul><li>sslcert:配置 SSL 托管服务端证书。</li>
|
|
15433
15987
|
# @type Mode: String
|
|
15434
15988
|
# @param ServerCertInfo: SSL 证书配置,本参数仅在 mode 为 sslcert 时生效,传入对应证书的 CertId 即可。您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
|
|
15435
15989
|
# @type ServerCertInfo: Array
|
|
@@ -16688,9 +17242,9 @@ module TencentCloud
|
|
|
16688
17242
|
class ModifySecurityPolicyRequest < TencentCloud::Common::AbstractModel
|
|
16689
17243
|
# @param ZoneId: 站点 ID。
|
|
16690
17244
|
# @type ZoneId: String
|
|
16691
|
-
# @param SecurityConfig: 安全策略配置。<li>当 SecurityPolicy 参数中的 ExceptionRules 被设置时,SecurityConfig 参数中的 ExceptConfig 将被忽略;</li><li>当 SecurityPolicy 参数中的 CustomRules 被设置时,SecurityConfig 参数中的 AclConfig、 IpTableConfig 将被忽略;</li><li>当 SecurityPolicy 参数中的 HttpDDoSProtection 和 RateLimitingRules 被设置时,SecurityConfig 参数中的 RateLimitConfig 将被忽略;</li><li>当 SecurityPolicy 参数中的 ManagedRule 被设置时,SecurityConfig 参数中的 WafConfig 将被忽略;</li><li
|
|
17245
|
+
# @param SecurityConfig: 安全策略配置。<li>当 SecurityPolicy 参数中的 ExceptionRules 被设置时,SecurityConfig 参数中的 ExceptConfig 将被忽略;</li><li>当 SecurityPolicy 参数中的 CustomRules 被设置时,SecurityConfig 参数中的 AclConfig、 IpTableConfig 将被忽略;</li><li>当 SecurityPolicy 参数中的 HttpDDoSProtection 和 RateLimitingRules 被设置时,SecurityConfig 参数中的 RateLimitConfig 将被忽略;</li><li>当 SecurityPolicy 参数中的 ManagedRule 被设置时,SecurityConfig 参数中的 WafConfig 将被忽略;</li><li>当 SecurityPolicy 参数中的 BotManagement 被设置时,SecurityConfig 参数中的 BotConfig 将被忽略;</li><li>对于例外规则、自定义规则、速率限制、托管规则以及 Bot 管理策略配置建议使用 SecurityPolicy 参数进行设置。</li>
|
|
16692
17246
|
# @type SecurityConfig: :class:`Tencentcloud::Teo.v20220901.models.SecurityConfig`
|
|
16693
|
-
# @param SecurityPolicy: 安全策略配置。对 Web
|
|
17247
|
+
# @param SecurityPolicy: 安全策略配置。对 Web 例外规则、防护自定义策略、速率规则、托管规则和 Bot 管理配置建议使用,支持表达式语法对安全策略进行配置。
|
|
16694
17248
|
# @type SecurityPolicy: :class:`Tencentcloud::Teo.v20220901.models.SecurityPolicy`
|
|
16695
17249
|
# @param Entity: 安全策略类型,可使用以下参数值: <li>ZoneDefaultPolicy:用于指定站点级策略;</li><li>Template:用于指定策略模板,需要同时指定 TemplateId 参数;</li><li>Host:用于指定域名级策略(注意:当使用域名来指定域名服务策略时,仅支持已经应用了域名级策略的域名服务或者策略模板)。</li>
|
|
16696
17250
|
# @type Entity: String
|
|
@@ -17316,6 +17870,63 @@ module TencentCloud
|
|
|
17316
17870
|
end
|
|
17317
17871
|
end
|
|
17318
17872
|
|
|
17873
|
+
# NS 接入类型站点参数详情。
|
|
17874
|
+
class NSDetail < TencentCloud::Common::AbstractModel
|
|
17875
|
+
# @param CnameSpeedUp: 是否开启 CNAME 加速,取值有:
|
|
17876
|
+
# <li> enabled:开启;</li>
|
|
17877
|
+
# <li> disabled:关闭。</li>
|
|
17878
|
+
# @type CnameSpeedUp: String
|
|
17879
|
+
# @param IsFake: 是否存在同名站点,取值有:
|
|
17880
|
+
# <li> 0:不存在同名站点;</li>
|
|
17881
|
+
# <li> 1:已存在同名站点。</li>
|
|
17882
|
+
# @type IsFake: Integer
|
|
17883
|
+
# @param OwnershipVerification: 归属权验证信息。针对 NS 接入类型的站点,将当前的 NS 服务器切换至腾讯云 EdgeOne 指定的 NS 服务器,即视为通过归属权验证。详情请参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789) 。
|
|
17884
|
+
# @type OwnershipVerification: :class:`Tencentcloud::Teo.v20220901.models.OwnershipVerification`
|
|
17885
|
+
# @param OriginalNameServers: 由 EdgeOne 检测到的站点当前正在使用的 NS 服务器列表。
|
|
17886
|
+
# @type OriginalNameServers: Array
|
|
17887
|
+
# @param NameServers: 腾讯云 EdgeOne 分配的 NS 服务器列表。需要将当前站点 NS 服务器指向该地址,站点才能生效。
|
|
17888
|
+
# @type NameServers: Array
|
|
17889
|
+
# @param VanityNameServers: 用户自定义 NS 服务器域名信息。如果启用了自定义 NS 服务,需要在域名注册厂商内将 NS 指向该地址。
|
|
17890
|
+
# @type VanityNameServers: :class:`Tencentcloud::Teo.v20220901.models.VanityNameServers`
|
|
17891
|
+
# @param VanityNameServersIps: 用户自定义 NS 服务器对应的 IP 地址信息。
|
|
17892
|
+
# @type VanityNameServersIps: Array
|
|
17893
|
+
|
|
17894
|
+
attr_accessor :CnameSpeedUp, :IsFake, :OwnershipVerification, :OriginalNameServers, :NameServers, :VanityNameServers, :VanityNameServersIps
|
|
17895
|
+
|
|
17896
|
+
def initialize(cnamespeedup=nil, isfake=nil, ownershipverification=nil, originalnameservers=nil, nameservers=nil, vanitynameservers=nil, vanitynameserversips=nil)
|
|
17897
|
+
@CnameSpeedUp = cnamespeedup
|
|
17898
|
+
@IsFake = isfake
|
|
17899
|
+
@OwnershipVerification = ownershipverification
|
|
17900
|
+
@OriginalNameServers = originalnameservers
|
|
17901
|
+
@NameServers = nameservers
|
|
17902
|
+
@VanityNameServers = vanitynameservers
|
|
17903
|
+
@VanityNameServersIps = vanitynameserversips
|
|
17904
|
+
end
|
|
17905
|
+
|
|
17906
|
+
def deserialize(params)
|
|
17907
|
+
@CnameSpeedUp = params['CnameSpeedUp']
|
|
17908
|
+
@IsFake = params['IsFake']
|
|
17909
|
+
unless params['OwnershipVerification'].nil?
|
|
17910
|
+
@OwnershipVerification = OwnershipVerification.new
|
|
17911
|
+
@OwnershipVerification.deserialize(params['OwnershipVerification'])
|
|
17912
|
+
end
|
|
17913
|
+
@OriginalNameServers = params['OriginalNameServers']
|
|
17914
|
+
@NameServers = params['NameServers']
|
|
17915
|
+
unless params['VanityNameServers'].nil?
|
|
17916
|
+
@VanityNameServers = VanityNameServers.new
|
|
17917
|
+
@VanityNameServers.deserialize(params['VanityNameServers'])
|
|
17918
|
+
end
|
|
17919
|
+
unless params['VanityNameServersIps'].nil?
|
|
17920
|
+
@VanityNameServersIps = []
|
|
17921
|
+
params['VanityNameServersIps'].each do |i|
|
|
17922
|
+
vanitynameserversips_tmp = VanityNameServersIps.new
|
|
17923
|
+
vanitynameserversips_tmp.deserialize(i)
|
|
17924
|
+
@VanityNameServersIps << vanitynameserversips_tmp
|
|
17925
|
+
end
|
|
17926
|
+
end
|
|
17927
|
+
end
|
|
17928
|
+
end
|
|
17929
|
+
|
|
17319
17930
|
# 当回源 IP 网段发生更新时,该字段会返回下一个版本将要生效的回源 IP 网段,包含与当前生效的回源 IP 网段的对比。
|
|
17320
17931
|
class NextOriginACL < TencentCloud::Common::AbstractModel
|
|
17321
17932
|
# @param Version: 版本号。
|
|
@@ -20356,6 +20967,36 @@ module TencentCloud
|
|
|
20356
20967
|
end
|
|
20357
20968
|
end
|
|
20358
20969
|
|
|
20970
|
+
# 搜索引擎规则配置。
|
|
20971
|
+
class SearchEngineBots < TencentCloud::Common::AbstractModel
|
|
20972
|
+
# @param BaseAction: 来自搜索引擎爬虫的请求的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Disabled:未启用,不启用指定规则;</li><li>Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge;</li><li>Allow:放行(待废弃)。</li>
|
|
20973
|
+
# @type BaseAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
20974
|
+
# @param BotManagementActionOverrides: 指定搜索引擎爬虫请求的处置方式。
|
|
20975
|
+
# @type BotManagementActionOverrides: Array
|
|
20976
|
+
|
|
20977
|
+
attr_accessor :BaseAction, :BotManagementActionOverrides
|
|
20978
|
+
|
|
20979
|
+
def initialize(baseaction=nil, botmanagementactionoverrides=nil)
|
|
20980
|
+
@BaseAction = baseaction
|
|
20981
|
+
@BotManagementActionOverrides = botmanagementactionoverrides
|
|
20982
|
+
end
|
|
20983
|
+
|
|
20984
|
+
def deserialize(params)
|
|
20985
|
+
unless params['BaseAction'].nil?
|
|
20986
|
+
@BaseAction = SecurityAction.new
|
|
20987
|
+
@BaseAction.deserialize(params['BaseAction'])
|
|
20988
|
+
end
|
|
20989
|
+
unless params['BotManagementActionOverrides'].nil?
|
|
20990
|
+
@BotManagementActionOverrides = []
|
|
20991
|
+
params['BotManagementActionOverrides'].each do |i|
|
|
20992
|
+
botmanagementactionoverrides_tmp = BotManagementActionOverrides.new
|
|
20993
|
+
botmanagementactionoverrides_tmp.deserialize(i)
|
|
20994
|
+
@BotManagementActionOverrides << botmanagementactionoverrides_tmp
|
|
20995
|
+
end
|
|
20996
|
+
end
|
|
20997
|
+
end
|
|
20998
|
+
end
|
|
20999
|
+
|
|
20359
21000
|
# 安全数据Entry返回值
|
|
20360
21001
|
class SecEntry < TencentCloud::Common::AbstractModel
|
|
20361
21002
|
# @param Key: 查询维度值。
|
|
@@ -20431,6 +21072,7 @@ module TencentCloud
|
|
|
20431
21072
|
# <li>Disabled:未启用,不启用指定规则;</li>
|
|
20432
21073
|
# <li>Allow:允许访问,但延迟处理请求;</li>
|
|
20433
21074
|
# <li>Challenge:挑战,响应挑战内容;</li>
|
|
21075
|
+
# <li>Trans:放行,允许请求直接访问站点资源;</li>
|
|
20434
21076
|
# <li>BlockIP:待废弃,IP 封禁;</li>
|
|
20435
21077
|
# <li>ReturnCustomPage:待废弃,使用指定页面拦截;</li>
|
|
20436
21078
|
# <li>JSChallenge:待废弃,JavaScript 挑战;</li>
|
|
@@ -20713,6 +21355,29 @@ module TencentCloud
|
|
|
20713
21355
|
end
|
|
20714
21356
|
end
|
|
20715
21357
|
|
|
21358
|
+
# 按权重分配的 SecurityAction。
|
|
21359
|
+
class SecurityWeightedAction < TencentCloud::Common::AbstractModel
|
|
21360
|
+
# @param SecurityAction: Bot 自定义规则的处置方式。取值有:<li>Allow:放行,其中 AllowActionParameters 支持 MinDelayTime 和 MaxDelayTime 配置;</li><li>Deny:拦截,其中 DenyActionParameters 中支持 BlockIp、ReturnCustomPage 和 Stall 配置;</li><li>Monitor:观察;</li><li>Challenge:挑战,其中 ChallengeActionParameters.ChallengeOption 支持 JSChallenge 和 ManagedChallenge;</li><li>Redirect:重定向至URL。</li>
|
|
21361
|
+
# @type SecurityAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
21362
|
+
# @param Weight: 当前 SecurityAction 的权重,仅支持 10 ~ 100 且必须为 10 的倍数,其中 Weight 参数全部相加须等于 100。
|
|
21363
|
+
# @type Weight: Integer
|
|
21364
|
+
|
|
21365
|
+
attr_accessor :SecurityAction, :Weight
|
|
21366
|
+
|
|
21367
|
+
def initialize(securityaction=nil, weight=nil)
|
|
21368
|
+
@SecurityAction = securityaction
|
|
21369
|
+
@Weight = weight
|
|
21370
|
+
end
|
|
21371
|
+
|
|
21372
|
+
def deserialize(params)
|
|
21373
|
+
unless params['SecurityAction'].nil?
|
|
21374
|
+
@SecurityAction = SecurityAction.new
|
|
21375
|
+
@SecurityAction.deserialize(params['SecurityAction'])
|
|
21376
|
+
end
|
|
21377
|
+
@Weight = params['Weight']
|
|
21378
|
+
end
|
|
21379
|
+
end
|
|
21380
|
+
|
|
20716
21381
|
# https 服务端证书配置
|
|
20717
21382
|
class ServerCertInfo < TencentCloud::Common::AbstractModel
|
|
20718
21383
|
# @param CertId: 服务器证书 ID。来源于 SSL 侧,您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
|
|
@@ -20756,6 +21421,43 @@ module TencentCloud
|
|
|
20756
21421
|
end
|
|
20757
21422
|
end
|
|
20758
21423
|
|
|
21424
|
+
# 会话速率和周期特征校验配置。
|
|
21425
|
+
class SessionRateControl < TencentCloud::Common::AbstractModel
|
|
21426
|
+
# @param Enabled: 会话速率和周期特征校验配置是否开启。取值有:<li>on:启用</li><li>off:关闭</li>
|
|
21427
|
+
# @type Enabled: String
|
|
21428
|
+
# @param HighRateSessionAction: 会话速率和周期特征校验高风险的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截,其中 DenyActionParameters 中支持 Stall 配置;</li><li>Monitor:观察;</li><li>Allow:等待后响应,其中 AllowActionParameters 需要 MinDelayTime 和 MaxDelayTime 配置。</li>
|
|
21429
|
+
# @type HighRateSessionAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
21430
|
+
# @param MidRateSessionAction: 会话速率和周期特征校验中风险的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截,其中 DenyActionParameters 中支持 Stall 配置;</li><li>Monitor:观察;</li><li>Allow:等待后响应,其中 AllowActionParameters 需要 MinDelayTime 和 MaxDelayTime 配置。</li>
|
|
21431
|
+
# @type MidRateSessionAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
21432
|
+
# @param LowRateSessionAction: 会话速率和周期特征校验低风险的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截,其中 DenyActionParameters 中支持 Stall 配置;</li><li>Monitor:观察;</li><li>Allow:等待后响应,其中 AllowActionParameters 需要 MinDelayTime 和 MaxDelayTime 配置。</li>
|
|
21433
|
+
# @type LowRateSessionAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
21434
|
+
|
|
21435
|
+
attr_accessor :Enabled, :HighRateSessionAction, :MidRateSessionAction, :LowRateSessionAction
|
|
21436
|
+
|
|
21437
|
+
def initialize(enabled=nil, highratesessionaction=nil, midratesessionaction=nil, lowratesessionaction=nil)
|
|
21438
|
+
@Enabled = enabled
|
|
21439
|
+
@HighRateSessionAction = highratesessionaction
|
|
21440
|
+
@MidRateSessionAction = midratesessionaction
|
|
21441
|
+
@LowRateSessionAction = lowratesessionaction
|
|
21442
|
+
end
|
|
21443
|
+
|
|
21444
|
+
def deserialize(params)
|
|
21445
|
+
@Enabled = params['Enabled']
|
|
21446
|
+
unless params['HighRateSessionAction'].nil?
|
|
21447
|
+
@HighRateSessionAction = SecurityAction.new
|
|
21448
|
+
@HighRateSessionAction.deserialize(params['HighRateSessionAction'])
|
|
21449
|
+
end
|
|
21450
|
+
unless params['MidRateSessionAction'].nil?
|
|
21451
|
+
@MidRateSessionAction = SecurityAction.new
|
|
21452
|
+
@MidRateSessionAction.deserialize(params['MidRateSessionAction'])
|
|
21453
|
+
end
|
|
21454
|
+
unless params['LowRateSessionAction'].nil?
|
|
21455
|
+
@LowRateSessionAction = SecurityAction.new
|
|
21456
|
+
@LowRateSessionAction.deserialize(params['LowRateSessionAction'])
|
|
21457
|
+
end
|
|
21458
|
+
end
|
|
21459
|
+
end
|
|
21460
|
+
|
|
20759
21461
|
# 内容标识配置参数。
|
|
20760
21462
|
class SetContentIdentifierParameters < TencentCloud::Common::AbstractModel
|
|
20761
21463
|
# @param ContentIdentifier: 内容标识id
|
|
@@ -20966,6 +21668,36 @@ module TencentCloud
|
|
|
20966
21668
|
end
|
|
20967
21669
|
end
|
|
20968
21670
|
|
|
21671
|
+
# IDC 规则配置的具体内容。
|
|
21672
|
+
class SourceIDC < TencentCloud::Common::AbstractModel
|
|
21673
|
+
# @param BaseAction: 来自指定 IDC 请求的处置方式。 SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Disabled:未启用,不启用指定规则;</li><li>Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge;</li><li>Allow:放行(待废弃)。</li>
|
|
21674
|
+
# @type BaseAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
21675
|
+
# @param BotManagementActionOverrides: 指定 IDC 请求的处置方式。
|
|
21676
|
+
# @type BotManagementActionOverrides: Array
|
|
21677
|
+
|
|
21678
|
+
attr_accessor :BaseAction, :BotManagementActionOverrides
|
|
21679
|
+
|
|
21680
|
+
def initialize(baseaction=nil, botmanagementactionoverrides=nil)
|
|
21681
|
+
@BaseAction = baseaction
|
|
21682
|
+
@BotManagementActionOverrides = botmanagementactionoverrides
|
|
21683
|
+
end
|
|
21684
|
+
|
|
21685
|
+
def deserialize(params)
|
|
21686
|
+
unless params['BaseAction'].nil?
|
|
21687
|
+
@BaseAction = SecurityAction.new
|
|
21688
|
+
@BaseAction.deserialize(params['BaseAction'])
|
|
21689
|
+
end
|
|
21690
|
+
unless params['BotManagementActionOverrides'].nil?
|
|
21691
|
+
@BotManagementActionOverrides = []
|
|
21692
|
+
params['BotManagementActionOverrides'].each do |i|
|
|
21693
|
+
botmanagementactionoverrides_tmp = BotManagementActionOverrides.new
|
|
21694
|
+
botmanagementactionoverrides_tmp.deserialize(i)
|
|
21695
|
+
@BotManagementActionOverrides << botmanagementactionoverrides_tmp
|
|
21696
|
+
end
|
|
21697
|
+
end
|
|
21698
|
+
end
|
|
21699
|
+
end
|
|
21700
|
+
|
|
20969
21701
|
# 支持标准debug结构体
|
|
20970
21702
|
class StandardDebug < TencentCloud::Common::AbstractModel
|
|
20971
21703
|
# @param Switch: Debug 功能开关,取值有:
|
|
@@ -22108,16 +22840,40 @@ module TencentCloud
|
|
|
22108
22840
|
end
|
|
22109
22841
|
end
|
|
22110
22842
|
|
|
22111
|
-
#
|
|
22843
|
+
# 站点详情。
|
|
22112
22844
|
class Zone < TencentCloud::Common::AbstractModel
|
|
22113
22845
|
# @param ZoneId: 站点 ID。
|
|
22114
22846
|
# @type ZoneId: String
|
|
22115
22847
|
# @param ZoneName: 站点名称。
|
|
22116
22848
|
# @type ZoneName: String
|
|
22117
|
-
# @param
|
|
22118
|
-
# @type
|
|
22119
|
-
# @param
|
|
22120
|
-
#
|
|
22849
|
+
# @param AliasZoneName: 同名站点标识。允许输入数字、英文、"." 、"-" 和 "_" 组合,长度 200 个字符以内。
|
|
22850
|
+
# @type AliasZoneName: String
|
|
22851
|
+
# @param Area: 站点加速区域,取值有:
|
|
22852
|
+
# <li> global:全球可用区;</li>
|
|
22853
|
+
# <li> mainland:中国大陆可用区;</li>
|
|
22854
|
+
# <li> overseas:全球可用区(不含中国大陆)。</li>
|
|
22855
|
+
# @type Area: String
|
|
22856
|
+
# @param Type: 站点接入类型,取值有:
|
|
22857
|
+
# <li> full:NS 接入类型;</li>
|
|
22858
|
+
# <li> partial:CNAME 接入类型;</li>
|
|
22859
|
+
# <li> noDomainAccess:无域名接入类型;</li>
|
|
22860
|
+
# <li>dnsPodAccess:DNSPod 托管类型,该类型要求您的域名已托管在腾讯云 DNSPod;</li>
|
|
22861
|
+
# <li> pages:Pages 类型。</li>
|
|
22862
|
+
# @type Type: String
|
|
22863
|
+
# @param Tags: 站点关联的标签。
|
|
22864
|
+
# @type Tags: Array
|
|
22865
|
+
# @param Resources: 计费资源列表。
|
|
22866
|
+
# @type Resources: Array
|
|
22867
|
+
# @param NSDetail: NS 类型站点详情。仅当 Type = full 时返回值。
|
|
22868
|
+
# @type NSDetail: :class:`Tencentcloud::Teo.v20220901.models.NSDetail`
|
|
22869
|
+
# @param CNAMEDetail: CNAME 类型站点详情。仅当 Type = partial 时返回值。
|
|
22870
|
+
# @type CNAMEDetail: :class:`Tencentcloud::Teo.v20220901.models.CNAMEDetail`
|
|
22871
|
+
# @param DNSPodDetail: DNSPod 托管类型站点详情。仅当 Type = dnsPodAccess 时返回值。
|
|
22872
|
+
# @type DNSPodDetail: :class:`Tencentcloud::Teo.v20220901.models.DNSPodDetail`
|
|
22873
|
+
# @param CreatedOn: 站点创建时间。
|
|
22874
|
+
# @type CreatedOn: String
|
|
22875
|
+
# @param ModifiedOn: 站点修改时间。
|
|
22876
|
+
# @type ModifiedOn: String
|
|
22121
22877
|
# @param Status: 站点状态,取值有:
|
|
22122
22878
|
# <li> active:NS 已切换; </li>
|
|
22123
22879
|
# <li> pending:NS 未切换;</li>
|
|
@@ -22125,93 +22881,76 @@ module TencentCloud
|
|
|
22125
22881
|
# <li> deactivated:被封禁。 </li>
|
|
22126
22882
|
# <li> initializing:待绑定套餐。 </li>
|
|
22127
22883
|
# @type Status: String
|
|
22128
|
-
# @param Type: 站点接入方式,取值有:
|
|
22129
|
-
# <li> full:NS 接入;</li>
|
|
22130
|
-
# <li> partial:CNAME 接入;</li>
|
|
22131
|
-
# <li> noDomainAccess:无域名接入;</li>
|
|
22132
|
-
# @type Type: String
|
|
22133
|
-
# @param Paused: 站点是否关闭。
|
|
22134
|
-
# @type Paused: Boolean
|
|
22135
|
-
# @param CnameSpeedUp: 是否开启 CNAME 加速,取值有:
|
|
22136
|
-
# <li> enabled:开启;</li>
|
|
22137
|
-
# <li> disabled:关闭。</li>
|
|
22138
|
-
# @type CnameSpeedUp: String
|
|
22139
22884
|
# @param CnameStatus: CNAME 接入状态,取值有:
|
|
22140
22885
|
# <li> finished:站点已验证;</li>
|
|
22141
22886
|
# <li> pending:站点验证中。</li>
|
|
22142
22887
|
# @type CnameStatus: String
|
|
22143
|
-
# @param Tags: 资源标签列表。
|
|
22144
|
-
# @type Tags: Array
|
|
22145
|
-
# @param Resources: 计费资源列表。
|
|
22146
|
-
# @type Resources: Array
|
|
22147
|
-
# @param CreatedOn: 站点创建时间。
|
|
22148
|
-
# @type CreatedOn: String
|
|
22149
|
-
# @param ModifiedOn: 站点修改时间。
|
|
22150
|
-
# @type ModifiedOn: String
|
|
22151
|
-
# @param Area: 站点接入地域,取值有:
|
|
22152
|
-
# <li> global:全球;</li>
|
|
22153
|
-
# <li> mainland:中国大陆;</li>
|
|
22154
|
-
# <li> overseas:境外区域。</li>
|
|
22155
|
-
# @type Area: String
|
|
22156
|
-
# @param VanityNameServers: 用户自定义 NS 信息。
|
|
22157
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
22158
|
-
# @type VanityNameServers: :class:`Tencentcloud::Teo.v20220901.models.VanityNameServers`
|
|
22159
|
-
# @param VanityNameServersIps: 用户自定义 NS IP 信息。
|
|
22160
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
22161
|
-
# @type VanityNameServersIps: Array
|
|
22162
22888
|
# @param ActiveStatus: 展示状态,取值有:
|
|
22163
22889
|
# <li> active:已启用;</li>
|
|
22164
22890
|
# <li> inactive:未生效;</li>
|
|
22165
22891
|
# <li> paused:已停用。</li>
|
|
22166
22892
|
# @type ActiveStatus: String
|
|
22167
|
-
# @param
|
|
22168
|
-
# @type
|
|
22169
|
-
# @param
|
|
22893
|
+
# @param LockStatus: 锁定状态,取值有:<li> enable:正常,允许进行修改操作;</li><li> disable:锁定中,不允许进行修改操作;</li><li> plan_migrate:套餐迁移中,不允许进行修改操作。</li>
|
|
22894
|
+
# @type LockStatus: String
|
|
22895
|
+
# @param Paused: 站点是否关闭。
|
|
22896
|
+
# @type Paused: Boolean
|
|
22897
|
+
# @param IsFake: 是否伪站点(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段),取值有:
|
|
22170
22898
|
# <li> 0:非伪站点;</li>
|
|
22171
22899
|
# <li> 1:伪站点。</li>
|
|
22172
22900
|
# @type IsFake: Integer
|
|
22173
|
-
# @param
|
|
22174
|
-
#
|
|
22175
|
-
#
|
|
22901
|
+
# @param CnameSpeedUp: 是否开启 CNAME 加速(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段),取值有:
|
|
22902
|
+
# <li> enabled:开启;</li>
|
|
22903
|
+
# <li> disabled:关闭。</li>
|
|
22904
|
+
# @type CnameSpeedUp: String
|
|
22905
|
+
# @param OwnershipVerification: 归属权验证信息。(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段)
|
|
22176
22906
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
22177
22907
|
# @type OwnershipVerification: :class:`Tencentcloud::Teo.v20220901.models.OwnershipVerification`
|
|
22908
|
+
# @param OriginalNameServers: 站点当前使用的 NS 列表。(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段)
|
|
22909
|
+
# @type OriginalNameServers: Array
|
|
22910
|
+
# @param NameServers: 腾讯云分配的 NS 列表。(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段)
|
|
22911
|
+
# @type NameServers: Array
|
|
22912
|
+
# @param VanityNameServers: 用户自定义 NS 信息。(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段)
|
|
22913
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
22914
|
+
# @type VanityNameServers: :class:`Tencentcloud::Teo.v20220901.models.VanityNameServers`
|
|
22915
|
+
# @param VanityNameServersIps: 用户自定义 NS IP 信息。(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段)
|
|
22916
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
22917
|
+
# @type VanityNameServersIps: Array
|
|
22178
22918
|
|
|
22179
|
-
attr_accessor :ZoneId, :ZoneName, :
|
|
22919
|
+
attr_accessor :ZoneId, :ZoneName, :AliasZoneName, :Area, :Type, :Tags, :Resources, :NSDetail, :CNAMEDetail, :DNSPodDetail, :CreatedOn, :ModifiedOn, :Status, :CnameStatus, :ActiveStatus, :LockStatus, :Paused, :IsFake, :CnameSpeedUp, :OwnershipVerification, :OriginalNameServers, :NameServers, :VanityNameServers, :VanityNameServersIps
|
|
22180
22920
|
|
|
22181
|
-
def initialize(zoneid=nil, zonename=nil,
|
|
22921
|
+
def initialize(zoneid=nil, zonename=nil, aliaszonename=nil, area=nil, type=nil, tags=nil, resources=nil, nsdetail=nil, cnamedetail=nil, dnspoddetail=nil, createdon=nil, modifiedon=nil, status=nil, cnamestatus=nil, activestatus=nil, lockstatus=nil, paused=nil, isfake=nil, cnamespeedup=nil, ownershipverification=nil, originalnameservers=nil, nameservers=nil, vanitynameservers=nil, vanitynameserversips=nil)
|
|
22182
22922
|
@ZoneId = zoneid
|
|
22183
22923
|
@ZoneName = zonename
|
|
22184
|
-
@
|
|
22185
|
-
@
|
|
22186
|
-
@Status = status
|
|
22924
|
+
@AliasZoneName = aliaszonename
|
|
22925
|
+
@Area = area
|
|
22187
22926
|
@Type = type
|
|
22188
|
-
@Paused = paused
|
|
22189
|
-
@CnameSpeedUp = cnamespeedup
|
|
22190
|
-
@CnameStatus = cnamestatus
|
|
22191
22927
|
@Tags = tags
|
|
22192
22928
|
@Resources = resources
|
|
22929
|
+
@NSDetail = nsdetail
|
|
22930
|
+
@CNAMEDetail = cnamedetail
|
|
22931
|
+
@DNSPodDetail = dnspoddetail
|
|
22193
22932
|
@CreatedOn = createdon
|
|
22194
22933
|
@ModifiedOn = modifiedon
|
|
22195
|
-
@
|
|
22196
|
-
@
|
|
22197
|
-
@VanityNameServersIps = vanitynameserversips
|
|
22934
|
+
@Status = status
|
|
22935
|
+
@CnameStatus = cnamestatus
|
|
22198
22936
|
@ActiveStatus = activestatus
|
|
22199
|
-
@AliasZoneName = aliaszonename
|
|
22200
|
-
@IsFake = isfake
|
|
22201
22937
|
@LockStatus = lockstatus
|
|
22938
|
+
@Paused = paused
|
|
22939
|
+
@IsFake = isfake
|
|
22940
|
+
@CnameSpeedUp = cnamespeedup
|
|
22202
22941
|
@OwnershipVerification = ownershipverification
|
|
22942
|
+
@OriginalNameServers = originalnameservers
|
|
22943
|
+
@NameServers = nameservers
|
|
22944
|
+
@VanityNameServers = vanitynameservers
|
|
22945
|
+
@VanityNameServersIps = vanitynameserversips
|
|
22203
22946
|
end
|
|
22204
22947
|
|
|
22205
22948
|
def deserialize(params)
|
|
22206
22949
|
@ZoneId = params['ZoneId']
|
|
22207
22950
|
@ZoneName = params['ZoneName']
|
|
22208
|
-
@
|
|
22209
|
-
@
|
|
22210
|
-
@Status = params['Status']
|
|
22951
|
+
@AliasZoneName = params['AliasZoneName']
|
|
22952
|
+
@Area = params['Area']
|
|
22211
22953
|
@Type = params['Type']
|
|
22212
|
-
@Paused = params['Paused']
|
|
22213
|
-
@CnameSpeedUp = params['CnameSpeedUp']
|
|
22214
|
-
@CnameStatus = params['CnameStatus']
|
|
22215
22954
|
unless params['Tags'].nil?
|
|
22216
22955
|
@Tags = []
|
|
22217
22956
|
params['Tags'].each do |i|
|
|
@@ -22228,9 +22967,33 @@ module TencentCloud
|
|
|
22228
22967
|
@Resources << resource_tmp
|
|
22229
22968
|
end
|
|
22230
22969
|
end
|
|
22970
|
+
unless params['NSDetail'].nil?
|
|
22971
|
+
@NSDetail = NSDetail.new
|
|
22972
|
+
@NSDetail.deserialize(params['NSDetail'])
|
|
22973
|
+
end
|
|
22974
|
+
unless params['CNAMEDetail'].nil?
|
|
22975
|
+
@CNAMEDetail = CNAMEDetail.new
|
|
22976
|
+
@CNAMEDetail.deserialize(params['CNAMEDetail'])
|
|
22977
|
+
end
|
|
22978
|
+
unless params['DNSPodDetail'].nil?
|
|
22979
|
+
@DNSPodDetail = DNSPodDetail.new
|
|
22980
|
+
@DNSPodDetail.deserialize(params['DNSPodDetail'])
|
|
22981
|
+
end
|
|
22231
22982
|
@CreatedOn = params['CreatedOn']
|
|
22232
22983
|
@ModifiedOn = params['ModifiedOn']
|
|
22233
|
-
@
|
|
22984
|
+
@Status = params['Status']
|
|
22985
|
+
@CnameStatus = params['CnameStatus']
|
|
22986
|
+
@ActiveStatus = params['ActiveStatus']
|
|
22987
|
+
@LockStatus = params['LockStatus']
|
|
22988
|
+
@Paused = params['Paused']
|
|
22989
|
+
@IsFake = params['IsFake']
|
|
22990
|
+
@CnameSpeedUp = params['CnameSpeedUp']
|
|
22991
|
+
unless params['OwnershipVerification'].nil?
|
|
22992
|
+
@OwnershipVerification = OwnershipVerification.new
|
|
22993
|
+
@OwnershipVerification.deserialize(params['OwnershipVerification'])
|
|
22994
|
+
end
|
|
22995
|
+
@OriginalNameServers = params['OriginalNameServers']
|
|
22996
|
+
@NameServers = params['NameServers']
|
|
22234
22997
|
unless params['VanityNameServers'].nil?
|
|
22235
22998
|
@VanityNameServers = VanityNameServers.new
|
|
22236
22999
|
@VanityNameServers.deserialize(params['VanityNameServers'])
|
|
@@ -22243,14 +23006,6 @@ module TencentCloud
|
|
|
22243
23006
|
@VanityNameServersIps << vanitynameserversips_tmp
|
|
22244
23007
|
end
|
|
22245
23008
|
end
|
|
22246
|
-
@ActiveStatus = params['ActiveStatus']
|
|
22247
|
-
@AliasZoneName = params['AliasZoneName']
|
|
22248
|
-
@IsFake = params['IsFake']
|
|
22249
|
-
@LockStatus = params['LockStatus']
|
|
22250
|
-
unless params['OwnershipVerification'].nil?
|
|
22251
|
-
@OwnershipVerification = OwnershipVerification.new
|
|
22252
|
-
@OwnershipVerification.deserialize(params['OwnershipVerification'])
|
|
22253
|
-
end
|
|
22254
23009
|
end
|
|
22255
23010
|
end
|
|
22256
23011
|
|
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.1159
|
|
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-22 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|