tencentcloud-sdk-teo 3.0.390 → 3.0.400

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
- attr_accessor :ProxyId, :ProxyName, :PlatType, :SecurityType, :AccelerateType, :ForwardClientIp, :SessionPersist, :Rule, :Status, :ScheduleValue, :UpdateTime, :ZoneId, :ZoneName, :SessionPersistTime, :ProxyType, :HostId, :Ipv6
225
-
226
- 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)
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, :Rule, :ProxyName, :PlatType, :SecurityType, :AccelerateType, :SessionPersist, :ForwardClientIp, :ProxyType, :SessionPersistTime, :Ipv6
1265
+ attr_accessor :ZoneId, :ZoneName, :ProxyName, :PlatType, :SecurityType, :AccelerateType, :SessionPersist, :ForwardClientIp, :Rule, :ProxyType, :SessionPersistTime, :Ipv6
1256
1266
 
1257
- def initialize(zoneid=nil, zonename=nil, rule=nil, proxyname=nil, plattype=nil, securitytype=nil, acceleratetype=nil, sessionpersist=nil, forwardclientip=nil, proxytype=nil, sessionpersisttime=nil, ipv6=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
 
@@ -3570,16 +3776,23 @@ module TencentCloud
3570
3776
 
3571
3777
  # DescribeDDoSPolicy返回参数结构体
3572
3778
  class DescribeDDoSPolicyResponse < TencentCloud::Common::AbstractModel
3779
+ # @param DdosRule: DDoS防护配置
3780
+ # @type DdosRule: :class:`Tencentcloud::Teo.v20220106.models.DdosRule`
3573
3781
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
3574
3782
  # @type RequestId: String
3575
3783
 
3576
- attr_accessor :RequestId
3784
+ attr_accessor :DdosRule, :RequestId
3577
3785
 
3578
- def initialize(requestid=nil)
3786
+ def initialize(ddosrule=nil, requestid=nil)
3787
+ @DdosRule = ddosrule
3579
3788
  @RequestId = requestid
3580
3789
  end
3581
3790
 
3582
3791
  def deserialize(params)
3792
+ unless params['DdosRule'].nil?
3793
+ @DdosRule = DdosRule.new
3794
+ @DdosRule.deserialize(params['DdosRule'])
3795
+ end
3583
3796
  @RequestId = params['RequestId']
3584
3797
  end
3585
3798
  end
@@ -3618,10 +3831,14 @@ module TencentCloud
3618
3831
  # <li>hour :1小时 ;</li>
3619
3832
  # <li>day :1天 。</li>
3620
3833
  # @type Interval: String
3834
+ # @param Area: 数据归属地区,取值有:
3835
+ # <li>overseas :全球(除中国大陆地区)数据 ;</li>
3836
+ # <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
3837
+ # @type Area: String
3621
3838
 
3622
- attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Interval
3839
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Interval, :Area
3623
3840
 
3624
- def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil, interval=nil)
3841
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil, interval=nil, area=nil)
3625
3842
  @StartTime = starttime
3626
3843
  @EndTime = endtime
3627
3844
  @MetricNames = metricnames
@@ -3631,6 +3848,7 @@ module TencentCloud
3631
3848
  @ProtocolType = protocoltype
3632
3849
  @AttackType = attacktype
3633
3850
  @Interval = interval
3851
+ @Area = area
3634
3852
  end
3635
3853
 
3636
3854
  def deserialize(params)
@@ -3643,6 +3861,7 @@ module TencentCloud
3643
3861
  @ProtocolType = params['ProtocolType']
3644
3862
  @AttackType = params['AttackType']
3645
3863
  @Interval = params['Interval']
3864
+ @Area = params['Area']
3646
3865
  end
3647
3866
  end
3648
3867
 
@@ -3696,15 +3915,21 @@ module TencentCloud
3696
3915
  class DescribeDDosAttackEventDetailRequest < TencentCloud::Common::AbstractModel
3697
3916
  # @param EventId: 事件id。
3698
3917
  # @type EventId: String
3918
+ # @param Area: 数据归属地区,取值有:
3919
+ # <li>overseas :全球(除中国大陆地区)数据 ;</li>
3920
+ # <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
3921
+ # @type Area: String
3699
3922
 
3700
- attr_accessor :EventId
3923
+ attr_accessor :EventId, :Area
3701
3924
 
3702
- def initialize(eventid=nil)
3925
+ def initialize(eventid=nil, area=nil)
3703
3926
  @EventId = eventid
3927
+ @Area = area
3704
3928
  end
3705
3929
 
3706
3930
  def deserialize(params)
3707
3931
  @EventId = params['EventId']
3932
+ @Area = params['Area']
3708
3933
  end
3709
3934
  end
3710
3935
 
@@ -3764,10 +3989,14 @@ module TencentCloud
3764
3989
  # <li>Y :展示 ;</li>
3765
3990
  # <li>N :不展示 。</li>默认为Y。
3766
3991
  # @type IsShowDetail: String
3992
+ # @param Area: 数据归属地区,取值有:
3993
+ # <li>overseas :全球(除中国大陆地区)数据 ;</li>
3994
+ # <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
3995
+ # @type Area: String
3767
3996
 
3768
- attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType, :IsShowDetail
3997
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType, :IsShowDetail, :Area
3769
3998
 
3770
- def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, protocoltype=nil, isshowdetail=nil)
3999
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, protocoltype=nil, isshowdetail=nil, area=nil)
3771
4000
  @StartTime = starttime
3772
4001
  @EndTime = endtime
3773
4002
  @PageSize = pagesize
@@ -3776,6 +4005,7 @@ module TencentCloud
3776
4005
  @ZoneIds = zoneids
3777
4006
  @ProtocolType = protocoltype
3778
4007
  @IsShowDetail = isshowdetail
4008
+ @Area = area
3779
4009
  end
3780
4010
 
3781
4011
  def deserialize(params)
@@ -3787,6 +4017,7 @@ module TencentCloud
3787
4017
  @ZoneIds = params['ZoneIds']
3788
4018
  @ProtocolType = params['ProtocolType']
3789
4019
  @IsShowDetail = params['IsShowDetail']
4020
+ @Area = params['Area']
3790
4021
  end
3791
4022
  end
3792
4023
 
@@ -3842,10 +4073,14 @@ module TencentCloud
3842
4073
  # <li>udp ;</li>
3843
4074
  # <li>all 。</li>
3844
4075
  # @type ProtocolType: String
4076
+ # @param Area: 数据归属地区,取值有:
4077
+ # <li>overseas :全球(除中国大陆地区)数据 ;</li>
4078
+ # <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
4079
+ # @type Area: String
3845
4080
 
3846
- attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType
4081
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ZoneIds, :ProtocolType, :Area
3847
4082
 
3848
- def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, protocoltype=nil)
4083
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, zoneids=nil, protocoltype=nil, area=nil)
3849
4084
  @StartTime = starttime
3850
4085
  @EndTime = endtime
3851
4086
  @PageSize = pagesize
@@ -3853,6 +4088,7 @@ module TencentCloud
3853
4088
  @PolicyIds = policyids
3854
4089
  @ZoneIds = zoneids
3855
4090
  @ProtocolType = protocoltype
4091
+ @Area = area
3856
4092
  end
3857
4093
 
3858
4094
  def deserialize(params)
@@ -3863,6 +4099,7 @@ module TencentCloud
3863
4099
  @PolicyIds = params['PolicyIds']
3864
4100
  @ZoneIds = params['ZoneIds']
3865
4101
  @ProtocolType = params['ProtocolType']
4102
+ @Area = params['Area']
3866
4103
  end
3867
4104
  end
3868
4105
 
@@ -3931,10 +4168,14 @@ module TencentCloud
3931
4168
  # <li>icmpFlood ;</li>
3932
4169
  # <li>all 。</li>
3933
4170
  # @type AttackType: String
4171
+ # @param Area: 数据归属地区,取值有:
4172
+ # <li>overseas :全球(除中国大陆地区)数据 ;</li>
4173
+ # <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
4174
+ # @type Area: String
3934
4175
 
3935
- attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType
4176
+ attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Area
3936
4177
 
3937
- def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil)
4178
+ def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, zoneids=nil, policyids=nil, port=nil, protocoltype=nil, attacktype=nil, area=nil)
3938
4179
  @StartTime = starttime
3939
4180
  @EndTime = endtime
3940
4181
  @MetricName = metricname
@@ -3944,6 +4185,7 @@ module TencentCloud
3944
4185
  @Port = port
3945
4186
  @ProtocolType = protocoltype
3946
4187
  @AttackType = attacktype
4188
+ @Area = area
3947
4189
  end
3948
4190
 
3949
4191
  def deserialize(params)
@@ -3956,6 +4198,7 @@ module TencentCloud
3956
4198
  @Port = params['Port']
3957
4199
  @ProtocolType = params['ProtocolType']
3958
4200
  @AttackType = params['AttackType']
4201
+ @Area = params['Area']
3959
4202
  end
3960
4203
  end
3961
4204
 
@@ -4015,10 +4258,14 @@ module TencentCloud
4015
4258
  # @type ProtocolType: String
4016
4259
  # @param ZoneIds: 站点id列表,不填默认选择全部站点。
4017
4260
  # @type ZoneIds: Array
4261
+ # @param Area: 数据归属地区,取值有:
4262
+ # <li>overseas :全球(除中国大陆地区)数据 ;</li>
4263
+ # <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
4264
+ # @type Area: String
4018
4265
 
4019
- attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ProtocolType, :ZoneIds
4266
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :PolicyIds, :ProtocolType, :ZoneIds, :Area
4020
4267
 
4021
- def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, protocoltype=nil, zoneids=nil)
4268
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, policyids=nil, protocoltype=nil, zoneids=nil, area=nil)
4022
4269
  @StartTime = starttime
4023
4270
  @EndTime = endtime
4024
4271
  @PageSize = pagesize
@@ -4026,6 +4273,7 @@ module TencentCloud
4026
4273
  @PolicyIds = policyids
4027
4274
  @ProtocolType = protocoltype
4028
4275
  @ZoneIds = zoneids
4276
+ @Area = area
4029
4277
  end
4030
4278
 
4031
4279
  def deserialize(params)
@@ -4036,6 +4284,7 @@ module TencentCloud
4036
4284
  @PolicyIds = params['PolicyIds']
4037
4285
  @ProtocolType = params['ProtocolType']
4038
4286
  @ZoneIds = params['ZoneIds']
4287
+ @Area = params['Area']
4039
4288
  end
4040
4289
  end
4041
4290
 
@@ -4844,6 +5093,7 @@ module TencentCloud
4844
5093
  # l7Flow_outFlux: 访问流量
4845
5094
  # l7Flow_request: 访问请求数
4846
5095
  # l7Flow_outBandwidth: 访问带宽
5096
+ # l7Flow_hit_outFlux: 缓存命中流量
4847
5097
  # @type MetricNames: Array
4848
5098
  # @param Interval: 时间间隔,选填{min, 5min, hour, day, week}
4849
5099
  # @type Interval: String
@@ -4853,10 +5103,14 @@ module TencentCloud
4853
5103
  # @type Domains: Array
