tencentcloud-sdk-teo 3.0.1158 → 3.0.1160
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/tencentcloud-sdk-teo.rb +3 -3
- data/lib/v20220901/models.rb +843 -91
- metadata +3 -3
data/lib/v20220901/models.rb
CHANGED
|
@@ -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。
|
|
@@ -7509,7 +7956,7 @@ module TencentCloud
|
|
|
7509
7956
|
# <li>ddos_attackBandwidth:攻击带宽曲线;</li>
|
|
7510
7957
|
# <li>ddos_attackPackageRate:攻击包速率曲线。</li>
|
|
7511
7958
|
# @type MetricNames: Array
|
|
7512
|
-
# @param ZoneIds: 站点 ID
|
|
7959
|
+
# @param ZoneIds: 站点 ID 集合,此参数将于2024年05月30日后由可选改为必填,详见公告:[【腾讯云 EdgeOne】云 API 变更通知](https://cloud.tencent.com/document/product/1552/104902)。最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。
|
|
7513
7960
|
# @type ZoneIds: Array
|
|
7514
7961
|
# @param PolicyIds: DDoS策略组ID列表,不填默认选择全部策略ID。
|
|
7515
7962
|
# @type PolicyIds: Array
|
|
@@ -7588,7 +8035,7 @@ module TencentCloud
|
|
|
7588
8035
|
# @type EndTime: String
|
|
7589
8036
|
# @param PolicyIds: ddos策略组集合,不填默认选择全部策略。
|
|
7590
8037
|
# @type PolicyIds: Array
|
|
7591
|
-
# @param ZoneIds: 站点 ID
|
|
8038
|
+
# @param ZoneIds: 站点 ID 集合,此参数将于2024年05月30日后由可选改为必填,详见公告:[【腾讯云 EdgeOne】云 API 变更通知](https://cloud.tencent.com/document/product/1552/104902)。最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。
|
|
7592
8039
|
# @type ZoneIds: Array
|
|
7593
8040
|
# @param Limit: 分页查询的限制数目,默认值为20,最大查询条目为1000。
|
|
7594
8041
|
# @type Limit: Integer
|
|
@@ -7685,7 +8132,7 @@ module TencentCloud
|
|
|
7685
8132
|
# <li>ddos_attackFlux_sip:按攻击源IP的攻击数量排行;</li>
|
|
7686
8133
|
# <li>ddos_attackFlux_sregion:按攻击源地区的攻击数量排行。</li>
|
|
7687
8134
|
# @type MetricName: String
|
|
7688
|
-
# @param ZoneIds: 站点 ID
|
|
8135
|
+
# @param ZoneIds: 站点 ID 集合,此参数将于2024年05月30日后由可选改为必填,详见公告:[【腾讯云 EdgeOne】云 API 变更通知](https://cloud.tencent.com/document/product/1552/104902)。最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。
|
|
7689
8136
|
# @type ZoneIds: Array
|
|
7690
8137
|
# @param PolicyIds: DDoS策略组ID集合,不填默认选择全部策略ID。
|
|
7691
8138
|
# @type PolicyIds: Array
|
|
@@ -9489,7 +9936,7 @@ module TencentCloud
|
|
|
9489
9936
|
|
|
9490
9937
|
# DescribePrefetchTasks请求参数结构体
|
|
9491
9938
|
class DescribePrefetchTasksRequest < TencentCloud::Common::AbstractModel
|
|
9492
|
-
# @param ZoneId: 站点ID
|
|
9939
|
+
# @param ZoneId: 站点ID。此参数将于2024年05月30日后由可选改为必填,详见公告:[【腾讯云 EdgeOne】云 API 变更通知](https://cloud.tencent.com/document/product/1552/104902)。
|
|
9493
9940
|
# @type ZoneId: String
|
|
9494
9941
|
# @param StartTime: 查询起始时间,时间与 job-id 必填一个。
|
|
9495
9942
|
# @type StartTime: String
|
|
@@ -9499,7 +9946,7 @@ module TencentCloud
|
|
|
9499
9946
|
# @type Offset: Integer
|
|
9500
9947
|
# @param Limit: 分页查询限制数目,默认值:20,上限:1000。
|
|
9501
9948
|
# @type Limit: Integer
|
|
9502
|
-
# @param Filters: 过滤条件,Filters.Values 的上限为 20。详细的过滤条件如下:<li>job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;</li><li>target:按照目标资源信息进行过滤。target 形如:http://www.qq.com/1.txt,暂不支持多值,不支持模糊查询;</li><li>domains:按照域名行过滤。domains 形如:www.qq.com,不支持模糊查询;</li><li>statuses:按照任务状态进行过滤,不支持模糊查询。可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时<br> invalid:无效。即源站响应非 2xx 状态码,请检查源站服务。</li>
|
|
9949
|
+
# @param Filters: 过滤条件,Filters.Values 的上限为 20。详细的过滤条件如下:<li>job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;</li><li>target:按照目标资源信息进行过滤。target 形如:http://www.qq.com/1.txt,暂不支持多值,不支持模糊查询;</li><li>domains:按照域名行过滤。domains 形如:www.qq.com,不支持模糊查询;</li><li>statuses:按照任务状态进行过滤,不支持模糊查询。可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时<br> canceled:已取消<br> invalid:无效。即源站响应非 2xx 状态码,请检查源站服务。</li>
|
|
9503
9950
|
# @type Filters: Array
|
|
9504
9951
|
|
|
9505
9952
|
attr_accessor :ZoneId, :StartTime, :EndTime, :Offset, :Limit, :Filters
|
|
@@ -9563,7 +10010,7 @@ module TencentCloud
|
|
|
9563
10010
|
|
|
9564
10011
|
# DescribePurgeTasks请求参数结构体
|
|
9565
10012
|
class DescribePurgeTasksRequest < TencentCloud::Common::AbstractModel
|
|
9566
|
-
# @param ZoneId: 站点 ID
|
|
10013
|
+
# @param ZoneId: 站点 ID。此参数将于2024年05月30日后由可选改为必填,详见公告:[【腾讯云 EdgeOne】云 API 变更通知](https://cloud.tencent.com/document/product/1552/104902)。
|
|
9567
10014
|
# @type ZoneId: String
|
|
9568
10015
|
# @param StartTime: 查询起始时间,时间与 job-id 必填一个。
|
|
9569
10016
|
# @type StartTime: String
|
|
@@ -9577,7 +10024,7 @@ module TencentCloud
|
|
|
9577
10024
|
# <li>job-id:按照任务 ID 进行过滤。job-id 形如:1379afjk91u32h,暂不支持多值,不支持模糊查询;</li>
|
|
9578
10025
|
# <li>target:按照目标资源信息进行过滤,target 形如:http://www.qq.com/1.txt 或者 tag1,暂不支持多值,支持模糊查询;</li>
|
|
9579
10026
|
# <li>domains:按照域名进行过滤,形如:www.qq.com,不支持模糊查询;</li>
|
|
9580
|
-
# <li>statuses:按照任务状态进行过滤,不支持模糊查询。可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout
|
|
10027
|
+
# <li>statuses:按照任务状态进行过滤,不支持模糊查询。可选项:<br> processing:处理中<br> success:成功<br> failed:失败<br> timeout:超时<br> canceled:已取消</li>
|
|
9581
10028
|
# <li>type:按照清除缓存类型进行过滤,暂不支持多值,不支持模糊查询。可选项:<br> purge_url:URL<br> purge_prefix:前缀<br> purge_all:全部缓存内容<br> purge_host:Hostname<br> purge_cache_tag:CacheTag</li>
|
|
9582
10029
|
# @type Filters: Array
|
|
9583
10030
|
|
|
@@ -10300,7 +10747,8 @@ module TencentCloud
|
|
|
10300
10747
|
# <li>l4Flow_inBandwidth: 访问入向带宽峰值;</li>
|
|
10301
10748
|
# <li>l4Flow_outBandwidth: 访问出向带宽峰值。</li>
|
|
10302
10749
|
# @type MetricNames: Array
|
|
10303
|
-
# @param ZoneIds: 站点
|
|
10750
|
+
# @param ZoneIds: 站点ID,此参数将于2024年05月30日后由可选改为必填,详见公告:[【腾讯云 EdgeOne】云 API 变更通知](https://cloud.tencent.com/document/product/1552/104902)。
|
|
10751
|
+
# 最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。
|
|
10304
10752
|
# @type ZoneIds: Array
|
|
10305
10753
|
# @param ProxyIds: 四层实例列表, 不填表示选择全部实例。
|
|
10306
10754
|
# @type ProxyIds: Array
|
|
@@ -10398,7 +10846,7 @@ module TencentCloud
|
|
|
10398
10846
|
# <li> l7Flow_avgResponseTime: L7 访问平均响应耗时,单位:ms;</li>
|
|
10399
10847
|
# <li> l7Flow_avgFirstByteResponseTime: L7 访问平均首字节响应耗时,单位:ms。</li>
|
|
10400
10848
|
# @type MetricNames: Array
|
|
10401
|
-
# @param ZoneIds: 站点 ID
|
|
10849
|
+
# @param ZoneIds: 站点 ID 集合,此参数将于2024年05月30日后由可选改为必填,详见公告:[【腾讯云 EdgeOne】云 API 变更通知](https://cloud.tencent.com/document/product/1552/104902)。最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。
|
|
10402
10850
|
# @type ZoneIds: Array
|
|
10403
10851
|
# @param Interval: 查询时间粒度,取值有:
|
|
10404
10852
|
# <li>min: 1分钟;</li>
|
|
@@ -10686,7 +11134,7 @@ module TencentCloud
|
|
|
10686
11134
|
# <li> l7Flow_request_ua_os:按操作系统类型维度统计 L7 访问请求数指标;</li>
|
|
10687
11135
|
# <li> l7Flow_request_ua:按 User-Agent 维度统计 L7 访问请求数指标。</li>
|
|
10688
11136
|
# @type MetricName: String
|
|
10689
|
-
# @param ZoneIds: 站点 ID
|
|
11137
|
+
# @param ZoneIds: 站点 ID 集合,此参数将于2024年05月30日后由可选改为必填,详见公告:[【腾讯云 EdgeOne】云 API 变更通知](https://cloud.tencent.com/document/product/1552/104902)。最多传入 100 个站点 ID。若需查询腾讯云主账号下所有站点数据,请用 `*` 代替,查询账号级别数据需具备本接口全部站点资源权限。
|
|
10690
11138
|
# @type ZoneIds: Array
|
|
10691
11139
|
# @param Limit: 查询前多少个 top 数据,最大值为1000。不填默认为10,表示查询 top10 的数据。
|
|
10692
11140
|
# @type Limit: Integer
|
|
@@ -11056,7 +11504,7 @@ module TencentCloud
|
|
|
11056
11504
|
# @param Limit: 分页查询限制数目。默认值:20,最大值:100。
|
|
11057
11505
|
# @type Limit: Integer
|
|
11058
11506
|
# @param Filters: 过滤条件,Filters.Values 的上限为 20。该参数不填写时,返回当前 appid 下有权限的所有站点信息。详细的过滤条件如下:
|
|
11059
|
-
# <li>zone-name:按照站点名称进行过滤;</li><li>zone-id:按照站点 ID
|
|
11507
|
+
# <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
11508
|
# @type Filters: Array
|
|
11061
11509
|
# @param Order: 可根据该字段对返回结果进行排序,取值有:
|
|
11062
11510
|
# <li> type:接入类型;</li>
|
|
@@ -11101,7 +11549,7 @@ module TencentCloud
|
|
|
11101
11549
|
class DescribeZonesResponse < TencentCloud::Common::AbstractModel
|
|
11102
11550
|
# @param TotalCount: 符合条件的站点个数。
|
|
11103
11551
|
# @type TotalCount: Integer
|
|
11104
|
-
# @param Zones:
|
|
11552
|
+
# @param Zones: 站点列表详情。
|
|
11105
11553
|
# @type Zones: Array
|
|
11106
11554
|
# @param RequestId: 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
|
11107
11555
|
# @type RequestId: String
|
|
@@ -11641,7 +12089,7 @@ module TencentCloud
|
|
|
11641
12089
|
# @type StartTime: String
|
|
11642
12090
|
# @param EndTime: 结束时间。
|
|
11643
12091
|
# @type EndTime: String
|
|
11644
|
-
# @param ZoneIds: 站点 ID
|
|
12092
|
+
# @param ZoneIds: 站点 ID 集合,此参数将于2024年05月30日后由可选改为必填,详见公告:[【腾讯云 EdgeOne】云 API 变更通知](https://cloud.tencent.com/document/product/1552/104902)。
|
|
11645
12093
|
# @type ZoneIds: Array
|
|
11646
12094
|
# @param ProxyIds: 四层实例 ID 集合。
|
|
11647
12095
|
# @type ProxyIds: Array
|
|
@@ -11708,7 +12156,7 @@ module TencentCloud
|
|
|
11708
12156
|
# @type StartTime: String
|
|
11709
12157
|
# @param EndTime: 结束时间。
|
|
11710
12158
|
# @type EndTime: String
|
|
11711
|
-
# @param ZoneIds: 站点ID
|
|
12159
|
+
# @param ZoneIds: 站点ID集合,此参数将于2024年05月30日后由可选改为必填,详见公告:[【腾讯云 EdgeOne】云 API 变更通知](https://cloud.tencent.com/document/product/1552/104902)。
|
|
11712
12160
|
# @type ZoneIds: Array
|
|
11713
12161
|
# @param Domains: 子域名集合,不填默认选择全部子域名。
|
|
11714
12162
|
# @type Domains: Array
|
|
@@ -13239,8 +13687,8 @@ module TencentCloud
|
|
|
13239
13687
|
# @type OcspStapling: String
|
|
13240
13688
|
# @param TlsVersion: Tls 版本设置,取值有:
|
|
13241
13689
|
# <li>TLSv1:TLSv1版本;</li>
|
|
13242
|
-
# <li>
|
|
13243
|
-
# <li>
|
|
13690
|
+
# <li>TLSv1.1:TLSv1.1版本;</li>
|
|
13691
|
+
# <li>TLSv1.2:TLSv1.2版本;</li>
|
|
13244
13692
|
# <li>TLSv1.3:TLSv1.3版本。</li>修改时必须开启连续的版本。
|
|
13245
13693
|
# @type TlsVersion: Array
|
|
13246
13694
|
# @param Hsts: HSTS 配置。
|
|
@@ -13377,6 +13825,59 @@ module TencentCloud
|
|
|
13377
13825
|
end
|
|
13378
13826
|
end
|
|
13379
13827
|
|
|
13828
|
+
# IP 情报库(原客户端画像分析)配置。
|
|
13829
|
+
class IPReputation < TencentCloud::Common::AbstractModel
|
|
13830
|
+
# @param Enabled: IP 情报库(原客户端画像分析)。取值有:<li>on:开启;</li><li>off:关闭。</li>
|
|
13831
|
+
# @type Enabled: String
|
|
13832
|
+
# @param IPReputationGroup: IP 情报库(原客户端画像分析)的具体配置内容。
|
|
13833
|
+
# @type IPReputationGroup: :class:`Tencentcloud::Teo.v20220901.models.IPReputationGroup`
|
|
13834
|
+
|
|
13835
|
+
attr_accessor :Enabled, :IPReputationGroup
|
|
13836
|
+
|
|
13837
|
+
def initialize(enabled=nil, ipreputationgroup=nil)
|
|
13838
|
+
@Enabled = enabled
|
|
13839
|
+
@IPReputationGroup = ipreputationgroup
|
|
13840
|
+
end
|
|
13841
|
+
|
|
13842
|
+
def deserialize(params)
|
|
13843
|
+
@Enabled = params['Enabled']
|
|
13844
|
+
unless params['IPReputationGroup'].nil?
|
|
13845
|
+
@IPReputationGroup = IPReputationGroup.new
|
|
13846
|
+
@IPReputationGroup.deserialize(params['IPReputationGroup'])
|
|
13847
|
+
end
|
|
13848
|
+
end
|
|
13849
|
+
end
|
|
13850
|
+
|
|
13851
|
+
# IP 情报库(原客户端画像分析)的具体配置。
|
|
13852
|
+
class IPReputationGroup < TencentCloud::Common::AbstractModel
|
|
13853
|
+
# @param BaseAction: IP 情报库(原客户端画像分析)的执行动作。SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Disabled:未启用,不启用指定规则;</li><li>Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge。</li>
|
|
13854
|
+
# @type BaseAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
13855
|
+
# @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>
|
|
13856
|
+
# @type BotManagementActionOverrides: Array
|
|
13857
|
+
|
|
13858
|
+
attr_accessor :BaseAction, :BotManagementActionOverrides
|
|
13859
|
+
|
|
13860
|
+
def initialize(baseaction=nil, botmanagementactionoverrides=nil)
|
|
13861
|
+
@BaseAction = baseaction
|
|
13862
|
+
@BotManagementActionOverrides = botmanagementactionoverrides
|
|
13863
|
+
end
|
|
13864
|
+
|
|
13865
|
+
def deserialize(params)
|
|
13866
|
+
unless params['BaseAction'].nil?
|
|
13867
|
+
@BaseAction = SecurityAction.new
|
|
13868
|
+
@BaseAction.deserialize(params['BaseAction'])
|
|
13869
|
+
end
|
|
13870
|
+
unless params['BotManagementActionOverrides'].nil?
|
|
13871
|
+
@BotManagementActionOverrides = []
|
|
13872
|
+
params['BotManagementActionOverrides'].each do |i|
|
|
13873
|
+
botmanagementactionoverrides_tmp = BotManagementActionOverrides.new
|
|
13874
|
+
botmanagementactionoverrides_tmp.deserialize(i)
|
|
13875
|
+
@BotManagementActionOverrides << botmanagementactionoverrides_tmp
|
|
13876
|
+
end
|
|
13877
|
+
end
|
|
13878
|
+
end
|
|
13879
|
+
end
|
|
13880
|
+
|
|
13380
13881
|
# 源站防护IP白名单
|
|
13381
13882
|
class IPWhitelist < TencentCloud::Common::AbstractModel
|
|
13382
13883
|
# @param IPv4: IPv4列表。
|
|
@@ -13897,6 +14398,36 @@ module TencentCloud
|
|
|
13897
14398
|
end
|
|
13898
14399
|
end
|
|
13899
14400
|
|
|
14401
|
+
# 商业或开源工具 UA 特征配置(原 UA 特征规则)。
|
|
14402
|
+
class KnownBotCategories < TencentCloud::Common::AbstractModel
|
|
14403
|
+
# @param BaseAction: 来自已知商业工具或开源工具的访问请求的处置方式。 SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Disabled:未启用,不启用指定规则;</li><li>Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge;</li><li>Allow:放行(待废弃)。</li>
|
|
14404
|
+
# @type BaseAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
14405
|
+
# @param BotManagementActionOverrides: 指定已知商业工具或开源工具的访问请求的处置方式。
|
|
14406
|
+
# @type BotManagementActionOverrides: Array
|
|
14407
|
+
|
|
14408
|
+
attr_accessor :BaseAction, :BotManagementActionOverrides
|
|
14409
|
+
|
|
14410
|
+
def initialize(baseaction=nil, botmanagementactionoverrides=nil)
|
|
14411
|
+
@BaseAction = baseaction
|
|
14412
|
+
@BotManagementActionOverrides = botmanagementactionoverrides
|
|
14413
|
+
end
|
|
14414
|
+
|
|
14415
|
+
def deserialize(params)
|
|
14416
|
+
unless params['BaseAction'].nil?
|
|
14417
|
+
@BaseAction = SecurityAction.new
|
|
14418
|
+
@BaseAction.deserialize(params['BaseAction'])
|
|
14419
|
+
end
|
|
14420
|
+
unless params['BotManagementActionOverrides'].nil?
|
|
14421
|
+
@BotManagementActionOverrides = []
|
|
14422
|
+
params['BotManagementActionOverrides'].each do |i|
|
|
14423
|
+
botmanagementactionoverrides_tmp = BotManagementActionOverrides.new
|
|
14424
|
+
botmanagementactionoverrides_tmp.deserialize(i)
|
|
14425
|
+
@BotManagementActionOverrides << botmanagementactionoverrides_tmp
|
|
14426
|
+
end
|
|
14427
|
+
end
|
|
14428
|
+
end
|
|
14429
|
+
end
|
|
14430
|
+
|
|
13900
14431
|
# 离线日志详细信息
|
|
13901
14432
|
class L4OfflineLog < TencentCloud::Common::AbstractModel
|
|
13902
14433
|
# @param ProxyId: 四层代理实例 ID。
|
|
@@ -14526,7 +15057,7 @@ module TencentCloud
|
|
|
14526
15057
|
# <li>on:遵循源站,忽略MaxAge 时间设置;</li>
|
|
14527
15058
|
# <li>off:不遵循源站,使用MaxAge 时间设置。</li>
|
|
14528
15059
|
# @type FollowOrigin: String
|
|
14529
|
-
# @param MaxAgeTime: MaxAge
|
|
15060
|
+
# @param MaxAgeTime: MaxAge 时间设置,单位为秒,取值:0~315360000。
|
|
14530
15061
|
# 注意:时间为0,即不缓存。
|
|
14531
15062
|
# @type MaxAgeTime: Integer
|
|
14532
15063
|
|
|
@@ -14565,6 +15096,26 @@ module TencentCloud
|
|
|
14565
15096
|
end
|
|
14566
15097
|
end
|
|
14567
15098
|
|
|
15099
|
+
# Bot 管理中校验的触发阈值。
|
|
15100
|
+
class MaxNewSessionTriggerConfig < TencentCloud::Common::AbstractModel
|
|
15101
|
+
# @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>
|
|
15102
|
+
# @type MaxNewSessionCountInterval: String
|
|
15103
|
+
# @param MaxNewSessionCountThreshold: 触发阈值统计的累计次数,取值范围 1 ~ 100000000。
|
|
15104
|
+
# @type MaxNewSessionCountThreshold: Integer
|
|
15105
|
+
|
|
15106
|
+
attr_accessor :MaxNewSessionCountInterval, :MaxNewSessionCountThreshold
|
|
15107
|
+
|
|
15108
|
+
def initialize(maxnewsessioncountinterval=nil, maxnewsessioncountthreshold=nil)
|
|
15109
|
+
@MaxNewSessionCountInterval = maxnewsessioncountinterval
|
|
15110
|
+
@MaxNewSessionCountThreshold = maxnewsessioncountthreshold
|
|
15111
|
+
end
|
|
15112
|
+
|
|
15113
|
+
def deserialize(params)
|
|
15114
|
+
@MaxNewSessionCountInterval = params['MaxNewSessionCountInterval']
|
|
15115
|
+
@MaxNewSessionCountThreshold = params['MaxNewSessionCountThreshold']
|
|
15116
|
+
end
|
|
15117
|
+
end
|
|
15118
|
+
|
|
14568
15119
|
# 正文传输最小速率阈值的具体配置。
|
|
14569
15120
|
class MinimalRequestBodyTransferRate < TencentCloud::Common::AbstractModel
|
|
14570
15121
|
# @param MinimalAvgTransferRateThreshold: 正文传输最小速率阈值,单位仅支持bps。
|
|
@@ -16692,9 +17243,9 @@ module TencentCloud
|
|
|
16692
17243
|
class ModifySecurityPolicyRequest < TencentCloud::Common::AbstractModel
|
|
16693
17244
|
# @param ZoneId: 站点 ID。
|
|
16694
17245
|
# @type ZoneId: String
|
|
16695
|
-
# @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
|
|
17246
|
+
# @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>
|
|
16696
17247
|
# @type SecurityConfig: :class:`Tencentcloud::Teo.v20220901.models.SecurityConfig`
|
|
16697
|
-
# @param SecurityPolicy: 安全策略配置。对 Web
|
|
17248
|
+
# @param SecurityPolicy: 安全策略配置。对 Web 例外规则、防护自定义策略、速率规则、托管规则和 Bot 管理配置建议使用,支持表达式语法对安全策略进行配置。
|
|
16698
17249
|
# @type SecurityPolicy: :class:`Tencentcloud::Teo.v20220901.models.SecurityPolicy`
|
|
16699
17250
|
# @param Entity: 安全策略类型,可使用以下参数值: <li>ZoneDefaultPolicy:用于指定站点级策略;</li><li>Template:用于指定策略模板,需要同时指定 TemplateId 参数;</li><li>Host:用于指定域名级策略(注意:当使用域名来指定域名服务策略时,仅支持已经应用了域名级策略的域名服务或者策略模板)。</li>
|
|
16700
17251
|
# @type Entity: String
|
|
@@ -17320,6 +17871,63 @@ module TencentCloud
|
|
|
17320
17871
|
end
|
|
17321
17872
|
end
|
|
17322
17873
|
|
|
17874
|
+
# NS 接入类型站点参数详情。
|
|
17875
|
+
class NSDetail < TencentCloud::Common::AbstractModel
|
|
17876
|
+
# @param CnameSpeedUp: 是否开启 CNAME 加速,取值有:
|
|
17877
|
+
# <li> enabled:开启;</li>
|
|
17878
|
+
# <li> disabled:关闭。</li>
|
|
17879
|
+
# @type CnameSpeedUp: String
|
|
17880
|
+
# @param IsFake: 是否存在同名站点,取值有:
|
|
17881
|
+
# <li> 0:不存在同名站点;</li>
|
|
17882
|
+
# <li> 1:已存在同名站点。</li>
|
|
17883
|
+
# @type IsFake: Integer
|
|
17884
|
+
# @param OwnershipVerification: 归属权验证信息。针对 NS 接入类型的站点,将当前的 NS 服务器切换至腾讯云 EdgeOne 指定的 NS 服务器,即视为通过归属权验证。详情请参考 [站点/域名归属权验证](https://cloud.tencent.com/document/product/1552/70789) 。
|
|
17885
|
+
# @type OwnershipVerification: :class:`Tencentcloud::Teo.v20220901.models.OwnershipVerification`
|
|
17886
|
+
# @param OriginalNameServers: 由 EdgeOne 检测到的站点当前正在使用的 NS 服务器列表。
|
|
17887
|
+
# @type OriginalNameServers: Array
|
|
17888
|
+
# @param NameServers: 腾讯云 EdgeOne 分配的 NS 服务器列表。需要将当前站点 NS 服务器指向该地址,站点才能生效。
|
|
17889
|
+
# @type NameServers: Array
|
|
17890
|
+
# @param VanityNameServers: 用户自定义 NS 服务器域名信息。如果启用了自定义 NS 服务,需要在域名注册厂商内将 NS 指向该地址。
|
|
17891
|
+
# @type VanityNameServers: :class:`Tencentcloud::Teo.v20220901.models.VanityNameServers`
|
|
17892
|
+
# @param VanityNameServersIps: 用户自定义 NS 服务器对应的 IP 地址信息。
|
|
17893
|
+
# @type VanityNameServersIps: Array
|
|
17894
|
+
|
|
17895
|
+
attr_accessor :CnameSpeedUp, :IsFake, :OwnershipVerification, :OriginalNameServers, :NameServers, :VanityNameServers, :VanityNameServersIps
|
|
17896
|
+
|
|
17897
|
+
def initialize(cnamespeedup=nil, isfake=nil, ownershipverification=nil, originalnameservers=nil, nameservers=nil, vanitynameservers=nil, vanitynameserversips=nil)
|
|
17898
|
+
@CnameSpeedUp = cnamespeedup
|
|
17899
|
+
@IsFake = isfake
|
|
17900
|
+
@OwnershipVerification = ownershipverification
|
|
17901
|
+
@OriginalNameServers = originalnameservers
|
|
17902
|
+
@NameServers = nameservers
|
|
17903
|
+
@VanityNameServers = vanitynameservers
|
|
17904
|
+
@VanityNameServersIps = vanitynameserversips
|
|
17905
|
+
end
|
|
17906
|
+
|
|
17907
|
+
def deserialize(params)
|
|
17908
|
+
@CnameSpeedUp = params['CnameSpeedUp']
|
|
17909
|
+
@IsFake = params['IsFake']
|
|
17910
|
+
unless params['OwnershipVerification'].nil?
|
|
17911
|
+
@OwnershipVerification = OwnershipVerification.new
|
|
17912
|
+
@OwnershipVerification.deserialize(params['OwnershipVerification'])
|
|
17913
|
+
end
|
|
17914
|
+
@OriginalNameServers = params['OriginalNameServers']
|
|
17915
|
+
@NameServers = params['NameServers']
|
|
17916
|
+
unless params['VanityNameServers'].nil?
|
|
17917
|
+
@VanityNameServers = VanityNameServers.new
|
|
17918
|
+
@VanityNameServers.deserialize(params['VanityNameServers'])
|
|
17919
|
+
end
|
|
17920
|
+
unless params['VanityNameServersIps'].nil?
|
|
17921
|
+
@VanityNameServersIps = []
|
|
17922
|
+
params['VanityNameServersIps'].each do |i|
|
|
17923
|
+
vanitynameserversips_tmp = VanityNameServersIps.new
|
|
17924
|
+
vanitynameserversips_tmp.deserialize(i)
|
|
17925
|
+
@VanityNameServersIps << vanitynameserversips_tmp
|
|
17926
|
+
end
|
|
17927
|
+
end
|
|
17928
|
+
end
|
|
17929
|
+
end
|
|
17930
|
+
|
|
17323
17931
|
# 当回源 IP 网段发生更新时,该字段会返回下一个版本将要生效的回源 IP 网段,包含与当前生效的回源 IP 网段的对比。
|
|
17324
17932
|
class NextOriginACL < TencentCloud::Common::AbstractModel
|
|
17325
17933
|
# @param Version: 版本号。
|
|
@@ -20360,6 +20968,36 @@ module TencentCloud
|
|
|
20360
20968
|
end
|
|
20361
20969
|
end
|
|
20362
20970
|
|
|
20971
|
+
# 搜索引擎规则配置。
|
|
20972
|
+
class SearchEngineBots < TencentCloud::Common::AbstractModel
|
|
20973
|
+
# @param BaseAction: 来自搜索引擎爬虫的请求的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Disabled:未启用,不启用指定规则;</li><li>Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge;</li><li>Allow:放行(待废弃)。</li>
|
|
20974
|
+
# @type BaseAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
20975
|
+
# @param BotManagementActionOverrides: 指定搜索引擎爬虫请求的处置方式。
|
|
20976
|
+
# @type BotManagementActionOverrides: Array
|
|
20977
|
+
|
|
20978
|
+
attr_accessor :BaseAction, :BotManagementActionOverrides
|
|
20979
|
+
|
|
20980
|
+
def initialize(baseaction=nil, botmanagementactionoverrides=nil)
|
|
20981
|
+
@BaseAction = baseaction
|
|
20982
|
+
@BotManagementActionOverrides = botmanagementactionoverrides
|
|
20983
|
+
end
|
|
20984
|
+
|
|
20985
|
+
def deserialize(params)
|
|
20986
|
+
unless params['BaseAction'].nil?
|
|
20987
|
+
@BaseAction = SecurityAction.new
|
|
20988
|
+
@BaseAction.deserialize(params['BaseAction'])
|
|
20989
|
+
end
|
|
20990
|
+
unless params['BotManagementActionOverrides'].nil?
|
|
20991
|
+
@BotManagementActionOverrides = []
|
|
20992
|
+
params['BotManagementActionOverrides'].each do |i|
|
|
20993
|
+
botmanagementactionoverrides_tmp = BotManagementActionOverrides.new
|
|
20994
|
+
botmanagementactionoverrides_tmp.deserialize(i)
|
|
20995
|
+
@BotManagementActionOverrides << botmanagementactionoverrides_tmp
|
|
20996
|
+
end
|
|
20997
|
+
end
|
|
20998
|
+
end
|
|
20999
|
+
end
|
|
21000
|
+
|
|
20363
21001
|
# 安全数据Entry返回值
|
|
20364
21002
|
class SecEntry < TencentCloud::Common::AbstractModel
|
|
20365
21003
|
# @param Key: 查询维度值。
|
|
@@ -20435,6 +21073,7 @@ module TencentCloud
|
|
|
20435
21073
|
# <li>Disabled:未启用,不启用指定规则;</li>
|
|
20436
21074
|
# <li>Allow:允许访问,但延迟处理请求;</li>
|
|
20437
21075
|
# <li>Challenge:挑战,响应挑战内容;</li>
|
|
21076
|
+
# <li>Trans:放行,允许请求直接访问站点资源;</li>
|
|
20438
21077
|
# <li>BlockIP:待废弃,IP 封禁;</li>
|
|
20439
21078
|
# <li>ReturnCustomPage:待废弃,使用指定页面拦截;</li>
|
|
20440
21079
|
# <li>JSChallenge:待废弃,JavaScript 挑战;</li>
|
|
@@ -20717,6 +21356,29 @@ module TencentCloud
|
|
|
20717
21356
|
end
|
|
20718
21357
|
end
|
|
20719
21358
|
|
|
21359
|
+
# 按权重分配的 SecurityAction。
|
|
21360
|
+
class SecurityWeightedAction < TencentCloud::Common::AbstractModel
|
|
21361
|
+
# @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>
|
|
21362
|
+
# @type SecurityAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
21363
|
+
# @param Weight: 当前 SecurityAction 的权重,仅支持 10 ~ 100 且必须为 10 的倍数,其中 Weight 参数全部相加须等于 100。
|
|
21364
|
+
# @type Weight: Integer
|
|
21365
|
+
|
|
21366
|
+
attr_accessor :SecurityAction, :Weight
|
|
21367
|
+
|
|
21368
|
+
def initialize(securityaction=nil, weight=nil)
|
|
21369
|
+
@SecurityAction = securityaction
|
|
21370
|
+
@Weight = weight
|
|
21371
|
+
end
|
|
21372
|
+
|
|
21373
|
+
def deserialize(params)
|
|
21374
|
+
unless params['SecurityAction'].nil?
|
|
21375
|
+
@SecurityAction = SecurityAction.new
|
|
21376
|
+
@SecurityAction.deserialize(params['SecurityAction'])
|
|
21377
|
+
end
|
|
21378
|
+
@Weight = params['Weight']
|
|
21379
|
+
end
|
|
21380
|
+
end
|
|
21381
|
+
|
|
20720
21382
|
# https 服务端证书配置
|
|
20721
21383
|
class ServerCertInfo < TencentCloud::Common::AbstractModel
|
|
20722
21384
|
# @param CertId: 服务器证书 ID。来源于 SSL 侧,您可以前往 [SSL 证书列表](https://console.cloud.tencent.com/ssl) 查看 CertId。
|
|
@@ -20760,6 +21422,43 @@ module TencentCloud
|
|
|
20760
21422
|
end
|
|
20761
21423
|
end
|
|
20762
21424
|
|
|
21425
|
+
# 会话速率和周期特征校验配置。
|
|
21426
|
+
class SessionRateControl < TencentCloud::Common::AbstractModel
|
|
21427
|
+
# @param Enabled: 会话速率和周期特征校验配置是否开启。取值有:<li>on:启用</li><li>off:关闭</li>
|
|
21428
|
+
# @type Enabled: String
|
|
21429
|
+
# @param HighRateSessionAction: 会话速率和周期特征校验高风险的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截,其中 DenyActionParameters 中支持 Stall 配置;</li><li>Monitor:观察;</li><li>Allow:等待后响应,其中 AllowActionParameters 需要 MinDelayTime 和 MaxDelayTime 配置。</li>
|
|
21430
|
+
# @type HighRateSessionAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
21431
|
+
# @param MidRateSessionAction: 会话速率和周期特征校验中风险的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截,其中 DenyActionParameters 中支持 Stall 配置;</li><li>Monitor:观察;</li><li>Allow:等待后响应,其中 AllowActionParameters 需要 MinDelayTime 和 MaxDelayTime 配置。</li>
|
|
21432
|
+
# @type MidRateSessionAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
21433
|
+
# @param LowRateSessionAction: 会话速率和周期特征校验低风险的执行动作。 SecurityAction 的 Name 取值支持:<li>Deny:拦截,其中 DenyActionParameters 中支持 Stall 配置;</li><li>Monitor:观察;</li><li>Allow:等待后响应,其中 AllowActionParameters 需要 MinDelayTime 和 MaxDelayTime 配置。</li>
|
|
21434
|
+
# @type LowRateSessionAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
21435
|
+
|
|
21436
|
+
attr_accessor :Enabled, :HighRateSessionAction, :MidRateSessionAction, :LowRateSessionAction
|
|
21437
|
+
|
|
21438
|
+
def initialize(enabled=nil, highratesessionaction=nil, midratesessionaction=nil, lowratesessionaction=nil)
|
|
21439
|
+
@Enabled = enabled
|
|
21440
|
+
@HighRateSessionAction = highratesessionaction
|
|
21441
|
+
@MidRateSessionAction = midratesessionaction
|
|
21442
|
+
@LowRateSessionAction = lowratesessionaction
|
|
21443
|
+
end
|
|
21444
|
+
|
|
21445
|
+
def deserialize(params)
|
|
21446
|
+
@Enabled = params['Enabled']
|
|
21447
|
+
unless params['HighRateSessionAction'].nil?
|
|
21448
|
+
@HighRateSessionAction = SecurityAction.new
|
|
21449
|
+
@HighRateSessionAction.deserialize(params['HighRateSessionAction'])
|
|
21450
|
+
end
|
|
21451
|
+
unless params['MidRateSessionAction'].nil?
|
|
21452
|
+
@MidRateSessionAction = SecurityAction.new
|
|
21453
|
+
@MidRateSessionAction.deserialize(params['MidRateSessionAction'])
|
|
21454
|
+
end
|
|
21455
|
+
unless params['LowRateSessionAction'].nil?
|
|
21456
|
+
@LowRateSessionAction = SecurityAction.new
|
|
21457
|
+
@LowRateSessionAction.deserialize(params['LowRateSessionAction'])
|
|
21458
|
+
end
|
|
21459
|
+
end
|
|
21460
|
+
end
|
|
21461
|
+
|
|
20763
21462
|
# 内容标识配置参数。
|
|
20764
21463
|
class SetContentIdentifierParameters < TencentCloud::Common::AbstractModel
|
|
20765
21464
|
# @param ContentIdentifier: 内容标识id
|
|
@@ -20970,6 +21669,36 @@ module TencentCloud
|
|
|
20970
21669
|
end
|
|
20971
21670
|
end
|
|
20972
21671
|
|
|
21672
|
+
# IDC 规则配置的具体内容。
|
|
21673
|
+
class SourceIDC < TencentCloud::Common::AbstractModel
|
|
21674
|
+
# @param BaseAction: 来自指定 IDC 请求的处置方式。 SecurityAction 的 Name 取值支持:<li>Deny:拦截;</li><li>Monitor:观察;</li><li>Disabled:未启用,不启用指定规则;</li><li>Challenge:挑战,其中 ChallengeActionParameters 中的 ChallengeOption 支持 JSChallenge 和 ManagedChallenge;</li><li>Allow:放行(待废弃)。</li>
|
|
21675
|
+
# @type BaseAction: :class:`Tencentcloud::Teo.v20220901.models.SecurityAction`
|
|
21676
|
+
# @param BotManagementActionOverrides: 指定 IDC 请求的处置方式。
|
|
21677
|
+
# @type BotManagementActionOverrides: Array
|
|
21678
|
+
|
|
21679
|
+
attr_accessor :BaseAction, :BotManagementActionOverrides
|
|
21680
|
+
|
|
21681
|
+
def initialize(baseaction=nil, botmanagementactionoverrides=nil)
|
|
21682
|
+
@BaseAction = baseaction
|
|
21683
|
+
@BotManagementActionOverrides = botmanagementactionoverrides
|
|
21684
|
+
end
|
|
21685
|
+
|
|
21686
|
+
def deserialize(params)
|
|
21687
|
+
unless params['BaseAction'].nil?
|
|
21688
|
+
@BaseAction = SecurityAction.new
|
|
21689
|
+
@BaseAction.deserialize(params['BaseAction'])
|
|
21690
|
+
end
|
|
21691
|
+
unless params['BotManagementActionOverrides'].nil?
|
|
21692
|
+
@BotManagementActionOverrides = []
|
|
21693
|
+
params['BotManagementActionOverrides'].each do |i|
|
|
21694
|
+
botmanagementactionoverrides_tmp = BotManagementActionOverrides.new
|
|
21695
|
+
botmanagementactionoverrides_tmp.deserialize(i)
|
|
21696
|
+
@BotManagementActionOverrides << botmanagementactionoverrides_tmp
|
|
21697
|
+
end
|
|
21698
|
+
end
|
|
21699
|
+
end
|
|
21700
|
+
end
|
|
21701
|
+
|
|
20973
21702
|
# 支持标准debug结构体
|
|
20974
21703
|
class StandardDebug < TencentCloud::Common::AbstractModel
|
|
20975
21704
|
# @param Switch: Debug 功能开关,取值有:
|
|
@@ -22112,16 +22841,40 @@ module TencentCloud
|
|
|
22112
22841
|
end
|
|
22113
22842
|
end
|
|
22114
22843
|
|
|
22115
|
-
#
|
|
22844
|
+
# 站点详情。
|
|
22116
22845
|
class Zone < TencentCloud::Common::AbstractModel
|
|
22117
22846
|
# @param ZoneId: 站点 ID。
|
|
22118
22847
|
# @type ZoneId: String
|
|
22119
22848
|
# @param ZoneName: 站点名称。
|
|
22120
22849
|
# @type ZoneName: String
|
|
22121
|
-
# @param
|
|
22122
|
-
# @type
|
|
22123
|
-
# @param
|
|
22124
|
-
#
|
|
22850
|
+
# @param AliasZoneName: 同名站点标识。允许输入数字、英文、"." 、"-" 和 "_" 组合,长度 200 个字符以内。
|
|
22851
|
+
# @type AliasZoneName: String
|
|
22852
|
+
# @param Area: 站点加速区域,取值有:
|
|
22853
|
+
# <li> global:全球可用区;</li>
|
|
22854
|
+
# <li> mainland:中国大陆可用区;</li>
|
|
22855
|
+
# <li> overseas:全球可用区(不含中国大陆)。</li>
|
|
22856
|
+
# @type Area: String
|
|
22857
|
+
# @param Type: 站点接入类型,取值有:
|
|
22858
|
+
# <li> full:NS 接入类型;</li>
|
|
22859
|
+
# <li> partial:CNAME 接入类型;</li>
|
|
22860
|
+
# <li> noDomainAccess:无域名接入类型;</li>
|
|
22861
|
+
# <li>dnsPodAccess:DNSPod 托管类型,该类型要求您的域名已托管在腾讯云 DNSPod;</li>
|
|
22862
|
+
# <li> pages:Pages 类型。</li>
|
|
22863
|
+
# @type Type: String
|
|
22864
|
+
# @param Tags: 站点关联的标签。
|
|
22865
|
+
# @type Tags: Array
|
|
22866
|
+
# @param Resources: 计费资源列表。
|
|
22867
|
+
# @type Resources: Array
|
|
22868
|
+
# @param NSDetail: NS 类型站点详情。仅当 Type = full 时返回值。
|
|
22869
|
+
# @type NSDetail: :class:`Tencentcloud::Teo.v20220901.models.NSDetail`
|
|
22870
|
+
# @param CNAMEDetail: CNAME 类型站点详情。仅当 Type = partial 时返回值。
|
|
22871
|
+
# @type CNAMEDetail: :class:`Tencentcloud::Teo.v20220901.models.CNAMEDetail`
|
|
22872
|
+
# @param DNSPodDetail: DNSPod 托管类型站点详情。仅当 Type = dnsPodAccess 时返回值。
|
|
22873
|
+
# @type DNSPodDetail: :class:`Tencentcloud::Teo.v20220901.models.DNSPodDetail`
|
|
22874
|
+
# @param CreatedOn: 站点创建时间。
|
|
22875
|
+
# @type CreatedOn: String
|
|
22876
|
+
# @param ModifiedOn: 站点修改时间。
|
|
22877
|
+
# @type ModifiedOn: String
|
|
22125
22878
|
# @param Status: 站点状态,取值有:
|
|
22126
22879
|
# <li> active:NS 已切换; </li>
|
|
22127
22880
|
# <li> pending:NS 未切换;</li>
|
|
@@ -22129,93 +22882,76 @@ module TencentCloud
|
|
|
22129
22882
|
# <li> deactivated:被封禁。 </li>
|
|
22130
22883
|
# <li> initializing:待绑定套餐。 </li>
|
|
22131
22884
|
# @type Status: String
|
|
22132
|
-
# @param Type: 站点接入方式,取值有:
|
|
22133
|
-
# <li> full:NS 接入;</li>
|
|
22134
|
-
# <li> partial:CNAME 接入;</li>
|
|
22135
|
-
# <li> noDomainAccess:无域名接入;</li>
|
|
22136
|
-
# @type Type: String
|
|
22137
|
-
# @param Paused: 站点是否关闭。
|
|
22138
|
-
# @type Paused: Boolean
|
|
22139
|
-
# @param CnameSpeedUp: 是否开启 CNAME 加速,取值有:
|
|
22140
|
-
# <li> enabled:开启;</li>
|
|
22141
|
-
# <li> disabled:关闭。</li>
|
|
22142
|
-
# @type CnameSpeedUp: String
|
|
22143
22885
|
# @param CnameStatus: CNAME 接入状态,取值有:
|
|
22144
22886
|
# <li> finished:站点已验证;</li>
|
|
22145
22887
|
# <li> pending:站点验证中。</li>
|
|
22146
22888
|
# @type CnameStatus: String
|
|
22147
|
-
# @param Tags: 资源标签列表。
|
|
22148
|
-
# @type Tags: Array
|
|
22149
|
-
# @param Resources: 计费资源列表。
|
|
22150
|
-
# @type Resources: Array
|
|
22151
|
-
# @param CreatedOn: 站点创建时间。
|
|
22152
|
-
# @type CreatedOn: String
|
|
22153
|
-
# @param ModifiedOn: 站点修改时间。
|
|
22154
|
-
# @type ModifiedOn: String
|
|
22155
|
-
# @param Area: 站点接入地域,取值有:
|
|
22156
|
-
# <li> global:全球;</li>
|
|
22157
|
-
# <li> mainland:中国大陆;</li>
|
|
22158
|
-
# <li> overseas:境外区域。</li>
|
|
22159
|
-
# @type Area: String
|
|
22160
|
-
# @param VanityNameServers: 用户自定义 NS 信息。
|
|
22161
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
22162
|
-
# @type VanityNameServers: :class:`Tencentcloud::Teo.v20220901.models.VanityNameServers`
|
|
22163
|
-
# @param VanityNameServersIps: 用户自定义 NS IP 信息。
|
|
22164
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
22165
|
-
# @type VanityNameServersIps: Array
|
|
22166
22889
|
# @param ActiveStatus: 展示状态,取值有:
|
|
22167
22890
|
# <li> active:已启用;</li>
|
|
22168
22891
|
# <li> inactive:未生效;</li>
|
|
22169
22892
|
# <li> paused:已停用。</li>
|
|
22170
22893
|
# @type ActiveStatus: String
|
|
22171
|
-
# @param
|
|
22172
|
-
# @type
|
|
22173
|
-
# @param
|
|
22894
|
+
# @param LockStatus: 锁定状态,取值有:<li> enable:正常,允许进行修改操作;</li><li> disable:锁定中,不允许进行修改操作;</li><li> plan_migrate:套餐迁移中,不允许进行修改操作。</li>
|
|
22895
|
+
# @type LockStatus: String
|
|
22896
|
+
# @param Paused: 站点是否关闭。
|
|
22897
|
+
# @type Paused: Boolean
|
|
22898
|
+
# @param IsFake: 是否伪站点(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段),取值有:
|
|
22174
22899
|
# <li> 0:非伪站点;</li>
|
|
22175
22900
|
# <li> 1:伪站点。</li>
|
|
22176
22901
|
# @type IsFake: Integer
|
|
22177
|
-
# @param
|
|
22178
|
-
#
|
|
22179
|
-
#
|
|
22902
|
+
# @param CnameSpeedUp: 是否开启 CNAME 加速(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段),取值有:
|
|
22903
|
+
# <li> enabled:开启;</li>
|
|
22904
|
+
# <li> disabled:关闭。</li>
|
|
22905
|
+
# @type CnameSpeedUp: String
|
|
22906
|
+
# @param OwnershipVerification: 归属权验证信息。(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段)
|
|
22180
22907
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
22181
22908
|
# @type OwnershipVerification: :class:`Tencentcloud::Teo.v20220901.models.OwnershipVerification`
|
|
22909
|
+
# @param OriginalNameServers: 站点当前使用的 NS 列表。(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段)
|
|
22910
|
+
# @type OriginalNameServers: Array
|
|
22911
|
+
# @param NameServers: 腾讯云分配的 NS 列表。(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段)
|
|
22912
|
+
# @type NameServers: Array
|
|
22913
|
+
# @param VanityNameServers: 用户自定义 NS 信息。(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段)
|
|
22914
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
22915
|
+
# @type VanityNameServers: :class:`Tencentcloud::Teo.v20220901.models.VanityNameServers`
|
|
22916
|
+
# @param VanityNameServersIps: 用户自定义 NS IP 信息。(该字段为历史保留字段,已不再维护,请根据站点类型参考对应字段)
|
|
22917
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
|
22918
|
+
# @type VanityNameServersIps: Array
|
|
22182
22919
|
|
|
22183
|
-
attr_accessor :ZoneId, :ZoneName, :
|
|
22920
|
+
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
|
|
22184
22921
|
|
|
22185
|
-
def initialize(zoneid=nil, zonename=nil,
|
|
22922
|
+
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)
|
|
22186
22923
|
@ZoneId = zoneid
|
|
22187
22924
|
@ZoneName = zonename
|
|
22188
|
-
@
|
|
22189
|
-
@
|
|
22190
|
-
@Status = status
|
|
22925
|
+
@AliasZoneName = aliaszonename
|
|
22926
|
+
@Area = area
|
|
22191
22927
|
@Type = type
|
|
22192
|
-
@Paused = paused
|
|
22193
|
-
@CnameSpeedUp = cnamespeedup
|
|
22194
|
-
@CnameStatus = cnamestatus
|
|
22195
22928
|
@Tags = tags
|
|
22196
22929
|
@Resources = resources
|
|
22930
|
+
@NSDetail = nsdetail
|
|
22931
|
+
@CNAMEDetail = cnamedetail
|
|
22932
|
+
@DNSPodDetail = dnspoddetail
|
|
22197
22933
|
@CreatedOn = createdon
|
|
22198
22934
|
@ModifiedOn = modifiedon
|
|
22199
|
-
@
|
|
22200
|
-
@
|
|
22201
|
-
@VanityNameServersIps = vanitynameserversips
|
|
22935
|
+
@Status = status
|
|
22936
|
+
@CnameStatus = cnamestatus
|
|
22202
22937
|
@ActiveStatus = activestatus
|
|
22203
|
-
@AliasZoneName = aliaszonename
|
|
22204
|
-
@IsFake = isfake
|
|
22205
22938
|
@LockStatus = lockstatus
|
|
22939
|
+
@Paused = paused
|
|
22940
|
+
@IsFake = isfake
|
|
22941
|
+
@CnameSpeedUp = cnamespeedup
|
|
22206
22942
|
@OwnershipVerification = ownershipverification
|
|
22943
|
+
@OriginalNameServers = originalnameservers
|
|
22944
|
+
@NameServers = nameservers
|
|
22945
|
+
@VanityNameServers = vanitynameservers
|
|
22946
|
+
@VanityNameServersIps = vanitynameserversips
|
|
22207
22947
|
end
|
|
22208
22948
|
|
|
22209
22949
|
def deserialize(params)
|
|
22210
22950
|
@ZoneId = params['ZoneId']
|
|
22211
22951
|
@ZoneName = params['ZoneName']
|
|
22212
|
-
@
|
|
22213
|
-
@
|
|
22214
|
-
@Status = params['Status']
|
|
22952
|
+
@AliasZoneName = params['AliasZoneName']
|
|
22953
|
+
@Area = params['Area']
|
|
22215
22954
|
@Type = params['Type']
|
|
22216
|
-
@Paused = params['Paused']
|
|
22217
|
-
@CnameSpeedUp = params['CnameSpeedUp']
|
|
22218
|
-
@CnameStatus = params['CnameStatus']
|
|
22219
22955
|
unless params['Tags'].nil?
|
|
22220
22956
|
@Tags = []
|
|
22221
22957
|
params['Tags'].each do |i|
|
|
@@ -22232,9 +22968,33 @@ module TencentCloud
|
|
|
22232
22968
|
@Resources << resource_tmp
|
|
22233
22969
|
end
|
|
22234
22970
|
end
|
|
22971
|
+
unless params['NSDetail'].nil?
|
|
22972
|
+
@NSDetail = NSDetail.new
|
|
22973
|
+
@NSDetail.deserialize(params['NSDetail'])
|
|
22974
|
+
end
|
|
22975
|
+
unless params['CNAMEDetail'].nil?
|
|
22976
|
+
@CNAMEDetail = CNAMEDetail.new
|
|
22977
|
+
@CNAMEDetail.deserialize(params['CNAMEDetail'])
|
|
22978
|
+
end
|
|
22979
|
+
unless params['DNSPodDetail'].nil?
|
|
22980
|
+
@DNSPodDetail = DNSPodDetail.new
|
|
22981
|
+
@DNSPodDetail.deserialize(params['DNSPodDetail'])
|
|
22982
|
+
end
|
|
22235
22983
|
@CreatedOn = params['CreatedOn']
|
|
22236
22984
|
@ModifiedOn = params['ModifiedOn']
|
|
22237
|
-
@
|
|
22985
|
+
@Status = params['Status']
|
|
22986
|
+
@CnameStatus = params['CnameStatus']
|
|
22987
|
+
@ActiveStatus = params['ActiveStatus']
|
|
22988
|
+
@LockStatus = params['LockStatus']
|
|
22989
|
+
@Paused = params['Paused']
|
|
22990
|
+
@IsFake = params['IsFake']
|
|
22991
|
+
@CnameSpeedUp = params['CnameSpeedUp']
|
|
22992
|
+
unless params['OwnershipVerification'].nil?
|
|
22993
|
+
@OwnershipVerification = OwnershipVerification.new
|
|
22994
|
+
@OwnershipVerification.deserialize(params['OwnershipVerification'])
|
|
22995
|
+
end
|
|
22996
|
+
@OriginalNameServers = params['OriginalNameServers']
|
|
22997
|
+
@NameServers = params['NameServers']
|
|
22238
22998
|
unless params['VanityNameServers'].nil?
|
|
22239
22999
|
@VanityNameServers = VanityNameServers.new
|
|
22240
23000
|
@VanityNameServers.deserialize(params['VanityNameServers'])
|
|
@@ -22247,14 +23007,6 @@ module TencentCloud
|
|
|
22247
23007
|
@VanityNameServersIps << vanitynameserversips_tmp
|
|
22248
23008
|
end
|
|
22249
23009
|
end
|
|
22250
|
-
@ActiveStatus = params['ActiveStatus']
|
|
22251
|
-
@AliasZoneName = params['AliasZoneName']
|
|
22252
|
-
@IsFake = params['IsFake']
|
|
22253
|
-
@LockStatus = params['LockStatus']
|
|
22254
|
-
unless params['OwnershipVerification'].nil?
|
|
22255
|
-
@OwnershipVerification = OwnershipVerification.new
|
|
22256
|
-
@OwnershipVerification.deserialize(params['OwnershipVerification'])
|
|
22257
|
-
end
|
|
22258
23010
|
end
|
|
22259
23011
|
end
|
|
22260
23012
|
|