tencentcloud-sdk-teo 3.0.390 → 3.0.396
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220106/client.rb +192 -0
- data/lib/v20220106/models.rb +1331 -173
- 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: 站点名字
|
@@ -3111,6 +3230,42 @@ module TencentCloud
|
|
3111
3230
|
end
|
3112
3231
|
end
|
3113
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
|
+
|
3114
3269
|
# DeleteZone请求参数结构体
|
3115
3270
|
class DeleteZoneRequest < TencentCloud::Common::AbstractModel
|
3116
3271
|
# @param Id: 站点 ID
|
@@ -3216,12 +3371,16 @@ module TencentCloud
|
|
3216
3371
|
# @type HostId: String
|
3217
3372
|
# @param Ipv6: IPv6访问配置。
|
3218
3373
|
# @type Ipv6: :class:`Tencentcloud::Teo.v20220106.models.Ipv6Access`
|
3374
|
+
# @param Area: 加速区域,取值有:
|
3375
|
+
# <li>mainland:中国大陆境内;</li>
|
3376
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
3377
|
+
# @type Area: String
|
3219
3378
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3220
3379
|
# @type RequestId: String
|
3221
3380
|
|
3222
|
-
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
|
3223
3382
|
|
3224
|
-
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)
|
3225
3384
|
@ProxyId = proxyid
|
3226
3385
|
@ProxyName = proxyname
|
3227
3386
|
@PlatType = plattype
|
@@ -3239,6 +3398,7 @@ module TencentCloud
|
|
3239
3398
|
@ProxyType = proxytype
|
3240
3399
|
@HostId = hostid
|
3241
3400
|
@Ipv6 = ipv6
|
3401
|
+
@Area = area
|
3242
3402
|
@RequestId = requestid
|
3243
3403
|
end
|
3244
3404
|
|
@@ -3270,6 +3430,7 @@ module TencentCloud
|
|
3270
3430
|
@Ipv6 = Ipv6Access.new
|
3271
3431
|
@Ipv6.deserialize(params['Ipv6'])
|
3272
3432
|
end
|
3433
|
+
@Area = params['Area']
|
3273
3434
|
@RequestId = params['RequestId']
|
3274
3435
|
end
|
3275
3436
|
end
|
@@ -3346,6 +3507,45 @@ module TencentCloud
|
|
3346
3507
|
end
|
3347
3508
|
end
|
3348
3509
|
|
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
|
+
|
3349
3549
|
# DescribeBotLog请求参数结构体
|
3350
3550
|
class DescribeBotLogRequest < TencentCloud::Common::AbstractModel
|
3351
3551
|
# @param StartTime: 起始时间。
|
@@ -3370,10 +3570,14 @@ module TencentCloud
|
|
3370
3570
|
# <li>requestMethod :请求方法 ;</li>
|
3371
3571
|
# <li>uri :统一资源标识符 。</li>
|
3372
3572
|
# @type QueryCondition: Array
|
3573
|
+
# @param Area: 数据归属地区,取值有:
|
3574
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
3575
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
3576
|
+
# @type Area: String
|
3373
3577
|
|
3374
|
-
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition
|
3578
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition, :Area
|
3375
3579
|
|
3376
|
-
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)
|
3377
3581
|
@StartTime = starttime
|
3378
3582
|
@EndTime = endtime
|
3379
3583
|
@PageSize = pagesize
|
@@ -3381,6 +3585,7 @@ module TencentCloud
|
|
3381
3585
|
@ZoneIds = zoneids
|
3382
3586
|
@Domains = domains
|
3383
3587
|
@QueryCondition = querycondition
|
3588
|
+
@Area = area
|
3384
3589
|
end
|
3385
3590
|
|
3386
3591
|
def deserialize(params)
|
@@ -3398,6 +3603,7 @@ module TencentCloud
|
|
3398
3603
|
@QueryCondition << querycondition_tmp
|
3399
3604
|
end
|
3400
3605
|
end
|
3606
|
+
@Area = params['Area']
|
3401
3607
|
end
|
3402
3608
|
end
|
3403
3609
|
|
@@ -3618,10 +3824,14 @@ module TencentCloud
|
|
3618
3824
|
# <li>hour :1小时 ;</li>
|
3619
3825
|
# <li>day :1天 。</li>
|
3620
3826
|
# @type Interval: String
|
3827
|
+
# @param Area: 数据归属地区,取值有:
|
3828
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
3829
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
3830
|
+
# @type Area: String
|
3621
3831
|
|
3622
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Interval
|
3832
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Interval, :Area
|
3623
3833
|
|
3624
|
-
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)
|
3625
3835
|
@StartTime = starttime
|
3626
3836
|
@EndTime = endtime
|
3627
3837
|
@MetricNames = metricnames
|
@@ -3631,6 +3841,7 @@ module TencentCloud
|
|
3631
3841
|
@ProtocolType = protocoltype
|
3632
3842
|
@AttackType = attacktype
|
3633
3843
|
@Interval = interval
|
3844
|
+
@Area = area
|
3634
3845
|
end
|
3635
3846
|
|
3636
3847
|
def deserialize(params)
|
@@ -3643,6 +3854,7 @@ module TencentCloud
|
|
3643
3854
|
@ProtocolType = params['ProtocolType']
|
3644
3855
|
@AttackType = params['AttackType']
|
3645
3856
|
@Interval = params['Interval']
|
3857
|
+
@Area = params['Area']
|
3646
3858
|
end
|
3647
3859
|
end
|
3648
3860
|
|
@@ -3696,15 +3908,21 @@ module TencentCloud
|
|
3696
3908
|
class DescribeDDosAttackEventDetailRequest < TencentCloud::Common::AbstractModel
|
3697
3909
|
# @param EventId: 事件id。
|
3698
3910
|
# @type EventId: String
|
3911
|
+
# @param Area: 数据归属地区,取值有:
|
3912
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
3913
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
3914
|
+
# @type Area: String
|
3699
3915
|
|
3700
|
-
attr_accessor :EventId
|
3916
|
+
attr_accessor :EventId, :Area
|
3701
3917
|
|
3702
|
-
def initialize(eventid=nil)
|
3918
|
+
def initialize(eventid=nil, area=nil)
|
3703
3919
|
@EventId = eventid
|
3920
|
+
@Area = area
|
3704
3921
|
end
|
3705
3922
|
|
3706
3923
|
def deserialize(params)
|
3707
3924
|
@EventId = params['EventId']
|
3925
|
+
@Area = params['Area']
|
3708
3926
|
end
|
3709
3927
|
end
|
3710
3928
|
|
@@ -3764,10 +3982,14 @@ module TencentCloud
|
|
3764
3982
|
# <li>Y :展示 ;</li>
|
3765
3983
|
# <li>N :不展示 。</li>默认为Y。
|
3766
3984
|
# @type IsShowDetail: String
|
3985
|
+
# @param Area: 数据归属地区,取值有:
|
3986
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
3987
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
3988
|
+
# @type Area: String
|
3767
3989
|
|
3768
|
-
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType, :IsShowDetail
|
3990
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType, :IsShowDetail, :Area
|
3769
3991
|
|
3770
|
-
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)
|
3771
3993
|
@StartTime = starttime
|
3772
3994
|
@EndTime = endtime
|
3773
3995
|
@PageSize = pagesize
|
@@ -3776,6 +3998,7 @@ module TencentCloud
|
|
3776
3998
|
@ZoneIds = zoneids
|
3777
3999
|
@ProtocolType = protocoltype
|
3778
4000
|
@IsShowDetail = isshowdetail
|
4001
|
+
@Area = area
|
3779
4002
|
end
|
3780
4003
|
|
3781
4004
|
def deserialize(params)
|
@@ -3787,6 +4010,7 @@ module TencentCloud
|
|
3787
4010
|
@ZoneIds = params['ZoneIds']
|
3788
4011
|
@ProtocolType = params['ProtocolType']
|
3789
4012
|
@IsShowDetail = params['IsShowDetail']
|
4013
|
+
@Area = params['Area']
|
3790
4014
|
end
|
3791
4015
|
end
|
3792
4016
|
|
@@ -3842,10 +4066,14 @@ module TencentCloud
|
|
3842
4066
|
# <li>udp ;</li>
|
3843
4067
|
# <li>all 。</li>
|
3844
4068
|
# @type ProtocolType: String
|
4069
|
+
# @param Area: 数据归属地区,取值有:
|
4070
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
4071
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
4072
|
+
# @type Area: String
|
3845
4073
|
|
3846
|
-
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType
|
4074
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType, :Area
|
3847
4075
|
|
3848
|
-
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)
|
3849
4077
|
@StartTime = starttime
|
3850
4078
|
@EndTime = endtime
|
3851
4079
|
@PageSize = pagesize
|
@@ -3853,6 +4081,7 @@ module TencentCloud
|
|
3853
4081
|
@PolicyIds = policyids
|
3854
4082
|
@ZoneIds = zoneids
|
3855
4083
|
@ProtocolType = protocoltype
|
4084
|
+
@Area = area
|
3856
4085
|
end
|
3857
4086
|
|
3858
4087
|
def deserialize(params)
|
@@ -3863,6 +4092,7 @@ module TencentCloud
|
|
3863
4092
|
@PolicyIds = params['PolicyIds']
|
3864
4093
|
@ZoneIds = params['ZoneIds']
|
3865
4094
|
@ProtocolType = params['ProtocolType']
|
4095
|
+
@Area = params['Area']
|
3866
4096
|
end
|
3867
4097
|
end
|
3868
4098
|
|
@@ -3931,10 +4161,14 @@ module TencentCloud
|
|
3931
4161
|
# <li>icmpFlood ;</li>
|
3932
4162
|
# <li>all 。</li>
|
3933
4163
|
# @type AttackType: String
|
4164
|
+
# @param Area: 数据归属地区,取值有:
|
4165
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
4166
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
4167
|
+
# @type Area: String
|
3934
4168
|
|
3935
|
-
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType
|
4169
|
+
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Area
|
3936
4170
|
|
3937
|
-
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)
|
3938
4172
|
@StartTime = starttime
|
3939
4173
|
@EndTime = endtime
|
3940
4174
|
@MetricName = metricname
|
@@ -3944,6 +4178,7 @@ module TencentCloud
|
|
3944
4178
|
@Port = port
|
3945
4179
|
@ProtocolType = protocoltype
|
3946
4180
|
@AttackType = attacktype
|
4181
|
+
@Area = area
|
3947
4182
|
end
|
3948
4183
|
|
3949
4184
|
def deserialize(params)
|
@@ -3956,6 +4191,7 @@ module TencentCloud
|
|
3956
4191
|
@Port = params['Port']
|
3957
4192
|
@ProtocolType = params['ProtocolType']
|
3958
4193
|
@AttackType = params['AttackType']
|
4194
|
+
@Area = params['Area']
|
3959
4195
|
end
|
3960
4196
|
end
|
3961
4197
|
|
@@ -4015,10 +4251,14 @@ module TencentCloud
|
|
4015
4251
|
# @type ProtocolType: String
|
4016
4252
|
# @param ZoneIds: 站点id列表,不填默认选择全部站点。
|
4017
4253
|
# @type ZoneIds: Array
|
4254
|
+
# @param Area: 数据归属地区,取值有:
|
4255
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
4256
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
4257
|
+
# @type Area: String
|
4018
4258
|
|
4019
|
-
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ProtocolType, :ZoneIds
|
4259
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ProtocolType, :ZoneIds, :Area
|
4020
4260
|
|
4021
|
-
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)
|
4022
4262
|
@StartTime = starttime
|
4023
4263
|
@EndTime = endtime
|
4024
4264
|
@PageSize = pagesize
|
@@ -4026,6 +4266,7 @@ module TencentCloud
|
|
4026
4266
|
@PolicyIds = policyids
|
4027
4267
|
@ProtocolType = protocoltype
|
4028
4268
|
@ZoneIds = zoneids
|
4269
|
+
@Area = area
|
4029
4270
|
end
|
4030
4271
|
|
4031
4272
|
def deserialize(params)
|
@@ -4036,6 +4277,7 @@ module TencentCloud
|
|
4036
4277
|
@PolicyIds = params['PolicyIds']
|
4037
4278
|
@ProtocolType = params['ProtocolType']
|
4038
4279
|
@ZoneIds = params['ZoneIds']
|
4280
|
+
@Area = params['Area']
|
4039
4281
|
end
|
4040
4282
|
end
|
4041
4283
|
|
@@ -4844,6 +5086,7 @@ module TencentCloud
|
|
4844
5086
|
# l7Flow_outFlux: 访问流量
|
4845
5087
|
# l7Flow_request: 访问请求数
|
4846
5088
|
# l7Flow_outBandwidth: 访问带宽
|
5089
|
+
# l7Flow_hit_outFlux: 缓存命中流量
|
4847
5090
|
# @type MetricNames: Array
|
4848
5091
|
# @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
|
4849
5092
|
# @type Interval: String
|
@@ -4853,10 +5096,14 @@ module TencentCloud
|
|
4853
5096
|
# @type Domains: Array
|
4854
5097
|
# @param Protocol: 协议类型, 选填{http,http2,https,all}
|
4855
5098
|
# @type Protocol: String
|
5099
|
+
# @param Area: 加速区域,取值有:
|
5100
|
+
# <li>mainland:中国大陆境内;</li>
|
5101
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
5102
|
+
# @type Area: String
|
4856
5103
|
|
4857
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Domains, :Protocol
|
5104
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Domains, :Protocol, :Area
|
4858
5105
|
|
4859
|
-
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)
|
4860
5107
|
@StartTime = starttime
|
4861
5108
|
@EndTime = endtime
|
4862
5109
|
@MetricNames = metricnames
|
@@ -4864,6 +5111,7 @@ module TencentCloud
|
|
4864
5111
|
@ZoneIds = zoneids
|
4865
5112
|
@Domains = domains
|
4866
5113
|
@Protocol = protocol
|
5114
|
+
@Area = area
|
4867
5115
|
end
|
4868
5116
|
|
4869
5117
|
def deserialize(params)
|
@@ -4874,6 +5122,7 @@ module TencentCloud
|
|
4874
5122
|
@ZoneIds = params['ZoneIds']
|
4875
5123
|
@Domains = params['Domains']
|
4876
5124
|
@Protocol = params['Protocol']
|
5125
|
+
@Area = params['Area']
|
4877
5126
|
end
|
4878
5127
|
end
|
4879
5128
|
|
@@ -5076,6 +5325,102 @@ module TencentCloud
|
|
5076
5325
|
end
|
5077
5326
|
end
|
5078
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
|
+
|
5079
5424
|
# DescribeSecurityPolicyList请求参数结构体
|
5080
5425
|
class DescribeSecurityPolicyListRequest < TencentCloud::Common::AbstractModel
|
5081
5426
|
# @param ZoneId: 一级域名
|
@@ -5412,10 +5757,14 @@ module TencentCloud
|
|
5412
5757
|
# @type Filters: Array
|
5413
5758
|
# @param ProxyIds: 四层实例列表
|
5414
5759
|
# @type ProxyIds: Array
|
5760
|
+
# @param Area: 加速区域,取值有:
|
5761
|
+
# <li>mainland:中国大陆境内;</li>
|
5762
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
5763
|
+
# @type Area: String
|
5415
5764
|
|
5416
|
-
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
|
5417
5766
|
|
5418
|
-
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)
|
5419
5768
|
@StartTime = starttime
|
5420
5769
|
@EndTime = endtime
|
5421
5770
|
@MetricNames = metricnames
|
@@ -5426,6 +5775,7 @@ module TencentCloud
|
|
5426
5775
|
@RuleId = ruleid
|
5427
5776
|
@Filters = filters
|
5428
5777
|
@ProxyIds = proxyids
|
5778
|
+
@Area = area
|
5429
5779
|
end
|
5430
5780
|
|
5431
5781
|
def deserialize(params)
|
@@ -5446,6 +5796,7 @@ module TencentCloud
|
|
5446
5796
|
end
|
5447
5797
|
end
|
5448
5798
|
@ProxyIds = params['ProxyIds']
|
5799
|
+
@Area = params['Area']
|
5449
5800
|
end
|
5450
5801
|
end
|
5451
5802
|
|
@@ -5502,16 +5853,21 @@ module TencentCloud
|
|
5502
5853
|
# @type ZoneIds: Array
|
5503
5854
|
# @param Filters: 筛选条件
|
5504
5855
|
# @type Filters: Array
|
5856
|
+
# @param Area: 加速区域,取值有:
|
5857
|
+
# <li>mainland:中国大陆境内;</li>
|
5858
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
5859
|
+
# @type Area: String
|
5505
5860
|
|
5506
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters
|
5861
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters, :Area
|
5507
5862
|
|
5508
|
-
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)
|
5509
5864
|
@StartTime = starttime
|
5510
5865
|
@EndTime = endtime
|
5511
5866
|
@MetricNames = metricnames
|
5512
5867
|
@Interval = interval
|
5513
5868
|
@ZoneIds = zoneids
|
5514
5869
|
@Filters = filters
|
5870
|
+
@Area = area
|
5515
5871
|
end
|
5516
5872
|
|
5517
5873
|
def deserialize(params)
|
@@ -5528,6 +5884,7 @@ module TencentCloud
|
|
5528
5884
|
@Filters << filter_tmp
|
5529
5885
|
end
|
5530
5886
|
end
|
5887
|
+
@Area = params['Area']
|
5531
5888
|
end
|
5532
5889
|
end
|
5533
5890
|
|
@@ -5585,16 +5942,21 @@ module TencentCloud
|
|
5585
5942
|
# EO响应:{Key: "cacheType", Value: ["hit"], Operator: "equals"};
|
5586
5943
|
# 源站响应:{Key: "cacheType", Value: ["miss", "dynamic"], Operator: "equals"}
|
5587
5944
|
# @type Filters: Array
|
5945
|
+
# @param Area: 加速区域,取值有:
|
5946
|
+
# <li>mainland:中国大陆境内;</li>
|
5947
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
5948
|
+
# @type Area: String
|
5588
5949
|
|
5589
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters
|
5950
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters, :Area
|
5590
5951
|
|
5591
|
-
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)
|
5592
5953
|
@StartTime = starttime
|
5593
5954
|
@EndTime = endtime
|
5594
5955
|
@MetricNames = metricnames
|
5595
5956
|
@Interval = interval
|
5596
5957
|
@ZoneIds = zoneids
|
5597
5958
|
@Filters = filters
|
5959
|
+
@Area = area
|
5598
5960
|
end
|
5599
5961
|
|
5600
5962
|
def deserialize(params)
|
@@ -5611,6 +5973,7 @@ module TencentCloud
|
|
5611
5973
|
@Filters << filter_tmp
|
5612
5974
|
end
|
5613
5975
|
end
|
5976
|
+
@Area = params['Area']
|
5614
5977
|
end
|
5615
5978
|
end
|
5616
5979
|
|
@@ -5666,10 +6029,14 @@ module TencentCloud
|
|
5666
6029
|
# @type ZoneIds: Array
|
5667
6030
|
# @param Filters: 筛选条件
|
5668
6031
|
# @type Filters: Array
|
6032
|
+
# @param Area: 加速区域,取值有:
|
6033
|
+
# <li>mainland:中国大陆境内;</li>
|
6034
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
6035
|
+
# @type Area: String
|
5669
6036
|
|
5670
|
-
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters
|
6037
|
+
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters, :Area
|
5671
6038
|
|
5672
|
-
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)
|
5673
6040
|
@StartTime = starttime
|
5674
6041
|
@EndTime = endtime
|
5675
6042
|
@MetricName = metricname
|
@@ -5677,6 +6044,7 @@ module TencentCloud
|
|
5677
6044
|
@Interval = interval
|
5678
6045
|
@ZoneIds = zoneids
|
5679
6046
|
@Filters = filters
|
6047
|
+
@Area = area
|
5680
6048
|
end
|
5681
6049
|
|
5682
6050
|
def deserialize(params)
|
@@ -5694,6 +6062,7 @@ module TencentCloud
|
|
5694
6062
|
@Filters << filter_tmp
|
5695
6063
|
end
|
5696
6064
|
end
|
6065
|
+
@Area = params['Area']
|
5697
6066
|
end
|
5698
6067
|
end
|
5699
6068
|
|
@@ -5749,10 +6118,14 @@ module TencentCloud
|
|
5749
6118
|
# @type ZoneIds: Array
|
5750
6119
|
# @param Filters: 筛选条件
|
5751
6120
|
# @type Filters: Array
|
6121
|
+
# @param Area: 加速区域,取值有:
|
6122
|
+
# <li>mainland:中国大陆境内;</li>
|
6123
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
6124
|
+
# @type Area: String
|
5752
6125
|
|
5753
|
-
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters
|
6126
|
+
attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters, :Area
|
5754
6127
|
|
5755
|
-
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)
|
5756
6129
|
@StartTime = starttime
|
5757
6130
|
@EndTime = endtime
|
5758
6131
|
@MetricName = metricname
|
@@ -5760,6 +6133,7 @@ module TencentCloud
|
|
5760
6133
|
@Interval = interval
|
5761
6134
|
@ZoneIds = zoneids
|
5762
6135
|
@Filters = filters
|
6136
|
+
@Area = area
|
5763
6137
|
end
|
5764
6138
|
|
5765
6139
|
def deserialize(params)
|
@@ -5777,6 +6151,7 @@ module TencentCloud
|
|
5777
6151
|
@Filters << filter_tmp
|
5778
6152
|
end
|
5779
6153
|
end
|
6154
|
+
@Area = params['Area']
|
5780
6155
|
end
|
5781
6156
|
end
|
5782
6157
|
|
@@ -5917,10 +6292,14 @@ module TencentCloud
|
|
5917
6292
|
# @param QueryCondition: 筛选条件,取值有:
|
5918
6293
|
# <li>action :执行动作 。</li>
|
5919
6294
|
# @type QueryCondition: Array
|
6295
|
+
# @param Area: 数据归属地区,取值有:
|
6296
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
6297
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
6298
|
+
# @type Area: String
|
5920
6299
|
|
5921
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval, :QueryCondition
|
6300
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval, :QueryCondition, :Area
|
5922
6301
|
|
5923
|
-
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)
|
5924
6303
|
@StartTime = starttime
|
5925
6304
|
@EndTime = endtime
|
5926
6305
|
@MetricNames = metricnames
|
@@ -5930,6 +6309,7 @@ module TencentCloud
|
|
5930
6309
|
@AttackType = attacktype
|
5931
6310
|
@Interval = interval
|
5932
6311
|
@QueryCondition = querycondition
|
6312
|
+
@Area = area
|
5933
6313
|
end
|
5934
6314
|
|
5935
6315
|
def deserialize(params)
|
@@ -5949,6 +6329,7 @@ module TencentCloud
|
|
5949
6329
|
@QueryCondition << querycondition_tmp
|
5950
6330
|
end
|
5951
6331
|
end
|
6332
|
+
@Area = params['Area']
|
5952
6333
|
end
|
5953
6334
|
end
|
5954
6335
|
|
@@ -6025,10 +6406,14 @@ module TencentCloud
|
|
6025
6406
|
# <li>requestMethod :请求方法 ;</li>
|
6026
6407
|
# <li>uri :统一资源标识符 。</li>
|
6027
6408
|
# @type QueryCondition: Array
|
6409
|
+
# @param Area: 数据归属地区,取值有:
|
6410
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
6411
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
6412
|
+
# @type Area: String
|
6028
6413
|
|
6029
|
-
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition
|
6414
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition, :Area
|
6030
6415
|
|
6031
|
-
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)
|
6032
6417
|
@StartTime = starttime
|
6033
6418
|
@EndTime = endtime
|
6034
6419
|
@PageSize = pagesize
|
@@ -6036,6 +6421,7 @@ module TencentCloud
|
|
6036
6421
|
@ZoneIds = zoneids
|
6037
6422
|
@Domains = domains
|
6038
6423
|
@QueryCondition = querycondition
|
6424
|
+
@Area = area
|
6039
6425
|
end
|
6040
6426
|
|
6041
6427
|
def deserialize(params)
|
@@ -6053,6 +6439,7 @@ module TencentCloud
|
|
6053
6439
|
@QueryCondition << querycondition_tmp
|
6054
6440
|
end
|
6055
6441
|
end
|
6442
|
+
@Area = params['Area']
|
6056
6443
|
end
|
6057
6444
|
end
|
6058
6445
|
|
@@ -6123,10 +6510,14 @@ module TencentCloud
|
|
6123
6510
|
# @param QueryCondition: 筛选条件,取值有:
|
6124
6511
|
# <li>action :执行动作 。</li>
|
6125
6512
|
# @type QueryCondition: Array
|
6513
|
+
# @param Area: 数据归属地区,取值有:
|
6514
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
6515
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
6516
|
+
# @type Area: String
|
6126
6517
|
|
6127
|
-
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
|
6128
6519
|
|
6129
|
-
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)
|
6130
6521
|
@StartTime = starttime
|
6131
6522
|
@EndTime = endtime
|
6132
6523
|
@MetricName = metricname
|
@@ -6139,6 +6530,7 @@ module TencentCloud
|
|
6139
6530
|
@Domains = domains
|
6140
6531
|
@Interval = interval
|
6141
6532
|
@QueryCondition = querycondition
|
6533
|
+
@Area = area
|
6142
6534
|
end
|
6143
6535
|
|
6144
6536
|
def deserialize(params)
|
@@ -6161,6 +6553,7 @@ module TencentCloud
|
|
6161
6553
|
@QueryCondition << querycondition_tmp
|
6162
6554
|
end
|
6163
6555
|
end
|
6556
|
+
@Area = params['Area']
|
6164
6557
|
end
|
6165
6558
|
end
|
6166
6559
|
|
@@ -6295,10 +6688,14 @@ module TencentCloud
|
|
6295
6688
|
# @param QueryCondition: 筛选条件,取值有:
|
6296
6689
|
# <li>action :执行动作 。</li>
|
6297
6690
|
# @type QueryCondition: Array
|
6691
|
+
# @param Area: 数据归属地区,取值有:
|
6692
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
6693
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
6694
|
+
# @type Area: String
|
6298
6695
|
|
6299
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval, :QueryCondition
|
6696
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval, :QueryCondition, :Area
|
6300
6697
|
|
6301
|
-
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)
|
6302
6699
|
@StartTime = starttime
|
6303
6700
|
@EndTime = endtime
|
6304
6701
|
@MetricNames = metricnames
|
@@ -6308,6 +6705,7 @@ module TencentCloud
|
|
6308
6705
|
@AttackType = attacktype
|
6309
6706
|
@Interval = interval
|
6310
6707
|
@QueryCondition = querycondition
|
6708
|
+
@Area = area
|
6311
6709
|
end
|
6312
6710
|
|
6313
6711
|
def deserialize(params)
|
@@ -6327,6 +6725,7 @@ module TencentCloud
|
|
6327
6725
|
@QueryCondition << querycondition_tmp
|
6328
6726
|
end
|
6329
6727
|
end
|
6728
|
+
@Area = params['Area']
|
6330
6729
|
end
|
6331
6730
|
end
|
6332
6731
|
|
@@ -6410,10 +6809,14 @@ module TencentCloud
|
|
6410
6809
|
# <li>rate :限速日志 ;</li>
|
6411
6810
|
# <li>acl :自定义规则日志 。</li>不填默认为rate。
|
6412
6811
|
# @type EntityType: String
|
6812
|
+
# @param Area: 数据归属地区,取值有:
|
6813
|
+
# <li>overseas :全球(除中国大陆地区)数据 ;</li>
|
6814
|
+
# <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
|
6815
|
+
# @type Area: String
|
6413
6816
|
|
6414
|
-
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition, :EntityType
|
6817
|
+
attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition, :EntityType, :Area
|
6415
6818
|
|
6416
|
-
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)
|
6417
6820
|
@StartTime = starttime
|
6418
6821
|
@EndTime = endtime
|
6419
6822
|
@PageSize = pagesize
|
@@ -6422,6 +6825,7 @@ module TencentCloud
|
|
6422
6825
|
@Domains = domains
|
6423
6826
|
@QueryCondition = querycondition
|
6424
6827
|
@EntityType = entitytype
|
6828
|
+
@Area = area
|
6425
6829
|
end
|
6426
6830
|
|
6427
6831
|
def deserialize(params)
|
@@ -6440,6 +6844,7 @@ module TencentCloud
|
|
6440
6844
|
end
|
6441
6845
|
end
|
6442
6846
|
@EntityType = params['EntityType']
|
6847
|
+
@Area = params['Area']
|
6443
6848
|
end
|
6444
6849
|
end
|
6445
6850
|
|
@@ -6558,10 +6963,8 @@ module TencentCloud
|
|
6558
6963
|
# @param Name: 站点名称
|
6559
6964
|
# @type Name: String
|
6560
6965
|
# @param OriginalNameServers: 用户当前使用的 NS 列表
|
6561
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6562
6966
|
# @type OriginalNameServers: Array
|
6563
6967
|
# @param NameServers: 腾讯云分配给用户的 NS 列表
|
6564
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6565
6968
|
# @type NameServers: Array
|
6566
6969
|
# @param Status: 站点状态
|
6567
6970
|
# - active:NS 已切换
|
@@ -6575,16 +6978,6 @@ module TencentCloud
|
|
6575
6978
|
# @type Type: String
|
6576
6979
|
# @param Paused: 站点是否关闭
|
6577
6980
|
# @type Paused: Boolean
|
6578
|
-
# @param CreatedOn: 站点创建时间
|
6579
|
-
# @type CreatedOn: String
|
6580
|
-
# @param ModifiedOn: 站点修改时间
|
6581
|
-
# @type ModifiedOn: String
|
6582
|
-
# @param VanityNameServers: 用户自定义 NS 信息
|
6583
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6584
|
-
# @type VanityNameServers: :class:`Tencentcloud::Teo.v20220106.models.VanityNameServers`
|
6585
|
-
# @param VanityNameServersIps: 用户自定义 NS IP 信息
|
6586
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6587
|
-
# @type VanityNameServersIps: Array
|
6588
6981
|
# @param CnameSpeedUp: 是否开启 CNAME 加速
|
6589
6982
|
# - enabled:开启
|
6590
6983
|
# - disabled:关闭
|
@@ -6592,35 +6985,50 @@ module TencentCloud
|
|
6592
6985
|
# @param CnameStatus: cname切换验证状态
|
6593
6986
|
# - finished 切换完成
|
6594
6987
|
# - pending 切换验证中
|
6595
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
6596
6988
|
# @type CnameStatus: String
|
6597
6989
|
# @param Tags: 资源标签
|
6598
6990
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6599
6991
|
# @type Tags: Array
|
6992
|
+
# @param Area: 站点接入地域,取值为:
|
6993
|
+
# <li> global:全球;</li>
|
6994
|
+
# <li> mainland:中国大陆;</li>
|
6995
|
+
# <li> overseas:境外区域。</li>
|
6996
|
+
# @type Area: String
|
6600
6997
|
# @param Resources: 计费资源
|
6601
6998
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6602
6999
|
# @type Resources: Array
|
6603
|
-
# @param
|
6604
|
-
# @type
|
6605
|
-
|
6606
|
-
|
6607
|
-
|
6608
|
-
|
6609
|
-
|
6610
|
-
|
6611
|
-
|
6612
|
-
|
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
|
7010
|
+
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7011
|
+
# @type RequestId: String
|
7012
|
+
|
7013
|
+
attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CnameSpeedUp, :CnameStatus, :Tags, :Area, :Resources, :ModifiedOn, :CreatedOn, :VanityNameServers, :VanityNameServersIps, :RequestId
|
7014
|
+
|
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)
|
7016
|
+
@Id = id
|
7017
|
+
@Name = name
|
7018
|
+
@OriginalNameServers = originalnameservers
|
7019
|
+
@NameServers = nameservers
|
6613
7020
|
@Status = status
|
6614
7021
|
@Type = type
|
6615
7022
|
@Paused = paused
|
6616
|
-
@CreatedOn = createdon
|
6617
|
-
@ModifiedOn = modifiedon
|
6618
|
-
@VanityNameServers = vanitynameservers
|
6619
|
-
@VanityNameServersIps = vanitynameserversips
|
6620
7023
|
@CnameSpeedUp = cnamespeedup
|
6621
7024
|
@CnameStatus = cnamestatus
|
6622
7025
|
@Tags = tags
|
7026
|
+
@Area = area
|
6623
7027
|
@Resources = resources
|
7028
|
+
@ModifiedOn = modifiedon
|
7029
|
+
@CreatedOn = createdon
|
7030
|
+
@VanityNameServers = vanitynameservers
|
7031
|
+
@VanityNameServersIps = vanitynameserversips
|
6624
7032
|
@RequestId = requestid
|
6625
7033
|
end
|
6626
7034
|
|
@@ -6632,20 +7040,6 @@ module TencentCloud
|
|
6632
7040
|
@Status = params['Status']
|
6633
7041
|
@Type = params['Type']
|
6634
7042
|
@Paused = params['Paused']
|
6635
|
-
@CreatedOn = params['CreatedOn']
|
6636
|
-
@ModifiedOn = params['ModifiedOn']
|
6637
|
-
unless params['VanityNameServers'].nil?
|
6638
|
-
@VanityNameServers = VanityNameServers.new
|
6639
|
-
@VanityNameServers.deserialize(params['VanityNameServers'])
|
6640
|
-
end
|
6641
|
-
unless params['VanityNameServersIps'].nil?
|
6642
|
-
@VanityNameServersIps = []
|
6643
|
-
params['VanityNameServersIps'].each do |i|
|
6644
|
-
vanitynameserversips_tmp = VanityNameServersIps.new
|
6645
|
-
vanitynameserversips_tmp.deserialize(i)
|
6646
|
-
@VanityNameServersIps << vanitynameserversips_tmp
|
6647
|
-
end
|
6648
|
-
end
|
6649
7043
|
@CnameSpeedUp = params['CnameSpeedUp']
|
6650
7044
|
@CnameStatus = params['CnameStatus']
|
6651
7045
|
unless params['Tags'].nil?
|
@@ -6656,6 +7050,7 @@ module TencentCloud
|
|
6656
7050
|
@Tags << tag_tmp
|
6657
7051
|
end
|
6658
7052
|
end
|
7053
|
+
@Area = params['Area']
|
6659
7054
|
unless params['Resources'].nil?
|
6660
7055
|
@Resources = []
|
6661
7056
|
params['Resources'].each do |i|
|
@@ -6664,6 +7059,20 @@ module TencentCloud
|
|
6664
7059
|
@Resources << resource_tmp
|
6665
7060
|
end
|
6666
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
|
6667
7076
|
@RequestId = params['RequestId']
|
6668
7077
|
end
|
6669
7078
|
end
|
@@ -6738,12 +7147,16 @@ module TencentCloud
|
|
6738
7147
|
# @param Ipv6: Ipv6访问配置。
|
6739
7148
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
6740
7149
|
# @type Ipv6: :class:`Tencentcloud::Teo.v20220106.models.Ipv6Access`
|
7150
|
+
# @param Area: 站点加速区域信息,取值有:
|
7151
|
+
# <li>mainland:中国境内加速;</li>
|
7152
|
+
# <li>overseas:中国境外加速。</li>
|
7153
|
+
# @type Area: String
|
6741
7154
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6742
7155
|
# @type RequestId: String
|
6743
7156
|
|
6744
|
-
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
|
6745
7158
|
|
6746
|
-
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)
|
6747
7160
|
@ZoneId = zoneid
|
6748
7161
|
@Zone = zone
|
6749
7162
|
@Cache = cache
|
@@ -6762,6 +7175,7 @@ module TencentCloud
|
|
6762
7175
|
@ClientIpHeader = clientipheader
|
6763
7176
|
@CachePrefresh = cacheprefresh
|
6764
7177
|
@Ipv6 = ipv6
|
7178
|
+
@Area = area
|
6765
7179
|
@RequestId = requestid
|
6766
7180
|
end
|
6767
7181
|
|
@@ -6832,17 +7246,18 @@ module TencentCloud
|
|
6832
7246
|
@Ipv6 = Ipv6Access.new
|
6833
7247
|
@Ipv6.deserialize(params['Ipv6'])
|
6834
7248
|
end
|
7249
|
+
@Area = params['Area']
|
6835
7250
|
@RequestId = params['RequestId']
|
6836
7251
|
end
|
6837
7252
|
end
|
6838
7253
|
|
6839
7254
|
# DescribeZones请求参数结构体
|
6840
7255
|
class DescribeZonesRequest < TencentCloud::Common::AbstractModel
|
6841
|
-
# @param Offset:
|
7256
|
+
# @param Offset: 分页查询偏移量。默认值:0,最小值:0。
|
6842
7257
|
# @type Offset: Integer
|
6843
|
-
# @param Limit:
|
7258
|
+
# @param Limit: 分页查询限制数目。默认值:1000,最大值:1000。
|
6844
7259
|
# @type Limit: Integer
|
6845
|
-
# @param Filters:
|
7260
|
+
# @param Filters: 查询条件过滤器,复杂类型。
|
6846
7261
|
# @type Filters: Array
|
6847
7262
|
|
6848
7263
|
attr_accessor :Offset, :Limit, :Filters
|
@@ -6869,10 +7284,9 @@ module TencentCloud
|
|
6869
7284
|
|
6870
7285
|
# DescribeZones返回参数结构体
|
6871
7286
|
class DescribeZonesResponse < TencentCloud::Common::AbstractModel
|
6872
|
-
# @param TotalCount:
|
7287
|
+
# @param TotalCount: 符合条件的站点个数。
|
6873
7288
|
# @type TotalCount: Integer
|
6874
|
-
# @param Zones:
|
6875
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
7289
|
+
# @param Zones: 站点详细信息列表。
|
6876
7290
|
# @type Zones: Array
|
6877
7291
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
6878
7292
|
# @type RequestId: String
|
@@ -7692,15 +8106,20 @@ module TencentCloud
|
|
7692
8106
|
# @param LogPacketName: 日志数据包名
|
7693
8107
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
7694
8108
|
# @type LogPacketName: String
|
8109
|
+
# @param Area: 加速区域,取值有:
|
8110
|
+
# <li>mainland:中国大陆境内;</li>
|
8111
|
+
# <li>overseas:全球(不含中国大陆)。</li>
|
8112
|
+
# @type Area: String
|
7695
8113
|
|
7696
|
-
attr_accessor :LogTime, :Domain, :Size, :Url, :LogPacketName
|
8114
|
+
attr_accessor :LogTime, :Domain, :Size, :Url, :LogPacketName, :Area
|
7697
8115
|
|
7698
|
-
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)
|
7699
8117
|
@LogTime = logtime
|
7700
8118
|
@Domain = domain
|
7701
8119
|
@Size = size
|
7702
8120
|
@Url = url
|
7703
8121
|
@LogPacketName = logpacketname
|
8122
|
+
@Area = area
|
7704
8123
|
end
|
7705
8124
|
|
7706
8125
|
def deserialize(params)
|
@@ -7709,6 +8128,7 @@ module TencentCloud
|
|
7709
8128
|
@Size = params['Size']
|
7710
8129
|
@Url = params['Url']
|
7711
8130
|
@LogPacketName = params['LogPacketName']
|
8131
|
+
@Area = params['Area']
|
7712
8132
|
end
|
7713
8133
|
end
|
7714
8134
|
|
@@ -8638,6 +9058,103 @@ module TencentCloud
|
|
8638
9058
|
end
|
8639
9059
|
end
|
8640
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
|
+
|
8641
9158
|
# ModifySecurityPolicy请求参数结构体
|
8642
9159
|
class ModifySecurityPolicyRequest < TencentCloud::Common::AbstractModel
|
8643
9160
|
# @param ZoneId: 一级域名
|
@@ -9051,7 +9568,6 @@ module TencentCloud
|
|
9051
9568
|
# @param Switch: 离线缓存是否开启,取值有:
|
9052
9569
|
# <li>on:开启;</li>
|
9053
9570
|
# <li>off:关闭。</li>
|
9054
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9055
9571
|
# @type Switch: String
|
9056
9572
|
|
9057
9573
|
attr_accessor :Switch
|
@@ -9306,6 +9822,61 @@ module TencentCloud
|
|
9306
9822
|
end
|
9307
9823
|
end
|
9308
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
|
+
|
9309
9880
|
# 用户画像规则详情
|
9310
9881
|
class PortraitManagedRuleDetail < TencentCloud::Common::AbstractModel
|
9311
9882
|
# @param RuleId: 规则唯一id
|
@@ -9395,7 +9966,6 @@ module TencentCloud
|
|
9395
9966
|
# @param Switch: CacheKey是否由QueryString组成,取值有:
|
9396
9967
|
# <li>on:是;</li>
|
9397
9968
|
# <li>off:否。</li>
|
9398
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
9399
9969
|
# @type Switch: String
|
9400
9970
|
# @param Action: CacheKey使用QueryString的方式,取值有:
|
9401
9971
|
# <li>includeCustom:使用部分url参数;</li>
|
@@ -9679,33 +10249,39 @@ module TencentCloud
|
|
9679
10249
|
|
9680
10250
|
# 计费资源
|
9681
10251
|
class Resource < TencentCloud::Common::AbstractModel
|
9682
|
-
# @param Id: 资源 ID
|
10252
|
+
# @param Id: 资源 ID。
|
9683
10253
|
# @type Id: String
|
9684
|
-
# @param PayMode:
|
9685
|
-
# 0
|
9686
|
-
# 1 为预付费
|
10254
|
+
# @param PayMode: 付费模式,取值有:
|
10255
|
+
# <li>0:后付费。</li>
|
9687
10256
|
# @type PayMode: Integer
|
9688
|
-
# @param CreateTime:
|
10257
|
+
# @param CreateTime: 创建时间。
|
9689
10258
|
# @type CreateTime: String
|
9690
|
-
# @param EnableTime:
|
10259
|
+
# @param EnableTime: 生效时间。
|
9691
10260
|
# @type EnableTime: String
|
9692
|
-
# @param ExpireTime:
|
10261
|
+
# @param ExpireTime: 失效时间。
|
9693
10262
|
# @type ExpireTime: String
|
9694
|
-
# @param Status:
|
10263
|
+
# @param Status: 套餐状态,取值有:
|
10264
|
+
# <li>normal:正常;</li>
|
10265
|
+
# <li>isolated:隔离;</li>
|
10266
|
+
# <li>destroyed:销毁。</li>
|
9695
10267
|
# @type Status: String
|
9696
|
-
# @param Sv:
|
10268
|
+
# @param Sv: 询价参数。
|
9697
10269
|
# @type Sv: Array
|
9698
|
-
# @param AutoRenewFlag:
|
9699
|
-
# 0
|
9700
|
-
# 1
|
9701
|
-
# 2
|
10270
|
+
# @param AutoRenewFlag: 是否自动续费,取值有:
|
10271
|
+
# <li>0:默认状态;</li>
|
10272
|
+
# <li>1:自动续费;</li>
|
10273
|
+
# <li>2:不自动续费。</li>
|
9702
10274
|
# @type AutoRenewFlag: Integer
|
9703
|
-
# @param PlanId: 套餐关联资源ID
|
10275
|
+
# @param PlanId: 套餐关联资源 ID。
|
9704
10276
|
# @type PlanId: String
|
10277
|
+
# @param Area: 地域,取值有:
|
10278
|
+
# <li>mainland:国内;</li>
|
10279
|
+
# <li>overseas:海外。</li>
|
10280
|
+
# @type Area: String
|
9705
10281
|
|
9706
|
-
attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId
|
10282
|
+
attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId, :Area
|
9707
10283
|
|
9708
|
-
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)
|
9709
10285
|
@Id = id
|
9710
10286
|
@PayMode = paymode
|
9711
10287
|
@CreateTime = createtime
|
@@ -9715,6 +10291,7 @@ module TencentCloud
|
|
9715
10291
|
@Sv = sv
|
9716
10292
|
@AutoRenewFlag = autorenewflag
|
9717
10293
|
@PlanId = planid
|
10294
|
+
@Area = area
|
9718
10295
|
end
|
9719
10296
|
|
9720
10297
|
def deserialize(params)
|
@@ -9734,6 +10311,584 @@ module TencentCloud
|
|
9734
10311
|
end
|
9735
10312
|
@AutoRenewFlag = params['AutoRenewFlag']
|
9736
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
|
9737
10892
|
end
|
9738
10893
|
end
|
9739
10894
|
|
@@ -10124,9 +11279,9 @@ module TencentCloud
|
|
10124
11279
|
|
10125
11280
|
# 询价参数
|
10126
11281
|
class Sv < TencentCloud::Common::AbstractModel
|
10127
|
-
# @param Key:
|
11282
|
+
# @param Key: 询价参数键。
|
10128
11283
|
# @type Key: String
|
10129
|
-
# @param Value:
|
11284
|
+
# @param Value: 询价参数值。
|
10130
11285
|
# @type Value: String
|
10131
11286
|
|
10132
11287
|
attr_accessor :Key, :Value
|
@@ -10760,50 +11915,51 @@ module TencentCloud
|
|
10760
11915
|
|
10761
11916
|
# 站点信息
|
10762
11917
|
class Zone < TencentCloud::Common::AbstractModel
|
10763
|
-
# @param Id: 站点ID
|
11918
|
+
# @param Id: 站点ID。
|
10764
11919
|
# @type Id: String
|
10765
|
-
# @param Name:
|
11920
|
+
# @param Name: 站点名称。
|
10766
11921
|
# @type Name: String
|
10767
|
-
# @param OriginalNameServers: 站点当前使用的 NS
|
11922
|
+
# @param OriginalNameServers: 站点当前使用的 NS 列表。
|
10768
11923
|
# @type OriginalNameServers: Array
|
10769
|
-
# @param NameServers: 腾讯云分配的 NS
|
11924
|
+
# @param NameServers: 腾讯云分配的 NS 列表。
|
10770
11925
|
# @type NameServers: Array
|
10771
|
-
# @param Status:
|
10772
|
-
#
|
10773
|
-
#
|
10774
|
-
#
|
10775
|
-
#
|
11926
|
+
# @param Status: 站点状态,取值有:
|
11927
|
+
# <li> active:NS 已切换; </li>
|
11928
|
+
# <li> pending:NS 未切换;</li>
|
11929
|
+
# <li> moved:NS 已切走;</li>
|
11930
|
+
# <li> deactivated:被封禁。 </li>
|
10776
11931
|
# @type Status: String
|
10777
|
-
# @param Type:
|
10778
|
-
#
|
10779
|
-
#
|
11932
|
+
# @param Type: 站点接入方式,取值有
|
11933
|
+
# <li> full:NS 接入; </li>
|
11934
|
+
# <li> partial:CNAME 接入。</li>
|
10780
11935
|
# @type Type: String
|
10781
|
-
# @param Paused:
|
11936
|
+
# @param Paused: 站点是否关闭。
|
10782
11937
|
# @type Paused: Boolean
|
10783
|
-
# @param
|
10784
|
-
#
|
10785
|
-
#
|
10786
|
-
# @type
|
10787
|
-
# @param CnameStatus: cname
|
10788
|
-
#
|
10789
|
-
#
|
10790
|
-
# 注意:此字段可能返回 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>
|
10791
11945
|
# @type CnameStatus: String
|
10792
|
-
# @param Tags:
|
10793
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11946
|
+
# @param Tags: 资源标签列表。
|
10794
11947
|
# @type Tags: Array
|
10795
|
-
# @param Resources:
|
10796
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11948
|
+
# @param Resources: 计费资源列表。
|
10797
11949
|
# @type Resources: Array
|
10798
|
-
# @param
|
10799
|
-
#
|
10800
|
-
#
|
10801
|
-
#
|
10802
|
-
# @
|
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
|
10803
11959
|
|
10804
|
-
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
|
10805
11961
|
|
10806
|
-
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)
|
10807
11963
|
@Id = id
|
10808
11964
|
@Name = name
|
10809
11965
|
@OriginalNameServers = originalnameservers
|
@@ -10811,12 +11967,13 @@ module TencentCloud
|
|
10811
11967
|
@Status = status
|
10812
11968
|
@Type = type
|
10813
11969
|
@Paused = paused
|
10814
|
-
@
|
10815
|
-
@ModifiedOn = modifiedon
|
11970
|
+
@CnameSpeedUp = cnamespeedup
|
10816
11971
|
@CnameStatus = cnamestatus
|
10817
11972
|
@Tags = tags
|
10818
11973
|
@Resources = resources
|
10819
|
-
@
|
11974
|
+
@CreatedOn = createdon
|
11975
|
+
@ModifiedOn = modifiedon
|
11976
|
+
@Area = area
|
10820
11977
|
end
|
10821
11978
|
|
10822
11979
|
def deserialize(params)
|
@@ -10827,8 +11984,7 @@ module TencentCloud
|
|
10827
11984
|
@Status = params['Status']
|
10828
11985
|
@Type = params['Type']
|
10829
11986
|
@Paused = params['Paused']
|
10830
|
-
@
|
10831
|
-
@ModifiedOn = params['ModifiedOn']
|
11987
|
+
@CnameSpeedUp = params['CnameSpeedUp']
|
10832
11988
|
@CnameStatus = params['CnameStatus']
|
10833
11989
|
unless params['Tags'].nil?
|
10834
11990
|
@Tags = []
|
@@ -10846,21 +12002,23 @@ module TencentCloud
|
|
10846
12002
|
@Resources << resource_tmp
|
10847
12003
|
end
|
10848
12004
|
end
|
10849
|
-
@
|
12005
|
+
@CreatedOn = params['CreatedOn']
|
12006
|
+
@ModifiedOn = params['ModifiedOn']
|
12007
|
+
@Area = params['Area']
|
10850
12008
|
end
|
10851
12009
|
end
|
10852
12010
|
|
10853
12011
|
# 站点查询过滤条件
|
10854
12012
|
class ZoneFilter < TencentCloud::Common::AbstractModel
|
10855
12013
|
# @param Name: 过滤字段名,支持的列表如下:
|
10856
|
-
#
|
10857
|
-
#
|
10858
|
-
#
|
10859
|
-
#
|
12014
|
+
# <li> name:站点名;</li>
|
12015
|
+
# <li> status:站点状态;</li>
|
12016
|
+
# <li> tagKey:标签键;</li>
|
12017
|
+
# <li> tagValue: 标签值。</li>
|
10860
12018
|
# @type Name: String
|
10861
|
-
# @param Values:
|
12019
|
+
# @param Values: 过滤字段值。
|
10862
12020
|
# @type Values: Array
|
10863
|
-
# @param Fuzzy: 是否启用模糊查询,仅支持过滤字段名为name。模糊查询时,Values长度最大为1
|
12021
|
+
# @param Fuzzy: 是否启用模糊查询,仅支持过滤字段名为name。模糊查询时,Values长度最大为1。默认为false。
|
10864
12022
|
# @type Fuzzy: Boolean
|
10865
12023
|
|
10866
12024
|
attr_accessor :Name, :Values, :Fuzzy
|