4854
5104
  # @param Protocol: 协议类型, 选填{http,http2,https,all}
4855
5105
  # @type Protocol: String
5106
+ # @param Area: 加速区域,取值有:
5107
+ # <li>mainland:中国大陆境内;</li>
5108
+ # <li>overseas:全球(不含中国大陆)。</li>
5109
+ # @type Area: String
4856
5110
 
4857
- attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Domains, :Protocol
5111
+ attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Domains, :Protocol, :Area
4858
5112
 
4859
- def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, domains=nil, protocol=nil)
5113
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, domains=nil, protocol=nil, area=nil)
4860
5114
  @StartTime = starttime
4861
5115
  @EndTime = endtime
4862
5116
  @MetricNames = metricnames
@@ -4864,6 +5118,7 @@ module TencentCloud
4864
5118
  @ZoneIds = zoneids
4865
5119
  @Domains = domains
4866
5120
  @Protocol = protocol
5121
+ @Area = area
4867
5122
  end
4868
5123
 
4869
5124
  def deserialize(params)
@@ -4874,6 +5129,7 @@ module TencentCloud
4874
5129
  @ZoneIds = params['ZoneIds']
4875
5130
  @Domains = params['Domains']
4876
5131
  @Protocol = params['Protocol']
5132
+ @Area = params['Area']
4877
5133
  end
4878
5134
  end
4879
5135
 
@@ -5076,6 +5332,102 @@ module TencentCloud
5076
5332
  end
5077
5333
  end
5078
5334
 
5335
+ # DescribeRules请求参数结构体
5336
+ class DescribeRulesRequest < TencentCloud::Common::AbstractModel
5337
+ # @param ZoneId: 站点 ID。
5338
+ # @type ZoneId: String
5339
+ # @param Filters: 过滤参数,不填默认不过滤。
5340
+ # @type Filters: Array
5341
+
5342
+ attr_accessor :ZoneId, :Filters
5343
+
5344
+ def initialize(zoneid=nil, filters=nil)
5345
+ @ZoneId = zoneid
5346
+ @Filters = filters
5347
+ end
5348
+
5349
+ def deserialize(params)
5350
+ @ZoneId = params['ZoneId']
5351
+ unless params['Filters'].nil?
5352
+ @Filters = []
5353
+ params['Filters'].each do |i|
5354
+ rulefilter_tmp = RuleFilter.new
5355
+ rulefilter_tmp.deserialize(i)
5356
+ @Filters << rulefilter_tmp
5357
+ end
5358
+ end
5359
+ end
5360
+ end
5361
+
5362
+ # DescribeRules返回参数结构体
5363
+ class DescribeRulesResponse < TencentCloud::Common::AbstractModel
5364
+ # @param ZoneId: 站点 ID。
5365
+ # @type ZoneId: String
5366
+ # @param RuleList: 规则列表,按规则执行顺序从先往后排序。
5367
+ # @type RuleList: Array
5368
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5369
+ # @type RequestId: String
5370
+
5371
+ attr_accessor :ZoneId, :RuleList, :RequestId
5372
+
5373
+ def initialize(zoneid=nil, rulelist=nil, requestid=nil)
5374
+ @ZoneId = zoneid
5375
+ @RuleList = rulelist
5376
+ @RequestId = requestid
5377
+ end
5378
+
5379
+ def deserialize(params)
5380
+ @ZoneId = params['ZoneId']
5381
+ unless params['RuleList'].nil?
5382
+ @RuleList = []
5383
+ params['RuleList'].each do |i|
5384
+ rulesettingdetail_tmp = RuleSettingDetail.new
5385
+ rulesettingdetail_tmp.deserialize(i)
5386
+ @RuleList << rulesettingdetail_tmp
5387
+ end
5388
+ end
5389
+ @RequestId = params['RequestId']
5390
+ end
5391
+ end
5392
+
5393
+ # DescribeRulesSetting请求参数结构体
5394
+ class DescribeRulesSettingRequest < TencentCloud::Common::AbstractModel
5395
+
5396
+
5397
+ def initialize()
5398
+ end
5399
+
5400
+ def deserialize(params)
5401
+ end
5402
+ end
5403
+
5404
+ # DescribeRulesSetting返回参数结构体
5405
+ class DescribeRulesSettingResponse < TencentCloud::Common::AbstractModel
5406
+ # @param Actions: 规则引擎可应用匹配请求的设置列表及其详细建议配置信息。
5407
+ # @type Actions: Array
5408
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
5409
+ # @type RequestId: String
5410
+
5411
+ attr_accessor :Actions, :RequestId
5412
+
5413
+ def initialize(actions=nil, requestid=nil)
5414
+ @Actions = actions
5415
+ @RequestId = requestid
5416
+ end
5417
+
5418
+ def deserialize(params)
5419
+ unless params['Actions'].nil?
5420
+ @Actions = []
5421
+ params['Actions'].each do |i|
5422
+ rulessettingaction_tmp = RulesSettingAction.new
5423
+ rulessettingaction_tmp.deserialize(i)
5424
+ @Actions << rulessettingaction_tmp
5425
+ end
5426
+ end
5427
+ @RequestId = params['RequestId']
5428
+ end
5429
+ end
5430
+
5079
5431
  # DescribeSecurityPolicyList请求参数结构体
5080
5432
  class DescribeSecurityPolicyListRequest < TencentCloud::Common::AbstractModel
5081
5433
  # @param ZoneId: 一级域名
@@ -5412,10 +5764,14 @@ module TencentCloud
5412
5764
  # @type Filters: Array
5413
5765
  # @param ProxyIds: 四层实例列表
5414
5766
  # @type ProxyIds: Array
5767
+ # @param Area: 加速区域,取值有:
5768
+ # <li>mainland:中国大陆境内;</li>
5769
+ # <li>overseas:全球(不含中国大陆)。</li>
5770
+ # @type Area: String
5415
5771
 
5416
- attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :InstanceIds, :Protocol, :Interval, :RuleId, :Filters, :ProxyIds
5772
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :InstanceIds, :Protocol, :Interval, :RuleId, :Filters, :ProxyIds, :Area
5417
5773
 
5418
- def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, instanceids=nil, protocol=nil, interval=nil, ruleid=nil, filters=nil, proxyids=nil)
5774
+ 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
5775
  @StartTime = starttime
5420
5776
  @EndTime = endtime
5421
5777
  @MetricNames = metricnames
@@ -5426,6 +5782,7 @@ module TencentCloud
5426
5782
  @RuleId = ruleid
5427
5783
  @Filters = filters
5428
5784
  @ProxyIds = proxyids
5785
+ @Area = area
5429
5786
  end
5430
5787
 
5431
5788
  def deserialize(params)
@@ -5446,6 +5803,7 @@ module TencentCloud
5446
5803
  end
5447
5804
  end
5448
5805
  @ProxyIds = params['ProxyIds']
5806
+ @Area = params['Area']
5449
5807
  end
5450
5808
  end
5451
5809
 
@@ -5502,16 +5860,21 @@ module TencentCloud
5502
5860
  # @type ZoneIds: Array
5503
5861
  # @param Filters: 筛选条件
5504
5862
  # @type Filters: Array
5863
+ # @param Area: 加速区域,取值有:
5864
+ # <li>mainland:中国大陆境内;</li>
5865
+ # <li>overseas:全球(不含中国大陆)。</li>
5866
+ # @type Area: String
5505
5867
 
5506
- attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters
5868
+ attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters, :Area
5507
5869
 
5508
- def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, filters=nil)
5870
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, filters=nil, area=nil)
5509
5871
  @StartTime = starttime
5510
5872
  @EndTime = endtime
5511
5873
  @MetricNames = metricnames
5512
5874
  @Interval = interval
5513
5875
  @ZoneIds = zoneids
5514
5876
  @Filters = filters
5877
+ @Area = area
5515
5878
  end
5516
5879
 
5517
5880
  def deserialize(params)
@@ -5528,6 +5891,7 @@ module TencentCloud
5528
5891
  @Filters << filter_tmp
5529
5892
  end
5530
5893
  end
5894
+ @Area = params['Area']
5531
5895
  end
5532
5896
  end
5533
5897
 
@@ -5585,16 +5949,21 @@ module TencentCloud
5585
5949
  # EO响应:{Key: "cacheType", Value: ["hit"], Operator: "equals"};
5586
5950
  # 源站响应:{Key: "cacheType", Value: ["miss", "dynamic"], Operator: "equals"}
5587
5951
  # @type Filters: Array
5952
+ # @param Area: 加速区域,取值有:
5953
+ # <li>mainland:中国大陆境内;</li>
5954
+ # <li>overseas:全球(不含中国大陆)。</li>
5955
+ # @type Area: String
5588
5956
 
5589
- attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters
5957
+ attr_accessor :StartTime, :EndTime, :MetricNames, :Interval, :ZoneIds, :Filters, :Area
5590
5958
 
5591
- def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, filters=nil)
5959
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, interval=nil, zoneids=nil, filters=nil, area=nil)
5592
5960
  @StartTime = starttime
5593
5961
  @EndTime = endtime
5594
5962
  @MetricNames = metricnames
5595
5963
  @Interval = interval
5596
5964
  @ZoneIds = zoneids
5597
5965
  @Filters = filters
5966
+ @Area = area
5598
5967
  end
5599
5968
 
5600
5969
  def deserialize(params)
@@ -5611,6 +5980,7 @@ module TencentCloud
5611
5980
  @Filters << filter_tmp
5612
5981
  end
5613
5982
  end
5983
+ @Area = params['Area']
5614
5984
  end
5615
5985
  end
5616
5986
 
@@ -5666,10 +6036,14 @@ module TencentCloud
5666
6036
  # @type ZoneIds: Array
5667
6037
  # @param Filters: 筛选条件
5668
6038
  # @type Filters: Array
6039
+ # @param Area: 加速区域,取值有:
6040
+ # <li>mainland:中国大陆境内;</li>
6041
+ # <li>overseas:全球(不含中国大陆)。</li>
6042
+ # @type Area: String
5669
6043
 
5670
- attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters
6044
+ attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters, :Area
5671
6045
 
5672
- def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, interval=nil, zoneids=nil, filters=nil)
6046
+ def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, interval=nil, zoneids=nil, filters=nil, area=nil)
5673
6047
  @StartTime = starttime
5674
6048
  @EndTime = endtime
5675
6049
  @MetricName = metricname
@@ -5677,6 +6051,7 @@ module TencentCloud
5677
6051
  @Interval = interval
5678
6052
  @ZoneIds = zoneids
5679
6053
  @Filters = filters
6054
+ @Area = area
5680
6055
  end
5681
6056
 
5682
6057
  def deserialize(params)
@@ -5694,6 +6069,7 @@ module TencentCloud
5694
6069
  @Filters << filter_tmp
5695
6070
  end
5696
6071
  end
6072
+ @Area = params['Area']
5697
6073
  end
5698
6074
  end
5699
6075
 
@@ -5749,10 +6125,14 @@ module TencentCloud
5749
6125
  # @type ZoneIds: Array
5750
6126
  # @param Filters: 筛选条件
5751
6127
  # @type Filters: Array
