tencentcloud-sdk-teo 3.0.387 → 3.0.396
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/v20220106/client.rb +192 -0
- data/lib/v20220106/models.rb +1552 -318
- metadata +2 -2
data/lib/v20220106/models.rb
CHANGED
@@ -220,10 +220,21 @@ module TencentCloud
|
|
220
220
|
# @type HostId: String
|
221
221
|
# @param Ipv6: Ipv6访问配置。
|
222
222
|
# @type Ipv6: :class:`Tencentcloud::Teo.v20220106.models.Ipv6Access`
|
223
|
-
|
224
|
-
|
225
|
-
|
226
|
-
|
223
|
+
# @param Area: 加速区域,取值有:
|
224
|
+
# <li>mainland:中国大陆境内;</li>
|
225
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
226
|
+
# 默认值:overseas
|
227
|
+
# @type Area: String
|
228
|
+
# @param BanStatus: 封禁状态,取值有:
|
229
|
+
# <li>banned:已封禁;</li>
|
230
|
+
# <li>banning:封禁中;</li>
|
231
|
+
# <li>recover:已解封;</li>
|
232
|
+
# <li>recovering:解封禁中。</li>
|
233
|
+
# @type BanStatus: String
|
234
|
+
|
235
|
+
attr_accessor :ProxyId, :ProxyName, :PlatType, :SecurityType, :AccelerateType, :ForwardClientIp, :SessionPersist, :Rule, :Status, :ScheduleValue, :UpdateTime, :ZoneId, :ZoneName, :SessionPersistTime, :ProxyType, :HostId, :Ipv6, :Area, :BanStatus
|
236
|
+
|
237
|
+
def initialize(proxyid=nil, proxyname=nil, plattype=nil, securitytype=nil, acceleratetype=nil, forwardclientip=nil, sessionpersist=nil, rule=nil, status=nil, schedulevalue=nil, updatetime=nil, zoneid=nil, zonename=nil, sessionpersisttime=nil, proxytype=nil, hostid=nil, ipv6=nil, area=nil, banstatus=nil)
|
227
238
|
@ProxyId = proxyid
|
228
239
|
@ProxyName = proxyname
|
229
240
|
@PlatType = plattype
|
@@ -241,6 +252,8 @@ module TencentCloud
|
|
241
252
|
@ProxyType = proxytype
|
242
253
|
@HostId = hostid
|
243
254
|
@Ipv6 = ipv6
|
255
|
+
@Area = area
|
256
|
+
@BanStatus = banstatus
|
244
257
|
end
|
245
258
|
|
246
259
|
def deserialize(params)
|
@@ -271,6 +284,8 @@ module TencentCloud
|
|
271
284
|
@Ipv6 = Ipv6Access.new
|
272
285
|
@Ipv6.deserialize(params['Ipv6'])
|
273
286
|
end
|
287
|
+
@Area = params['Area']
|
288
|
+
@BanStatus = params['BanStatus']
|
274
289
|
end
|
275
290
|
end
|
276
291
|
|
@@ -297,7 +312,6 @@ module TencentCloud
|
|
297
312
|
# OriginValue=["origin-537f5b41-162a-11ed-abaa-525400c5da15"]。
|
298
313
|
# @type OriginValue: Array
|
299
314
|
# @param RuleId: 规则ID。
|
300
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
301
315
|
# @type RuleId: String
|
302
316
|
# @param Status: 状态,取值有:
|
303
317
|
# <li>online:启用;</li>
|
@@ -926,7 +940,6 @@ module TencentCloud
|
|
926
940
|
# @param Switch: 缓存配置开关,取值有:
|
927
941
|
# <li>on:开启;</li>
|
928
942
|
# <li>off:关闭。</li>
|
929
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
930
943
|
# @type Switch: String
|
931
944
|
# @param CacheTime: 缓存过期时间设置。
|
932
945
|
# 单位为秒,最大可设置为 365 天。
|
@@ -958,7 +971,6 @@ module TencentCloud
|
|
958
971
|
# @param Switch: 遵循源站配置开关,取值有:
|
959
972
|
# <li>on:开启;</li>
|
960
973
|
# <li>off:关闭。</li>
|
961
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
962
974
|
# @type Switch: String
|
963
975
|
|
964
976
|
attr_accessor :Switch
|
@@ -977,7 +989,6 @@ module TencentCloud
|
|
977
989
|
# @param Switch: 不缓存配置开关,取值有:
|
978
990
|
# <li>on:开启;</li>
|
979
991
|
# <li>off:关闭。</li>
|
980
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
981
992
|
# @type Switch: String
|
982
993
|
|
983
994
|
attr_accessor :Switch
|
@@ -1141,7 +1152,6 @@ module TencentCloud
|
|
1141
1152
|
# @param Switch: 配置开关,取值有:
|
1142
1153
|
# <li>on:开启;</li>
|
1143
1154
|
# <li>off:关闭。</li>
|
1144
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1145
1155
|
# @type Switch: String
|
1146
1156
|
# @param HeaderName: 回源时,存放客户端IP的请求头名称。
|
1147
1157
|
# 为空则使用默认值:X-Forwarded-IP。
|
@@ -1220,8 +1230,6 @@ module TencentCloud
|
|
1220
1230
|
# @type ZoneId: String
|
1221
1231
|
# @param ZoneName: 站点名称。
|
1222
1232
|
# @type ZoneName: String
|
1223
|
-
# @param Rule: 规则详细信息。
|
1224
|
-
# @type Rule: Array
|
1225
1233
|
# @param ProxyName: 当ProxyType=hostname时,表示域名或子域名;
|
1226
1234
|
# 当ProxyType=instance时,表示代理名称。
|
1227
1235
|
# @type ProxyName: String
|
@@ -1241,6 +1249,8 @@ module TencentCloud
|
|
1241
1249
|
# @type SessionPersist: Boolean
|
1242
1250
|
# @param ForwardClientIp: 字段已经废弃。
|
1243
1251
|
# @type ForwardClientIp: String
|
1252
|
+
# @param Rule: 规则详细信息。
|
1253
|
+
# @type Rule: Array
|
1244
1254
|
# @param ProxyType: 四层代理模式,取值有:
|
1245
1255
|
# <li>hostname:表示子域名模式;</li>
|
1246
1256
|
# <li>instance:表示实例模式。</li>不填写使用默认值instance。
|
@@ -1252,18 +1262,18 @@ module TencentCloud
|
|
1252
1262
|
# 不填写表示关闭Ipv6访问。
|
1253
1263
|
# @type Ipv6: :class:`Tencentcloud::Teo.v20220106.models.Ipv6Access`
|
1254
1264
|
|
1255
|
-
attr_accessor :ZoneId, :ZoneName, :
|
1265
|
+
attr_accessor :ZoneId, :ZoneName, :ProxyName, :PlatType, :SecurityType, :AccelerateType, :SessionPersist, :ForwardClientIp, :Rule, :ProxyType, :SessionPersistTime, :Ipv6
|
1256
1266
|
|
1257
|
-
def initialize(zoneid=nil, zonename=nil,
|
1267
|
+
def initialize(zoneid=nil, zonename=nil, proxyname=nil, plattype=nil, securitytype=nil, acceleratetype=nil, sessionpersist=nil, forwardclientip=nil, rule=nil, proxytype=nil, sessionpersisttime=nil, ipv6=nil)
|
1258
1268
|
@ZoneId = zoneid
|
1259
1269
|
@ZoneName = zonename
|
1260
|
-
@Rule = rule
|
1261
1270
|
@ProxyName = proxyname
|
1262
1271
|
@PlatType = plattype
|
1263
1272
|
@SecurityType = securitytype
|
1264
1273
|
@AccelerateType = acceleratetype
|
1265
1274
|
@SessionPersist = sessionpersist
|
1266
1275
|
@ForwardClientIp = forwardclientip
|
1276
|
+
@Rule = rule
|
1267
1277
|
@ProxyType = proxytype
|
1268
1278
|
@SessionPersistTime = sessionpersisttime
|
1269
1279
|
@Ipv6 = ipv6
|
@@ -1272,6 +1282,12 @@ module TencentCloud
|
|
1272
1282
|
def deserialize(params)
|
1273
1283
|
@ZoneId = params['ZoneId']
|
1274
1284
|
@ZoneName = params['ZoneName']
|
1285
|
+
@ProxyName = params['ProxyName']
|
1286
|
+
@PlatType = params['PlatType']
|
1287
|
+
@SecurityType = params['SecurityType']
|
1288
|
+
@AccelerateType = params['AccelerateType']
|
1289
|
+
@SessionPersist = params['SessionPersist']
|
1290
|
+
@ForwardClientIp = params['ForwardClientIp']
|
1275
1291
|
unless params['Rule'].nil?
|
1276
1292
|
@Rule = []
|
1277
1293
|
params['Rule'].each do |i|
|
@@ -1280,12 +1296,6 @@ module TencentCloud
|
|
1280
1296
|
@Rule << applicationproxyrule_tmp
|
1281
1297
|
end
|
1282
1298
|
end
|
1283
|
-
@ProxyName = params['ProxyName']
|
1284
|
-
@PlatType = params['PlatType']
|
1285
|
-
@SecurityType = params['SecurityType']
|
1286
|
-
@AccelerateType = params['AccelerateType']
|
1287
|
-
@SessionPersist = params['SessionPersist']
|
1288
|
-
@ForwardClientIp = params['ForwardClientIp']
|
1289
1299
|
@ProxyType = params['ProxyType']
|
1290
1300
|
@SessionPersistTime = params['SessionPersistTime']
|
1291
1301
|
unless params['Ipv6'].nil?
|
@@ -1727,6 +1737,58 @@ module TencentCloud
|
|
1727
1737
|
end
|
1728
1738
|
end
|
1729
1739
|
|
1740
|
+
# CreatePlanForZone请求参数结构体
|
1741
|
+
class CreatePlanForZoneRequest < TencentCloud::Common::AbstractModel
|
1742
|
+
# @param ZoneId: 站点ID。
|
1743
|
+
# @type ZoneId: String
|
1744
|
+
# @param PlanType: 所要购买套餐的类型,取值有:
|
1745
|
+
# <li> sta: 全球内容分发网络(不包括中国大陆)标准版套餐; </li>
|
1746
|
+
# <li> sta_with_bot: 全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;</li>
|
1747
|
+
# <li> sta_cm: 中国大陆内容分发网络标准版套餐; </li>
|
1748
|
+
# <li> sta_cm_with_bot: 中国大陆内容分发网络标准版套餐附带bot管理;</li>
|
1749
|
+
# <li> ent: 全球内容分发网络(不包括中国大陆)企业版套餐; </li>
|
1750
|
+
# <li> ent_with_bot: 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li>
|
1751
|
+
# <li> ent_cm: 中国大陆内容分发网络企业版套餐; </li>
|
1752
|
+
# <li> ent_cm_with_bot: 中国大陆内容分发网络企业版套餐附带bot管理。</li>当前账户可购买套餐类型请以<a href="https://tcloud4api.woa.com/document/product/1657/80124?!preview&!document=1">DescribeAvailablePlans</a>返回为准。
|
1753
|
+
# @type PlanType: String
|
1754
|
+
|
1755
|
+
attr_accessor :ZoneId, :PlanType
|
1756
|
+
|
1757
|
+
def initialize(zoneid=nil, plantype=nil)
|
1758
|
+
@ZoneId = zoneid
|
1759
|
+
@PlanType = plantype
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
def deserialize(params)
|
1763
|
+
@ZoneId = params['ZoneId']
|
1764
|
+
@PlanType = params['PlanType']
|
1765
|
+
end
|
1766
|
+
end
|
1767
|
+
|
1768
|
+
# CreatePlanForZone返回参数结构体
|
1769
|
+
class CreatePlanForZoneResponse < TencentCloud::Common::AbstractModel
|
1770
|
+
# @param ResourceNames: 购买的资源名字列表。
|
1771
|
+
# @type ResourceNames: Array
|
1772
|
+
# @param DealNames: 购买的订单号列表。
|
1773
|
+
# @type DealNames: Array
|
1774
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1775
|
+
# @type RequestId: String
|
1776
|
+
|
1777
|
+
attr_accessor :ResourceNames, :DealNames, :RequestId
|
1778
|
+
|
1779
|
+
def initialize(resourcenames=nil, dealnames=nil, requestid=nil)
|
1780
|
+
@ResourceNames = resourcenames
|
1781
|
+
@DealNames = dealnames
|
1782
|
+
@RequestId = requestid
|
1783
|
+
end
|
1784
|
+
|
1785
|
+
def deserialize(params)
|
1786
|
+
@ResourceNames = params['ResourceNames']
|
1787
|
+
@DealNames = params['DealNames']
|
1788
|
+
@RequestId = params['RequestId']
|
1789
|
+
end
|
1790
|
+
end
|
1791
|
+
|
1730
1792
|
# CreatePrefetchTask请求参数结构体
|
1731
1793
|
class CreatePrefetchTaskRequest < TencentCloud::Common::AbstractModel
|
1732
1794
|
# @param ZoneId: Zone ID
|
@@ -1869,6 +1931,63 @@ module TencentCloud
|
|
1869
1931
|
end
|
1870
1932
|
end
|
1871
1933
|
|
1934
|
+
# CreateRule请求参数结构体
|
1935
|
+
class CreateRuleRequest < TencentCloud::Common::AbstractModel
|
1936
|
+
# @param ZoneId: 站点 ID。
|
1937
|
+
# @type ZoneId: String
|
1938
|
+
# @param RuleName: 规则名称,名称字符串长度 1~255。
|
1939
|
+
# @type RuleName: String
|
1940
|
+
# @param Status: 规则状态,取值有:
|
1941
|
+
# <li> enable: 启用; </li>
|
1942
|
+
# <li> disable: 未启用。</li>
|
1943
|
+
# @type Status: String
|
1944
|
+
# @param Rules: 规则内容。
|
1945
|
+
# @type Rules: Array
|
1946
|
+
|
1947
|
+
attr_accessor :ZoneId, :RuleName, :Status, :Rules
|
1948
|
+
|
1949
|
+
def initialize(zoneid=nil, rulename=nil, status=nil, rules=nil)
|
1950
|
+
@ZoneId = zoneid
|
1951
|
+
@RuleName = rulename
|
1952
|
+
@Status = status
|
1953
|
+
@Rules = rules
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
def deserialize(params)
|
1957
|
+
@ZoneId = params['ZoneId']
|
1958
|
+
@RuleName = params['RuleName']
|
1959
|
+
@Status = params['Status']
|
1960
|
+
unless params['Rules'].nil?
|
1961
|
+
@Rules = []
|
1962
|
+
params['Rules'].each do |i|
|
1963
|
+
ruleitem_tmp = RuleItem.new
|
1964
|
+
ruleitem_tmp.deserialize(i)
|
1965
|
+
@Rules << ruleitem_tmp
|
1966
|
+
end
|
1967
|
+
end
|
1968
|
+
end
|
1969
|
+
end
|
1970
|
+
|
1971
|
+
# CreateRule返回参数结构体
|
1972
|
+
class CreateRuleResponse < TencentCloud::Common::AbstractModel
|
1973
|
+
# @param RuleId: 规则 ID。
|
1974
|
+
# @type RuleId: String
|
1975
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1976
|
+
# @type RequestId: String
|
1977
|
+
|
1978
|
+
attr_accessor :RuleId, :RequestId
|
1979
|
+
|
1980
|
+
def initialize(ruleid=nil, requestid=nil)
|
1981
|
+
@RuleId = ruleid
|
1982
|
+
@RequestId = requestid
|
1983
|
+
end
|
1984
|
+
|
1985
|
+
def deserialize(params)
|
1986
|
+
@RuleId = params['RuleId']
|
1987
|
+
@RequestId = params['RequestId']
|
1988
|
+
end
|
1989
|
+
end
|
1990
|
+
|
1872
1991
|
# CreateZone请求参数结构体
|
1873
1992
|
class CreateZoneRequest < TencentCloud::Common::AbstractModel
|
1874
1993
|
# @param Name: 站点名字
|
@@ -1959,19 +2078,27 @@ module TencentCloud
|
|
1959
2078
|
|
1960
2079
|
# DDoS配置端口过滤
|
1961
2080
|
class DDoSAcl < TencentCloud::Common::AbstractModel
|
1962
|
-
# @param DportEnd:
|
2081
|
+
# @param DportEnd: 目的端口结束,取值范围0-65535。
|
1963
2082
|
# @type DportEnd: Integer
|
1964
|
-
# @param DportStart:
|
2083
|
+
# @param DportStart: 目的端口开始,取值范围0-65535。
|
1965
2084
|
# @type DportStart: Integer
|
1966
|
-
# @param SportEnd:
|
2085
|
+
# @param SportEnd: 源端口结束,取值范围0-65535。
|
1967
2086
|
# @type SportEnd: Integer
|
1968
|
-
# @param SportStart:
|
2087
|
+
# @param SportStart: 源端口开始,取值范围0-65535。
|
1969
2088
|
# @type SportStart: Integer
|
1970
|
-
# @param Protocol:
|
2089
|
+
# @param Protocol: 协议,取值有:
|
2090
|
+
# <li>tcp :tcp协议 ;</li>
|
2091
|
+
# <li>udp :udp协议 ;</li>
|
2092
|
+
# <li>all :全部协议 。</li>
|
1971
2093
|
# @type Protocol: String
|
1972
|
-
# @param Action:
|
2094
|
+
# @param Action: 执行动作,取值为:
|
2095
|
+
# <li>drop :丢弃 ;</li>
|
2096
|
+
# <li>transmit :放行 ;</li>
|
2097
|
+
# <li>forward :继续防护 。</li>
|
1973
2098
|
# @type Action: String
|
1974
|
-
# @param Default:
|
2099
|
+
# @param Default: 是否为系统配置,取值为:
|
2100
|
+
# <li>0 :修改配置 ;</li>
|
2101
|
+
# <li>1 :系统默认配置 。</li>
|
1975
2102
|
# @type Default: Integer
|
1976
2103
|
|
1977
2104
|
attr_accessor :DportEnd, :DportStart, :SportEnd, :SportStart, :Protocol, :Action, :Default
|
@@ -1999,34 +2126,45 @@ module TencentCloud
|
|
1999
2126
|
|
2000
2127
|
# DDoS协议防护+连接防护
|
2001
2128
|
class DDoSAntiPly < TencentCloud::Common::AbstractModel
|
2002
|
-
# @param DropTcp: tcp
|
2129
|
+
# @param DropTcp: tcp协议封禁,取值有:
|
2130
|
+
# <li>off :关闭 ;</li>
|
2131
|
+
# <li>on :开启 。</li>
|
2003
2132
|
# @type DropTcp: String
|
2004
|
-
# @param DropUdp: udp
|
2133
|
+
# @param DropUdp: udp协议封禁,取值有:
|
2134
|
+
# <li>off :关闭 ;</li>
|
2135
|
+
# <li>on :开启 。</li>
|
2005
2136
|
# @type DropUdp: String
|
2006
|
-
# @param DropIcmp: icmp
|
2137
|
+
# @param DropIcmp: icmp协议封禁,取值有:
|
2138
|
+
# <li>off :关闭 ;</li>
|
2139
|
+
# <li>on :开启 。</li>
|
2007
2140
|
# @type DropIcmp: String
|
2008
|
-
# @param DropOther:
|
2141
|
+
# @param DropOther: 其他协议封禁,取值有:
|
2142
|
+
# <li>off :关闭 ;</li>
|
2143
|
+
# <li>on :开启 。</li>
|
2009
2144
|
# @type DropOther: String
|
2010
|
-
# @param SourceCreateLimit:
|
2145
|
+
# @param SourceCreateLimit: 源站每秒新连接限速,取值范围0-4294967295。
|
2011
2146
|
# @type SourceCreateLimit: Integer
|
2012
|
-
# @param SourceConnectLimit:
|
2147
|
+
# @param SourceConnectLimit: 源站并发连接控制,取值范围0-4294967295。
|
2013
2148
|
# @type SourceConnectLimit: Integer
|
2014
|
-
# @param DestinationCreateLimit:
|
2149
|
+
# @param DestinationCreateLimit: 目的端口每秒新连接限速,取值范围0-4294967295。
|
2015
2150
|
# @type DestinationCreateLimit: Integer
|
2016
|
-
# @param DestinationConnectLimit:
|
2151
|
+
# @param DestinationConnectLimit: 目的端口并发连接控制,取值范围0-4294967295。
|
2017
2152
|
# @type DestinationConnectLimit: Integer
|
2018
|
-
# @param AbnormalConnectNum:
|
2153
|
+
# @param AbnormalConnectNum: 每秒异常连接数阈值,取值范围0-4294967295。
|
2019
2154
|
# @type AbnormalConnectNum: Integer
|
2020
|
-
# @param AbnormalSynRatio: syn
|
2155
|
+
# @param AbnormalSynRatio: 异常syn报文百分比阈值,取值范围0-100。
|
2021
2156
|
# @type AbnormalSynRatio: Integer
|
2022
|
-
# @param AbnormalSynNum: syn
|
2157
|
+
# @param AbnormalSynNum: 异常syn报文阈值,取值范围0-65535。
|
2023
2158
|
# @type AbnormalSynNum: Integer
|
2024
|
-
# @param ConnectTimeout:
|
2159
|
+
# @param ConnectTimeout: 每秒连接超时检测,取值范围0-65535。
|
2025
2160
|
# @type ConnectTimeout: Integer
|
2026
|
-
# @param EmptyConnectProtect:
|
2161
|
+
# @param EmptyConnectProtect: 空连接防护开启,取值有:
|
2162
|
+
# <li>off :关闭 ;</li>
|
2163
|
+
# <li>on :开启 。</li>
|
2027
2164
|
# @type EmptyConnectProtect: String
|
2028
|
-
# @param UdpShard: UDP
|
2029
|
-
#
|
2165
|
+
# @param UdpShard: UDP分片开关,取值有:
|
2166
|
+
# <li>off :关闭 ;</li>
|
2167
|
+
# <li>on :开启 。</li>
|
2030
2168
|
# @type UdpShard: String
|
2031
2169
|
|
2032
2170
|
attr_accessor :DropTcp, :DropUdp, :DropIcmp, :DropOther, :SourceCreateLimit, :SourceConnectLimit, :DestinationCreateLimit, :DestinationConnectLimit, :AbnormalConnectNum, :AbnormalSynRatio, :AbnormalSynNum, :ConnectTimeout, :EmptyConnectProtect, :UdpShard
|
@@ -2120,129 +2258,154 @@ module TencentCloud
|
|
2120
2258
|
|
2121
2259
|
# DDoS特征过滤
|
2122
2260
|
class DDoSFeaturesFilter < TencentCloud::Common::AbstractModel
|
2123
|
-
# @param Action:
|
2261
|
+
# @param Action: 执行动作,取值有:
|
2262
|
+
# <li>drop :丢弃 ;</li>
|
2263
|
+
# <li>transmit :放行 ;</li>
|
2264
|
+
# <li>drop_block :丢弃并拉黑 ;</li>
|
2265
|
+
# <li>forward :继续防护 。</li>
|
2124
2266
|
# @type Action: String
|
2125
|
-
# @param
|
2126
|
-
#
|
2127
|
-
#
|
2128
|
-
#
|
2129
|
-
#
|
2130
|
-
# @type
|
2131
|
-
# @param DportStart:
|
2267
|
+
# @param Protocol: 协议,取值有:
|
2268
|
+
# <li>tcp :tcp协议 ;</li>
|
2269
|
+
# <li>udp :udp协议 ;</li>
|
2270
|
+
# <li>icmp :icmp协议 ;</li>
|
2271
|
+
# <li>all :全部协议 。</li>
|
2272
|
+
# @type Protocol: String
|
2273
|
+
# @param DportStart: 目标端口开始,取值范围0-65535。
|
2132
2274
|
# @type DportStart: Integer
|
2133
|
-
# @param
|
2134
|
-
# @type
|
2135
|
-
# @param
|
2136
|
-
# @type IsNot2: Integer
|
2137
|
-
# @param MatchLogic: 多特征关系(单特征时(none),第二特征相关配置可不填) none;and;or
|
2138
|
-
# @type MatchLogic: String
|
2139
|
-
# @param MatchType: 匹配方式1 pcre-正则匹配, sunday-字符串匹配
|
2140
|
-
# @type MatchType: String
|
2141
|
-
# @param MatchType2: 匹配方式2 pcre-正则匹配, sunday-字符串匹配
|
2142
|
-
# @type MatchType2: String
|
2143
|
-
# @param Offset: 偏移量1
|
2144
|
-
# @type Offset: Integer
|
2145
|
-
# @param Offset2: 偏移量2
|
2146
|
-
# @type Offset2: Integer
|
2147
|
-
# @param PacketMax: 最大包长
|
2148
|
-
# @type PacketMax: Integer
|
2149
|
-
# @param PacketMin: 最小包长
|
2275
|
+
# @param DportEnd: 目标端口结束,取值范围0-65535。
|
2276
|
+
# @type DportEnd: Integer
|
2277
|
+
# @param PacketMin: 最小包长,取值范围0-1500。
|
2150
2278
|
# @type PacketMin: Integer
|
2151
|
-
# @param
|
2152
|
-
# @type
|
2153
|
-
# @param
|
2154
|
-
# @type SportEnd: Integer
|
2155
|
-
# @param SportStart: 源端口开始
|
2279
|
+
# @param PacketMax: 最大包长,取值范围0-1500。
|
2280
|
+
# @type PacketMax: Integer
|
2281
|
+
# @param SportStart: 源端口开始,取值范围0-65535。
|
2156
2282
|
# @type SportStart: Integer
|
2157
|
-
# @param
|
2158
|
-
# @type
|
2159
|
-
# @param
|
2160
|
-
#
|
2161
|
-
#
|
2283
|
+
# @param SportEnd: 源端口结束,取值范围0-65535。
|
2284
|
+
# @type SportEnd: Integer
|
2285
|
+
# @param MatchType: 匹配方式1,【特征1】,取值有:
|
2286
|
+
# <li>pcre :正则匹配 ;</li>
|
2287
|
+
# <li>sunday :字符串匹配 。</li>默认为空字符串。
|
2288
|
+
# @type MatchType: String
|
2289
|
+
# @param IsNot: 取非判断,该参数对MatchType配合使用,【特征1】,取值有:
|
2290
|
+
# <li>0 :匹配 ;</li>
|
2291
|
+
# <li>1 :不匹配 。</li>
|
2292
|
+
# @type IsNot: Integer
|
2293
|
+
# @param Offset: 偏移量1,【特征1】,取值范围0-1500。
|
2294
|
+
# @type Offset: Integer
|
2295
|
+
# @param Depth: 检测包字符深度,【特征1】,取值范围1-1500。
|
2296
|
+
# @type Depth: Integer
|
2297
|
+
# @param MatchBegin: 匹配开始层级,层级参考计算机网络结构,取值有:
|
2298
|
+
# <li>begin_l5 :载荷开始检测 ;</li>
|
2299
|
+
# <li>begin_l4 :tcp/udp首部开始检测 ;</li>
|
2300
|
+
# <li>begin_l3 :ip首部开始检测 。</li>
|
2162
2301
|
# @type MatchBegin: String
|
2163
|
-
# @param
|
2302
|
+
# @param Str: 正则或字符串匹配的内容,【特征1】。
|
2303
|
+
# @type Str: String
|
2304
|
+
# @param MatchType2: 匹配方式2,【特征2】,取值有:
|
2305
|
+
# <li>pcre :正则匹配 ;</li>
|
2306
|
+
# <li>sunday :字符串匹配 。</li>默认为空字符串。
|
2307
|
+
# @type MatchType2: String
|
2308
|
+
# @param IsNot2: 取非判断2,该参数对MatchType2配合使用,【特征2】,取值有:
|
2309
|
+
# <li>0 :匹配 ;</li>
|
2310
|
+
# <li>1 :不匹配 。</li>
|
2311
|
+
# @type IsNot2: Integer
|
2312
|
+
# @param Offset2: 偏移量2,【特征2】,取值范围0-1500。
|
2313
|
+
# @type Offset2: Integer
|
2314
|
+
# @param Depth2: 检测包字符深度,【特征2】,取值范围1-1500。
|
2315
|
+
# @type Depth2: Integer
|
2316
|
+
# @param MatchBegin2: 匹配开始层级,层级参考计算机网络结构,取值有:
|
2317
|
+
# <li>begin_l5 :载荷开始检测 ;</li>
|
2318
|
+
# <li>begin_l4 :tcp/udp首部开始检测;</li>
|
2319
|
+
# <li>begin_l3 :ip首部开始检测 。</li>
|
2164
2320
|
# @type MatchBegin2: String
|
2321
|
+
# @param Str2: 正则或字符串匹配的内容,【特征2】。
|
2322
|
+
# @type Str2: String
|
2323
|
+
# @param MatchLogic: 多特征关系,仅配置【特征1】时填 none,存在【特征2】配置可不填。
|
2324
|
+
# @type MatchLogic: String
|
2165
2325
|
|
2166
|
-
attr_accessor :Action, :
|
2326
|
+
attr_accessor :Action, :Protocol, :DportStart, :DportEnd, :PacketMin, :PacketMax, :SportStart, :SportEnd, :MatchType, :IsNot, :Offset, :Depth, :MatchBegin, :Str, :MatchType2, :IsNot2, :Offset2, :Depth2, :MatchBegin2, :Str2, :MatchLogic
|
2167
2327
|
|
2168
|
-
def initialize(action=nil,
|
2328
|
+
def initialize(action=nil, protocol=nil, dportstart=nil, dportend=nil, packetmin=nil, packetmax=nil, sportstart=nil, sportend=nil, matchtype=nil, isnot=nil, offset=nil, depth=nil, matchbegin=nil, str=nil, matchtype2=nil, isnot2=nil, offset2=nil, depth2=nil, matchbegin2=nil, str2=nil, matchlogic=nil)
|
2169
2329
|
@Action = action
|
2170
|
-
@
|
2171
|
-
@Depth2 = depth2
|
2172
|
-
@DportEnd = dportend
|
2330
|
+
@Protocol = protocol
|
2173
2331
|
@DportStart = dportstart
|
2174
|
-
@
|
2175
|
-
@IsNot2 = isnot2
|
2176
|
-
@MatchLogic = matchlogic
|
2177
|
-
@MatchType = matchtype
|
2178
|
-
@MatchType2 = matchtype2
|
2179
|
-
@Offset = offset
|
2180
|
-
@Offset2 = offset2
|
2181
|
-
@PacketMax = packetmax
|
2332
|
+
@DportEnd = dportend
|
2182
2333
|
@PacketMin = packetmin
|
2183
|
-
@
|
2184
|
-
@SportEnd = sportend
|
2334
|
+
@PacketMax = packetmax
|
2185
2335
|
@SportStart = sportstart
|
2186
|
-
@
|
2187
|
-
@
|
2336
|
+
@SportEnd = sportend
|
2337
|
+
@MatchType = matchtype
|
2338
|
+
@IsNot = isnot
|
2339
|
+
@Offset = offset
|
2340
|
+
@Depth = depth
|
2188
2341
|
@MatchBegin = matchbegin
|
2342
|
+
@Str = str
|
2343
|
+
@MatchType2 = matchtype2
|
2344
|
+
@IsNot2 = isnot2
|
2345
|
+
@Offset2 = offset2
|
2346
|
+
@Depth2 = depth2
|
2189
2347
|
@MatchBegin2 = matchbegin2
|
2348
|
+
@Str2 = str2
|
2349
|
+
@MatchLogic = matchlogic
|
2190
2350
|
end
|
2191
2351
|
|
2192
2352
|
def deserialize(params)
|
2193
2353
|
@Action = params['Action']
|
2194
|
-
@
|
2195
|
-
@Depth2 = params['Depth2']
|
2196
|
-
@DportEnd = params['DportEnd']
|
2354
|
+
@Protocol = params['Protocol']
|
2197
2355
|
@DportStart = params['DportStart']
|
2198
|
-
@
|
2199
|
-
@IsNot2 = params['IsNot2']
|
2200
|
-
@MatchLogic = params['MatchLogic']
|
2201
|
-
@MatchType = params['MatchType']
|
2202
|
-
@MatchType2 = params['MatchType2']
|
2203
|
-
@Offset = params['Offset']
|
2204
|
-
@Offset2 = params['Offset2']
|
2205
|
-
@PacketMax = params['PacketMax']
|
2356
|
+
@DportEnd = params['DportEnd']
|
2206
2357
|
@PacketMin = params['PacketMin']
|
2207
|
-
@
|
2208
|
-
@SportEnd = params['SportEnd']
|
2358
|
+
@PacketMax = params['PacketMax']
|
2209
2359
|
@SportStart = params['SportStart']
|
2210
|
-
@
|
2211
|
-
@
|
2360
|
+
@SportEnd = params['SportEnd']
|
2361
|
+
@MatchType = params['MatchType']
|
2362
|
+
@IsNot = params['IsNot']
|
2363
|
+
@Offset = params['Offset']
|
2364
|
+
@Depth = params['Depth']
|
2212
2365
|
@MatchBegin = params['MatchBegin']
|
2366
|
+
@Str = params['Str']
|
2367
|
+
@MatchType2 = params['MatchType2']
|
2368
|
+
@IsNot2 = params['IsNot2']
|
2369
|
+
@Offset2 = params['Offset2']
|
2370
|
+
@Depth2 = params['Depth2']
|
2213
2371
|
@MatchBegin2 = params['MatchBegin2']
|
2372
|
+
@Str2 = params['Str2']
|
2373
|
+
@MatchLogic = params['MatchLogic']
|
2214
2374
|
end
|
2215
2375
|
end
|
2216
2376
|
|
2217
2377
|
# DDoS地域封禁
|
2218
2378
|
class DDoSGeoIp < TencentCloud::Common::AbstractModel
|
2219
|
-
# @param
|
2220
|
-
#
|
2221
|
-
#
|
2222
|
-
# @param Switch: 区域封禁清空标识
|
2223
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2379
|
+
# @param Switch: 区域封禁清空标识,取值有:
|
2380
|
+
# <li>off :清空地域封禁列表 ;</li>
|
2381
|
+
# <li>on :不做处理 。</li>
|
2224
2382
|
# @type Switch: String
|
2383
|
+
# @param RegionId: 地域信息,ID参考[DescribeSecurityPolicyRegions](https://tcloud4api.woa.com/document/product/1657/76031?!preview&!document=1)。
|
2384
|
+
# @type RegionId: Array
|
2225
2385
|
|
2226
|
-
attr_accessor :
|
2386
|
+
attr_accessor :Switch, :RegionId
|
2227
2387
|
|
2228
|
-
def initialize(
|
2229
|
-
@RegionId = regionid
|
2388
|
+
def initialize(switch=nil, regionid=nil)
|
2230
2389
|
@Switch = switch
|
2390
|
+
@RegionId = regionid
|
2231
2391
|
end
|
2232
2392
|
|
2233
2393
|
def deserialize(params)
|
2234
|
-
@RegionId = params['RegionId']
|
2235
2394
|
@Switch = params['Switch']
|
2395
|
+
@RegionId = params['RegionId']
|
2236
2396
|
end
|
2237
2397
|
end
|
2238
2398
|
|
2239
2399
|
# DDoS封禁等级
|
2240
2400
|
class DDoSStatusInfo < TencentCloud::Common::AbstractModel
|
2241
|
-
# @param AiStatus:
|
2401
|
+
# @param AiStatus: 暂不支持,默认值off。
|
2242
2402
|
# @type AiStatus: String
|
2243
|
-
# @param Appid:
|
2403
|
+
# @param Appid: 废弃字段。
|
2244
2404
|
# @type Appid: String
|
2245
|
-
# @param PlyLevel:
|
2405
|
+
# @param PlyLevel: 策略等级,取值有:
|
2406
|
+
# <li>low :宽松 ;</li>
|
2407
|
+
# <li>middle :适中 ;</li>
|
2408
|
+
# <li>high : 严格。 </li>
|
2246
2409
|
# @type PlyLevel: String
|
2247
2410
|
|
2248
2411
|
attr_accessor :AiStatus, :Appid, :PlyLevel
|
@@ -2262,23 +2425,19 @@ module TencentCloud
|
|
2262
2425
|
|
2263
2426
|
# DDoS黑白名单
|
2264
2427
|
class DDoSUserAllowBlockIP < TencentCloud::Common::AbstractModel
|
2265
|
-
# @param Ip:
|
2266
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2428
|
+
# @param Ip: 客户端IP。
|
2267
2429
|
# @type Ip: String
|
2268
|
-
# @param Mask:
|
2269
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2430
|
+
# @param Mask: 掩码。
|
2270
2431
|
# @type Mask: Integer
|
2271
|
-
# @param Type:
|
2272
|
-
#
|
2432
|
+
# @param Type: 类型,取值有:
|
2433
|
+
# <li>block :丢弃 ;</li>
|
2434
|
+
# <li>allow :允许。</li>
|
2273
2435
|
# @type Type: String
|
2274
|
-
# @param UpdateTime:
|
2275
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2436
|
+
# @param UpdateTime: 10位时间戳,例如1199116800。
|
2276
2437
|
# @type UpdateTime: Integer
|
2277
|
-
# @param Ip2:
|
2278
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2438
|
+
# @param Ip2: 客户端IP2,设置IP范围时使用,例如 1.1.1.1-1.1.1.2。
|
2279
2439
|
# @type Ip2: String
|
2280
|
-
# @param Mask2:
|
2281
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
2440
|
+
# @param Mask2: 掩码2,设置IP网段范围时使用,例如 1.1.1.0/24-1.1.2.0/24。
|
2282
2441
|
# @type Mask2: Integer
|
2283
2442
|
|
2284
2443
|
attr_accessor :Ip, :Mask, :Type, :UpdateTime, :Ip2, :Mask2
|
@@ -2617,20 +2776,21 @@ module TencentCloud
|
|
2617
2776
|
|
2618
2777
|
# ddos端口过滤
|
2619
2778
|
class DdosAcls < TencentCloud::Common::AbstractModel
|
2620
|
-
# @param
|
2621
|
-
# @type Switch: String
|
2622
|
-
# @param Acl: 端口过了详细参数
|
2779
|
+
# @param Acl: 端口过滤规则数组。
|
2623
2780
|
# @type Acl: Array
|
2781
|
+
# @param Switch: 清空规则标识,取值有:
|
2782
|
+
# <li>off :清空端口过滤规则列表,Acl无需填写。 ;</li>
|
2783
|
+
# <li>on :配置端口过滤规则,需填写Acl参数。</li>默认值为on。
|
2784
|
+
# @type Switch: String
|
2624
2785
|
|
2625
|
-
attr_accessor :
|
2786
|
+
attr_accessor :Acl, :Switch
|
2626
2787
|
|
2627
|
-
def initialize(
|
2628
|
-
@Switch = switch
|
2788
|
+
def initialize(acl=nil, switch=nil)
|
2629
2789
|
@Acl = acl
|
2790
|
+
@Switch = switch
|
2630
2791
|
end
|
2631
2792
|
|
2632
2793
|
def deserialize(params)
|
2633
|
-
@Switch = params['Switch']
|
2634
2794
|
unless params['Acl'].nil?
|
2635
2795
|
@Acl = []
|
2636
2796
|
params['Acl'].each do |i|
|
@@ -2639,25 +2799,27 @@ module TencentCloud
|
|
2639
2799
|
@Acl << ddosacl_tmp
|
2640
2800
|
end
|
2641
2801
|
end
|
2802
|
+
@Switch = params['Switch']
|
2642
2803
|
end
|
2643
2804
|
end
|
2644
2805
|
|
2645
2806
|
# ddos黑白名单
|
2646
2807
|
class DdosAllowBlock < TencentCloud::Common::AbstractModel
|
2647
|
-
# @param
|
2648
|
-
# @type Switch: String
|
2649
|
-
# @param UserAllowBlockIp: 黑白名单数组
|
2808
|
+
# @param UserAllowBlockIp: 黑白名单数组。
|
2650
2809
|
# @type UserAllowBlockIp: Array
|
2810
|
+
# @param Switch: 开关标识防护是否清空,取值有:
|
2811
|
+
# <li>off :清空黑白名单列表,UserAllowBlockIp无需填写。 ;</li>
|
2812
|
+
# <li>on :配置黑白名单,需填写UserAllowBlockIp参数。</li>默认值为on。
|
2813
|
+
# @type Switch: String
|
2651
2814
|
|
2652
|
-
attr_accessor :
|
2815
|
+
attr_accessor :UserAllowBlockIp, :Switch
|
2653
2816
|
|
2654
|
-
def initialize(
|
2655
|
-
@Switch = switch
|
2817
|
+
def initialize(userallowblockip=nil, switch=nil)
|
2656
2818
|
@UserAllowBlockIp = userallowblockip
|
2819
|
+
@Switch = switch
|
2657
2820
|
end
|
2658
2821
|
|
2659
2822
|
def deserialize(params)
|
2660
|
-
@Switch = params['Switch']
|
2661
2823
|
unless params['UserAllowBlockIp'].nil?
|
2662
2824
|
@UserAllowBlockIp = []
|
2663
2825
|
params['UserAllowBlockIp'].each do |i|
|
@@ -2666,25 +2828,27 @@ module TencentCloud
|
|
2666
2828
|
@UserAllowBlockIp << ddosuserallowblockip_tmp
|
2667
2829
|
end
|
2668
2830
|
end
|
2831
|
+
@Switch = params['Switch']
|
2669
2832
|
end
|
2670
2833
|
end
|
2671
2834
|
|
2672
2835
|
# ddos特征过滤
|
2673
2836
|
class DdosPacketFilter < TencentCloud::Common::AbstractModel
|
2674
|
-
# @param
|
2675
|
-
# @type Switch: String
|
2676
|
-
# @param PacketFilter: 特征过滤数组
|
2837
|
+
# @param PacketFilter: 特征过滤规则数组。
|
2677
2838
|
# @type PacketFilter: Array
|
2839
|
+
# @param Switch: 特征过滤清空标识,取值有:
|
2840
|
+
# <li>off :清空特征过滤规则,无需填写 PacketFilter 参数 ;</li>
|
2841
|
+
# <li>on :配置特征过滤规则,需填写 PacketFilter 参数。</li>默认值为on。
|
2842
|
+
# @type Switch: String
|
2678
2843
|
|
2679
|
-
attr_accessor :
|
2844
|
+
attr_accessor :PacketFilter, :Switch
|
2680
2845
|
|
2681
|
-
def initialize(
|
2682
|
-
@Switch = switch
|
2846
|
+
def initialize(packetfilter=nil, switch=nil)
|
2683
2847
|
@PacketFilter = packetfilter
|
2848
|
+
@Switch = switch
|
2684
2849
|
end
|
2685
2850
|
|
2686
2851
|
def deserialize(params)
|
2687
|
-
@Switch = params['Switch']
|
2688
2852
|
unless params['PacketFilter'].nil?
|
2689
2853
|
@PacketFilter = []
|
2690
2854
|
params['PacketFilter'].each do |i|
|
@@ -2693,39 +2857,45 @@ module TencentCloud
|
|
2693
2857
|
@PacketFilter << ddosfeaturesfilter_tmp
|
2694
2858
|
end
|
2695
2859
|
end
|
2860
|
+
@Switch = params['Switch']
|
2696
2861
|
end
|
2697
2862
|
end
|
2698
2863
|
|
2699
2864
|
# Ddos防护配置
|
2700
2865
|
class DdosRule < TencentCloud::Common::AbstractModel
|
2701
|
-
# @param DdosStatusInfo: DDoS
|
2866
|
+
# @param DdosStatusInfo: DDoS防护等级。
|
2702
2867
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2703
2868
|
# @type DdosStatusInfo: :class:`Tencentcloud::Teo.v20220106.models.DDoSStatusInfo`
|
2704
|
-
# @param DdosGeoIp: DDoS
|
2869
|
+
# @param DdosGeoIp: DDoS地域封禁。
|
2705
2870
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2706
2871
|
# @type DdosGeoIp: :class:`Tencentcloud::Teo.v20220106.models.DDoSGeoIp`
|
2707
|
-
# @param DdosAllowBlock: DDoS
|
2872
|
+
# @param DdosAllowBlock: DDoS黑白名单。
|
2708
2873
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2709
2874
|
# @type DdosAllowBlock: :class:`Tencentcloud::Teo.v20220106.models.DdosAllowBlock`
|
2710
|
-
# @param DdosAntiPly: DDoS
|
2875
|
+
# @param DdosAntiPly: DDoS 协议封禁+连接防护。
|
2711
2876
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2712
2877
|
# @type DdosAntiPly: :class:`Tencentcloud::Teo.v20220106.models.DDoSAntiPly`
|
2713
|
-
# @param DdosPacketFilter: DDoS
|
2878
|
+
# @param DdosPacketFilter: DDoS特征过滤。
|
2714
2879
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2715
2880
|
# @type DdosPacketFilter: :class:`Tencentcloud::Teo.v20220106.models.DdosPacketFilter`
|
2716
|
-
# @param DdosAcl: DDoS
|
2881
|
+
# @param DdosAcl: DDoS端口过滤。
|
2717
2882
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
2718
2883
|
# @type DdosAcl: :class:`Tencentcloud::Teo.v20220106.models.DdosAcls`
|
2719
|
-
# @param Switch: DDoS
|
2720
|
-
#
|
2884
|
+
# @param Switch: DDoS开关,取值有:
|
2885
|
+
# <li>on :开启 ;</li>
|
2886
|
+
# <li>off :关闭 。</li>
|
2721
2887
|
# @type Switch: String
|
2722
|
-
# @param UdpShardOpen: UDP
|
2723
|
-
#
|
2888
|
+
# @param UdpShardOpen: UDP分片功能是否支持,取值有:
|
2889
|
+
# <li>on :支持 ;</li>
|
2890
|
+
# <li>off :不支持 。</li>
|
2724
2891
|
# @type UdpShardOpen: String
|
2892
|
+
# @param DdosSpeedLimit: DDoS源站访问速率限制。
|
2893
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
2894
|
+
# @type DdosSpeedLimit: :class:`Tencentcloud::Teo.v20220106.models.DdosSpeedLimit`
|
2725
2895
|
|
2726
|
-
attr_accessor :DdosStatusInfo, :DdosGeoIp, :DdosAllowBlock, :DdosAntiPly, :DdosPacketFilter, :DdosAcl, :Switch, :UdpShardOpen
|
2896
|
+
attr_accessor :DdosStatusInfo, :DdosGeoIp, :DdosAllowBlock, :DdosAntiPly, :DdosPacketFilter, :DdosAcl, :Switch, :UdpShardOpen, :DdosSpeedLimit
|
2727
2897
|
|
2728
|
-
def initialize(ddosstatusinfo=nil, ddosgeoip=nil, ddosallowblock=nil, ddosantiply=nil, ddospacketfilter=nil, ddosacl=nil, switch=nil, udpshardopen=nil)
|
2898
|
+
def initialize(ddosstatusinfo=nil, ddosgeoip=nil, ddosallowblock=nil, ddosantiply=nil, ddospacketfilter=nil, ddosacl=nil, switch=nil, udpshardopen=nil, ddosspeedlimit=nil)
|
2729
2899
|
@DdosStatusInfo = ddosstatusinfo
|
2730
2900
|
@DdosGeoIp = ddosgeoip
|
2731
2901
|
@DdosAllowBlock = ddosallowblock
|
@@ -2734,6 +2904,7 @@ module TencentCloud
|
|
2734
2904
|
@DdosAcl = ddosacl
|
2735
2905
|
@Switch = switch
|
2736
2906
|
@UdpShardOpen = udpshardopen
|
2907
|
+
@DdosSpeedLimit = ddosspeedlimit
|
2737
2908
|
end
|
2738
2909
|
|
2739
2910
|
def deserialize(params)
|
@@ -2763,6 +2934,30 @@ module TencentCloud
|
|
2763
2934
|
end
|
2764
2935
|
@Switch = params['Switch']
|
2765
2936
|
@UdpShardOpen = params['UdpShardOpen']
|
2937
|
+
unless params['DdosSpeedLimit'].nil?
|
2938
|
+
@DdosSpeedLimit = DdosSpeedLimit.new
|
2939
|
+
@DdosSpeedLimit.deserialize(params['DdosSpeedLimit'])
|
2940
|
+
end
|
2941
|
+
end
|
2942
|
+
end
|
2943
|
+
|
2944
|
+
# DDoS端口限速
|
2945
|
+
class DdosSpeedLimit < TencentCloud::Common::AbstractModel
|
2946
|
+
# @param PackageLimit: 源站包量限制,支持单位有pps、Kpps、Mpps、Gpps。支持范围1 pps-10000 Gpps。"0 pps"或其他单位数值为0,即不限包。""为不更新。
|
2947
|
+
# @type PackageLimit: String
|
2948
|
+
# @param FluxLimit: 源站流量限制,支持单位有bps、Kbps、Mbps、Gbps,支持范围1 bps-10000 Gbps。"0 bps"或其他单位数值为0,即不限流。""为不更新。
|
2949
|
+
# @type FluxLimit: String
|
2950
|
+
|
2951
|
+
attr_accessor :PackageLimit, :FluxLimit
|
2952
|
+
|
2953
|
+
def initialize(packagelimit=nil, fluxlimit=nil)
|
2954
|
+
@PackageLimit = packagelimit
|
2955
|
+
@FluxLimit = fluxlimit
|
2956
|
+
end
|
2957
|
+
|
2958
|
+
def deserialize(params)
|
2959
|
+
@PackageLimit = params['PackageLimit']
|
2960
|
+
@FluxLimit = params['FluxLimit']
|
2766
2961
|
end
|
2767
2962
|
end
|
2768
2963
|
|
@@ -3035,6 +3230,42 @@ module TencentCloud
|
|
3035
3230
|
end
|
3036
3231
|
end
|
3037
3232
|
|
3233
|
+
# DeleteRules请求参数结构体
|
3234
|
+
class DeleteRulesRequest < TencentCloud::Common::AbstractModel
|
3235
|
+
# @param ZoneId: 站点 ID。
|
3236
|
+
# @type ZoneId: String
|
3237
|
+
# @param RuleIds: 指定删除的规则 ID 列表。
|
3238
|
+
# @type RuleIds: Array
|
3239
|
+
|
3240
|
+
attr_accessor :ZoneId, :RuleIds
|
3241
|
+
|
3242
|
+
def initialize(zoneid=nil, ruleids=nil)
|
3243
|
+
@ZoneId = zoneid
|
3244
|
+
@RuleIds = ruleids
|
3245
|
+
end
|
3246
|
+
|
3247
|
+
def deserialize(params)
|
3248
|
+
@ZoneId = params['ZoneId']
|
3249
|
+
@RuleIds = params['RuleIds']
|
3250
|
+
end
|
3251
|
+
end
|
3252
|
+
|
3253
|
+
# DeleteRules返回参数结构体
|
3254
|
+
class DeleteRulesResponse < TencentCloud::Common::AbstractModel
|
3255
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3256
|
+
# @type RequestId: String
|
3257
|
+
|
3258
|
+
attr_accessor :RequestId
|
3259
|
+
|
3260
|
+
def initialize(requestid=nil)
|
3261
|
+
@RequestId = requestid
|
3262
|
+
end
|
3263
|
+
|
3264
|
+
def deserialize(params)
|
3265
|
+
@RequestId = params['RequestId']
|
3266
|
+
end
|
3267
|
+
end
|
3268
|
+
|
3038
3269
|
# DeleteZone请求参数结构体
|
3039
3270
|
class DeleteZoneRequest < TencentCloud::Common::AbstractModel
|
3040
3271
|
# @param Id: 站点 ID
|
@@ -3140,12 +3371,16 @@ module TencentCloud
|
|
3140
3371
|
# @type HostId: String
|
3141
3372
|
# @param Ipv6: IPv6访问配置。
|
3142
3373
|
# @type Ipv6: :class:`Tencentcloud::Teo.v20220106.models.Ipv6Access`
|
3374
|
+
# @param Area: 加速区域,取值有:
|
3375
|
+
# <li>mainland:中国大陆境内;</li>
|
3376
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
3377
|
+
# @type Area: String
|
3143
3378
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3144
3379
|
# @type RequestId: String
|
3145
3380
|
|
3146
|
-
attr_accessor :ProxyId, :ProxyName, :PlatType, :SecurityType, :AccelerateType, :ForwardClientIp, :SessionPersist, :Rule, :Status, :ScheduleValue, :UpdateTime, :ZoneId, :ZoneName, :SessionPersistTime, :ProxyType, :HostId, :Ipv6, :RequestId
|
3381
|
+
attr_accessor :ProxyId, :ProxyName, :PlatType, :SecurityType, :AccelerateType, :ForwardClientIp, :SessionPersist, :Rule, :Status, :ScheduleValue, :UpdateTime, :ZoneId, :ZoneName, :SessionPersistTime, :ProxyType, :HostId, :Ipv6, :Area, :RequestId
|
3147
3382
|
|
3148
|
-
def initialize(proxyid=nil, proxyname=nil, plattype=nil, securitytype=nil, acceleratetype=nil, forwardclientip=nil, sessionpersist=nil, rule=nil, status=nil, schedulevalue=nil, updatetime=nil, zoneid=nil, zonename=nil, sessionpersisttime=nil, proxytype=nil, hostid=nil, ipv6=nil, requestid=nil)
|
3383
|
+
def initialize(proxyid=nil, proxyname=nil, plattype=nil, securitytype=nil, acceleratetype=nil, forwardclientip=nil, sessionpersist=nil, rule=nil, status=nil, schedulevalue=nil, updatetime=nil, zoneid=nil, zonename=nil, sessionpersisttime=nil, proxytype=nil, hostid=nil, ipv6=nil, area=nil, requestid=nil)
|
3149
3384
|
@ProxyId = proxyid
|
3150
3385
|
@ProxyName = proxyname
|
3151
3386
|
@PlatType = plattype
|
@@ -3163,6 +3398,7 @@ module TencentCloud
|
|
3163
3398
|
@ProxyType = proxytype
|
3164
3399
|
@HostId = hostid
|
3165
3400
|
@Ipv6 = ipv6
|
3401
|
+
@Area = area
|
3166
3402
|
@RequestId = requestid
|
3167
3403
|
end
|
3168
3404
|
|
@@ -3194,6 +3430,7 @@ module TencentCloud
|
|
3194
3430
|
@Ipv6 = Ipv6Access.new
|
3195
3431
|
@Ipv6.deserialize(params['Ipv6'])
|
3196
3432
|
end
|
3433
|
+
@Area = params['Area']
|
3197
3434
|
@RequestId = params['RequestId']
|
3198
3435
|
end
|
3199
3436
|
end
|
@@ -3270,8 +3507,47 @@ module TencentCloud
|
|
3270
3507
|
end
|
3271
3508
|
end
|
3272
3509
|
|
3273
|
-
#
|
3274
|
-
class
|
3510
|
+
# DescribeAvailablePlans请求参数结构体
|
3511
|
+
class DescribeAvailablePlansRequest < TencentCloud::Common::AbstractModel
|
3512
|
+
|
3513
|
+
|
3514
|
+
def initialize()
|
3515
|
+
end
|
3516
|
+
|
3517
|
+
def deserialize(params)
|
3518
|
+
end
|
3519
|
+
end
|
3520
|
+
|
3521
|
+
# DescribeAvailablePlans返回参数结构体
|
3522
|
+
class DescribeAvailablePlansResponse < TencentCloud::Common::AbstractModel
|
3523
|
+
# @param PlanInfoList: 当前账户可购买套餐类型及相关信息。
|
3524
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
3525
|
+
# @type PlanInfoList: Array
|
3526
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3527
|
+
# @type RequestId: String
|
3528
|
+
|
3529
|
+
attr_accessor :PlanInfoList, :RequestId
|
3530
|
+
|
3531
|
+
def initialize(planinfolist=nil, requestid=nil)
|
3532
|
+
@PlanInfoList = planinfolist
|
3533
|
+
@RequestId = requestid
|
3534
|
+
end
|
3535
|
+
|
3536
|
+
def deserialize(params)
|
3537
|
+
unless params['PlanInfoList'].nil?
|
3538
|
+
@PlanInfoList = []
|
3539
|
+
params['PlanInfoList'].each do |i|
|
3540
|
+
planinfo_tmp = PlanInfo.new
|
3541
|
+
planinfo_tmp.deserialize(i)
|
3542
|
+
@PlanInfoList << planinfo_tmp
|
3543
|
+
end
|
3544
|
+
end
|
3545
|
+
@RequestId = params['RequestId']
|
3546
|
+
end
|
3547
|
+
end
|
3548
|
+
|
3549
|
+
# DescribeBotLog请求参数结构体
|
3550
|
+
class DescribeBotLogRequest < TencentCloud::Common::AbstractModel
|
3275
3551
|
# @param StartTime: 起始时间。
|
3276
3552
|
# @type StartTime: String
|
3277
3553
|
# @param EndTime: 结束时间。
|
@@ -3294,10 +3570,14 @@ module TencentCloud
|
|
3294
3570
|
# <li>requestMethod :请求方法 ;</li>
|
3295
3571
|
# <li>uri :统一资源标识符 。</li>
|
3296
3572
|
# @type QueryCondition: Array
|
3573
|
+
# @param Area: 数据归属地区,取值有:
|
3574
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
3575
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
3576
|
+
# @type Area: String
|
3297
3577
|
|
3298
|
-
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition
|
3578
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition, :Area
|
3299
3579
|
|
3300
|
-
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil)
|
3580
|
+
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil, area=nil)
|
3301
3581
|
@StartTime = starttime
|
3302
3582
|
@EndTime = endtime
|
3303
3583
|
@PageSize = pagesize
|
@@ -3305,6 +3585,7 @@ module TencentCloud
|
|
3305
3585
|
@ZoneIds = zoneids
|
3306
3586
|
@Domains = domains
|
3307
3587
|
@QueryCondition = querycondition
|
3588
|
+
@Area = area
|
3308
3589
|
end
|
3309
3590
|
|
3310
3591
|
def deserialize(params)
|
@@ -3322,6 +3603,7 @@ module TencentCloud
|
|
3322
3603
|
@QueryCondition << querycondition_tmp
|
3323
3604
|
end
|
3324
3605
|
end
|
3606
|
+
@Area = params['Area']
|
3325
3607
|
end
|
3326
3608
|
end
|
3327
3609
|
|
@@ -3542,10 +3824,14 @@ module TencentCloud
|
|
3542
3824
|
# <li>hour :1小时 ;</li>
|
3543
3825
|
# <li>day :1天 。</li>
|
3544
3826
|
# @type Interval: String
|
3827
|
+
# @param Area: 数据归属地区,取值有:
|
3828
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
3829
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
3830
|
+
# @type Area: String
|
3545
3831
|
|
3546
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Interval
|
3832
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Interval, :Area
|
3547
3833
|
|
3548
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil, interval=nil)
|
3834
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil, interval=nil, area=nil)
|
3549
3835
|
@StartTime = starttime
|
3550
3836
|
@EndTime = endtime
|
3551
3837
|
@MetricNames = metricnames
|
@@ -3555,6 +3841,7 @@ module TencentCloud
|
|
3555
3841
|
@ProtocolType = protocoltype
|
3556
3842
|
@AttackType = attacktype
|
3557
3843
|
@Interval = interval
|
3844
|
+
@Area = area
|
3558
3845
|
end
|
3559
3846
|
|
3560
3847
|
def deserialize(params)
|
@@ -3567,6 +3854,7 @@ module TencentCloud
|
|
3567
3854
|
@ProtocolType = params['ProtocolType']
|
3568
3855
|
@AttackType = params['AttackType']
|
3569
3856
|
@Interval = params['Interval']
|
3857
|
+
@Area = params['Area']
|
3570
3858
|
end
|
3571
3859
|
end
|
3572
3860
|
|
@@ -3620,15 +3908,21 @@ module TencentCloud
|
|
3620
3908
|
class DescribeDDosAttackEventDetailRequest < TencentCloud::Common::AbstractModel
|
3621
3909
|
# @param EventId: 事件id。
|
3622
3910
|
# @type EventId: String
|
3911
|
+
# @param Area: 数据归属地区,取值有:
|
3912
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
3913
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
3914
|
+
# @type Area: String
|
3623
3915
|
|
3624
|
-
attr_accessor :EventId
|
3916
|
+
attr_accessor :EventId, :Area
|
3625
3917
|
|
3626
|
-
def initialize(eventid=nil)
|
3918
|
+
def initialize(eventid=nil, area=nil)
|
3627
3919
|
@EventId = eventid
|
3920
|
+
@Area = area
|
3628
3921
|
end
|
3629
3922
|
|
3630
3923
|
def deserialize(params)
|
3631
3924
|
@EventId = params['EventId']
|
3925
|
+
@Area = params['Area']
|
3632
3926
|
end
|
3633
3927
|
end
|
3634
3928
|
|
@@ -3688,10 +3982,14 @@ module TencentCloud
|
|
3688
3982
|
# <li>Y :展示 ;</li>
|
3689
3983
|
# <li>N :不展示 。</li>默认为Y。
|
3690
3984
|
# @type IsShowDetail: String
|
3985
|
+
# @param Area: 数据归属地区,取值有:
|
3986
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
3987
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
3988
|
+
# @type Area: String
|
3691
3989
|
|
3692
|
-
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType, :IsShowDetail
|
3990
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType, :IsShowDetail, :Area
|
3693
3991
|
|
3694
|
-
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, protocoltype=nil, isshowdetail=nil)
|
3992
|
+
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, protocoltype=nil, isshowdetail=nil, area=nil)
|
3695
3993
|
@StartTime = starttime
|
3696
3994
|
@EndTime = endtime
|
3697
3995
|
@PageSize = pagesize
|
@@ -3700,6 +3998,7 @@ module TencentCloud
|
|
3700
3998
|
@ZoneIds = zoneids
|
3701
3999
|
@ProtocolType = protocoltype
|
3702
4000
|
@IsShowDetail = isshowdetail
|
4001
|
+
@Area = area
|
3703
4002
|
end
|
3704
4003
|
|
3705
4004
|
def deserialize(params)
|
@@ -3711,6 +4010,7 @@ module TencentCloud
|
|
3711
4010
|
@ZoneIds = params['ZoneIds']
|
3712
4011
|
@ProtocolType = params['ProtocolType']
|
3713
4012
|
@IsShowDetail = params['IsShowDetail']
|
4013
|
+
@Area = params['Area']
|
3714
4014
|
end
|
3715
4015
|
end
|
3716
4016
|
|
@@ -3766,10 +4066,14 @@ module TencentCloud
|
|
3766
4066
|
# <li>udp ;</li>
|
3767
4067
|
# <li>all 。</li>
|
3768
4068
|
# @type ProtocolType: String
|
4069
|
+
# @param Area: 数据归属地区,取值有:
|
4070
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
4071
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
4072
|
+
# @type Area: String
|
3769
4073
|
|
3770
|
-
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType
|
4074
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType, :Area
|
3771
4075
|
|
3772
|
-
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, protocoltype=nil)
|
4076
|
+
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, protocoltype=nil, area=nil)
|
3773
4077
|
@StartTime = starttime
|
3774
4078
|
@EndTime = endtime
|
3775
4079
|
@PageSize = pagesize
|
@@ -3777,6 +4081,7 @@ module TencentCloud
|
|
3777
4081
|
@PolicyIds = policyids
|
3778
4082
|
@ZoneIds = zoneids
|
3779
4083
|
@ProtocolType = protocoltype
|
4084
|
+
@Area = area
|
3780
4085
|
end
|
3781
4086
|
|
3782
4087
|
def deserialize(params)
|
@@ -3787,6 +4092,7 @@ module TencentCloud
|
|
3787
4092
|
@PolicyIds = params['PolicyIds']
|
3788
4093
|
@ZoneIds = params['ZoneIds']
|
3789
4094
|
@ProtocolType = params['ProtocolType']
|
4095
|
+
@Area = params['Area']
|
3790
4096
|
end
|
3791
4097
|
end
|
3792
4098
|
|
@@ -3855,10 +4161,14 @@ module TencentCloud
|
|
3855
4161
|
# <li>icmpFlood ;</li>
|
3856
4162
|
# <li>all 。</li>
|
3857
4163
|
# @type AttackType: String
|
4164
|
+
# @param Area: 数据归属地区,取值有:
|
4165
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
4166
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
4167
|
+
# @type Area: String
|
3858
4168
|
|
3859
|
-
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType
|
4169
|
+
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Area
|
3860
4170
|
|
3861
|
-
def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil)
|
4171
|
+
def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil, area=nil)
|
3862
4172
|
@StartTime = starttime
|
3863
4173
|
@EndTime = endtime
|
3864
4174
|
@MetricName = metricname
|
@@ -3868,6 +4178,7 @@ module TencentCloud
|
|
3868
4178
|
@Port = port
|
3869
4179
|
@ProtocolType = protocoltype
|
3870
4180
|
@AttackType = attacktype
|
4181
|
+
@Area = area
|
3871
4182
|
end
|
3872
4183
|
|
3873
4184
|
def deserialize(params)
|
@@ -3880,6 +4191,7 @@ module TencentCloud
|
|
3880
4191
|
@Port = params['Port']
|
3881
4192
|
@ProtocolType = params['ProtocolType']
|
3882
4193
|
@AttackType = params['AttackType']
|
4194
|
+
@Area = params['Area']
|
3883
4195
|
end
|
3884
4196
|
end
|
3885
4197
|
|
@@ -3939,10 +4251,14 @@ module TencentCloud
|
|
3939
4251
|
# @type ProtocolType: String
|
3940
4252
|
# @param ZoneIds: 站点id列表,不填默认选择全部站点。
|
3941
4253
|
# @type ZoneIds: Array
|
4254
|
+
# @param Area: 数据归属地区,取值有:
|
4255
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
4256
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
4257
|
+
# @type Area: String
|
3942
4258
|
|
3943
|
-
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ProtocolType, :ZoneIds
|
4259
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ProtocolType, :ZoneIds, :Area
|
3944
4260
|
|
3945
|
-
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, protocoltype=nil, zoneids=nil)
|
4261
|
+
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, protocoltype=nil, zoneids=nil, area=nil)
|
3946
4262
|
@StartTime = starttime
|
3947
4263
|
@EndTime = endtime
|
3948
4264
|
@PageSize = pagesize
|
@@ -3950,6 +4266,7 @@ module TencentCloud
|
|
3950
4266
|
@PolicyIds = policyids
|
3951
4267
|
@ProtocolType = protocoltype
|
3952
4268
|
@ZoneIds = zoneids
|
4269
|
+
@Area = area
|
3953
4270
|
end
|
3954
4271
|
|
3955
4272
|
def deserialize(params)
|
@@ -3960,6 +4277,7 @@ module TencentCloud
|
|
3960
4277
|
@PolicyIds = params['PolicyIds']
|
3961
4278
|
@ProtocolType = params['ProtocolType']
|
3962
4279
|
@ZoneIds = params['ZoneIds']
|
4280
|
+
@Area = params['Area']
|
3963
4281
|
end
|
3964
4282
|
end
|
3965
4283
|
|
@@ -4768,6 +5086,7 @@ module TencentCloud
|
|
4768
5086
|
# l7Flow_outFlux: 访问流量
|
4769
5087
|
# l7Flow_request: 访问请求数
|
4770
5088
|
# l7Flow_outBandwidth: 访问带宽
|
5089
|
+
# l7Flow_hit_outFlux: 缓存命中流量
|
4771
5090
|
# @type MetricNames: Array
|
4772
5091
|
# @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
|
4773
5092
|
# @type Interval: String
|
@@ -4777,10 +5096,14 @@ module TencentCloud
|
|
4777
5096
|
# @type Domains: Array
|
4778
5097
|
# @param Protocol: 协议类型, 选填{http,http2,https,all}
|
4779
5098
|
# @type Protocol: String
|
5099
|
+
# @param Area: 加速区域,取值有:
|
5100
|
+
# <li>mainland:中国大陆境内;</li>
|
5101
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
5102
|
+
# @type Area: String
|
4780
5103
|
|
4781
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Domains, :Protocol
|
5104
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Domains, :Protocol, :Area
|
4782
5105
|
|
4783
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, domains=nil, protocol=nil)
|
5106
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, domains=nil, protocol=nil, area=nil)
|
4784
5107
|
@StartTime = starttime
|
4785
5108
|
@EndTime = endtime
|
4786
5109
|
@MetricNames = metricnames
|
@@ -4788,6 +5111,7 @@ module TencentCloud
|
|
4788
5111
|
@ZoneIds = zoneids
|
4789
5112
|
@Domains = domains
|
4790
5113
|
@Protocol = protocol
|
5114
|
+
@Area = area
|
4791
5115
|
end
|
4792
5116
|
|
4793
5117
|
def deserialize(params)
|
@@ -4798,6 +5122,7 @@ module TencentCloud
|
|
4798
5122
|
@ZoneIds = params['ZoneIds']
|
4799
5123
|
@Domains = params['Domains']
|
4800
5124
|
@Protocol = params['Protocol']
|
5125
|
+
@Area = params['Area']
|
4801
5126
|
end
|
4802
5127
|
end
|
4803
5128
|
|
@@ -5000,6 +5325,102 @@ module TencentCloud
|
|
5000
5325
|
end
|
5001
5326
|
end
|
5002
5327
|
|
5328
|
+
# DescribeRules请求参数结构体
|
5329
|
+
class DescribeRulesRequest < TencentCloud::Common::AbstractModel
|
5330
|
+
# @param ZoneId: 站点 ID。
|
5331
|
+
# @type ZoneId: String
|
5332
|
+
# @param Filters: 过滤参数,不填默认不过滤。
|
5333
|
+
# @type Filters: Array
|
5334
|
+
|
5335
|
+
attr_accessor :ZoneId, :Filters
|
5336
|
+
|
5337
|
+
def initialize(zoneid=nil, filters=nil)
|
5338
|
+
@ZoneId = zoneid
|
5339
|
+
@Filters = filters
|
5340
|
+
end
|
5341
|
+
|
5342
|
+
def deserialize(params)
|
5343
|
+
@ZoneId = params['ZoneId']
|
5344
|
+
unless params['Filters'].nil?
|
5345
|
+
@Filters = []
|
5346
|
+
params['Filters'].each do |i|
|
5347
|
+
rulefilter_tmp = RuleFilter.new
|
5348
|
+
rulefilter_tmp.deserialize(i)
|
5349
|
+
@Filters << rulefilter_tmp
|
5350
|
+
end
|
5351
|
+
end
|
5352
|
+
end
|
5353
|
+
end
|
5354
|
+
|
5355
|
+
# DescribeRules返回参数结构体
|
5356
|
+
class DescribeRulesResponse < TencentCloud::Common::AbstractModel
|
5357
|
+
# @param ZoneId: 站点 ID。
|
5358
|
+
# @type ZoneId: String
|
5359
|
+
# @param RuleList: 规则列表,按规则执行顺序从先往后排序。
|
5360
|
+
# @type RuleList: Array
|
5361
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5362
|
+
# @type RequestId: String
|
5363
|
+
|
5364
|
+
attr_accessor :ZoneId, :RuleList, :RequestId
|
5365
|
+
|
5366
|
+
def initialize(zoneid=nil, rulelist=nil, requestid=nil)
|
5367
|
+
@ZoneId = zoneid
|
5368
|
+
@RuleList = rulelist
|
5369
|
+
@RequestId = requestid
|
5370
|
+
end
|
5371
|
+
|
5372
|
+
def deserialize(params)
|
5373
|
+
@ZoneId = params['ZoneId']
|
5374
|
+
unless params['RuleList'].nil?
|
5375
|
+
@RuleList = []
|
5376
|
+
params['RuleList'].each do |i|
|
5377
|
+
rulesettingdetail_tmp = RuleSettingDetail.new
|
5378
|
+
rulesettingdetail_tmp.deserialize(i)
|
5379
|
+
@RuleList << rulesettingdetail_tmp
|
5380
|
+
end
|
5381
|
+
end
|
5382
|
+
@RequestId = params['RequestId']
|
5383
|
+
end
|
5384
|
+
end
|
5385
|
+
|
5386
|
+
# DescribeRulesSetting请求参数结构体
|
5387
|
+
class DescribeRulesSettingRequest < TencentCloud::Common::AbstractModel
|
5388
|
+
|
5389
|
+
|
5390
|
+
def initialize()
|
5391
|
+
end
|
5392
|
+
|
5393
|
+
def deserialize(params)
|
5394
|
+
end
|
5395
|
+
end
|
5396
|
+
|
5397
|
+
# DescribeRulesSetting返回参数结构体
|
5398
|
+
class DescribeRulesSettingResponse < TencentCloud::Common::AbstractModel
|
5399
|
+
# @param Actions: 规则引擎可应用匹配请求的设置列表及其详细建议配置信息。
|
5400
|
+
# @type Actions: Array
|
5401
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5402
|
+
# @type RequestId: String
|
5403
|
+
|
5404
|
+
attr_accessor :Actions, :RequestId
|
5405
|
+
|
5406
|
+
def initialize(actions=nil, requestid=nil)
|
5407
|
+
@Actions = actions
|
5408
|
+
@RequestId = requestid
|
5409
|
+
end
|
5410
|
+
|
5411
|
+
def deserialize(params)
|
5412
|
+
unless params['Actions'].nil?
|
5413
|
+
@Actions = []
|
5414
|
+
params['Actions'].each do |i|
|
5415
|
+
rulessettingaction_tmp = RulesSettingAction.new
|
5416
|
+
rulessettingaction_tmp.deserialize(i)
|
5417
|
+
@Actions << rulessettingaction_tmp
|
5418
|
+
end
|
5419
|
+
end
|
5420
|
+
@RequestId = params['RequestId']
|
5421
|
+
end
|
5422
|
+
end
|
5423
|
+
|
5003
5424
|
# DescribeSecurityPolicyList请求参数结构体
|
5004
5425
|
class DescribeSecurityPolicyListRequest < TencentCloud::Common::AbstractModel
|
5005
5426
|
# @param ZoneId: 一级域名
|
@@ -5336,10 +5757,14 @@ module TencentCloud
|
|
5336
5757
|
# @type Filters: Array
|
5337
5758
|
# @param ProxyIds: 四层实例列表
|
5338
5759
|
# @type ProxyIds: Array
|
5760
|
+
# @param Area: 加速区域,取值有:
|
5761
|
+
# <li>mainland:中国大陆境内;</li>
|
5762
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
5763
|
+
# @type Area: String
|
5339
5764
|
|
5340
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :InstanceIds, :Protocol, :Interval, :RuleId, :Filters, :ProxyIds
|
5765
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :InstanceIds, :Protocol, :Interval, :RuleId, :Filters, :ProxyIds, :Area
|
5341
5766
|
|
5342
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, instanceids=nil, protocol=nil, interval=nil, ruleid=nil, filters=nil, proxyids=nil)
|
5767
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, instanceids=nil, protocol=nil, interval=nil, ruleid=nil, filters=nil, proxyids=nil, area=nil)
|
5343
5768
|
@StartTime = starttime
|
5344
5769
|
@EndTime = endtime
|
5345
5770
|
@MetricNames = metricnames
|
@@ -5350,6 +5775,7 @@ module TencentCloud
|
|
5350
5775
|
@RuleId = ruleid
|
5351
5776
|
@Filters = filters
|
5352
5777
|
@ProxyIds = proxyids
|
5778
|
+
@Area = area
|
5353
5779
|
end
|
5354
5780
|
|
5355
5781
|
def deserialize(params)
|
@@ -5370,6 +5796,7 @@ module TencentCloud
|
|
5370
5796
|
end
|
5371
5797
|
end
|
5372
5798
|
@ProxyIds = params['ProxyIds']
|
5799
|
+
@Area = params['Area']
|
5373
5800
|
end
|
5374
5801
|
end
|
5375
5802
|
|
@@ -5426,16 +5853,21 @@ module TencentCloud
|
|
5426
5853
|
# @type ZoneIds: Array
|
5427
5854
|
# @param Filters: 筛选条件
|
5428
5855
|
# @type Filters: Array
|
5856
|
+
# @param Area: 加速区域,取值有:
|
5857
|
+
# <li>mainland:中国大陆境内;</li>
|
5858
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
5859
|
+
# @type Area: String
|
5429
5860
|
|
5430
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters
|
5861
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters, :Area
|
5431
5862
|
|
5432
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, filters=nil)
|
5863
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, filters=nil, area=nil)
|
5433
5864
|
@StartTime = starttime
|
5434
5865
|
@EndTime = endtime
|
5435
5866
|
@MetricNames = metricnames
|
5436
5867
|
@Interval = interval
|
5437
5868
|
@ZoneIds = zoneids
|
5438
5869
|
@Filters = filters
|
5870
|
+
@Area = area
|
5439
5871
|
end
|
5440
5872
|
|
5441
5873
|
def deserialize(params)
|
@@ -5452,6 +5884,7 @@ module TencentCloud
|
|
5452
5884
|
@Filters << filter_tmp
|
5453
5885
|
end
|
5454
5886
|
end
|
5887
|
+
@Area = params['Area']
|
5455
5888
|
end
|
5456
5889
|
end
|
5457
5890
|
|
@@ -5509,16 +5942,21 @@ module TencentCloud
|
|
5509
5942
|
# EO响应:{Key: "cacheType", Value: ["hit"], Operator: "equals"};
|
5510
5943
|
# 源站响应:{Key: "cacheType", Value: ["miss", "dynamic"], Operator: "equals"}
|
5511
5944
|
# @type Filters: Array
|
5945
|
+
# @param Area: 加速区域,取值有:
|
5946
|
+
# <li>mainland:中国大陆境内;</li>
|
5947
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
5948
|
+
# @type Area: String
|
5512
5949
|
|
5513
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters
|
5950
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters, :Area
|
5514
5951
|
|
5515
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, filters=nil)
|
5952
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, filters=nil, area=nil)
|
5516
5953
|
@StartTime = starttime
|
5517
5954
|
@EndTime = endtime
|
5518
5955
|
@MetricNames = metricnames
|
5519
5956
|
@Interval = interval
|
5520
5957
|
@ZoneIds = zoneids
|
5521
5958
|
@Filters = filters
|
5959
|
+
@Area = area
|
5522
5960
|
end
|
5523
5961
|
|
5524
5962
|
def deserialize(params)
|
@@ -5535,6 +5973,7 @@ module TencentCloud
|
|
5535
5973
|
@Filters << filter_tmp
|
5536
5974
|
end
|
5537
5975
|
end
|
5976
|
+
@Area = params['Area']
|
5538
5977
|
end
|
5539
5978
|
end
|
5540
5979
|
|
@@ -5590,10 +6029,14 @@ module TencentCloud
|
|
5590
6029
|
# @type ZoneIds: Array
|
5591
6030
|
# @param Filters: 筛选条件
|
5592
6031
|
# @type Filters: Array
|
6032
|
+
# @param Area: 加速区域,取值有:
|
6033
|
+
# <li>mainland:中国大陆境内;</li>
|
6034
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
6035
|
+
# @type Area: String
|
5593
6036
|
|
5594
|
-
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters
|
6037
|
+
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters, :Area
|
5595
6038
|
|
5596
|
-
def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, interval=nil, zoneids=nil, filters=nil)
|
6039
|
+
def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, interval=nil, zoneids=nil, filters=nil, area=nil)
|
5597
6040
|
@StartTime = starttime
|
5598
6041
|
@EndTime = endtime
|
5599
6042
|
@MetricName = metricname
|
@@ -5601,6 +6044,7 @@ module TencentCloud
|
|
5601
6044
|
@Interval = interval
|
5602
6045
|
@ZoneIds = zoneids
|
5603
6046
|
@Filters = filters
|
6047
|
+
@Area = area
|
5604
6048
|
end
|
5605
6049
|
|
5606
6050
|
def deserialize(params)
|
@@ -5618,6 +6062,7 @@ module TencentCloud
|
|
5618
6062
|
@Filters << filter_tmp
|
5619
6063
|
end
|
5620
6064
|
end
|
6065
|
+
@Area = params['Area']
|
5621
6066
|
end
|
5622
6067
|
end
|
5623
6068
|
|
@@ -5673,10 +6118,14 @@ module TencentCloud
|
|
5673
6118
|
# @type ZoneIds: Array
|
5674
6119
|
# @param Filters: 筛选条件
|
5675
6120
|
# @type Filters: Array
|
6121
|
+
# @param Area: 加速区域,取值有:
|
6122
|
+
# <li>mainland:中国大陆境内;</li>
|
6123
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
6124
|
+
# @type Area: String
|
5676
6125
|
|
5677
|
-
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters
|
6126
|
+
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters, :Area
|
5678
6127
|
|
5679
|
-
def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, interval=nil, zoneids=nil, filters=nil)
|
6128
|
+
def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, interval=nil, zoneids=nil, filters=nil, area=nil)
|
5680
6129
|
@StartTime = starttime
|
5681
6130
|
@EndTime = endtime
|
5682
6131
|
@MetricName = metricname
|
@@ -5684,6 +6133,7 @@ module TencentCloud
|
|
5684
6133
|
@Interval = interval
|
5685
6134
|
@ZoneIds = zoneids
|
5686
6135
|
@Filters = filters
|
6136
|
+
@Area = area
|
5687
6137
|
end
|
5688
6138
|
|
5689
6139
|
def deserialize(params)
|
@@ -5701,6 +6151,7 @@ module TencentCloud
|
|
5701
6151
|
@Filters << filter_tmp
|
5702
6152
|
end
|
5703
6153
|
end
|
6154
|
+
@Area = params['Area']
|
5704
6155
|
end
|
5705
6156
|
end
|
5706
6157
|
|
@@ -5841,10 +6292,14 @@ module TencentCloud
|
|
5841
6292
|
# @param QueryCondition: 筛选条件,取值有:
|
5842
6293
|
# <li>action :执行动作 。</li>
|
5843
6294
|
# @type QueryCondition: Array
|
6295
|
+
# @param Area: 数据归属地区,取值有:
|
6296
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
6297
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
6298
|
+
# @type Area: String
|
5844
6299
|
|
5845
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval, :QueryCondition
|
6300
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval, :QueryCondition, :Area
|
5846
6301
|
|
5847
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil, querycondition=nil)
|
6302
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil, querycondition=nil, area=nil)
|
5848
6303
|
@StartTime = starttime
|
5849
6304
|
@EndTime = endtime
|
5850
6305
|
@MetricNames = metricnames
|
@@ -5854,6 +6309,7 @@ module TencentCloud
|
|
5854
6309
|
@AttackType = attacktype
|
5855
6310
|
@Interval = interval
|
5856
6311
|
@QueryCondition = querycondition
|
6312
|
+
@Area = area
|
5857
6313
|
end
|
5858
6314
|
|
5859
6315
|
def deserialize(params)
|
@@ -5873,6 +6329,7 @@ module TencentCloud
|
|
5873
6329
|
@QueryCondition << querycondition_tmp
|
5874
6330
|
end
|
5875
6331
|
end
|
6332
|
+
@Area = params['Area']
|
5876
6333
|
end
|
5877
6334
|
end
|
5878
6335
|
|
@@ -5949,10 +6406,14 @@ module TencentCloud
|
|
5949
6406
|
# <li>requestMethod :请求方法 ;</li>
|
5950
6407
|
# <li>uri :统一资源标识符 。</li>
|
5951
6408
|
# @type QueryCondition: Array
|
6409
|
+
# @param Area: 数据归属地区,取值有:
|
6410
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
6411
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
6412
|
+
# @type Area: String
|
5952
6413
|
|
5953
|
-
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition
|
6414
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition, :Area
|
5954
6415
|
|
5955
|
-
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil)
|
6416
|
+
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil, area=nil)
|
5956
6417
|
@StartTime = starttime
|
5957
6418
|
@EndTime = endtime
|
5958
6419
|
@PageSize = pagesize
|
@@ -5960,6 +6421,7 @@ module TencentCloud
|
|
5960
6421
|
@ZoneIds = zoneids
|
5961
6422
|
@Domains = domains
|
5962
6423
|
@QueryCondition = querycondition
|
6424
|
+
@Area = area
|
5963
6425
|
end
|
5964
6426
|
|
5965
6427
|
def deserialize(params)
|
@@ -5977,6 +6439,7 @@ module TencentCloud
|
|
5977
6439
|
@QueryCondition << querycondition_tmp
|
5978
6440
|
end
|
5979
6441
|
end
|
6442
|
+
@Area = params['Area']
|
5980
6443
|
end
|
5981
6444
|
end
|
5982
6445
|
|
@@ -6047,10 +6510,14 @@ module TencentCloud
|
|
6047
6510
|
# @param QueryCondition: 筛选条件,取值有:
|
6048
6511
|
# <li>action :执行动作 。</li>
|
6049
6512
|
# @type QueryCondition: Array
|
6513
|
+
# @param Area: 数据归属地区,取值有:
|
6514
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
6515
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
6516
|
+
# @type Area: String
|
6050
6517
|
|
6051
|
-
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Domains, :Interval, :QueryCondition
|
6518
|
+
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Domains, :Interval, :QueryCondition, :Area
|
6052
6519
|
|
6053
|
-
def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil, domains=nil, interval=nil, querycondition=nil)
|
6520
|
+
def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil, domains=nil, interval=nil, querycondition=nil, area=nil)
|
6054
6521
|
@StartTime = starttime
|
6055
6522
|
@EndTime = endtime
|
6056
6523
|
@MetricName = metricname
|
@@ -6063,6 +6530,7 @@ module TencentCloud
|
|
6063
6530
|
@Domains = domains
|
6064
6531
|
@Interval = interval
|
6065
6532
|
@QueryCondition = querycondition
|
6533
|
+
@Area = area
|
6066
6534
|
end
|
6067
6535
|
|
6068
6536
|
def deserialize(params)
|
@@ -6085,6 +6553,7 @@ module TencentCloud
|
|
6085
6553
|
@QueryCondition << querycondition_tmp
|
6086
6554
|
end
|
6087
6555
|
end
|
6556
|
+
@Area = params['Area']
|
6088
6557
|
end
|
6089
6558
|
end
|
6090
6559
|
|
@@ -6219,10 +6688,14 @@ module TencentCloud
|
|
6219
6688
|
# @param QueryCondition: 筛选条件,取值有:
|
6220
6689
|
# <li>action :执行动作 。</li>
|
6221
6690
|
# @type QueryCondition: Array
|
6691
|
+
# @param Area: 数据归属地区,取值有:
|
6692
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
6693
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
6694
|
+
# @type Area: String
|
6222
6695
|
|
6223
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval, :QueryCondition
|
6696
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval, :QueryCondition, :Area
|
6224
6697
|
|
6225
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil, querycondition=nil)
|
6698
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil, querycondition=nil, area=nil)
|
6226
6699
|
@StartTime = starttime
|
6227
6700
|
@EndTime = endtime
|
6228
6701
|
@MetricNames = metricnames
|
@@ -6232,6 +6705,7 @@ module TencentCloud
|
|
6232
6705
|
@AttackType = attacktype
|
6233
6706
|
@Interval = interval
|
6234
6707
|
@QueryCondition = querycondition
|
6708
|
+
@Area = area
|
6235
6709
|
end
|
6236
6710
|
|
6237
6711
|
def deserialize(params)
|
@@ -6251,6 +6725,7 @@ module TencentCloud
|
|
6251
6725
|
@QueryCondition << querycondition_tmp
|
6252
6726
|
end
|
6253
6727
|
end
|
6728
|
+
@Area = params['Area']
|
6254
6729
|
end
|
6255
6730
|
end
|
6256
6731
|
|
@@ -6334,10 +6809,14 @@ module TencentCloud
|
|
6334
6809
|
# <li>rate :限速日志 ;</li>
|
6335
6810
|
# <li>acl :自定义规则日志 。</li>不填默认为rate。
|
6336
6811
|
# @type EntityType: String
|
6812
|
+
# @param Area: 数据归属地区,取值有:
|
6813
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
6814
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
6815
|
+
# @type Area: String
|
6337
6816
|
|
6338
|
-
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition, :EntityType
|
6817
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition, :EntityType, :Area
|
6339
6818
|
|
6340
|
-
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil, entitytype=nil)
|
6819
|
+
def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil, entitytype=nil, area=nil)
|
6341
6820
|
@StartTime = starttime
|
6342
6821
|
@EndTime = endtime
|
6343
6822
|
@PageSize = pagesize
|
@@ -6346,6 +6825,7 @@ module TencentCloud
|
|
6346
6825
|
@Domains = domains
|
6347
6826
|
@QueryCondition = querycondition
|
6348
6827
|
@EntityType = entitytype
|
6828
|
+
@Area = area
|
6349
6829
|
end
|
6350
6830
|
|
6351
6831
|
def deserialize(params)
|
@@ -6364,6 +6844,7 @@ module TencentCloud
|
|
6364
6844
|
end
|
6365
6845
|
end
|
6366
6846
|
@EntityType = params['EntityType']
|
6847
|
+
@Area = params['Area']
|
6367
6848
|
end
|
6368
6849
|
end
|
6369
6850
|
|
@@ -6482,10 +6963,8 @@ module TencentCloud
|
|
6482
6963
|
# @param Name: 站点名称
|
6483
6964
|
# @type Name: String
|
6484
6965
|
# @param OriginalNameServers: 用户当前使用的 NS 列表
|
6485
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6486
6966
|
# @type OriginalNameServers: Array
|
6487
6967
|
# @param NameServers: 腾讯云分配给用户的 NS 列表
|
6488
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6489
6968
|
# @type NameServers: Array
|
6490
6969
|
# @param Status: 站点状态
|
6491
6970
|
# - active:NS 已切换
|
@@ -6499,16 +6978,6 @@ module TencentCloud
|
|
6499
6978
|
# @type Type: String
|
6500
6979
|
# @param Paused: 站点是否关闭
|
6501
6980
|
# @type Paused: Boolean
|
6502
|
-
# @param CreatedOn: 站点创建时间
|
6503
|
-
# @type CreatedOn: String
|
6504
|
-
# @param ModifiedOn: 站点修改时间
|
6505
|
-
# @type ModifiedOn: String
|
6506
|
-
# @param VanityNameServers: 用户自定义 NS 信息
|
6507
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6508
|
-
# @type VanityNameServers: :class:`Tencentcloud::Teo.v20220106.models.VanityNameServers`
|
6509
|
-
# @param VanityNameServersIps: 用户自定义 NS IP 信息
|
6510
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6511
|
-
# @type VanityNameServersIps: Array
|
6512
6981
|
# @param CnameSpeedUp: 是否开启 CNAME 加速
|
6513
6982
|
# - enabled:开启
|
6514
6983
|
# - disabled:关闭
|
@@ -6516,20 +6985,34 @@ module TencentCloud
|
|
6516
6985
|
# @param CnameStatus: cname切换验证状态
|
6517
6986
|
# - finished 切换完成
|
6518
6987
|
# - pending 切换验证中
|
6519
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6520
6988
|
# @type CnameStatus: String
|
6521
6989
|
# @param Tags: 资源标签
|
6522
6990
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6523
6991
|
# @type Tags: Array
|
6992
|
+
# @param Area: 站点接入地域,取值为:
|
6993
|
+
# <li> global:全球;</li>
|
6994
|
+
# <li> mainland:中国大陆;</li>
|
6995
|
+
# <li> overseas:境外区域。</li>
|
6996
|
+
# @type Area: String
|
6524
6997
|
# @param Resources: 计费资源
|
6525
6998
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6526
6999
|
# @type Resources: Array
|
7000
|
+
# @param ModifiedOn: 站点修改时间
|
7001
|
+
# @type ModifiedOn: String
|
7002
|
+
# @param CreatedOn: 站点创建时间
|
7003
|
+
# @type CreatedOn: String
|
7004
|
+
# @param VanityNameServers: 用户自定义 NS 信息
|
7005
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7006
|
+
# @type VanityNameServers: :class:`Tencentcloud::Teo.v20220106.models.VanityNameServers`
|
7007
|
+
# @param VanityNameServersIps: 用户自定义 NS IP 信息
|
7008
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7009
|
+
# @type VanityNameServersIps: Array
|
6527
7010
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6528
7011
|
# @type RequestId: String
|
6529
7012
|
|
6530
|
-
attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :
|
7013
|
+
attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CnameSpeedUp, :CnameStatus, :Tags, :Area, :Resources, :ModifiedOn, :CreatedOn, :VanityNameServers, :VanityNameServersIps, :RequestId
|
6531
7014
|
|
6532
|
-
def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil,
|
7015
|
+
def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, cnamespeedup=nil, cnamestatus=nil, tags=nil, area=nil, resources=nil, modifiedon=nil, createdon=nil, vanitynameservers=nil, vanitynameserversips=nil, requestid=nil)
|
6533
7016
|
@Id = id
|
6534
7017
|
@Name = name
|
6535
7018
|
@OriginalNameServers = originalnameservers
|
@@ -6537,14 +7020,15 @@ module TencentCloud
|
|
6537
7020
|
@Status = status
|
6538
7021
|
@Type = type
|
6539
7022
|
@Paused = paused
|
6540
|
-
@CreatedOn = createdon
|
6541
|
-
@ModifiedOn = modifiedon
|
6542
|
-
@VanityNameServers = vanitynameservers
|
6543
|
-
@VanityNameServersIps = vanitynameserversips
|
6544
7023
|
@CnameSpeedUp = cnamespeedup
|
6545
7024
|
@CnameStatus = cnamestatus
|
6546
7025
|
@Tags = tags
|
7026
|
+
@Area = area
|
6547
7027
|
@Resources = resources
|
7028
|
+
@ModifiedOn = modifiedon
|
7029
|
+
@CreatedOn = createdon
|
7030
|
+
@VanityNameServers = vanitynameservers
|
7031
|
+
@VanityNameServersIps = vanitynameserversips
|
6548
7032
|
@RequestId = requestid
|
6549
7033
|
end
|
6550
7034
|
|
@@ -6556,20 +7040,6 @@ module TencentCloud
|
|
6556
7040
|
@Status = params['Status']
|
6557
7041
|
@Type = params['Type']
|
6558
7042
|
@Paused = params['Paused']
|
6559
|
-
@CreatedOn = params['CreatedOn']
|
6560
|
-
@ModifiedOn = params['ModifiedOn']
|
6561
|
-
unless params['VanityNameServers'].nil?
|
6562
|
-
@VanityNameServers = VanityNameServers.new
|
6563
|
-
@VanityNameServers.deserialize(params['VanityNameServers'])
|
6564
|
-
end
|
6565
|
-
unless params['VanityNameServersIps'].nil?
|
6566
|
-
@VanityNameServersIps = []
|
6567
|
-
params['VanityNameServersIps'].each do |i|
|
6568
|
-
vanitynameserversips_tmp = VanityNameServersIps.new
|
6569
|
-
vanitynameserversips_tmp.deserialize(i)
|
6570
|
-
@VanityNameServersIps << vanitynameserversips_tmp
|
6571
|
-
end
|
6572
|
-
end
|
6573
7043
|
@CnameSpeedUp = params['CnameSpeedUp']
|
6574
7044
|
@CnameStatus = params['CnameStatus']
|
6575
7045
|
unless params['Tags'].nil?
|
@@ -6580,6 +7050,7 @@ module TencentCloud
|
|
6580
7050
|
@Tags << tag_tmp
|
6581
7051
|
end
|
6582
7052
|
end
|
7053
|
+
@Area = params['Area']
|
6583
7054
|
unless params['Resources'].nil?
|
6584
7055
|
@Resources = []
|
6585
7056
|
params['Resources'].each do |i|
|
@@ -6588,6 +7059,20 @@ module TencentCloud
|
|
6588
7059
|
@Resources << resource_tmp
|
6589
7060
|
end
|
6590
7061
|
end
|
7062
|
+
@ModifiedOn = params['ModifiedOn']
|
7063
|
+
@CreatedOn = params['CreatedOn']
|
7064
|
+
unless params['VanityNameServers'].nil?
|
7065
|
+
@VanityNameServers = VanityNameServers.new
|
7066
|
+
@VanityNameServers.deserialize(params['VanityNameServers'])
|
7067
|
+
end
|
7068
|
+
unless params['VanityNameServersIps'].nil?
|
7069
|
+
@VanityNameServersIps = []
|
7070
|
+
params['VanityNameServersIps'].each do |i|
|
7071
|
+
vanitynameserversips_tmp = VanityNameServersIps.new
|
7072
|
+
vanitynameserversips_tmp.deserialize(i)
|
7073
|
+
@VanityNameServersIps << vanitynameserversips_tmp
|
7074
|
+
end
|
7075
|
+
end
|
6591
7076
|
@RequestId = params['RequestId']
|
6592
7077
|
end
|
6593
7078
|
end
|
@@ -6662,12 +7147,16 @@ module TencentCloud
|
|
6662
7147
|
# @param Ipv6: Ipv6访问配置。
|
6663
7148
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6664
7149
|
# @type Ipv6: :class:`Tencentcloud::Teo.v20220106.models.Ipv6Access`
|
7150
|
+
# @param Area: 站点加速区域信息,取值有:
|
7151
|
+
# <li>mainland:中国境内加速;</li>
|
7152
|
+
# <li>overseas:中国境外加速。</li>
|
7153
|
+
# @type Area: String
|
6665
7154
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6666
7155
|
# @type RequestId: String
|
6667
7156
|
|
6668
|
-
attr_accessor :ZoneId, :Zone, :Cache, :CacheKey, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :Https, :Origin, :SmartRouting, :MaxAge, :OfflineCache, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :RequestId
|
7157
|
+
attr_accessor :ZoneId, :Zone, :Cache, :CacheKey, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :Https, :Origin, :SmartRouting, :MaxAge, :OfflineCache, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :Area, :RequestId
|
6669
7158
|
|
6670
|
-
def initialize(zoneid=nil, zone=nil, cache=nil, cachekey=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, https=nil, origin=nil, smartrouting=nil, maxage=nil, offlinecache=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, requestid=nil)
|
7159
|
+
def initialize(zoneid=nil, zone=nil, cache=nil, cachekey=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, https=nil, origin=nil, smartrouting=nil, maxage=nil, offlinecache=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, area=nil, requestid=nil)
|
6671
7160
|
@ZoneId = zoneid
|
6672
7161
|
@Zone = zone
|
6673
7162
|
@Cache = cache
|
@@ -6686,6 +7175,7 @@ module TencentCloud
|
|
6686
7175
|
@ClientIpHeader = clientipheader
|
6687
7176
|
@CachePrefresh = cacheprefresh
|
6688
7177
|
@Ipv6 = ipv6
|
7178
|
+
@Area = area
|
6689
7179
|
@RequestId = requestid
|
6690
7180
|
end
|
6691
7181
|
|
@@ -6756,17 +7246,18 @@ module TencentCloud
|
|
6756
7246
|
@Ipv6 = Ipv6Access.new
|
6757
7247
|
@Ipv6.deserialize(params['Ipv6'])
|
6758
7248
|
end
|
7249
|
+
@Area = params['Area']
|
6759
7250
|
@RequestId = params['RequestId']
|
6760
7251
|
end
|
6761
7252
|
end
|
6762
7253
|
|
6763
7254
|
# DescribeZones请求参数结构体
|
6764
7255
|
class DescribeZonesRequest < TencentCloud::Common::AbstractModel
|
6765
|
-
# @param Offset:
|
7256
|
+
# @param Offset: 分页查询偏移量。默认值:0,最小值:0。
|
6766
7257
|
# @type Offset: Integer
|
6767
|
-
# @param Limit:
|
7258
|
+
# @param Limit: 分页查询限制数目。默认值:1000,最大值:1000。
|
6768
7259
|
# @type Limit: Integer
|
6769
|
-
# @param Filters:
|
7260
|
+
# @param Filters: 查询条件过滤器,复杂类型。
|
6770
7261
|
# @type Filters: Array
|
6771
7262
|
|
6772
7263
|
attr_accessor :Offset, :Limit, :Filters
|
@@ -6793,10 +7284,9 @@ module TencentCloud
|
|
6793
7284
|
|
6794
7285
|
# DescribeZones返回参数结构体
|
6795
7286
|
class DescribeZonesResponse < TencentCloud::Common::AbstractModel
|
6796
|
-
# @param TotalCount:
|
7287
|
+
# @param TotalCount: 符合条件的站点个数。
|
6797
7288
|
# @type TotalCount: Integer
|
6798
|
-
# @param Zones:
|
6799
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7289
|
+
# @param Zones: 站点详细信息列表。
|
6800
7290
|
# @type Zones: Array
|
6801
7291
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6802
7292
|
# @type RequestId: String
|
@@ -7616,15 +8106,20 @@ module TencentCloud
|
|
7616
8106
|
# @param LogPacketName: 日志数据包名
|
7617
8107
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7618
8108
|
# @type LogPacketName: String
|
8109
|
+
# @param Area: 加速区域,取值有:
|
8110
|
+
# <li>mainland:中国大陆境内;</li>
|
8111
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
8112
|
+
# @type Area: String
|
7619
8113
|
|
7620
|
-
attr_accessor :LogTime, :Domain, :Size, :Url, :LogPacketName
|
8114
|
+
attr_accessor :LogTime, :Domain, :Size, :Url, :LogPacketName, :Area
|
7621
8115
|
|
7622
|
-
def initialize(logtime=nil, domain=nil, size=nil, url=nil, logpacketname=nil)
|
8116
|
+
def initialize(logtime=nil, domain=nil, size=nil, url=nil, logpacketname=nil, area=nil)
|
7623
8117
|
@LogTime = logtime
|
7624
8118
|
@Domain = domain
|
7625
8119
|
@Size = size
|
7626
8120
|
@Url = url
|
7627
8121
|
@LogPacketName = logpacketname
|
8122
|
+
@Area = area
|
7628
8123
|
end
|
7629
8124
|
|
7630
8125
|
def deserialize(params)
|
@@ -7633,6 +8128,7 @@ module TencentCloud
|
|
7633
8128
|
@Size = params['Size']
|
7634
8129
|
@Url = params['Url']
|
7635
8130
|
@LogPacketName = params['LogPacketName']
|
8131
|
+
@Area = params['Area']
|
7636
8132
|
end
|
7637
8133
|
end
|
7638
8134
|
|
@@ -8077,11 +8573,11 @@ module TencentCloud
|
|
8077
8573
|
|
8078
8574
|
# ModifyDDoSPolicy请求参数结构体
|
8079
8575
|
class ModifyDDoSPolicyRequest < TencentCloud::Common::AbstractModel
|
8080
|
-
# @param PolicyId:
|
8576
|
+
# @param PolicyId: 策略id。
|
8081
8577
|
# @type PolicyId: Integer
|
8082
|
-
# @param ZoneId:
|
8578
|
+
# @param ZoneId: 站点id。
|
8083
8579
|
# @type ZoneId: String
|
8084
|
-
# @param DdosRule: DDoS
|
8580
|
+
# @param DdosRule: DDoS防护配置详情。
|
8085
8581
|
# @type DdosRule: :class:`Tencentcloud::Teo.v20220106.models.DdosRule`
|
8086
8582
|
|
8087
8583
|
attr_accessor :PolicyId, :ZoneId, :DdosRule
|
@@ -8104,7 +8600,7 @@ module TencentCloud
|
|
8104
8600
|
|
8105
8601
|
# ModifyDDoSPolicy返回参数结构体
|
8106
8602
|
class ModifyDDoSPolicyResponse < TencentCloud::Common::AbstractModel
|
8107
|
-
# @param PolicyId:
|
8603
|
+
# @param PolicyId: 策略id。
|
8108
8604
|
# @type PolicyId: Integer
|
8109
8605
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8110
8606
|
# @type RequestId: String
|
@@ -8562,6 +9058,103 @@ module TencentCloud
|
|
8562
9058
|
end
|
8563
9059
|
end
|
8564
9060
|
|
9061
|
+
# ModifyRulePriority请求参数结构体
|
9062
|
+
class ModifyRulePriorityRequest < TencentCloud::Common::AbstractModel
|
9063
|
+
# @param ZoneId: 站点 ID。
|
9064
|
+
# @type ZoneId: String
|
9065
|
+
# @param RuleIds: 规则 ID 的顺序,多条规则执行顺序依次往下。
|
9066
|
+
# @type RuleIds: Array
|
9067
|
+
|
9068
|
+
attr_accessor :ZoneId, :RuleIds
|
9069
|
+
|
9070
|
+
def initialize(zoneid=nil, ruleids=nil)
|
9071
|
+
@ZoneId = zoneid
|
9072
|
+
@RuleIds = ruleids
|
9073
|
+
end
|
9074
|
+
|
9075
|
+
def deserialize(params)
|
9076
|
+
@ZoneId = params['ZoneId']
|
9077
|
+
@RuleIds = params['RuleIds']
|
9078
|
+
end
|
9079
|
+
end
|
9080
|
+
|
9081
|
+
# ModifyRulePriority返回参数结构体
|
9082
|
+
class ModifyRulePriorityResponse < TencentCloud::Common::AbstractModel
|
9083
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9084
|
+
# @type RequestId: String
|
9085
|
+
|
9086
|
+
attr_accessor :RequestId
|
9087
|
+
|
9088
|
+
def initialize(requestid=nil)
|
9089
|
+
@RequestId = requestid
|
9090
|
+
end
|
9091
|
+
|
9092
|
+
def deserialize(params)
|
9093
|
+
@RequestId = params['RequestId']
|
9094
|
+
end
|
9095
|
+
end
|
9096
|
+
|
9097
|
+
# ModifyRule请求参数结构体
|
9098
|
+
class ModifyRuleRequest < TencentCloud::Common::AbstractModel
|
9099
|
+
# @param ZoneId: 站点 ID。
|
9100
|
+
# @type ZoneId: String
|
9101
|
+
# @param RuleName: 规则名称,字符串名称长度 1~255。
|
9102
|
+
# @type RuleName: String
|
9103
|
+
# @param Rules: 规则内容。
|
9104
|
+
# @type Rules: Array
|
9105
|
+
# @param RuleId: 规则 ID。
|
9106
|
+
# @type RuleId: String
|
9107
|
+
# @param Status: 规则状态,取值有:
|
9108
|
+
# <li> enable: 启用; </li>
|
9109
|
+
# <li> disable: 未启用。</li>
|
9110
|
+
# @type Status: String
|
9111
|
+
|
9112
|
+
attr_accessor :ZoneId, :RuleName, :Rules, :RuleId, :Status
|
9113
|
+
|
9114
|
+
def initialize(zoneid=nil, rulename=nil, rules=nil, ruleid=nil, status=nil)
|
9115
|
+
@ZoneId = zoneid
|
9116
|
+
@RuleName = rulename
|
9117
|
+
@Rules = rules
|
9118
|
+
@RuleId = ruleid
|
9119
|
+
@Status = status
|
9120
|
+
end
|
9121
|
+
|
9122
|
+
def deserialize(params)
|
9123
|
+
@ZoneId = params['ZoneId']
|
9124
|
+
@RuleName = params['RuleName']
|
9125
|
+
unless params['Rules'].nil?
|
9126
|
+
@Rules = []
|
9127
|
+
params['Rules'].each do |i|
|
9128
|
+
ruleitem_tmp = RuleItem.new
|
9129
|
+
ruleitem_tmp.deserialize(i)
|
9130
|
+
@Rules << ruleitem_tmp
|
9131
|
+
end
|
9132
|
+
end
|
9133
|
+
@RuleId = params['RuleId']
|
9134
|
+
@Status = params['Status']
|
9135
|
+
end
|
9136
|
+
end
|
9137
|
+
|
9138
|
+
# ModifyRule返回参数结构体
|
9139
|
+
class ModifyRuleResponse < TencentCloud::Common::AbstractModel
|
9140
|
+
# @param RuleId: 规则 ID。
|
9141
|
+
# @type RuleId: String
|
9142
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9143
|
+
# @type RequestId: String
|
9144
|
+
|
9145
|
+
attr_accessor :RuleId, :RequestId
|
9146
|
+
|
9147
|
+
def initialize(ruleid=nil, requestid=nil)
|
9148
|
+
@RuleId = ruleid
|
9149
|
+
@RequestId = requestid
|
9150
|
+
end
|
9151
|
+
|
9152
|
+
def deserialize(params)
|
9153
|
+
@RuleId = params['RuleId']
|
9154
|
+
@RequestId = params['RequestId']
|
9155
|
+
end
|
9156
|
+
end
|
9157
|
+
|
8565
9158
|
# ModifySecurityPolicy请求参数结构体
|
8566
9159
|
class ModifySecurityPolicyRequest < TencentCloud::Common::AbstractModel
|
8567
9160
|
# @param ZoneId: 一级域名
|
@@ -8975,7 +9568,6 @@ module TencentCloud
|
|
8975
9568
|
# @param Switch: 离线缓存是否开启,取值有:
|
8976
9569
|
# <li>on:开启;</li>
|
8977
9570
|
# <li>off:关闭。</li>
|
8978
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
8979
9571
|
# @type Switch: String
|
8980
9572
|
|
8981
9573
|
attr_accessor :Switch
|
@@ -9230,6 +9822,61 @@ module TencentCloud
|
|
9230
9822
|
end
|
9231
9823
|
end
|
9232
9824
|
|
9825
|
+
# edgeone套餐信息
|
9826
|
+
class PlanInfo < TencentCloud::Common::AbstractModel
|
9827
|
+
# @param Currency: 结算货币类型,取值有:
|
9828
|
+
# <li> CNY :人民币结算; </li>
|
9829
|
+
# <li> USD :美元结算。</li>
|
9830
|
+
# @type Currency: String
|
9831
|
+
# @param Flux: 套餐所含流量(单位:字节)
|
9832
|
+
# @type Flux: Integer
|
9833
|
+
# @param Frequency: 结算周期,取值有:
|
9834
|
+
# <li> y :按年结算; </li>
|
9835
|
+
# <li> m :按月结算;</li>
|
9836
|
+
# <li> h :按小时结算; </li>
|
9837
|
+
# <li> M :按分钟结算;</li>
|
9838
|
+
# <li> s :按秒结算。 </li>
|
9839
|
+
# @type Frequency: String
|
9840
|
+
# @param PlanType: 套餐类型,取值有:
|
9841
|
+
# <li> sta :全球内容分发网络(不包括中国大陆)标准版套餐; </li>
|
9842
|
+
# <li> sta_with_bot :全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;</li>
|
9843
|
+
# <li> sta_cm :中国大陆内容分发网络标准版套餐; </li>
|
9844
|
+
# <li> sta_cm_with_bot :中国大陆内容分发网络标准版套餐附带bot管理;</li>
|
9845
|
+
# <li> ent :全球内容分发网络(不包括中国大陆)企业版套餐; </li>
|
9846
|
+
# <li> ent_with_bot : 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li>
|
9847
|
+
# <li> ent_cm :中国大陆内容分发网络企业版套餐; </li>
|
9848
|
+
# <li> ent_cm_with_bot :中国大陆内容分发网络企业版套餐附带bot管理。</li>
|
9849
|
+
# @type PlanType: String
|
9850
|
+
# @param Price: 套餐价格(单位:分)
|
9851
|
+
# @type Price: Float
|
9852
|
+
# @param Request: 套餐所含请求次数(单位:字节)
|
9853
|
+
# @type Request: Integer
|
9854
|
+
# @param SiteNumber: 套餐所能绑定的站点个数。
|
9855
|
+
# @type SiteNumber: Integer
|
9856
|
+
|
9857
|
+
attr_accessor :Currency, :Flux, :Frequency, :PlanType, :Price, :Request, :SiteNumber
|
9858
|
+
|
9859
|
+
def initialize(currency=nil, flux=nil, frequency=nil, plantype=nil, price=nil, request=nil, sitenumber=nil)
|
9860
|
+
@Currency = currency
|
9861
|
+
@Flux = flux
|
9862
|
+
@Frequency = frequency
|
9863
|
+
@PlanType = plantype
|
9864
|
+
@Price = price
|
9865
|
+
@Request = request
|
9866
|
+
@SiteNumber = sitenumber
|
9867
|
+
end
|
9868
|
+
|
9869
|
+
def deserialize(params)
|
9870
|
+
@Currency = params['Currency']
|
9871
|
+
@Flux = params['Flux']
|
9872
|
+
@Frequency = params['Frequency']
|
9873
|
+
@PlanType = params['PlanType']
|
9874
|
+
@Price = params['Price']
|
9875
|
+
@Request = params['Request']
|
9876
|
+
@SiteNumber = params['SiteNumber']
|
9877
|
+
end
|
9878
|
+
end
|
9879
|
+
|
9233
9880
|
# 用户画像规则详情
|
9234
9881
|
class PortraitManagedRuleDetail < TencentCloud::Common::AbstractModel
|
9235
9882
|
# @param RuleId: 规则唯一id
|
@@ -9319,7 +9966,6 @@ module TencentCloud
|
|
9319
9966
|
# @param Switch: CacheKey是否由QueryString组成,取值有:
|
9320
9967
|
# <li>on:是;</li>
|
9321
9968
|
# <li>off:否。</li>
|
9322
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9323
9969
|
# @type Switch: String
|
9324
9970
|
# @param Action: CacheKey使用QueryString的方式,取值有:
|
9325
9971
|
# <li>includeCustom:使用部分url参数;</li>
|
@@ -9603,33 +10249,39 @@ module TencentCloud
|
|
9603
10249
|
|
9604
10250
|
# 计费资源
|
9605
10251
|
class Resource < TencentCloud::Common::AbstractModel
|
9606
|
-
# @param Id: 资源 ID
|
10252
|
+
# @param Id: 资源 ID。
|
9607
10253
|
# @type Id: String
|
9608
|
-
# @param PayMode:
|
9609
|
-
# 0
|
9610
|
-
# 1 为预付费
|
10254
|
+
# @param PayMode: 付费模式,取值有:
|
10255
|
+
# <li>0:后付费。</li>
|
9611
10256
|
# @type PayMode: Integer
|
9612
|
-
# @param CreateTime:
|
10257
|
+
# @param CreateTime: 创建时间。
|
9613
10258
|
# @type CreateTime: String
|
9614
|
-
# @param EnableTime:
|
10259
|
+
# @param EnableTime: 生效时间。
|
9615
10260
|
# @type EnableTime: String
|
9616
|
-
# @param ExpireTime:
|
10261
|
+
# @param ExpireTime: 失效时间。
|
9617
10262
|
# @type ExpireTime: String
|
9618
|
-
# @param Status:
|
10263
|
+
# @param Status: 套餐状态,取值有:
|
10264
|
+
# <li>normal:正常;</li>
|
10265
|
+
# <li>isolated:隔离;</li>
|
10266
|
+
# <li>destroyed:销毁。</li>
|
9619
10267
|
# @type Status: String
|
9620
|
-
# @param Sv:
|
10268
|
+
# @param Sv: 询价参数。
|
9621
10269
|
# @type Sv: Array
|
9622
|
-
# @param AutoRenewFlag:
|
9623
|
-
# 0
|
9624
|
-
# 1
|
9625
|
-
# 2
|
10270
|
+
# @param AutoRenewFlag: 是否自动续费,取值有:
|
10271
|
+
# <li>0:默认状态;</li>
|
10272
|
+
# <li>1:自动续费;</li>
|
10273
|
+
# <li>2:不自动续费。</li>
|
9626
10274
|
# @type AutoRenewFlag: Integer
|
9627
|
-
# @param PlanId: 套餐关联资源ID
|
10275
|
+
# @param PlanId: 套餐关联资源 ID。
|
9628
10276
|
# @type PlanId: String
|
10277
|
+
# @param Area: 地域,取值有:
|
10278
|
+
# <li>mainland:国内;</li>
|
10279
|
+
# <li>overseas:海外。</li>
|
10280
|
+
# @type Area: String
|
9629
10281
|
|
9630
|
-
attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId
|
10282
|
+
attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId, :Area
|
9631
10283
|
|
9632
|
-
def initialize(id=nil, paymode=nil, createtime=nil, enabletime=nil, expiretime=nil, status=nil, sv=nil, autorenewflag=nil, planid=nil)
|
10284
|
+
def initialize(id=nil, paymode=nil, createtime=nil, enabletime=nil, expiretime=nil, status=nil, sv=nil, autorenewflag=nil, planid=nil, area=nil)
|
9633
10285
|
@Id = id
|
9634
10286
|
@PayMode = paymode
|
9635
10287
|
@CreateTime = createtime
|
@@ -9639,6 +10291,7 @@ module TencentCloud
|
|
9639
10291
|
@Sv = sv
|
9640
10292
|
@AutoRenewFlag = autorenewflag
|
9641
10293
|
@PlanId = planid
|
10294
|
+
@Area = area
|
9642
10295
|
end
|
9643
10296
|
|
9644
10297
|
def deserialize(params)
|
@@ -9658,6 +10311,584 @@ module TencentCloud
|
|
9658
10311
|
end
|
9659
10312
|
@AutoRenewFlag = params['AutoRenewFlag']
|
9660
10313
|
@PlanId = params['PlanId']
|
10314
|
+
@Area = params['Area']
|
10315
|
+
end
|
10316
|
+
end
|
10317
|
+
|
10318
|
+
# 规则引擎功能项操作,对于一种功能只对应下面三种类型的其中一种,RuleAction 数组中的每一项只能是其中一个类型,更多功能项的填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
|
10319
|
+
class RuleAction < TencentCloud::Common::AbstractModel
|
10320
|
+
# @param NormalAction: 常规功能操作,选择该类型的功能项有:
|
10321
|
+
# <li> 访问URL 重写(AccessUrlRedirect);</li>
|
10322
|
+
# <li> 回源 URL 重写 (UpstreamUrlRedirect);</li>
|
10323
|
+
# <li> QUIC(QUIC);</li>
|
10324
|
+
# <li> WebSocket (WebSocket);</li>
|
10325
|
+
# <li> 视频拖拽(VideoSeek);</li>
|
10326
|
+
# <li> Token 鉴权(Authentication);</li>
|
10327
|
+
# <li> 自定义CacheKey(CacheKey);</li>
|
10328
|
+
# <li> 节点缓存 TTL (Cache);</li>
|
10329
|
+
# <li> 浏览器缓存 TTL(MaxAge);</li>
|
10330
|
+
# <li> 离线缓存(OfflineCache);</li>
|
10331
|
+
# <li> 智能加速(SmartRouting);</li>
|
10332
|
+
# <li> 分片回源(RangeOriginPull);</li>
|
10333
|
+
# <li> HTTP/2 回源(UpstreamHttp2);</li>
|
10334
|
+
# <li> Host Header 重写(HostHeader);</li>
|
10335
|
+
# <li> 强制 HTTPS(ForceRedirect);</li>
|
10336
|
+
# <li> 回源 HTTPS(OriginPullProtocol);</li>
|
10337
|
+
# <li> 缓存预刷新(CachePrefresh);</li>
|
10338
|
+
# <li> 智能压缩(Compression);</li>
|
10339
|
+
# <li> Hsts;</li>
|
10340
|
+
# <li> ClientIpHeader;</li>
|
10341
|
+
# <li> TlsVersion;</li>
|
10342
|
+
# <li> OcspStapling。</li>
|
10343
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10344
|
+
# @type NormalAction: :class:`Tencentcloud::Teo.v20220106.models.RuleNormalAction`
|
10345
|
+
# @param RewriteAction: 带有请求头/响应头的功能操作,选择该类型的功能项有:
|
10346
|
+
# <li> 修改 HTTP 请求头(RequestHeader);</li>
|
10347
|
+
# <li> 修改HTTP响应头(ResponseHeader)。</li>
|
10348
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10349
|
+
# @type RewriteAction: :class:`Tencentcloud::Teo.v20220106.models.RuleRewriteAction`
|
10350
|
+
# @param CodeAction: 带有状态码的功能操作,选择该类型的功能项有:
|
10351
|
+
# <li> 自定义错误页面(ErrorPage);</li>
|
10352
|
+
# <li> 状态码缓存 TTL(StatusCodeCache)。</li>
|
10353
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10354
|
+
# @type CodeAction: :class:`Tencentcloud::Teo.v20220106.models.RuleCodeAction`
|
10355
|
+
|
10356
|
+
attr_accessor :NormalAction, :RewriteAction, :CodeAction
|
10357
|
+
|
10358
|
+
def initialize(normalaction=nil, rewriteaction=nil, codeaction=nil)
|
10359
|
+
@NormalAction = normalaction
|
10360
|
+
@RewriteAction = rewriteaction
|
10361
|
+
@CodeAction = codeaction
|
10362
|
+
end
|
10363
|
+
|
10364
|
+
def deserialize(params)
|
10365
|
+
unless params['NormalAction'].nil?
|
10366
|
+
@NormalAction = RuleNormalAction.new
|
10367
|
+
@NormalAction.deserialize(params['NormalAction'])
|
10368
|
+
end
|
10369
|
+
unless params['RewriteAction'].nil?
|
10370
|
+
@RewriteAction = RuleRewriteAction.new
|
10371
|
+
@RewriteAction.deserialize(params['RewriteAction'])
|
10372
|
+
end
|
10373
|
+
unless params['CodeAction'].nil?
|
10374
|
+
@CodeAction = RuleCodeAction.new
|
10375
|
+
@CodeAction.deserialize(params['CodeAction'])
|
10376
|
+
end
|
10377
|
+
end
|
10378
|
+
end
|
10379
|
+
|
10380
|
+
# 规则引擎条件且关系条件列表
|
10381
|
+
class RuleAndConditions < TencentCloud::Common::AbstractModel
|
10382
|
+
# @param Conditions: 规则引擎条件,该数组内所有项全部满足即判断该条件满足。
|
10383
|
+
# @type Conditions: Array
|
10384
|
+
|
10385
|
+
attr_accessor :Conditions
|
10386
|
+
|
10387
|
+
def initialize(conditions=nil)
|
10388
|
+
@Conditions = conditions
|
10389
|
+
end
|
10390
|
+
|
10391
|
+
def deserialize(params)
|
10392
|
+
unless params['Conditions'].nil?
|
10393
|
+
@Conditions = []
|
10394
|
+
params['Conditions'].each do |i|
|
10395
|
+
rulecondition_tmp = RuleCondition.new
|
10396
|
+
rulecondition_tmp.deserialize(i)
|
10397
|
+
@Conditions << rulecondition_tmp
|
10398
|
+
end
|
10399
|
+
end
|
10400
|
+
end
|
10401
|
+
end
|
10402
|
+
|
10403
|
+
# 规则引擎可应用于匹配请求的设置详细信息,可选参数配置项
|
10404
|
+
class RuleChoicePropertiesItem < TencentCloud::Common::AbstractModel
|
10405
|
+
# @param Name: 参数名称。
|
10406
|
+
# @type Name: String
|
10407
|
+
# @param Type: 参数值类型。
|
10408
|
+
# <li> CHOICE:参数值只能在 ChoicesValue 中选择; </li>
|
10409
|
+
# <li> TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;</li>
|
10410
|
+
# <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
|
10411
|
+
# <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>
|
10412
|
+
# @type Type: String
|
10413
|
+
# @param ChoicesValue: 参数值的可选值。
|
10414
|
+
# 注意:若参数值为用户自定义则该数组为空数组。
|
10415
|
+
# @type ChoicesValue: Array
|
10416
|
+
# @param Min: 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
|
10417
|
+
# @type Min: Integer
|
10418
|
+
# @param Max: 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
|
10419
|
+
# @type Max: Integer
|
10420
|
+
# @param IsMultiple: 参数值是否支持多选或者填写多个。
|
10421
|
+
# @type IsMultiple: Boolean
|
10422
|
+
# @param IsAllowEmpty: 是否允许为空。
|
10423
|
+
# @type IsAllowEmpty: Boolean
|
10424
|
+
# @param ExtraParameter: 特殊参数。
|
10425
|
+
# <li> 为 NULL:RuleAction 选择 NormalAction;</li>
|
10426
|
+
# <li> 成员参数 Id 为 Action:RuleAction 选择 RewirteAction;</li>
|
10427
|
+
# <li> 成员参数 Id 为 StatusCode:RuleAction 选择 CodeAction。</li>
|
10428
|
+
# @type ExtraParameter: :class:`Tencentcloud::Teo.v20220106.models.RuleExtraParameter`
|
10429
|
+
|
10430
|
+
attr_accessor :Name, :Type, :ChoicesValue, :Min, :Max, :IsMultiple, :IsAllowEmpty, :ExtraParameter
|
10431
|
+
|
10432
|
+
def initialize(name=nil, type=nil, choicesvalue=nil, min=nil, max=nil, ismultiple=nil, isallowempty=nil, extraparameter=nil)
|
10433
|
+
@Name = name
|
10434
|
+
@Type = type
|
10435
|
+
@ChoicesValue = choicesvalue
|
10436
|
+
@Min = min
|
10437
|
+
@Max = max
|
10438
|
+
@IsMultiple = ismultiple
|
10439
|
+
@IsAllowEmpty = isallowempty
|
10440
|
+
@ExtraParameter = extraparameter
|
10441
|
+
end
|
10442
|
+
|
10443
|
+
def deserialize(params)
|
10444
|
+
@Name = params['Name']
|
10445
|
+
@Type = params['Type']
|
10446
|
+
@ChoicesValue = params['ChoicesValue']
|
10447
|
+
@Min = params['Min']
|
10448
|
+
@Max = params['Max']
|
10449
|
+
@IsMultiple = params['IsMultiple']
|
10450
|
+
@IsAllowEmpty = params['IsAllowEmpty']
|
10451
|
+
unless params['ExtraParameter'].nil?
|
10452
|
+
@ExtraParameter = RuleExtraParameter.new
|
10453
|
+
@ExtraParameter.deserialize(params['ExtraParameter'])
|
10454
|
+
end
|
10455
|
+
end
|
10456
|
+
end
|
10457
|
+
|
10458
|
+
# 规则引擎带有状态码的动作
|
10459
|
+
class RuleCodeAction < TencentCloud::Common::AbstractModel
|
10460
|
+
# @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
|
10461
|
+
# @type Action: String
|
10462
|
+
# @param Parameters: 操作参数。
|
10463
|
+
# @type Parameters: Array
|
10464
|
+
|
10465
|
+
attr_accessor :Action, :Parameters
|
10466
|
+
|
10467
|
+
def initialize(action=nil, parameters=nil)
|
10468
|
+
@Action = action
|
10469
|
+
@Parameters = parameters
|
10470
|
+
end
|
10471
|
+
|
10472
|
+
def deserialize(params)
|
10473
|
+
@Action = params['Action']
|
10474
|
+
unless params['Parameters'].nil?
|
10475
|
+
@Parameters = []
|
10476
|
+
params['Parameters'].each do |i|
|
10477
|
+
rulecodeactionparams_tmp = RuleCodeActionParams.new
|
10478
|
+
rulecodeactionparams_tmp.deserialize(i)
|
10479
|
+
@Parameters << rulecodeactionparams_tmp
|
10480
|
+
end
|
10481
|
+
end
|
10482
|
+
end
|
10483
|
+
end
|
10484
|
+
|
10485
|
+
# 规则引擎条件使用StatusCode字段动作参数
|
10486
|
+
class RuleCodeActionParams < TencentCloud::Common::AbstractModel
|
10487
|
+
# @param StatusCode: 状态 Code。
|
10488
|
+
# @type StatusCode: Integer
|
10489
|
+
# @param Name: 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
|
10490
|
+
# @type Name: String
|
10491
|
+
# @param Values: 参数值。
|
10492
|
+
# @type Values: Array
|
10493
|
+
|
10494
|
+
attr_accessor :StatusCode, :Name, :Values
|
10495
|
+
|
10496
|
+
def initialize(statuscode=nil, name=nil, values=nil)
|
10497
|
+
@StatusCode = statuscode
|
10498
|
+
@Name = name
|
10499
|
+
@Values = values
|
10500
|
+
end
|
10501
|
+
|
10502
|
+
def deserialize(params)
|
10503
|
+
@StatusCode = params['StatusCode']
|
10504
|
+
@Name = params['Name']
|
10505
|
+
@Values = params['Values']
|
10506
|
+
end
|
10507
|
+
end
|
10508
|
+
|
10509
|
+
# 规则引擎条件参数
|
10510
|
+
class RuleCondition < TencentCloud::Common::AbstractModel
|
10511
|
+
# @param Operator: 运算符,取值有:
|
10512
|
+
# <li> equal: 等于; </li>
|
10513
|
+
# <li> notequal: 不等于。</li>
|
10514
|
+
# @type Operator: String
|
10515
|
+
# @param Target: 匹配类型,取值有:
|
10516
|
+
# <li> 全部(站点任意请求): host。 </li>
|
10517
|
+
# <li> 文件名: filename; </li>
|
10518
|
+
# <li> 文件后缀: extension; </li>
|
10519
|
+
# <li> HOST: host; </li>
|
10520
|
+
# <li> URL Full: full_url,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li>
|
10521
|
+
# <li> URL Path: url,当前站点下 URL 路径的请求。 </li>
|
10522
|
+
# @type Target: String
|
10523
|
+
# @param Values: 对应匹配类型的参数值,对应匹配类型的取值有:
|
10524
|
+
# <li> 文件后缀:jpg、txt等文件后缀;</li>
|
10525
|
+
# <li> 文件名称:例如 foo.jpg 中的 foo;</li>
|
10526
|
+
# <li> 全部(站点任意请求): all; </li>
|
10527
|
+
# <li> HOST:当前站点下的 host ,例如www.maxx55.com;</li>
|
10528
|
+
# <li> URL Path:当前站点下 URL 路径的请求,例如:/example;</li>
|
10529
|
+
# <li> URL Full:当前站点下完整 URL 请求,必须包含 HTTP 协议,Host 和 路径,例如:https://www.maxx55.cn/example。</li>
|
10530
|
+
# @type Values: Array
|
10531
|
+
|
10532
|
+
attr_accessor :Operator, :Target, :Values
|
10533
|
+
|
10534
|
+
def initialize(operator=nil, target=nil, values=nil)
|
10535
|
+
@Operator = operator
|
10536
|
+
@Target = target
|
10537
|
+
@Values = values
|
10538
|
+
end
|
10539
|
+
|
10540
|
+
def deserialize(params)
|
10541
|
+
@Operator = params['Operator']
|
10542
|
+
@Target = params['Target']
|
10543
|
+
@Values = params['Values']
|
10544
|
+
end
|
10545
|
+
end
|
10546
|
+
|
10547
|
+
# 规则引擎参数详情信息,特殊参数类型。
|
10548
|
+
class RuleExtraParameter < TencentCloud::Common::AbstractModel
|
10549
|
+
# @param Id: 参数名,取值有:
|
10550
|
+
# <li> Action:修改 HTTP 头部所需参数,RuleAction 选择 RewirteAction;</li>
|
10551
|
+
# <li> StatusCode:状态码相关功能所需参数,RuleAction 选择 CodeAction。</li>
|
10552
|
+
# @type Id: String
|
10553
|
+
# @param Type: 参数值类型。
|
10554
|
+
# <li> CHOICE:参数值只能在 Values 中选择; </li>
|
10555
|
+
# <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
|
10556
|
+
# <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>
|
10557
|
+
# @type Type: String
|
10558
|
+
# @param Choices: 可选参数值。
|
10559
|
+
# 注意:当 Id 的值为 StatusCode 时数组中的值为整型,填写参数值时请填写字符串的整型数值。
|
10560
|
+
# @type Choices: String
|
10561
|
+
|
10562
|
+
attr_accessor :Id, :Type, :Choices
|
10563
|
+
|
10564
|
+
def initialize(id=nil, type=nil, choices=nil)
|
10565
|
+
@Id = id
|
10566
|
+
@Type = type
|
10567
|
+
@Choices = choices
|
10568
|
+
end
|
10569
|
+
|
10570
|
+
def deserialize(params)
|
10571
|
+
@Id = params['Id']
|
10572
|
+
@Type = params['Type']
|
10573
|
+
@Choices = params['Choices']
|
10574
|
+
end
|
10575
|
+
end
|
10576
|
+
|
10577
|
+
# 规则查询 Filter
|
10578
|
+
class RuleFilter < TencentCloud::Common::AbstractModel
|
10579
|
+
# @param Name: 过滤参数,取值有:
|
10580
|
+
# <li> RULE_ID:规则 ID。 </li>
|
10581
|
+
# @type Name: String
|
10582
|
+
# @param Values: 参数值。
|
10583
|
+
# @type Values: Array
|
10584
|
+
|
10585
|
+
attr_accessor :Name, :Values
|
10586
|
+
|
10587
|
+
def initialize(name=nil, values=nil)
|
10588
|
+
@Name = name
|
10589
|
+
@Values = values
|
10590
|
+
end
|
10591
|
+
|
10592
|
+
def deserialize(params)
|
10593
|
+
@Name = params['Name']
|
10594
|
+
@Values = params['Values']
|
10595
|
+
end
|
10596
|
+
end
|
10597
|
+
|
10598
|
+
# 规则引擎规则项,Conditions 数组内多个项的关系为 或,内层 Conditions 列表内多个项的关系为 且。
|
10599
|
+
class RuleItem < TencentCloud::Common::AbstractModel
|
10600
|
+
# @param Conditions: 执行功能判断条件。
|
10601
|
+
# 注意:满足该数组内任意一项条件,功能即可执行。
|
10602
|
+
# @type Conditions: Array
|
10603
|
+
# @param Actions: 执行的功能。
|
10604
|
+
# @type Actions: Array
|
10605
|
+
|
10606
|
+
attr_accessor :Conditions, :Actions
|
10607
|
+
|
10608
|
+
def initialize(conditions=nil, actions=nil)
|
10609
|
+
@Conditions = conditions
|
10610
|
+
@Actions = actions
|
10611
|
+
end
|
10612
|
+
|
10613
|
+
def deserialize(params)
|
10614
|
+
unless params['Conditions'].nil?
|
10615
|
+
@Conditions = []
|
10616
|
+
params['Conditions'].each do |i|
|
10617
|
+
ruleandconditions_tmp = RuleAndConditions.new
|
10618
|
+
ruleandconditions_tmp.deserialize(i)
|
10619
|
+
@Conditions << ruleandconditions_tmp
|
10620
|
+
end
|
10621
|
+
end
|
10622
|
+
unless params['Actions'].nil?
|
10623
|
+
@Actions = []
|
10624
|
+
params['Actions'].each do |i|
|
10625
|
+
ruleaction_tmp = RuleAction.new
|
10626
|
+
ruleaction_tmp.deserialize(i)
|
10627
|
+
@Actions << ruleaction_tmp
|
10628
|
+
end
|
10629
|
+
end
|
10630
|
+
end
|
10631
|
+
end
|
10632
|
+
|
10633
|
+
# 规则引擎常规类型的动作
|
10634
|
+
class RuleNormalAction < TencentCloud::Common::AbstractModel
|
10635
|
+
# @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
|
10636
|
+
# @type Action: String
|
10637
|
+
# @param Parameters: 参数。
|
10638
|
+
# @type Parameters: Array
|
10639
|
+
|
10640
|
+
attr_accessor :Action, :Parameters
|
10641
|
+
|
10642
|
+
def initialize(action=nil, parameters=nil)
|
10643
|
+
@Action = action
|
10644
|
+
@Parameters = parameters
|
10645
|
+
end
|
10646
|
+
|
10647
|
+
def deserialize(params)
|
10648
|
+
@Action = params['Action']
|
10649
|
+
unless params['Parameters'].nil?
|
10650
|
+
@Parameters = []
|
10651
|
+
params['Parameters'].each do |i|
|
10652
|
+
rulenormalactionparams_tmp = RuleNormalActionParams.new
|
10653
|
+
rulenormalactionparams_tmp.deserialize(i)
|
10654
|
+
@Parameters << rulenormalactionparams_tmp
|
10655
|
+
end
|
10656
|
+
end
|
10657
|
+
end
|
10658
|
+
end
|
10659
|
+
|
10660
|
+
# 规则引擎条件常规动作参数
|
10661
|
+
class RuleNormalActionParams < TencentCloud::Common::AbstractModel
|
10662
|
+
# @param Name: 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
|
10663
|
+
# @type Name: String
|
10664
|
+
# @param Values: 参数值。
|
10665
|
+
# @type Values: Array
|
10666
|
+
|
10667
|
+
attr_accessor :Name, :Values
|
10668
|
+
|
10669
|
+
def initialize(name=nil, values=nil)
|
10670
|
+
@Name = name
|
10671
|
+
@Values = values
|
10672
|
+
end
|
10673
|
+
|
10674
|
+
def deserialize(params)
|
10675
|
+
@Name = params['Name']
|
10676
|
+
@Values = params['Values']
|
10677
|
+
end
|
10678
|
+
end
|
10679
|
+
|
10680
|
+
# 规则引擎HTTP请求头/响应头类型的动作
|
10681
|
+
class RuleRewriteAction < TencentCloud::Common::AbstractModel
|
10682
|
+
# @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
|
10683
|
+
# @type Action: String
|
10684
|
+
# @param Parameters: 参数。
|
10685
|
+
# @type Parameters: Array
|
10686
|
+
|
10687
|
+
attr_accessor :Action, :Parameters
|
10688
|
+
|
10689
|
+
def initialize(action=nil, parameters=nil)
|
10690
|
+
@Action = action
|
10691
|
+
@Parameters = parameters
|
10692
|
+
end
|
10693
|
+
|
10694
|
+
def deserialize(params)
|
10695
|
+
@Action = params['Action']
|
10696
|
+
unless params['Parameters'].nil?
|
10697
|
+
@Parameters = []
|
10698
|
+
params['Parameters'].each do |i|
|
10699
|
+
rulerewriteactionparams_tmp = RuleRewriteActionParams.new
|
10700
|
+
rulerewriteactionparams_tmp.deserialize(i)
|
10701
|
+
@Parameters << rulerewriteactionparams_tmp
|
10702
|
+
end
|
10703
|
+
end
|
10704
|
+
end
|
10705
|
+
end
|
10706
|
+
|
10707
|
+
# 规则引擎条件 HTTP 请求/响应头操作动作参数。
|
10708
|
+
class RuleRewriteActionParams < TencentCloud::Common::AbstractModel
|
10709
|
+
# @param Action: 功能参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。现在只有三种取值:
|
10710
|
+
# <li> add:添加 HTTP 头部;</li>
|
10711
|
+
# <li> set:重写 HTTP 头部;</li>
|
10712
|
+
# <li> del:删除 HTTP 头部。</li>
|
10713
|
+
# @type Action: String
|
10714
|
+
# @param Name: 参数名称。
|
10715
|
+
# @type Name: String
|
10716
|
+
# @param Values: 参数值。
|
10717
|
+
# @type Values: Array
|
10718
|
+
|
10719
|
+
attr_accessor :Action, :Name, :Values
|
10720
|
+
|
10721
|
+
def initialize(action=nil, name=nil, values=nil)
|
10722
|
+
@Action = action
|
10723
|
+
@Name = name
|
10724
|
+
@Values = values
|
10725
|
+
end
|
10726
|
+
|
10727
|
+
def deserialize(params)
|
10728
|
+
@Action = params['Action']
|
10729
|
+
@Name = params['Name']
|
10730
|
+
@Values = params['Values']
|
10731
|
+
end
|
10732
|
+
end
|
10733
|
+
|
10734
|
+
# 规则引擎规则详情
|
10735
|
+
class RuleSettingDetail < TencentCloud::Common::AbstractModel
|
10736
|
+
# @param RuleId: 规则ID。
|
10737
|
+
# @type RuleId: String
|
10738
|
+
# @param RuleName: 规则名称,名称字符串长度 1~255。
|
10739
|
+
# @type RuleName: String
|
10740
|
+
# @param Status: 规则状态,取值有:
|
10741
|
+
# <li> enable: 启用; </li>
|
10742
|
+
# <li> disable: 未启用。 </li>
|
10743
|
+
# @type Status: String
|
10744
|
+
# @param Rules: 规则内容。
|
10745
|
+
# @type Rules: Array
|
10746
|
+
# @param RulePriority: 规则优先级, 值越大优先级越高,最小为 1。
|
10747
|
+
# @type RulePriority: Integer
|
10748
|
+
|
10749
|
+
attr_accessor :RuleId, :RuleName, :Status, :Rules, :RulePriority
|
10750
|
+
|
10751
|
+
def initialize(ruleid=nil, rulename=nil, status=nil, rules=nil, rulepriority=nil)
|
10752
|
+
@RuleId = ruleid
|
10753
|
+
@RuleName = rulename
|
10754
|
+
@Status = status
|
10755
|
+
@Rules = rules
|
10756
|
+
@RulePriority = rulepriority
|
10757
|
+
end
|
10758
|
+
|
10759
|
+
def deserialize(params)
|
10760
|
+
@RuleId = params['RuleId']
|
10761
|
+
@RuleName = params['RuleName']
|
10762
|
+
@Status = params['Status']
|
10763
|
+
unless params['Rules'].nil?
|
10764
|
+
@Rules = []
|
10765
|
+
params['Rules'].each do |i|
|
10766
|
+
ruleitem_tmp = RuleItem.new
|
10767
|
+
ruleitem_tmp.deserialize(i)
|
10768
|
+
@Rules << ruleitem_tmp
|
10769
|
+
end
|
10770
|
+
end
|
10771
|
+
@RulePriority = params['RulePriority']
|
10772
|
+
end
|
10773
|
+
end
|
10774
|
+
|
10775
|
+
# 规则引擎可应用于匹配请求的设置详细信息。
|
10776
|
+
class RulesProperties < TencentCloud::Common::AbstractModel
|
10777
|
+
# @param Name: 值为参数名称。
|
10778
|
+
# @type Name: String
|
10779
|
+
# @param Min: 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
|
10780
|
+
# @type Min: Integer
|
10781
|
+
# @param ChoicesValue: 参数值的可选值。
|
10782
|
+
# 注意:若参数值为用户自定义则该数组为空数组。
|
10783
|
+
# @type ChoicesValue: Array
|
10784
|
+
# @param Type: 参数值类型。
|
10785
|
+
# <li> CHOICE:参数值只能在 ChoicesValue 中选择; </li>
|
10786
|
+
# <li> TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;</li>
|
10787
|
+
# <li> OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性;</li>
|
10788
|
+
# <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
|
10789
|
+
# <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://tcloud4api.woa.com/document/product/1657/79382?!preview&!document=1)
|
10790
|
+
# @type Type: String
|
10791
|
+
# @param Max: 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
|
10792
|
+
# @type Max: Integer
|
10793
|
+
# @param IsMultiple: 参数值是否支持多选或者填写多个。
|
10794
|
+
# @type IsMultiple: Boolean
|
10795
|
+
# @param IsAllowEmpty: 是否允许为空。
|
10796
|
+
# @type IsAllowEmpty: Boolean
|
10797
|
+
# @param ChoiceProperties: 该参数对应的关联配置参数,属于调用接口的必填参数。
|
10798
|
+
# 注意:如果可选参数无特殊新增参数则该数组为空数组。
|
10799
|
+
# @type ChoiceProperties: Array
|
10800
|
+
# @param ExtraParameter: <li> 为 NULL:无特殊参数,RuleAction 选择 NormalAction;</li>
|
10801
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
10802
|
+
# @type ExtraParameter: :class:`Tencentcloud::Teo.v20220106.models.RuleExtraParameter`
|
10803
|
+
|
10804
|
+
attr_accessor :Name, :Min, :ChoicesValue, :Type, :Max, :IsMultiple, :IsAllowEmpty, :ChoiceProperties, :ExtraParameter
|
10805
|
+
|
10806
|
+
def initialize(name=nil, min=nil, choicesvalue=nil, type=nil, max=nil, ismultiple=nil, isallowempty=nil, choiceproperties=nil, extraparameter=nil)
|
10807
|
+
@Name = name
|
10808
|
+
@Min = min
|
10809
|
+
@ChoicesValue = choicesvalue
|
10810
|
+
@Type = type
|
10811
|
+
@Max = max
|
10812
|
+
@IsMultiple = ismultiple
|
10813
|
+
@IsAllowEmpty = isallowempty
|
10814
|
+
@ChoiceProperties = choiceproperties
|
10815
|
+
@ExtraParameter = extraparameter
|
10816
|
+
end
|
10817
|
+
|
10818
|
+
def deserialize(params)
|
10819
|
+
@Name = params['Name']
|
10820
|
+
@Min = params['Min']
|
10821
|
+
@ChoicesValue = params['ChoicesValue']
|
10822
|
+
@Type = params['Type']
|
10823
|
+
@Max = params['Max']
|
10824
|
+
@IsMultiple = params['IsMultiple']
|
10825
|
+
@IsAllowEmpty = params['IsAllowEmpty']
|
10826
|
+
unless params['ChoiceProperties'].nil?
|
10827
|
+
@ChoiceProperties = []
|
10828
|
+
params['ChoiceProperties'].each do |i|
|
10829
|
+
rulechoicepropertiesitem_tmp = RuleChoicePropertiesItem.new
|
10830
|
+
rulechoicepropertiesitem_tmp.deserialize(i)
|
10831
|
+
@ChoiceProperties << rulechoicepropertiesitem_tmp
|
10832
|
+
end
|
10833
|
+
end
|
10834
|
+
unless params['ExtraParameter'].nil?
|
10835
|
+
@ExtraParameter = RuleExtraParameter.new
|
10836
|
+
@ExtraParameter.deserialize(params['ExtraParameter'])
|
10837
|
+
end
|
10838
|
+
end
|
10839
|
+
end
|
10840
|
+
|
10841
|
+
# 规则引擎可应用于匹配请求的设置列表及其详细信息
|
10842
|
+
class RulesSettingAction < TencentCloud::Common::AbstractModel
|
10843
|
+
# @param Action: 功能名称,取值有:
|
10844
|
+
# <li> 访问URL 重写(AccessUrlRedirect);</li>
|
10845
|
+
# <li> 回源 URL 重写 (UpstreamUrlRedirect);</li>
|
10846
|
+
# <li> 自定义错误页面
|
10847
|
+
# (ErrorPage);</li>
|
10848
|
+
# <li> QUIC(QUIC);</li>
|
10849
|
+
# <li> WebSocket (WebSocket);</li>
|
10850
|
+
# <li> 视频拖拽(VideoSeek);</li>
|
10851
|
+
# <li> Token 鉴权(Authentication);</li>
|
10852
|
+
# <li> 自定义CacheKey(CacheKey);</li>
|
10853
|
+
# <li> 节点缓存 TTL (Cache);</li>
|
10854
|
+
# <li> 浏览器缓存 TTL(MaxAge);</li>
|
10855
|
+
# <li> 离线缓存(OfflineCache);</li>
|
10856
|
+
# <li> 智能加速(SmartRouting);</li>
|
10857
|
+
# <li> 分片回源(RangeOriginPull);</li>
|
10858
|
+
# <li> HTTP/2 回源(UpstreamHttp2);</li>
|
10859
|
+
# <li> Host Header 重写(HostHeader);</li>
|
10860
|
+
# <li> 强制 HTTPS(ForceRedirect);</li>
|
10861
|
+
# <li> 回源 HTTPS(OriginPullProtocol);</li>
|
10862
|
+
# <li> 缓存预刷新(CachePrefresh);</li>
|
10863
|
+
# <li> 智能压缩(Compression);</li>
|
10864
|
+
# <li> 修改 HTTP 请求头(RequestHeader);</li>
|
10865
|
+
# <li> 修改HTTP响应头(ResponseHeader);</li>
|
10866
|
+
# <li> 状态码缓存 TTL(StatusCodeCache);</li>
|
10867
|
+
# <li> Hsts;</li>
|
10868
|
+
# <li> ClientIpHeader;</li>
|
10869
|
+
# <li> TlsVersion;</li>
|
10870
|
+
# <li> OcspStapling。</li>
|
10871
|
+
# @type Action: String
|
10872
|
+
# @param Properties: 参数信息。
|
10873
|
+
# @type Properties: Array
|
10874
|
+
|
10875
|
+
attr_accessor :Action, :Properties
|
10876
|
+
|
10877
|
+
def initialize(action=nil, properties=nil)
|
10878
|
+
@Action = action
|
10879
|
+
@Properties = properties
|
10880
|
+
end
|
10881
|
+
|
10882
|
+
def deserialize(params)
|
10883
|
+
@Action = params['Action']
|
10884
|
+
unless params['Properties'].nil?
|
10885
|
+
@Properties = []
|
10886
|
+
params['Properties'].each do |i|
|
10887
|
+
rulesproperties_tmp = RulesProperties.new
|
10888
|
+
rulesproperties_tmp.deserialize(i)
|
10889
|
+
@Properties << rulesproperties_tmp
|
10890
|
+
end
|
10891
|
+
end
|
9661
10892
|
end
|
9662
10893
|
end
|
9663
10894
|
|
@@ -10048,9 +11279,9 @@ module TencentCloud
|
|
10048
11279
|
|
10049
11280
|
# 询价参数
|
10050
11281
|
class Sv < TencentCloud::Common::AbstractModel
|
10051
|
-
# @param Key:
|
11282
|
+
# @param Key: 询价参数键。
|
10052
11283
|
# @type Key: String
|
10053
|
-
# @param Value:
|
11284
|
+
# @param Value: 询价参数值。
|
10054
11285
|
# @type Value: String
|
10055
11286
|
|
10056
11287
|
attr_accessor :Key, :Value
|
@@ -10684,50 +11915,51 @@ module TencentCloud
|
|
10684
11915
|
|
10685
11916
|
# 站点信息
|
10686
11917
|
class Zone < TencentCloud::Common::AbstractModel
|
10687
|
-
# @param Id: 站点ID
|
11918
|
+
# @param Id: 站点ID。
|
10688
11919
|
# @type Id: String
|
10689
|
-
# @param Name:
|
11920
|
+
# @param Name: 站点名称。
|
10690
11921
|
# @type Name: String
|
10691
|
-
# @param OriginalNameServers: 站点当前使用的 NS
|
11922
|
+
# @param OriginalNameServers: 站点当前使用的 NS 列表。
|
10692
11923
|
# @type OriginalNameServers: Array
|
10693
|
-
# @param NameServers: 腾讯云分配的 NS
|
11924
|
+
# @param NameServers: 腾讯云分配的 NS 列表。
|
10694
11925
|
# @type NameServers: Array
|
10695
|
-
# @param Status:
|
10696
|
-
#
|
10697
|
-
#
|
10698
|
-
#
|
10699
|
-
#
|
11926
|
+
# @param Status: 站点状态,取值有:
|
11927
|
+
# <li> active:NS 已切换; </li>
|
11928
|
+
# <li> pending:NS 未切换;</li>
|
11929
|
+
# <li> moved:NS 已切走;</li>
|
11930
|
+
# <li> deactivated:被封禁。 </li>
|
10700
11931
|
# @type Status: String
|
10701
|
-
# @param Type:
|
10702
|
-
#
|
10703
|
-
#
|
11932
|
+
# @param Type: 站点接入方式,取值有
|
11933
|
+
# <li> full:NS 接入; </li>
|
11934
|
+
# <li> partial:CNAME 接入。</li>
|
10704
11935
|
# @type Type: String
|
10705
|
-
# @param Paused:
|
11936
|
+
# @param Paused: 站点是否关闭。
|
10706
11937
|
# @type Paused: Boolean
|
10707
|
-
# @param
|
10708
|
-
#
|
10709
|
-
#
|
10710
|
-
# @type
|
10711
|
-
# @param CnameStatus: cname
|
10712
|
-
#
|
10713
|
-
#
|
10714
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11938
|
+
# @param CnameSpeedUp: 是否开启cname加速,取值有:
|
11939
|
+
# <li> enabled:开启;</li>
|
11940
|
+
# <li> disabled:关闭。</li>
|
11941
|
+
# @type CnameSpeedUp: String
|
11942
|
+
# @param CnameStatus: cname 接入状态,取值有:
|
11943
|
+
# <li> finished:站点已验证;</li>
|
11944
|
+
# <li> pending:站点验证中。</li>
|
10715
11945
|
# @type CnameStatus: String
|
10716
|
-
# @param Tags:
|
10717
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11946
|
+
# @param Tags: 资源标签列表。
|
10718
11947
|
# @type Tags: Array
|
10719
|
-
# @param Resources:
|
10720
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11948
|
+
# @param Resources: 计费资源列表。
|
10721
11949
|
# @type Resources: Array
|
10722
|
-
# @param
|
10723
|
-
#
|
10724
|
-
#
|
10725
|
-
#
|
10726
|
-
# @
|
11950
|
+
# @param CreatedOn: 站点创建时间。
|
11951
|
+
# @type CreatedOn: String
|
11952
|
+
# @param ModifiedOn: 站点修改时间。
|
11953
|
+
# @type ModifiedOn: String
|
11954
|
+
# @param Area: 站点接入地域,取值为:
|
11955
|
+
# <li> global:全球;</li>
|
11956
|
+
# <li> mainland:中国大陆;</li>
|
11957
|
+
# <li> overseas:境外区域。</li>
|
11958
|
+
# @type Area: String
|
10727
11959
|
|
10728
|
-
attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :
|
11960
|
+
attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CnameSpeedUp, :CnameStatus, :Tags, :Resources, :CreatedOn, :ModifiedOn, :Area
|
10729
11961
|
|
10730
|
-
def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil,
|
11962
|
+
def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, cnamespeedup=nil, cnamestatus=nil, tags=nil, resources=nil, createdon=nil, modifiedon=nil, area=nil)
|
10731
11963
|
@Id = id
|
10732
11964
|
@Name = name
|
10733
11965
|
@OriginalNameServers = originalnameservers
|
@@ -10735,12 +11967,13 @@ module TencentCloud
|
|
10735
11967
|
@Status = status
|
10736
11968
|
@Type = type
|
10737
11969
|
@Paused = paused
|
10738
|
-
@
|
10739
|
-
@ModifiedOn = modifiedon
|
11970
|
+
@CnameSpeedUp = cnamespeedup
|
10740
11971
|
@CnameStatus = cnamestatus
|
10741
11972
|
@Tags = tags
|
10742
11973
|
@Resources = resources
|
10743
|
-
@
|
11974
|
+
@CreatedOn = createdon
|
11975
|
+
@ModifiedOn = modifiedon
|
11976
|
+
@Area = area
|
10744
11977
|
end
|
10745
11978
|
|
10746
11979
|
def deserialize(params)
|
@@ -10751,8 +11984,7 @@ module TencentCloud
|
|
10751
11984
|
@Status = params['Status']
|
10752
11985
|
@Type = params['Type']
|
10753
11986
|
@Paused = params['Paused']
|
10754
|
-
@
|
10755
|
-
@ModifiedOn = params['ModifiedOn']
|
11987
|
+
@CnameSpeedUp = params['CnameSpeedUp']
|
10756
11988
|
@CnameStatus = params['CnameStatus']
|
10757
11989
|
unless params['Tags'].nil?
|
10758
11990
|
@Tags = []
|
@@ -10770,21 +12002,23 @@ module TencentCloud
|
|
10770
12002
|
@Resources << resource_tmp
|
10771
12003
|
end
|
10772
12004
|
end
|
10773
|
-
@
|
12005
|
+
@CreatedOn = params['CreatedOn']
|
12006
|
+
@ModifiedOn = params['ModifiedOn']
|
12007
|
+
@Area = params['Area']
|
10774
12008
|
end
|
10775
12009
|
end
|
10776
12010
|
|
10777
12011
|
# 站点查询过滤条件
|
10778
12012
|
class ZoneFilter < TencentCloud::Common::AbstractModel
|
10779
12013
|
# @param Name: 过滤字段名,支持的列表如下:
|
10780
|
-
#
|
10781
|
-
#
|
10782
|
-
#
|
10783
|
-
#
|
12014
|
+
# <li> name:站点名;</li>
|
12015
|
+
# <li> status:站点状态;</li>
|
12016
|
+
# <li> tagKey:标签键;</li>
|
12017
|
+
# <li> tagValue: 标签值。</li>
|
10784
12018
|
# @type Name: String
|
10785
|
-
# @param Values:
|
12019
|
+
# @param Values: 过滤字段值。
|
10786
12020
|
# @type Values: Array
|
10787
|
-
# @param Fuzzy: 是否启用模糊查询,仅支持过滤字段名为name。模糊查询时,Values长度最大为1
|
12021
|
+
# @param Fuzzy: 是否启用模糊查询,仅支持过滤字段名为name。模糊查询时,Values长度最大为1。默认为false。
|
10788
12022
|
# @type Fuzzy: Boolean
|
10789
12023
|
|
10790
12024
|
attr_accessor :Name, :Values, :Fuzzy
|