6128
+ # @param Area: 加速区域,取值有:
6129
+ # <li>mainland:中国大陆境内;</li>
6130
+ # <li>overseas:全球(不含中国大陆)。</li>
6131
+ # @type Area: String
5752
6132
 
5753
- attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters
6133
+ attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :Interval, :ZoneIds, :Filters, :Area
5754
6134
 
5755
- def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, interval=nil, zoneids=nil, filters=nil)
6135
+ def initialize(starttime=nil, endtime=nil, metricname=nil, limit=nil, interval=nil, zoneids=nil, filters=nil, area=nil)
5756
6136
  @StartTime = starttime
5757
6137
  @EndTime = endtime
5758
6138
  @MetricName = metricname
@@ -5760,6 +6140,7 @@ module TencentCloud
5760
6140
  @Interval = interval
5761
6141
  @ZoneIds = zoneids
5762
6142
  @Filters = filters
6143
+ @Area = area
5763
6144
  end
5764
6145
 
5765
6146
  def deserialize(params)
@@ -5777,6 +6158,7 @@ module TencentCloud
5777
6158
  @Filters << filter_tmp
5778
6159
  end
5779
6160
  end
6161
+ @Area = params['Area']
5780
6162
  end
5781
6163
  end
5782
6164
 
@@ -5917,10 +6299,14 @@ module TencentCloud
5917
6299
  # @param QueryCondition: 筛选条件,取值有:
5918
6300
  # <li>action :执行动作 。</li>
5919
6301
  # @type QueryCondition: Array
6302
+ # @param Area: 数据归属地区,取值有:
6303
+ # <li>overseas :全球(除中国大陆地区)数据 ;</li>
6304
+ # <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
6305
+ # @type Area: String
5920
6306
 
5921
- attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval, :QueryCondition
6307
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval, :QueryCondition, :Area
5922
6308
 
5923
- def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil, querycondition=nil)
6309
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil, querycondition=nil, area=nil)
5924
6310
  @StartTime = starttime
5925
6311
  @EndTime = endtime
5926
6312
  @MetricNames = metricnames
@@ -5930,6 +6316,7 @@ module TencentCloud
5930
6316
  @AttackType = attacktype
5931
6317
  @Interval = interval
5932
6318
  @QueryCondition = querycondition
6319
+ @Area = area
5933
6320
  end
5934
6321
 
5935
6322
  def deserialize(params)
@@ -5949,6 +6336,7 @@ module TencentCloud
5949
6336
  @QueryCondition << querycondition_tmp
5950
6337
  end
5951
6338
  end
6339
+ @Area = params['Area']
5952
6340
  end
5953
6341
  end
5954
6342
 
@@ -6025,10 +6413,14 @@ module TencentCloud
6025
6413
  # <li>requestMethod :请求方法 ;</li>
6026
6414
  # <li>uri :统一资源标识符 。</li>
6027
6415
  # @type QueryCondition: Array
6416
+ # @param Area: 数据归属地区,取值有:
6417
+ # <li>overseas :全球(除中国大陆地区)数据 ;</li>
6418
+ # <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
6419
+ # @type Area: String
6028
6420
 
6029
- attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition
6421
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition, :Area
6030
6422
 
6031
- def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil)
6423
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil, area=nil)
6032
6424
  @StartTime = starttime
6033
6425
  @EndTime = endtime
6034
6426
  @PageSize = pagesize
@@ -6036,6 +6428,7 @@ module TencentCloud
6036
6428
  @ZoneIds = zoneids
6037
6429
  @Domains = domains
6038
6430
  @QueryCondition = querycondition
6431
+ @Area = area
6039
6432
  end
6040
6433
 
6041
6434
  def deserialize(params)
@@ -6053,6 +6446,7 @@ module TencentCloud
6053
6446
  @QueryCondition << querycondition_tmp
6054
6447
  end
6055
6448
  end
6449
+ @Area = params['Area']
6056
6450
  end
6057
6451
  end
6058
6452
 
@@ -6123,10 +6517,14 @@ module TencentCloud
6123
6517
  # @param QueryCondition: 筛选条件,取值有:
6124
6518
  # <li>action :执行动作 。</li>
6125
6519
  # @type QueryCondition: Array
6520
+ # @param Area: 数据归属地区,取值有:
6521
+ # <li>overseas :全球(除中国大陆地区)数据 ;</li>
6522
+ # <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
6523
+ # @type Area: String
6126
6524
 
6127
- attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Domains, :Interval, :QueryCondition
6525
+ attr_accessor :StartTime, :EndTime, :MetricName, :Limit, :ZoneIds, :PolicyIds, :Port, :ProtocolType, :AttackType, :Domains, :Interval, :QueryCondition, :Area
6128
6526
 
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)
6527
+ 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
6528
  @StartTime = starttime
6131
6529
  @EndTime = endtime
6132
6530
  @MetricName = metricname
@@ -6139,6 +6537,7 @@ module TencentCloud
6139
6537
  @Domains = domains
6140
6538
  @Interval = interval
6141
6539
  @QueryCondition = querycondition
6540
+ @Area = area
6142
6541
  end
6143
6542
 
6144
6543
  def deserialize(params)
@@ -6161,6 +6560,7 @@ module TencentCloud
6161
6560
  @QueryCondition << querycondition_tmp
6162
6561
  end
6163
6562
  end
6563
+ @Area = params['Area']
6164
6564
  end
6165
6565
  end
6166
6566
 
@@ -6295,10 +6695,14 @@ module TencentCloud
6295
6695
  # @param QueryCondition: 筛选条件,取值有:
6296
6696
  # <li>action :执行动作 。</li>
6297
6697
  # @type QueryCondition: Array
6698
+ # @param Area: 数据归属地区,取值有:
6699
+ # <li>overseas :全球(除中国大陆地区)数据 ;</li>
6700
+ # <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
6701
+ # @type Area: String
6298
6702
 
6299
- attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval, :QueryCondition
6703
+ attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :ProtocolType, :AttackType, :Interval, :QueryCondition, :Area
6300
6704
 
6301
- def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil, querycondition=nil)
6705
+ def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, protocoltype=nil, attacktype=nil, interval=nil, querycondition=nil, area=nil)
6302
6706
  @StartTime = starttime
6303
6707
  @EndTime = endtime
6304
6708
  @MetricNames = metricnames
@@ -6308,6 +6712,7 @@ module TencentCloud
6308
6712
  @AttackType = attacktype
6309
6713
  @Interval = interval
6310
6714
  @QueryCondition = querycondition
6715
+ @Area = area
6311
6716
  end
6312
6717
 
6313
6718
  def deserialize(params)
@@ -6327,6 +6732,7 @@ module TencentCloud
6327
6732
  @QueryCondition << querycondition_tmp
6328
6733
  end
6329
6734
  end
6735
+ @Area = params['Area']
6330
6736
  end
6331
6737
  end
6332
6738
 
@@ -6410,10 +6816,14 @@ module TencentCloud
6410
6816
  # <li>rate :限速日志 ;</li>
6411
6817
  # <li>acl :自定义规则日志 。</li>不填默认为rate。
6412
6818
  # @type EntityType: String
6819
+ # @param Area: 数据归属地区,取值有:
6820
+ # <li>overseas :全球(除中国大陆地区)数据 ;</li>
6821
+ # <li>mainland :中国大陆地区数据 。</li>不填默认查询overseas。
6822
+ # @type Area: String
6413
6823
 
6414
- attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition, :EntityType
6824
+ attr_accessor :StartTime, :EndTime, :PageSize, :PageNo, :ZoneIds, :Domains, :QueryCondition, :EntityType, :Area
6415
6825
 
6416
- def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil, entitytype=nil)
6826
+ def initialize(starttime=nil, endtime=nil, pagesize=nil, pageno=nil, zoneids=nil, domains=nil, querycondition=nil, entitytype=nil, area=nil)
6417
6827
  @StartTime = starttime
6418
6828
  @EndTime = endtime
6419
6829
  @PageSize = pagesize
@@ -6422,6 +6832,7 @@ module TencentCloud
6422
6832
  @Domains = domains
6423
6833
  @QueryCondition = querycondition
6424
6834
  @EntityType = entitytype
6835
+ @Area = area
6425
6836
  end
6426
6837
 
6427
6838
  def deserialize(params)
@@ -6440,6 +6851,7 @@ module TencentCloud
6440
6851
  end
6441
6852
  end
6442
6853
  @EntityType = params['EntityType']
6854
+ @Area = params['Area']
6443
6855
  end
6444
6856
  end
6445
6857
 
@@ -6558,10 +6970,8 @@ module TencentCloud
6558
6970
  # @param Name: 站点名称
6559
6971
  # @type Name: String
6560
6972
  # @param OriginalNameServers: 用户当前使用的 NS 列表
6561
- # 注意:此字段可能返回 null,表示取不到有效值。
6562
6973
  # @type OriginalNameServers: Array
6563
6974
  # @param NameServers: 腾讯云分配给用户的 NS 列表
6564
- # 注意:此字段可能返回 null,表示取不到有效值。
6565
6975
  # @type NameServers: Array
6566
6976
  # @param Status: 站点状态
6567
6977
  # - active:NS 已切换
@@ -6575,16 +6985,6 @@ module TencentCloud
6575
6985
  # @type Type: String
6576
6986
  # @param Paused: 站点是否关闭
6577
6987
  # @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
6988
  # @param CnameSpeedUp: 是否开启 CNAME 加速
6589
6989
  # - enabled:开启
6590
6990
  # - disabled:关闭
@@ -6592,20 +6992,34 @@ module TencentCloud
6592
6992
  # @param CnameStatus: cname切换验证状态
6593
6993
  # - finished 切换完成
6594
6994
  # - pending 切换验证中
6595
- # 注意:此字段可能返回 null,表示取不到有效值。
6596
6995
  # @type CnameStatus: String
6597
6996
  # @param Tags: 资源标签
6598
6997
  # 注意:此字段可能返回 null,表示取不到有效值。
6599
6998
  # @type Tags: Array
6999
+ # @param Area: 站点接入地域,取值为:
7000
+ # <li> global:全球;</li>
7001
+ # <li> mainland:中国大陆;</li>
7002
+ # <li> overseas:境外区域。</li>
7003
+ # @type Area: String
6600
7004
  # @param Resources: 计费资源
6601
7005
  # 注意:此字段可能返回 null,表示取不到有效值。
6602
7006
  # @type Resources: Array
7007
+ # @param ModifiedOn: 站点修改时间
7008
+ # @type ModifiedOn: String
7009
+ # @param CreatedOn: 站点创建时间
7010
+ # @type CreatedOn: String
7011
+ # @param VanityNameServers: 用户自定义 NS 信息
7012
+ # 注意:此字段可能返回 null,表示取不到有效值。
7013
+ # @type VanityNameServers: :class:`Tencentcloud::Teo.v20220106.models.VanityNameServers`
7014
+ # @param VanityNameServersIps: 用户自定义 NS IP 信息
7015
+ # 注意:此字段可能返回 null,表示取不到有效值。
7016
+ # @type VanityNameServersIps: Array
6603
7017
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6604
7018
  # @type RequestId: String
6605
7019
 
6606
- attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CreatedOn, :ModifiedOn, :VanityNameServers, :VanityNameServersIps, :CnameSpeedUp, :CnameStatus, :Tags, :Resources, :RequestId
7020
+ attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CnameSpeedUp, :CnameStatus, :Tags, :Area, :Resources, :ModifiedOn, :CreatedOn, :VanityNameServers, :VanityNameServersIps, :RequestId
6607
7021
 
6608
- def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, createdon=nil, modifiedon=nil, vanitynameservers=nil, vanitynameserversips=nil, cnamespeedup=nil, cnamestatus=nil, tags=nil, resources=nil, requestid=nil)
7022
+ 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)
6609
7023
  @Id = id
6610
7024
  @Name = name
6611
7025
  @OriginalNameServers = originalnameservers
@@ -6613,14 +7027,15 @@ module TencentCloud
6613
7027
  @Status = status
6614
7028
  @Type = type
6615
7029
  @Paused = paused
6616
- @CreatedOn = createdon
6617
- @ModifiedOn = modifiedon
6618
- @VanityNameServers = vanitynameservers
6619
- @VanityNameServersIps = vanitynameserversips
6620
7030
  @CnameSpeedUp = cnamespeedup
6621
7031
  @CnameStatus = cnamestatus
6622
7032
  @Tags = tags
7033
+ @Area = area
6623
7034
  @Resources = resources
7035
+ @ModifiedOn = modifiedon
7036
+ @CreatedOn = createdon
7037
+ @VanityNameServers = vanitynameservers
7038
+ @VanityNameServersIps = vanitynameserversips
6624
7039
  @RequestId = requestid
6625
7040
  end
6626
7041
 
@@ -6632,20 +7047,6 @@ module TencentCloud
6632
7047
  @Status = params['Status']
6633
7048
  @Type = params['Type']
6634
7049
  @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
7050
  @CnameSpeedUp = params['CnameSpeedUp']
6650
7051
  @CnameStatus = params['CnameStatus']
6651
7052
  unless params['Tags'].nil?
@@ -6656,6 +7057,7 @@ module TencentCloud
6656
7057
  @Tags << tag_tmp
6657
7058
  end
6658
7059
  end
7060
+ @Area = params['Area']
6659
7061
  unless params['Resources'].nil?
6660
7062
  @Resources = []
6661
7063
  params['Resources'].each do |i|
@@ -6664,6 +7066,20 @@ module TencentCloud
6664
7066
  @Resources << resource_tmp
6665
7067
  end
6666
7068
  end
7069
+ @ModifiedOn = params['ModifiedOn']
7070
+ @CreatedOn = params['CreatedOn']
7071
+ unless params['VanityNameServers'].nil?
7072
+ @VanityNameServers = VanityNameServers.new
7073
+ @VanityNameServers.deserialize(params['VanityNameServers'])
7074
+ end
7075
+ unless params['VanityNameServersIps'].nil?
7076
+ @VanityNameServersIps = []
7077
+ params['VanityNameServersIps'].each do |i|
7078
+ vanitynameserversips_tmp = VanityNameServersIps.new
7079
+ vanitynameserversips_tmp.deserialize(i)
7080
+ @VanityNameServersIps << vanitynameserversips_tmp
7081
+ end
7082
+ end
6667
7083
  @RequestId = params['RequestId']
6668
7084
  end
6669
7085
  end
@@ -6738,12 +7154,16 @@ module TencentCloud
6738
7154
  # @param Ipv6: Ipv6访问配置。
6739
7155
  # 注意:此字段可能返回 null,表示取不到有效值。
6740
7156
  # @type Ipv6: :class:`Tencentcloud::Teo.v20220106.models.Ipv6Access`
7157
+ # @param Area: 站点加速区域信息,取值有:
7158
+ # <li>mainland:中国境内加速;</li>
7159
+ # <li>overseas:中国境外加速。</li>
7160
+ # @type Area: String
6741
7161
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6742
7162
  # @type RequestId: String
6743
7163
 
6744
- attr_accessor :ZoneId, :Zone, :Cache, :CacheKey, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :Https, :Origin, :SmartRouting, :MaxAge, :OfflineCache, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :RequestId
7164
+ attr_accessor :ZoneId, :Zone, :Cache, :CacheKey, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :Https, :Origin, :SmartRouting, :MaxAge, :OfflineCache, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :Area, :RequestId
6745
7165
 
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)
7166
+ 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
7167
  @ZoneId = zoneid
6748
7168
  @Zone = zone
6749
7169
  @Cache = cache
@@ -6762,6 +7182,7 @@ module TencentCloud
6762
7182
  @ClientIpHeader = clientipheader
6763
7183
  @CachePrefresh = cacheprefresh
6764
7184
  @Ipv6 = ipv6
7185
+ @Area = area
6765
7186
  @RequestId = requestid
6766
7187
  end
6767
7188
 
@@ -6832,17 +7253,18 @@ module TencentCloud
6832
7253
  @Ipv6 = Ipv6Access.new
6833
7254
  @Ipv6.deserialize(params['Ipv6'])
6834
7255
  end
7256
+ @Area = params['Area']
6835
7257
  @RequestId = params['RequestId']
6836
7258
  end
6837
7259
  end
6838
7260
 
6839
7261
  # DescribeZones请求参数结构体
6840
7262
  class DescribeZonesRequest < TencentCloud::Common::AbstractModel
6841
- # @param Offset: 分页参数,页偏移
7263
+ # @param Offset: 分页查询偏移量。默认值:0,最小值:0。
6842
7264
  # @type Offset: Integer
6843
- # @param Limit: 分页参数,每页返回的站点个数
7265
+ # @param Limit: 分页查询限制数目。默认值:1000,最大值:1000。
6844
7266
  # @type Limit: Integer
6845
- # @param Filters: 查询条件过滤器,复杂类型
7267
+ # @param Filters: 查询条件过滤器,复杂类型。
6846
7268
  # @type Filters: Array
6847
7269
 
6848
7270
  attr_accessor :Offset, :Limit, :Filters
@@ -6869,10 +7291,9 @@ module TencentCloud
6869
7291
 
6870
7292
  # DescribeZones返回参数结构体
6871
7293
  class DescribeZonesResponse < TencentCloud::Common::AbstractModel
6872
- # @param TotalCount: 符合条件的站点数
7294
+ # @param TotalCount: 符合条件的站点个数。
6873
7295
  # @type TotalCount: Integer
6874
- # @param Zones: 站点详细信息列表
6875
- # 注意:此字段可能返回 null,表示取不到有效值。
7296
+ # @param Zones: 站点详细信息列表。
6876
7297
  # @type Zones: Array
6877
7298
  # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
6878
7299
  # @type RequestId: String
@@ -7692,15 +8113,20 @@ module TencentCloud
7692
8113
  # @param LogPacketName: 日志数据包名
7693
8114
  # 注意:此字段可能返回 null,表示取不到有效值。
7694
8115
  # @type LogPacketName: String
8116
+ # @param Area: 加速区域,取值有:
8117
+ # <li>mainland:中国大陆境内;</li>
8118
+ # <li>overseas:全球(不含中国大陆)。</li>
8119
+ # @type Area: String
7695
8120
 
7696
- attr_accessor :LogTime, :Domain, :Size, :Url, :LogPacketName
8121
+ attr_accessor :LogTime, :Domain, :Size, :Url, :LogPacketName, :Area
7697
8122
 
7698
- def initialize(logtime=nil, domain=nil, size=nil, url=nil, logpacketname=nil)
8123
+ def initialize(logtime=nil, domain=nil, size=nil, url=nil, logpacketname=nil, area=nil)
7699
8124
  @LogTime = logtime
7700
8125
  @Domain = domain
7701
8126
  @Size = size
7702
8127
  @Url = url
7703
8128
  @LogPacketName = logpacketname
8129
+ @Area = area
7704
8130
  end
7705
8131
 
7706
8132
  def deserialize(params)
@@ -7709,6 +8135,7 @@ module TencentCloud
7709
8135
  @Size = params['Size']
7710
8136
  @Url = params['Url']
7711
8137
  @LogPacketName = params['LogPacketName']
8138
+ @Area = params['Area']
7712
8139
  end
7713
8140
  end
7714
8141
 
@@ -8638,6 +9065,103 @@ module TencentCloud
8638
9065
  end
8639
9066
  end
8640
9067
 
9068
+ # ModifyRulePriority请求参数结构体
9069
+ class ModifyRulePriorityRequest < TencentCloud::Common::AbstractModel
9070
+ # @param ZoneId: 站点 ID。
9071
+ # @type ZoneId: String
9072
+ # @param RuleIds: 规则 ID 的顺序,多条规则执行顺序依次往下。
9073
+ # @type RuleIds: Array
9074
+
9075
+ attr_accessor :ZoneId, :RuleIds
9076
+
9077
+ def initialize(zoneid=nil, ruleids=nil)
9078
+ @ZoneId = zoneid
9079
+ @RuleIds = ruleids
9080
+ end
9081
+
9082
+ def deserialize(params)
9083
+ @ZoneId = params['ZoneId']
9084
+ @RuleIds = params['RuleIds']
9085
+ end
9086
+ end
9087
+
9088
+ # ModifyRulePriority返回参数结构体
9089
+ class ModifyRulePriorityResponse < TencentCloud::Common::AbstractModel
9090
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9091
+ # @type RequestId: String
9092
+
9093
+ attr_accessor :RequestId
9094
+
9095
+ def initialize(requestid=nil)
9096
+ @RequestId = requestid
9097
+ end
9098
+
9099
+ def deserialize(params)
9100
+ @RequestId = params['RequestId']
9101
+ end
9102
+ end
9103
+
9104
+ # ModifyRule请求参数结构体
9105
+ class ModifyRuleRequest < TencentCloud::Common::AbstractModel
9106
+ # @param ZoneId: 站点 ID。
9107
+ # @type ZoneId: String
9108
+ # @param RuleName: 规则名称,字符串名称长度 1~255。
9109
+ # @type RuleName: String
9110
+ # @param Rules: 规则内容。
9111
+ # @type Rules: Array
9112
+ # @param RuleId: 规则 ID。
9113
+ # @type RuleId: String
9114
+ # @param Status: 规则状态,取值有:
9115
+ # <li> enable: 启用; </li>
9116
+ # <li> disable: 未启用。</li>
9117
+ # @type Status: String
9118
+
9119
+ attr_accessor :ZoneId, :RuleName, :Rules, :RuleId, :Status
9120
+
9121
+ def initialize(zoneid=nil, rulename=nil, rules=nil, ruleid=nil, status=nil)
9122
+ @ZoneId = zoneid
9123
+ @RuleName = rulename
9124
+ @Rules = rules
9125
+ @RuleId = ruleid
9126
+ @Status = status
9127
+ end
9128
+
9129
+ def deserialize(params)
9130
+ @ZoneId = params['ZoneId']
9131
+ @RuleName = params['RuleName']
9132
+ unless params['Rules'].nil?
9133
+ @Rules = []
9134
+ params['Rules'].each do |i|
9135
+ ruleitem_tmp = RuleItem.new
9136
+ ruleitem_tmp.deserialize(i)
9137
+ @Rules << ruleitem_tmp
9138
+ end
9139
+ end
9140
+ @RuleId = params['RuleId']
9141
+ @Status = params['Status']
9142
+ end
9143
+ end
9144
+
9145
+ # ModifyRule返回参数结构体
9146
+ class ModifyRuleResponse < TencentCloud::Common::AbstractModel
9147
+ # @param RuleId: 规则 ID。
9148
+ # @type RuleId: String
9149
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
9150
+ # @type RequestId: String
9151
+
9152
+ attr_accessor :RuleId, :RequestId
9153
+
9154
+ def initialize(ruleid=nil, requestid=nil)
9155
+ @RuleId = ruleid
9156
+ @RequestId = requestid
9157
+ end
9158
+
9159
+ def deserialize(params)
9160
+ @RuleId = params['RuleId']
9161
+ @RequestId = params['RequestId']
9162
+ end
9163
+ end
9164
+
8641
9165
  # ModifySecurityPolicy请求参数结构体
8642
9166
  class ModifySecurityPolicyRequest < TencentCloud::Common::AbstractModel
8643
9167
  # @param ZoneId: 一级域名
@@ -9051,7 +9575,6 @@ module TencentCloud
9051
9575
  # @param Switch: 离线缓存是否开启,取值有:
9052
9576
  # <li>on:开启;</li>
9053
9577
  # <li>off:关闭。</li>
9054
- # 注意:此字段可能返回 null,表示取不到有效值。
9055
9578
  # @type Switch: String
9056
9579
 
9057
9580
  attr_accessor :Switch
@@ -9306,6 +9829,61 @@ module TencentCloud
9306
9829
  end
9307
9830
  end
9308
9831
 
9832
+ # edgeone套餐信息
9833
+ class PlanInfo < TencentCloud::Common::AbstractModel
9834
+ # @param Currency: 结算货币类型,取值有:
9835
+ # <li> CNY :人民币结算; </li>
9836
+ # <li> USD :美元结算。</li>
9837
+ # @type Currency: String
9838
+ # @param Flux: 套餐所含流量(单位:字节)
9839
+ # @type Flux: Integer
9840
+ # @param Frequency: 结算周期,取值有:
9841
+ # <li> y :按年结算; </li>
9842
+ # <li> m :按月结算;</li>
9843
+ # <li> h :按小时结算; </li>
9844
+ # <li> M :按分钟结算;</li>
9845
+ # <li> s :按秒结算。 </li>
9846
+ # @type Frequency: String
9847
+ # @param PlanType: 套餐类型,取值有:
9848
+ # <li> sta :全球内容分发网络(不包括中国大陆)标准版套餐; </li>
9849
+ # <li> sta_with_bot :全球内容分发网络(不包括中国大陆)标准版套餐附带bot管理;</li>
9850
+ # <li> sta_cm :中国大陆内容分发网络标准版套餐; </li>
9851
+ # <li> sta_cm_with_bot :中国大陆内容分发网络标准版套餐附带bot管理;</li>
9852
+ # <li> ent :全球内容分发网络(不包括中国大陆)企业版套餐; </li>
9853
+ # <li> ent_with_bot : 全球内容分发网络(不包括中国大陆)企业版套餐附带bot管理;</li>
9854
+ # <li> ent_cm :中国大陆内容分发网络企业版套餐; </li>
9855
+ # <li> ent_cm_with_bot :中国大陆内容分发网络企业版套餐附带bot管理。</li>
9856
+ # @type PlanType: String
9857
+ # @param Price: 套餐价格(单位:分)
9858
+ # @type Price: Float
9859
+ # @param Request: 套餐所含请求次数(单位:字节)
9860
+ # @type Request: Integer
9861
+ # @param SiteNumber: 套餐所能绑定的站点个数。
9862
+ # @type SiteNumber: Integer
9863
+
9864
+ attr_accessor :Currency, :Flux, :Frequency, :PlanType, :Price, :Request, :SiteNumber
9865
+
9866
+ def initialize(currency=nil, flux=nil, frequency=nil, plantype=nil, price=nil, request=nil, sitenumber=nil)
9867
+ @Currency = currency
9868
+ @Flux = flux
9869
+ @Frequency = frequency
9870
+ @PlanType = plantype
9871
+ @Price = price
9872
+ @Request = request
9873
+ @SiteNumber = sitenumber
9874
+ end
9875
+
9876
+ def deserialize(params)
9877
+ @Currency = params['Currency']
9878
+ @Flux = params['Flux']
9879
+ @Frequency = params['Frequency']
9880
+ @PlanType = params['PlanType']
9881
+ @Price = params['Price']
9882
+ @Request = params['Request']
9883
+ @SiteNumber = params['SiteNumber']
9884
+ end
9885
+ end
9886
+
9309
9887
  # 用户画像规则详情
9310
9888
  class PortraitManagedRuleDetail < TencentCloud::Common::AbstractModel
9311
9889
  # @param RuleId: 规则唯一id
@@ -9395,7 +9973,6 @@ module TencentCloud
9395
9973
  # @param Switch: CacheKey是否由QueryString组成,取值有:
9396
9974
  # <li>on:是;</li>
9397
9975
  # <li>off:否。</li>
9398
- # 注意:此字段可能返回 null,表示取不到有效值。
9399
9976
  # @type Switch: String
9400
9977
  # @param Action: CacheKey使用QueryString的方式,取值有:
9401
9978
  # <li>includeCustom:使用部分url参数;</li>
@@ -9679,33 +10256,39 @@ module TencentCloud
9679
10256
 
9680
10257
  # 计费资源
9681
10258
  class Resource < TencentCloud::Common::AbstractModel
9682
- # @param Id: 资源 ID
10259
+ # @param Id: 资源 ID
9683
10260
  # @type Id: String
9684
- # @param PayMode: 付费模式
9685
- # 0 为后付费
9686
- # 1 为预付费
10261
+ # @param PayMode: 付费模式,取值有:
10262
+ # <li>0:后付费。</li>
9687
10263
  # @type PayMode: Integer
9688
- # @param CreateTime: 创建时间
10264
+ # @param CreateTime: 创建时间。
9689
10265
  # @type CreateTime: String
9690
- # @param EnableTime: 生效时间
10266
+ # @param EnableTime: 生效时间。
9691
10267
  # @type EnableTime: String
9692
- # @param ExpireTime: 失效时间
10268
+ # @param ExpireTime: 失效时间。
9693
10269
  # @type ExpireTime: String
9694
- # @param Status: 套餐状态
10270
+ # @param Status: 套餐状态,取值有:
10271
+ # <li>normal:正常;</li>
10272
+ # <li>isolated:隔离;</li>
10273
+ # <li>destroyed:销毁。</li>
9695
10274
  # @type Status: String
9696
- # @param Sv: 询价参数
10275
+ # @param Sv: 询价参数。
9697
10276
  # @type Sv: Array
9698
- # @param AutoRenewFlag: 是否自动续费
9699
- # 0 表示默认状态
9700
- # 1 表示自动续费
9701
- # 2 表示不自动续费
10277
+ # @param AutoRenewFlag: 是否自动续费,取值有:
10278
+ # <li>0:默认状态;</li>
10279
+ # <li>1:自动续费;</li>
10280
+ # <li>2:不自动续费。</li>
9702
10281
  # @type AutoRenewFlag: Integer
9703
- # @param PlanId: 套餐关联资源ID
10282
+ # @param PlanId: 套餐关联资源 ID
9704
10283
  # @type PlanId: String
10284
+ # @param Area: 地域,取值有:
10285
+ # <li>mainland:国内;</li>
10286
+ # <li>overseas:海外。</li>
10287
+ # @type Area: String
9705
10288
 
9706
- attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId
10289
+ attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId, :Area
9707
10290
 
9708
- def initialize(id=nil, paymode=nil, createtime=nil, enabletime=nil, expiretime=nil, status=nil, sv=nil, autorenewflag=nil, planid=nil)
10291
+ def initialize(id=nil, paymode=nil, createtime=nil, enabletime=nil, expiretime=nil, status=nil, sv=nil, autorenewflag=nil, planid=nil, area=nil)
9709
10292
  @Id = id
9710
10293
  @PayMode = paymode
9711
10294
  @CreateTime = createtime
@@ -9715,6 +10298,7 @@ module TencentCloud
9715
10298
  @Sv = sv
9716
10299
  @AutoRenewFlag = autorenewflag
9717
10300
  @PlanId = planid
10301
+ @Area = area
9718
10302
  end
9719
10303
 
9720
10304
  def deserialize(params)
@@ -9734,6 +10318,585 @@ module TencentCloud
9734
10318
  end
9735
10319
  @AutoRenewFlag = params['AutoRenewFlag']
9736
10320
  @PlanId = params['PlanId']
10321
+ @Area = params['Area']
10322
+ end
10323
+ end
10324
+
10325
+ # 规则引擎功能项操作,对于一种功能只对应下面三种类型的其中一种,RuleAction 数组中的每一项只能是其中一个类型,更多功能项的填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
10326
+ class RuleAction < TencentCloud::Common::AbstractModel
10327
+ # @param NormalAction: 常规功能操作,选择该类型的功能项有:
10328
+ # <li> 访问URL 重写(AccessUrlRedirect);</li>
10329
+ # <li> 回源 URL 重写 (UpstreamUrlRedirect);</li>
10330
+ # <li> QUIC(QUIC);</li>
10331
+ # <li> WebSocket (WebSocket);</li>
10332
+ # <li> 视频拖拽(VideoSeek);</li>
10333
+ # <li> Token 鉴权(Authentication);</li>
10334
+ # <li> 自定义CacheKey(CacheKey);</li>
10335
+ # <li> 节点缓存 TTL (Cache);</li>
10336
+ # <li> 浏览器缓存 TTL(MaxAge);</li>
10337
+ # <li> 离线缓存(OfflineCache);</li>
10338
+ # <li> 智能加速(SmartRouting);</li>
10339
+ # <li> 分片回源(RangeOriginPull);</li>
10340
+ # <li> HTTP/2 回源(UpstreamHttp2);</li>
10341
+ # <li> Host Header 重写(HostHeader);</li>
10342
+ # <li> 强制 HTTPS(ForceRedirect);</li>
10343
+ # <li> 回源 HTTPS(OriginPullProtocol);</li>
10344
+ # <li> 缓存预刷新(CachePrefresh);</li>
10345
+ # <li> 智能压缩(Compression);</li>
10346
+ # <li> Hsts;</li>
10347
+ # <li> ClientIpHeader;</li>
10348
+ # <li> TlsVersion;</li>
10349
+ # <li> OcspStapling。</li>
10350
+ # <li> HTTP/2 访问(Http2)。</li>
10351
+ # 注意:此字段可能返回 null,表示取不到有效值。
10352
+ # @type NormalAction: :class:`Tencentcloud::Teo.v20220106.models.RuleNormalAction`
10353
+ # @param RewriteAction: 带有请求头/响应头的功能操作,选择该类型的功能项有:
10354
+ # <li> 修改 HTTP 请求头(RequestHeader);</li>
10355
+ # <li> 修改HTTP响应头(ResponseHeader)。</li>
10356
+ # 注意:此字段可能返回 null,表示取不到有效值。
10357
+ # @type RewriteAction: :class:`Tencentcloud::Teo.v20220106.models.RuleRewriteAction`
10358
+ # @param CodeAction: 带有状态码的功能操作,选择该类型的功能项有:
10359
+ # <li> 自定义错误页面(ErrorPage);</li>
10360
+ # <li> 状态码缓存 TTL(StatusCodeCache)。</li>
10361
+ # 注意:此字段可能返回 null,表示取不到有效值。
10362
+ # @type CodeAction: :class:`Tencentcloud::Teo.v20220106.models.RuleCodeAction`
10363
+
10364
+ attr_accessor :NormalAction, :RewriteAction, :CodeAction
10365
+
10366
+ def initialize(normalaction=nil, rewriteaction=nil, codeaction=nil)
10367
+ @NormalAction = normalaction
10368
+ @RewriteAction = rewriteaction
10369
+ @CodeAction = codeaction
10370
+ end
10371
+
10372
+ def deserialize(params)
10373
+ unless params['NormalAction'].nil?
10374
+ @NormalAction = RuleNormalAction.new
10375
+ @NormalAction.deserialize(params['NormalAction'])
10376
+ end
10377
+ unless params['RewriteAction'].nil?
10378
+ @RewriteAction = RuleRewriteAction.new
10379
+ @RewriteAction.deserialize(params['RewriteAction'])
10380
+ end
10381
+ unless params['CodeAction'].nil?
10382
+ @CodeAction = RuleCodeAction.new
10383
+ @CodeAction.deserialize(params['CodeAction'])
10384
+ end
10385
+ end
10386
+ end
10387
+
10388
+ # 规则引擎条件且关系条件列表
10389
+ class RuleAndConditions < TencentCloud::Common::AbstractModel
10390
+ # @param Conditions: 规则引擎条件,该数组内所有项全部满足即判断该条件满足。
10391
+ # @type Conditions: Array
10392
+
10393
+ attr_accessor :Conditions
10394
+
10395
+ def initialize(conditions=nil)
10396
+ @Conditions = conditions
10397
+ end
10398
+
10399
+ def deserialize(params)
10400
+ unless params['Conditions'].nil?
10401
+ @Conditions = []
10402
+ params['Conditions'].each do |i|
10403
+ rulecondition_tmp = RuleCondition.new
10404
+ rulecondition_tmp.deserialize(i)
10405
+ @Conditions << rulecondition_tmp
10406
+ end
10407
+ end
10408
+ end
10409
+ end
10410
+
10411
+ # 规则引擎可应用于匹配请求的设置详细信息,可选参数配置项
10412
+ class RuleChoicePropertiesItem < TencentCloud::Common::AbstractModel
10413
+ # @param Name: 参数名称。
10414
+ # @type Name: String
10415
+ # @param Type: 参数值类型。
10416
+ # <li> CHOICE:参数值只能在 ChoicesValue 中选择; </li>
10417
+ # <li> TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;</li>
10418
+ # <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
10419
+ # <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>
10420
+ # @type Type: String
10421
+ # @param ChoicesValue: 参数值的可选值。
10422
+ # 注意:若参数值为用户自定义则该数组为空数组。
10423
+ # @type ChoicesValue: Array
10424
+ # @param Min: 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
10425
+ # @type Min: Integer
10426
+ # @param Max: 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
10427
+ # @type Max: Integer
10428
+ # @param IsMultiple: 参数值是否支持多选或者填写多个。
10429
+ # @type IsMultiple: Boolean
10430
+ # @param IsAllowEmpty: 是否允许为空。
10431
+ # @type IsAllowEmpty: Boolean
10432
+ # @param ExtraParameter: 特殊参数。
10433
+ # <li> 为 NULL:RuleAction 选择 NormalAction;</li>
10434
+ # <li> 成员参数 Id 为 Action:RuleAction 选择 RewirteAction;</li>
10435
+ # <li> 成员参数 Id 为 StatusCode:RuleAction 选择 CodeAction。</li>
10436
+ # @type ExtraParameter: :class:`Tencentcloud::Teo.v20220106.models.RuleExtraParameter`
10437
+
10438
+ attr_accessor :Name, :Type, :ChoicesValue, :Min, :Max, :IsMultiple, :IsAllowEmpty, :ExtraParameter
10439
+
10440
+ def initialize(name=nil, type=nil, choicesvalue=nil, min=nil, max=nil, ismultiple=nil, isallowempty=nil, extraparameter=nil)
10441
+ @Name = name
10442
+ @Type = type
10443
+ @ChoicesValue = choicesvalue
10444
+ @Min = min
10445
+ @Max = max
10446
+ @IsMultiple = ismultiple
10447
+ @IsAllowEmpty = isallowempty
10448
+ @ExtraParameter = extraparameter
10449
+ end
10450
+
10451
+ def deserialize(params)
10452
+ @Name = params['Name']
10453
+ @Type = params['Type']
10454
+ @ChoicesValue = params['ChoicesValue']
10455
+ @Min = params['Min']
10456
+ @Max = params['Max']
10457
+ @IsMultiple = params['IsMultiple']
10458
+ @IsAllowEmpty = params['IsAllowEmpty']
10459
+ unless params['ExtraParameter'].nil?
10460
+ @ExtraParameter = RuleExtraParameter.new
10461
+ @ExtraParameter.deserialize(params['ExtraParameter'])
10462
+ end
10463
+ end
10464
+ end
10465
+
10466
+ # 规则引擎带有状态码的动作
10467
+ class RuleCodeAction < TencentCloud::Common::AbstractModel
10468
+ # @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
10469
+ # @type Action: String
10470
+ # @param Parameters: 操作参数。
10471
+ # @type Parameters: Array
10472
+
10473
+ attr_accessor :Action, :Parameters
10474
+
10475
+ def initialize(action=nil, parameters=nil)
10476
+ @Action = action
10477
+ @Parameters = parameters
10478
+ end
10479
+
10480
+ def deserialize(params)
10481
+ @Action = params['Action']
10482
+ unless params['Parameters'].nil?
10483
+ @Parameters = []
10484
+ params['Parameters'].each do |i|
10485
+ rulecodeactionparams_tmp = RuleCodeActionParams.new
10486
+ rulecodeactionparams_tmp.deserialize(i)
10487
+ @Parameters << rulecodeactionparams_tmp
10488
+ end
10489
+ end
10490
+ end
10491
+ end
10492
+
10493
+ # 规则引擎条件使用StatusCode字段动作参数
10494
+ class RuleCodeActionParams < TencentCloud::Common::AbstractModel
10495
+ # @param StatusCode: 状态 Code。
10496
+ # @type StatusCode: Integer
10497
+ # @param Name: 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
10498
+ # @type Name: String
10499
+ # @param Values: 参数值。
10500
+ # @type Values: Array
10501
+
10502
+ attr_accessor :StatusCode, :Name, :Values
10503
+
10504
+ def initialize(statuscode=nil, name=nil, values=nil)
10505
+ @StatusCode = statuscode
10506
+ @Name = name
10507
+ @Values = values
10508
+ end
10509
+
10510
+ def deserialize(params)
10511
+ @StatusCode = params['StatusCode']
10512
+ @Name = params['Name']
10513
+ @Values = params['Values']
10514
+ end
10515
+ end
10516
+
10517
+ # 规则引擎条件参数
10518
+ class RuleCondition < TencentCloud::Common::AbstractModel
10519
+ # @param Operator: 运算符,取值有:
10520
+ # <li> equal: 等于; </li>
10521
+ # <li> notequal: 不等于。</li>
10522
+ # @type Operator: String
10523
+ # @param Target: 匹配类型,取值有:
10524
+ # <li> 全部(站点任意请求): host。 </li>
10525
+ # <li> 文件名: filename; </li>
10526
+ # <li> 文件后缀: extension; </li>
10527
+ # <li> HOST: host; </li>
10528
+ # <li> URL Full: full_url,当前站点下完整 URL 路径,必须包含 HTTP 协议,Host 和 路径; </li>
10529
+ # <li> URL Path: url,当前站点下 URL 路径的请求。 </li>
10530
+ # @type Target: String
10531
+ # @param Values: 对应匹配类型的参数值,对应匹配类型的取值有:
10532
+ # <li> 文件后缀:jpg、txt等文件后缀;</li>
10533
+ # <li> 文件名称:例如 foo.jpg 中的 foo;</li>
10534
+ # <li> 全部(站点任意请求): all; </li>
10535
+ # <li> HOST:当前站点下的 host ,例如www.maxx55.com;</li>
10536
+ # <li> URL Path:当前站点下 URL 路径的请求,例如:/example;</li>
10537
+ # <li> URL Full:当前站点下完整 URL 请求,必须包含 HTTP 协议,Host 和 路径,例如:https://www.maxx55.cn/example。</li>
10538
+ # @type Values: Array
10539
+
10540
+ attr_accessor :Operator, :Target, :Values
10541
+
10542
+ def initialize(operator=nil, target=nil, values=nil)
10543
+ @Operator = operator
10544
+ @Target = target
10545
+ @Values = values
10546
+ end
10547
+
10548
+ def deserialize(params)
10549
+ @Operator = params['Operator']
10550
+ @Target = params['Target']
10551
+ @Values = params['Values']
10552
+ end
10553
+ end
10554
+
10555
+ # 规则引擎参数详情信息,特殊参数类型。
10556
+ class RuleExtraParameter < TencentCloud::Common::AbstractModel
10557
+ # @param Id: 参数名,取值有:
10558
+ # <li> Action:修改 HTTP 头部所需参数,RuleAction 选择 RewirteAction;</li>
10559
+ # <li> StatusCode:状态码相关功能所需参数,RuleAction 选择 CodeAction。</li>
10560
+ # @type Id: String
10561
+ # @param Type: 参数值类型。
10562
+ # <li> CHOICE:参数值只能在 Values 中选择; </li>
10563
+ # <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
10564
+ # <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>
10565
+ # @type Type: String
10566
+ # @param Choices: 可选参数值。
10567
+ # 注意:当 Id 的值为 StatusCode 时数组中的值为整型,填写参数值时请填写字符串的整型数值。
10568
+ # @type Choices: String
10569
+
10570
+ attr_accessor :Id, :Type, :Choices
10571
+
10572
+ def initialize(id=nil, type=nil, choices=nil)
10573
+ @Id = id
10574
+ @Type = type
10575
+ @Choices = choices
10576
+ end
10577
+
10578
+ def deserialize(params)
10579
+ @Id = params['Id']
10580
+ @Type = params['Type']
10581
+ @Choices = params['Choices']
10582
+ end
10583
+ end
10584
+
10585
+ # 规则查询 Filter
10586
+ class RuleFilter < TencentCloud::Common::AbstractModel
10587
+ # @param Name: 过滤参数,取值有:
10588
+ # <li> RULE_ID:规则 ID。 </li>
10589
+ # @type Name: String
10590
+ # @param Values: 参数值。
10591
+ # @type Values: Array
10592
+
10593
+ attr_accessor :Name, :Values
10594
+
10595
+ def initialize(name=nil, values=nil)
10596
+ @Name = name
10597
+ @Values = values
10598
+ end
10599
+
10600
+ def deserialize(params)
10601
+ @Name = params['Name']
10602
+ @Values = params['Values']
10603
+ end
10604
+ end
10605
+
10606
+ # 规则引擎规则项,Conditions 数组内多个项的关系为 或,内层 Conditions 列表内多个项的关系为 且。
10607
+ class RuleItem < TencentCloud::Common::AbstractModel
10608
+ # @param Conditions: 执行功能判断条件。
10609
+ # 注意:满足该数组内任意一项条件,功能即可执行。
10610
+ # @type Conditions: Array
10611
+ # @param Actions: 执行的功能。
10612
+ # @type Actions: Array
10613
+
10614
+ attr_accessor :Conditions, :Actions
10615
+
10616
+ def initialize(conditions=nil, actions=nil)
10617
+ @Conditions = conditions
10618
+ @Actions = actions
10619
+ end
10620
+
10621
+ def deserialize(params)
10622
+ unless params['Conditions'].nil?
10623
+ @Conditions = []
10624
+ params['Conditions'].each do |i|
10625
+ ruleandconditions_tmp = RuleAndConditions.new
10626
+ ruleandconditions_tmp.deserialize(i)
10627
+ @Conditions << ruleandconditions_tmp
10628
+ end
10629
+ end
10630
+ unless params['Actions'].nil?
10631
+ @Actions = []
10632
+ params['Actions'].each do |i|
10633
+ ruleaction_tmp = RuleAction.new
10634
+ ruleaction_tmp.deserialize(i)
10635
+ @Actions << ruleaction_tmp
10636
+ end
10637
+ end
10638
+ end
10639
+ end
10640
+
10641
+ # 规则引擎常规类型的动作
10642
+ class RuleNormalAction < TencentCloud::Common::AbstractModel
10643
+ # @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
10644
+ # @type Action: String
10645
+ # @param Parameters: 参数。
10646
+ # @type Parameters: Array
10647
+
10648
+ attr_accessor :Action, :Parameters
10649
+
10650
+ def initialize(action=nil, parameters=nil)
10651
+ @Action = action
10652
+ @Parameters = parameters
10653
+ end
10654
+
10655
+ def deserialize(params)
10656
+ @Action = params['Action']
10657
+ unless params['Parameters'].nil?
10658
+ @Parameters = []
10659
+ params['Parameters'].each do |i|
10660
+ rulenormalactionparams_tmp = RuleNormalActionParams.new
10661
+ rulenormalactionparams_tmp.deserialize(i)
10662
+ @Parameters << rulenormalactionparams_tmp
10663
+ end
10664
+ end
10665
+ end
10666
+ end
10667
+
10668
+ # 规则引擎条件常规动作参数
10669
+ class RuleNormalActionParams < TencentCloud::Common::AbstractModel
10670
+ # @param Name: 参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
10671
+ # @type Name: String
10672
+ # @param Values: 参数值。
10673
+ # @type Values: Array
10674
+
10675
+ attr_accessor :Name, :Values
10676
+
10677
+ def initialize(name=nil, values=nil)
10678
+ @Name = name
10679
+ @Values = values
10680
+ end
10681
+
10682
+ def deserialize(params)
10683
+ @Name = params['Name']
10684
+ @Values = params['Values']
10685
+ end
10686
+ end
10687
+
10688
+ # 规则引擎HTTP请求头/响应头类型的动作
10689
+ class RuleRewriteAction < TencentCloud::Common::AbstractModel
10690
+ # @param Action: 功能名称,功能名称填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。
10691
+ # @type Action: String
10692
+ # @param Parameters: 参数。
10693
+ # @type Parameters: Array
10694
+
10695
+ attr_accessor :Action, :Parameters
10696
+
10697
+ def initialize(action=nil, parameters=nil)
10698
+ @Action = action
10699
+ @Parameters = parameters
10700
+ end
10701
+
10702
+ def deserialize(params)
10703
+ @Action = params['Action']
10704
+ unless params['Parameters'].nil?
10705
+ @Parameters = []
10706
+ params['Parameters'].each do |i|
10707
+ rulerewriteactionparams_tmp = RuleRewriteActionParams.new
10708
+ rulerewriteactionparams_tmp.deserialize(i)
10709
+ @Parameters << rulerewriteactionparams_tmp
10710
+ end
10711
+ end
10712
+ end
10713
+ end
10714
+
10715
+ # 规则引擎条件 HTTP 请求/响应头操作动作参数。
10716
+ class RuleRewriteActionParams < TencentCloud::Common::AbstractModel
10717
+ # @param Action: 功能参数名称,参数填写规范可调用接口 [查询规则引擎的设置参数](https://tcloud4api.woa.com/document/product/1657/79433?!preview&!document=1) 查看。现在只有三种取值:
10718
+ # <li> add:添加 HTTP 头部;</li>
10719
+ # <li> set:重写 HTTP 头部;</li>
10720
+ # <li> del:删除 HTTP 头部。</li>
10721
+ # @type Action: String
10722
+ # @param Name: 参数名称。
10723
+ # @type Name: String
10724
+ # @param Values: 参数值。
10725
+ # @type Values: Array
10726
+
10727
+ attr_accessor :Action, :Name, :Values
10728
+
10729
+ def initialize(action=nil, name=nil, values=nil)
10730
+ @Action = action
10731
+ @Name = name
10732
+ @Values = values
10733
+ end
10734
+
10735
+ def deserialize(params)
10736
+ @Action = params['Action']
10737
+ @Name = params['Name']
10738
+ @Values = params['Values']
10739
+ end
10740
+ end
10741
+
10742
+ # 规则引擎规则详情
10743
+ class RuleSettingDetail < TencentCloud::Common::AbstractModel
10744
+ # @param RuleId: 规则ID。
10745
+ # @type RuleId: String
10746
+ # @param RuleName: 规则名称,名称字符串长度 1~255。
10747
+ # @type RuleName: String
10748
+ # @param Status: 规则状态,取值有:
10749
+ # <li> enable: 启用; </li>
10750
+ # <li> disable: 未启用。 </li>
10751
+ # @type Status: String
10752
+ # @param Rules: 规则内容。
10753
+ # @type Rules: Array
10754
+ # @param RulePriority: 规则优先级, 值越大优先级越高,最小为 1。
10755
+ # @type RulePriority: Integer
10756
+
10757
+ attr_accessor :RuleId, :RuleName, :Status, :Rules, :RulePriority
10758
+
10759
+ def initialize(ruleid=nil, rulename=nil, status=nil, rules=nil, rulepriority=nil)
10760
+ @RuleId = ruleid
10761
+ @RuleName = rulename
10762
+ @Status = status
10763
+ @Rules = rules
10764
+ @RulePriority = rulepriority
10765
+ end
10766
+
10767
+ def deserialize(params)
10768
+ @RuleId = params['RuleId']
10769
+ @RuleName = params['RuleName']
10770
+ @Status = params['Status']
10771
+ unless params['Rules'].nil?
10772
+ @Rules = []
10773
+ params['Rules'].each do |i|
10774
+ ruleitem_tmp = RuleItem.new
10775
+ ruleitem_tmp.deserialize(i)
10776
+ @Rules << ruleitem_tmp
10777
+ end
10778
+ end
10779
+ @RulePriority = params['RulePriority']
10780
+ end
10781
+ end
10782
+
10783
+ # 规则引擎可应用于匹配请求的设置详细信息。
10784
+ class RulesProperties < TencentCloud::Common::AbstractModel
10785
+ # @param Name: 值为参数名称。
10786
+ # @type Name: String
10787
+ # @param Min: 数值参数的最小值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
10788
+ # @type Min: Integer
10789
+ # @param ChoicesValue: 参数值的可选值。
10790
+ # 注意:若参数值为用户自定义则该数组为空数组。
10791
+ # @type ChoicesValue: Array
10792
+ # @param Type: 参数值类型。
10793
+ # <li> CHOICE:参数值只能在 ChoicesValue 中选择; </li>
10794
+ # <li> TOGGLE:参数值为开关类型,可在 ChoicesValue 中选择;</li>
10795
+ # <li> OBJECT:参数值为对象类型,ChoiceProperties 为改对象类型关联的属性;</li>
10796
+ # <li> CUSTOM_NUM:参数值用户自定义,整型类型;</li>
10797
+ # <li> CUSTOM_STRING:参数值用户自定义,字符串类型。</li>注意:当参数类型为 OBJECT 类型时,请注意参考 [示例2 参数为 OBJECT 类型的创建](https://tcloud4api.woa.com/document/product/1657/79382?!preview&!document=1)
10798
+ # @type Type: String
10799
+ # @param Max: 数值参数的最大值,非数值参数或 Min 和 Max 值都为 0 则此项无意义。
10800
+ # @type Max: Integer
10801
+ # @param IsMultiple: 参数值是否支持多选或者填写多个。
10802
+ # @type IsMultiple: Boolean
10803
+ # @param IsAllowEmpty: 是否允许为空。
10804
+ # @type IsAllowEmpty: Boolean
10805
+ # @param ChoiceProperties: 该参数对应的关联配置参数,属于调用接口的必填参数。
10806
+ # 注意:如果可选参数无特殊新增参数则该数组为空数组。
10807
+ # @type ChoiceProperties: Array
10808
+ # @param ExtraParameter: <li> 为 NULL:无特殊参数,RuleAction 选择 NormalAction;</li>
10809
+ # 注意:此字段可能返回 null,表示取不到有效值。
10810
+ # @type ExtraParameter: :class:`Tencentcloud::Teo.v20220106.models.RuleExtraParameter`
10811
+
10812
+ attr_accessor :Name, :Min, :ChoicesValue, :Type, :Max, :IsMultiple, :IsAllowEmpty, :ChoiceProperties, :ExtraParameter
10813
+
10814
+ def initialize(name=nil, min=nil, choicesvalue=nil, type=nil, max=nil, ismultiple=nil, isallowempty=nil, choiceproperties=nil, extraparameter=nil)
10815
+ @Name = name
10816
+ @Min = min
10817
+ @ChoicesValue = choicesvalue
10818
+ @Type = type
10819
+ @Max = max
10820
+ @IsMultiple = ismultiple
10821
+ @IsAllowEmpty = isallowempty
10822
+ @ChoiceProperties = choiceproperties
10823
+ @ExtraParameter = extraparameter
10824
+ end
10825
+
10826
+ def deserialize(params)
10827
+ @Name = params['Name']
10828
+ @Min = params['Min']
10829
+ @ChoicesValue = params['ChoicesValue']
10830
+ @Type = params['Type']
10831
+ @Max = params['Max']
10832
+ @IsMultiple = params['IsMultiple']
10833
+ @IsAllowEmpty = params['IsAllowEmpty']
10834
+ unless params['ChoiceProperties'].nil?
10835
+ @ChoiceProperties = []
10836
+ params['ChoiceProperties'].each do |i|
10837
+ rulechoicepropertiesitem_tmp = RuleChoicePropertiesItem.new
10838
+ rulechoicepropertiesitem_tmp.deserialize(i)
10839
+ @ChoiceProperties << rulechoicepropertiesitem_tmp
10840
+ end
10841
+ end
10842
+ unless params['ExtraParameter'].nil?
10843
+ @ExtraParameter = RuleExtraParameter.new
10844
+ @ExtraParameter.deserialize(params['ExtraParameter'])
10845
+ end
10846
+ end
10847
+ end
10848
+
10849
+ # 规则引擎可应用于匹配请求的设置列表及其详细信息
10850
+ class RulesSettingAction < TencentCloud::Common::AbstractModel
10851
+ # @param Action: 功能名称,取值有:
10852
+ # <li> 访问URL 重写(AccessUrlRedirect);</li>
10853
+ # <li> 回源 URL 重写 (UpstreamUrlRedirect);</li>
10854
+ # <li> 自定义错误页面
10855
+ # (ErrorPage);</li>
10856
+ # <li> QUIC(QUIC);</li>
10857
+ # <li> WebSocket (WebSocket);</li>
10858
+ # <li> 视频拖拽(VideoSeek);</li>
10859
+ # <li> Token 鉴权(Authentication);</li>
10860
+ # <li> 自定义CacheKey(CacheKey);</li>
10861
+ # <li> 节点缓存 TTL (Cache);</li>
10862
+ # <li> 浏览器缓存 TTL(MaxAge);</li>
10863
+ # <li> 离线缓存(OfflineCache);</li>
10864
+ # <li> 智能加速(SmartRouting);</li>
10865
+ # <li> 分片回源(RangeOriginPull);</li>
10866
+ # <li> HTTP/2 回源(UpstreamHttp2);</li>
10867
+ # <li> Host Header 重写(HostHeader);</li>
10868
+ # <li> 强制 HTTPS(ForceRedirect);</li>
10869
+ # <li> 回源 HTTPS(OriginPullProtocol);</li>
10870
+ # <li> 缓存预刷新(CachePrefresh);</li>
10871
+ # <li> 智能压缩(Compression);</li>
10872
+ # <li> 修改 HTTP 请求头(RequestHeader);</li>
10873
+ # <li> 修改HTTP响应头(ResponseHeader);</li>
10874
+ # <li> 状态码缓存 TTL(StatusCodeCache);</li>
10875
+ # <li> Hsts;</li>
10876
+ # <li> ClientIpHeader;</li>
10877
+ # <li> TlsVersion;</li>
10878
+ # <li> OcspStapling。</li>
10879
+ # @type Action: String
10880
+ # @param Properties: 参数信息。
10881
+ # @type Properties: Array
10882
+
10883
+ attr_accessor :Action, :Properties
10884
+
10885
+ def initialize(action=nil, properties=nil)
10886
+ @Action = action
10887
+ @Properties = properties
10888
+ end
10889
+
10890
+ def deserialize(params)
10891
+ @Action = params['Action']
10892
+ unless params['Properties'].nil?
10893
+ @Properties = []
10894
+ params['Properties'].each do |i|
10895
+ rulesproperties_tmp = RulesProperties.new
10896
+ rulesproperties_tmp.deserialize(i)
10897
+ @Properties << rulesproperties_tmp
10898
+ end
10899
+ end
9737
10900
  end
9738
10901
  end
9739
10902
 
@@ -10124,9 +11287,9 @@ module TencentCloud
10124
11287
 
10125
11288
  # 询价参数
10126
11289
  class Sv < TencentCloud::Common::AbstractModel
10127
- # @param Key: 询价参数 key
11290
+ # @param Key: 询价参数键。
10128
11291
  # @type Key: String
10129
- # @param Value: 询价参数 value
11292
+ # @param Value: 询价参数值。
10130
11293
  # @type Value: String
10131
11294
 
10132
11295
  attr_accessor :Key, :Value
@@ -10760,50 +11923,51 @@ module TencentCloud
10760
11923
 
10761
11924
  # 站点信息
10762
11925
  class Zone < TencentCloud::Common::AbstractModel
10763
- # @param Id: 站点ID
11926
+ # @param Id: 站点ID
10764
11927
  # @type Id: String
10765
- # @param Name: 站点名称
11928
+ # @param Name: 站点名称。
10766
11929
  # @type Name: String
10767
- # @param OriginalNameServers: 站点当前使用的 NS 列表
11930
+ # @param OriginalNameServers: 站点当前使用的 NS 列表。
10768
11931
  # @type OriginalNameServers: Array
10769
- # @param NameServers: 腾讯云分配的 NS 列表
11932
+ # @param NameServers: 腾讯云分配的 NS 列表。
10770
11933
  # @type NameServers: Array
10771
- # @param Status: 站点状态
10772
- # - active:NS 已切换
10773
- # - pending:NS 未切换
10774
- # - moved:NS 已切走
10775
- # - deactivated:被封禁
11934
+ # @param Status: 站点状态,取值有:
11935
+ # <li> active:NS 已切换; </li>
11936
+ # <li> pending:NS 未切换;</li>
11937
+ # <li> moved:NS 已切走;</li>
11938
+ # <li> deactivated:被封禁。 </li>
10776
11939
  # @type Status: String
10777
- # @param Type: 站点接入方式
10778
- # - full:NS 接入
10779
- # - partial:CNAME 接入
11940
+ # @param Type: 站点接入方式,取值有
11941
+ # <li> full:NS 接入; </li>
11942
+ # <li> partial:CNAME 接入。</li>
10780
11943
  # @type Type: String
10781
- # @param Paused: 站点是否关闭
11944
+ # @param Paused: 站点是否关闭。
10782
11945
  # @type Paused: Boolean
10783
- # @param CreatedOn: 站点创建时间
10784
- # @type CreatedOn: String
10785
- # @param ModifiedOn: 站点修改时间
10786
- # @type ModifiedOn: String
10787
- # @param CnameStatus: cname 接入状态
10788
- # - finished 站点已验证
10789
- # - pending 站点验证中
10790
- # 注意:此字段可能返回 null,表示取不到有效值。
11946
+ # @param CnameSpeedUp: 是否开启cname加速,取值有:
11947
+ # <li> enabled:开启;</li>
11948
+ # <li> disabled:关闭。</li>
11949
+ # @type CnameSpeedUp: String
11950
+ # @param CnameStatus: cname 接入状态,取值有:
11951
+ # <li> finished:站点已验证;</li>
11952
+ # <li> pending:站点验证中。</li>
10791
11953
  # @type CnameStatus: String
10792
- # @param Tags: 资源标签
10793
- # 注意:此字段可能返回 null,表示取不到有效值。
11954
+ # @param Tags: 资源标签列表。
10794
11955
  # @type Tags: Array
10795
- # @param Resources: 计费资源
10796
- # 注意:此字段可能返回 null,表示取不到有效值。
11956
+ # @param Resources: 计费资源列表。
10797
11957
  # @type Resources: Array
10798
- # @param CnameSpeedUp: 是否开启cname加速
10799
- # - enabled 开启
10800
- # - disabled 关闭
10801
- # 注意:此字段可能返回 null,表示取不到有效值。
10802
- # @type CnameSpeedUp: String
11958
+ # @param CreatedOn: 站点创建时间。
11959
+ # @type CreatedOn: String
11960
+ # @param ModifiedOn: 站点修改时间。
11961
+ # @type ModifiedOn: String
11962
+ # @param Area: 站点接入地域,取值为:
11963
+ # <li> global:全球;</li>
11964
+ # <li> mainland:中国大陆;</li>
11965
+ # <li> overseas:境外区域。</li>
11966
+ # @type Area: String
10803
11967
 
10804
- attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CreatedOn, :ModifiedOn, :CnameStatus, :Tags, :Resources, :CnameSpeedUp
11968
+ attr_accessor :Id, :Name, :OriginalNameServers, :NameServers, :Status, :Type, :Paused, :CnameSpeedUp, :CnameStatus, :Tags, :Resources, :CreatedOn, :ModifiedOn, :Area
10805
11969
 
10806
- def initialize(id=nil, name=nil, originalnameservers=nil, nameservers=nil, status=nil, type=nil, paused=nil, createdon=nil, modifiedon=nil, cnamestatus=nil, tags=nil, resources=nil, cnamespeedup=nil)
11970
+ 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
11971
  @Id = id
10808
11972
  @Name = name
10809
11973
  @OriginalNameServers = originalnameservers
@@ -10811,12 +11975,13 @@ module TencentCloud
10811
11975
  @Status = status
10812
11976
  @Type = type
10813
11977
  @Paused = paused
10814
- @CreatedOn = createdon
10815
- @ModifiedOn = modifiedon
11978
+ @CnameSpeedUp = cnamespeedup
10816
11979
  @CnameStatus = cnamestatus
10817
11980
  @Tags = tags
10818
11981
  @Resources = resources
10819
- @CnameSpeedUp = cnamespeedup
11982
+ @CreatedOn = createdon
11983
+ @ModifiedOn = modifiedon
11984
+ @Area = area
10820
11985
  end
10821
11986
 
10822
11987
  def deserialize(params)
@@ -10827,8 +11992,7 @@ module TencentCloud
10827
11992
  @Status = params['Status']
10828
11993
  @Type = params['Type']
10829
11994
  @Paused = params['Paused']
10830
- @CreatedOn = params['CreatedOn']
10831
- @ModifiedOn = params['ModifiedOn']
11995
+ @CnameSpeedUp = params['CnameSpeedUp']
10832
11996
  @CnameStatus = params['CnameStatus']
10833
11997
  unless params['Tags'].nil?
10834
11998
  @Tags = []
@@ -10846,21 +12010,23 @@ module TencentCloud
10846
12010
  @Resources << resource_tmp
10847
12011
  end
10848
12012
  end
10849
- @CnameSpeedUp = params['CnameSpeedUp']
12013
+ @CreatedOn = params['CreatedOn']
12014
+ @ModifiedOn = params['ModifiedOn']
12015
+ @Area = params['Area']
10850
12016
  end
10851
12017
  end
10852
12018
 
10853
12019
  # 站点查询过滤条件
10854
12020
  class ZoneFilter < TencentCloud::Common::AbstractModel
10855
12021
  # @param Name: 过滤字段名,支持的列表如下:
10856
- # - name: 站点名。
10857
- # - status: 站点状态
10858
- # - tagKey: 标签键
10859
- # - tagValue: 标签值
12022
+ # <li> name:站点名;</li>
12023
+ # <li> status:站点状态;</li>
12024
+ # <li> tagKey:标签键;</li>
12025
+ # <li> tagValue: 标签值。</li>
10860
12026
  # @type Name: String
10861
- # @param Values: 过滤字段值
12027
+ # @param Values: 过滤字段值。
10862
12028
  # @type Values: Array
10863
- # @param Fuzzy: 是否启用模糊查询,仅支持过滤字段名为name。模糊查询时,Values长度最大为1
12029
+ # @param Fuzzy: 是否启用模糊查询,仅支持过滤字段名为name。模糊查询时,Values长度最大为1。默认为false。
10864
12030
  # @type Fuzzy: Boolean
10865
12031
 
10866
12032
  attr_accessor :Name, :Values, :Fuzzy