tencentcloud-sdk-teo 3.0.606 → 3.0.607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20220901/client.rb +10 -632
- data/lib/v20220901/models.rb +474 -2857
- metadata +2 -2
data/lib/v20220901/models.rb
CHANGED
@@ -810,14 +810,17 @@ module TencentCloud
|
|
810
810
|
# <li>true:开启;</li>
|
811
811
|
# <li>false:关闭。</li>默认值:false。
|
812
812
|
# @type SessionPersist: Boolean
|
813
|
+
# @param SessionPersistTime: 会话保持的时间,只有当SessionPersist为true时,该值才会生效。
|
814
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
815
|
+
# @type SessionPersistTime: Integer
|
813
816
|
# @param OriginPort: 源站端口,支持格式:
|
814
817
|
# <li>单端口,如:80。</li>
|
815
818
|
# <li>端口段:81-82,表示81,82两个端口。</li>
|
816
819
|
# @type OriginPort: String
|
817
820
|
|
818
|
-
attr_accessor :Proto, :Port, :OriginType, :OriginValue, :RuleId, :Status, :ForwardClientIp, :SessionPersist, :OriginPort
|
821
|
+
attr_accessor :Proto, :Port, :OriginType, :OriginValue, :RuleId, :Status, :ForwardClientIp, :SessionPersist, :SessionPersistTime, :OriginPort
|
819
822
|
|
820
|
-
def initialize(proto=nil, port=nil, origintype=nil, originvalue=nil, ruleid=nil, status=nil, forwardclientip=nil, sessionpersist=nil, originport=nil)
|
823
|
+
def initialize(proto=nil, port=nil, origintype=nil, originvalue=nil, ruleid=nil, status=nil, forwardclientip=nil, sessionpersist=nil, sessionpersisttime=nil, originport=nil)
|
821
824
|
@Proto = proto
|
822
825
|
@Port = port
|
823
826
|
@OriginType = origintype
|
@@ -826,6 +829,7 @@ module TencentCloud
|
|
826
829
|
@Status = status
|
827
830
|
@ForwardClientIp = forwardclientip
|
828
831
|
@SessionPersist = sessionpersist
|
832
|
+
@SessionPersistTime = sessionpersisttime
|
829
833
|
@OriginPort = originport
|
830
834
|
end
|
831
835
|
|
@@ -838,6 +842,7 @@ module TencentCloud
|
|
838
842
|
@Status = params['Status']
|
839
843
|
@ForwardClientIp = params['ForwardClientIp']
|
840
844
|
@SessionPersist = params['SessionPersist']
|
845
|
+
@SessionPersistTime = params['SessionPersistTime']
|
841
846
|
@OriginPort = params['OriginPort']
|
842
847
|
end
|
843
848
|
end
|
@@ -1218,6 +1223,9 @@ module TencentCloud
|
|
1218
1223
|
# @type IgnoreCacheControl: String
|
1219
1224
|
|
1220
1225
|
attr_accessor :Switch, :CacheTime, :IgnoreCacheControl
|
1226
|
+
extend Gem::Deprecate
|
1227
|
+
deprecate :IgnoreCacheControl, :none, 2023, 7
|
1228
|
+
deprecate :IgnoreCacheControl=, :none, 2023, 7
|
1221
1229
|
|
1222
1230
|
def initialize(switch=nil, cachetime=nil, ignorecachecontrol=nil)
|
1223
1231
|
@Switch = switch
|
@@ -1325,38 +1333,49 @@ module TencentCloud
|
|
1325
1333
|
end
|
1326
1334
|
end
|
1327
1335
|
|
1328
|
-
#
|
1329
|
-
class
|
1330
|
-
# @param
|
1331
|
-
# @type
|
1332
|
-
# @param
|
1333
|
-
# @type
|
1336
|
+
# CheckCnameStatus请求参数结构体
|
1337
|
+
class CheckCnameStatusRequest < TencentCloud::Common::AbstractModel
|
1338
|
+
# @param ZoneId: 站点ID。
|
1339
|
+
# @type ZoneId: String
|
1340
|
+
# @param RecordNames: 记录名称列表。
|
1341
|
+
# @type RecordNames: Array
|
1334
1342
|
|
1335
|
-
attr_accessor :
|
1343
|
+
attr_accessor :ZoneId, :RecordNames
|
1336
1344
|
|
1337
|
-
def initialize(
|
1338
|
-
@
|
1339
|
-
@
|
1345
|
+
def initialize(zoneid=nil, recordnames=nil)
|
1346
|
+
@ZoneId = zoneid
|
1347
|
+
@RecordNames = recordnames
|
1340
1348
|
end
|
1341
1349
|
|
1342
1350
|
def deserialize(params)
|
1343
|
-
@
|
1344
|
-
@
|
1351
|
+
@ZoneId = params['ZoneId']
|
1352
|
+
@RecordNames = params['RecordNames']
|
1345
1353
|
end
|
1346
1354
|
end
|
1347
1355
|
|
1348
|
-
#
|
1349
|
-
class
|
1356
|
+
# CheckCnameStatus返回参数结构体
|
1357
|
+
class CheckCnameStatusResponse < TencentCloud::Common::AbstractModel
|
1358
|
+
# @param CnameStatus: 域名Cname状态信息列表。
|
1359
|
+
# @type CnameStatus: Array
|
1350
1360
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1351
1361
|
# @type RequestId: String
|
1352
1362
|
|
1353
|
-
attr_accessor :RequestId
|
1363
|
+
attr_accessor :CnameStatus, :RequestId
|
1354
1364
|
|
1355
|
-
def initialize(requestid=nil)
|
1365
|
+
def initialize(cnamestatus=nil, requestid=nil)
|
1366
|
+
@CnameStatus = cnamestatus
|
1356
1367
|
@RequestId = requestid
|
1357
1368
|
end
|
1358
1369
|
|
1359
1370
|
def deserialize(params)
|
1371
|
+
unless params['CnameStatus'].nil?
|
1372
|
+
@CnameStatus = []
|
1373
|
+
params['CnameStatus'].each do |i|
|
1374
|
+
cnamestatus_tmp = CnameStatus.new
|
1375
|
+
cnamestatus_tmp.deserialize(i)
|
1376
|
+
@CnameStatus << cnamestatus_tmp
|
1377
|
+
end
|
1378
|
+
end
|
1360
1379
|
@RequestId = params['RequestId']
|
1361
1380
|
end
|
1362
1381
|
end
|
@@ -1408,123 +1427,31 @@ module TencentCloud
|
|
1408
1427
|
end
|
1409
1428
|
end
|
1410
1429
|
|
1411
|
-
#
|
1412
|
-
class
|
1413
|
-
# @param
|
1414
|
-
# @type
|
1415
|
-
# @param
|
1416
|
-
# @type RuleType: String
|
1417
|
-
# @param RuleId: 规则id。
|
1418
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1419
|
-
# @type RuleId: Integer
|
1420
|
-
# @param Description: 规则描述。
|
1421
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
1422
|
-
# @type Description: String
|
1423
|
-
# @param IpStatus: 封禁状态,取值有:
|
1424
|
-
# <li>block :封禁 ;</li>
|
1425
|
-
# <li>allow :放行 。</li>
|
1426
|
-
# @type IpStatus: String
|
1427
|
-
# @param BlockTime: 封禁时间,采用unix秒级时间戳。
|
1428
|
-
# @type BlockTime: Integer
|
1429
|
-
# @param Id: 每条数据的唯一标识id。
|
1430
|
-
# @type Id: String
|
1431
|
-
|
1432
|
-
attr_accessor :ClientIp, :RuleType, :RuleId, :Description, :IpStatus, :BlockTime, :Id
|
1433
|
-
|
1434
|
-
def initialize(clientip=nil, ruletype=nil, ruleid=nil, description=nil, ipstatus=nil, blocktime=nil, id=nil)
|
1435
|
-
@ClientIp = clientip
|
1436
|
-
@RuleType = ruletype
|
1437
|
-
@RuleId = ruleid
|
1438
|
-
@Description = description
|
1439
|
-
@IpStatus = ipstatus
|
1440
|
-
@BlockTime = blocktime
|
1441
|
-
@Id = id
|
1442
|
-
end
|
1443
|
-
|
1444
|
-
def deserialize(params)
|
1445
|
-
@ClientIp = params['ClientIp']
|
1446
|
-
@RuleType = params['RuleType']
|
1447
|
-
@RuleId = params['RuleId']
|
1448
|
-
@Description = params['Description']
|
1449
|
-
@IpStatus = params['IpStatus']
|
1450
|
-
@BlockTime = params['BlockTime']
|
1451
|
-
@Id = params['Id']
|
1452
|
-
end
|
1453
|
-
end
|
1454
|
-
|
1455
|
-
# 日志任务主题信息
|
1456
|
-
class ClsLogTopicInfo < TencentCloud::Common::AbstractModel
|
1457
|
-
# @param TaskName: 任务名。
|
1458
|
-
# @type TaskName: String
|
1459
|
-
# @param ZoneName: 站点名称。
|
1460
|
-
# @type ZoneName: String
|
1461
|
-
# @param LogSetId: 日志集ID。
|
1462
|
-
# @type LogSetId: String
|
1463
|
-
# @param TopicId: 日志主题ID。
|
1464
|
-
# @type TopicId: String
|
1465
|
-
# @param EntityType: 任务类型。
|
1466
|
-
# @type EntityType: String
|
1467
|
-
# @param Period: 任务主题保存时间。
|
1468
|
-
# @type Period: Integer
|
1469
|
-
# @param Enabled: 任务主题是否开启。
|
1470
|
-
# @type Enabled: Boolean
|
1471
|
-
# @param Deleted: 任务主题是否异常。
|
1472
|
-
# @type Deleted: String
|
1473
|
-
# @param CreateTime: 创建时间。
|
1474
|
-
# @type CreateTime: String
|
1475
|
-
# @param Target: 推送目标地址,取值有:
|
1476
|
-
# <li>cls: 推送到cls;</li>
|
1477
|
-
# <li>custom_enpoint: 自定义推送地址。</li>
|
1478
|
-
# @type Target: String
|
1479
|
-
# @param LogSetRegion: 日志集所属地区。
|
1430
|
+
# CNAME 状态
|
1431
|
+
class CnameStatus < TencentCloud::Common::AbstractModel
|
1432
|
+
# @param RecordName: 记录名称。
|
1433
|
+
# @type RecordName: String
|
1434
|
+
# @param Cname: CNAME 地址。
|
1480
1435
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1481
|
-
# @type
|
1482
|
-
# @param
|
1436
|
+
# @type Cname: String
|
1437
|
+
# @param Status: Cname状态信息,取值有:
|
1438
|
+
# <li>active:生效;</li>
|
1439
|
+
# <li>moved:不生效。</li>
|
1483
1440
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
1484
|
-
# @type
|
1485
|
-
# @param Area: 加速区域,取值有:
|
1486
|
-
# <li>mainland:中国大陆境内;</li>
|
1487
|
-
# <li>overseas:全球(不含中国大陆)。</li>
|
1488
|
-
# @type Area: String
|
1489
|
-
# @param LogSetType: 推送任务类型,取值有:
|
1490
|
-
# <li>cls:推送到cls;</li>
|
1491
|
-
# <li>custom_endpoint:推送到自定义接口。</li>
|
1492
|
-
# @type LogSetType: String
|
1441
|
+
# @type Status: String
|
1493
1442
|
|
1494
|
-
attr_accessor :
|
1443
|
+
attr_accessor :RecordName, :Cname, :Status
|
1495
1444
|
|
1496
|
-
def initialize(
|
1497
|
-
@
|
1498
|
-
@
|
1499
|
-
@
|
1500
|
-
@TopicId = topicid
|
1501
|
-
@EntityType = entitytype
|
1502
|
-
@Period = period
|
1503
|
-
@Enabled = enabled
|
1504
|
-
@Deleted = deleted
|
1505
|
-
@CreateTime = createtime
|
1506
|
-
@Target = target
|
1507
|
-
@LogSetRegion = logsetregion
|
1508
|
-
@ZoneId = zoneid
|
1509
|
-
@Area = area
|
1510
|
-
@LogSetType = logsettype
|
1445
|
+
def initialize(recordname=nil, cname=nil, status=nil)
|
1446
|
+
@RecordName = recordname
|
1447
|
+
@Cname = cname
|
1448
|
+
@Status = status
|
1511
1449
|
end
|
1512
1450
|
|
1513
1451
|
def deserialize(params)
|
1514
|
-
@
|
1515
|
-
@
|
1516
|
-
@
|
1517
|
-
@TopicId = params['TopicId']
|
1518
|
-
@EntityType = params['EntityType']
|
1519
|
-
@Period = params['Period']
|
1520
|
-
@Enabled = params['Enabled']
|
1521
|
-
@Deleted = params['Deleted']
|
1522
|
-
@CreateTime = params['CreateTime']
|
1523
|
-
@Target = params['Target']
|
1524
|
-
@LogSetRegion = params['LogSetRegion']
|
1525
|
-
@ZoneId = params['ZoneId']
|
1526
|
-
@Area = params['Area']
|
1527
|
-
@LogSetType = params['LogSetType']
|
1452
|
+
@RecordName = params['RecordName']
|
1453
|
+
@Cname = params['Cname']
|
1454
|
+
@Status = params['Status']
|
1528
1455
|
end
|
1529
1456
|
end
|
1530
1457
|
|
@@ -1802,14 +1729,16 @@ module TencentCloud
|
|
1802
1729
|
# <li>true:开启;</li>
|
1803
1730
|
# <li>false:关闭。</li>默认值:false。
|
1804
1731
|
# @type SessionPersist: Boolean
|
1732
|
+
# @param SessionPersistTime: 会话保持的时间,只有当SessionPersist为true时,该值才会生效。
|
1733
|
+
# @type SessionPersistTime: Integer
|
1805
1734
|
# @param OriginPort: 源站端口,支持格式:
|
1806
1735
|
# <li>单端口:80;</li>
|
1807
1736
|
# <li>端口段:81-90,81至90端口。</li>
|
1808
1737
|
# @type OriginPort: String
|
1809
1738
|
|
1810
|
-
attr_accessor :ZoneId, :ProxyId, :Proto, :Port, :OriginType, :OriginValue, :ForwardClientIp, :SessionPersist, :OriginPort
|
1739
|
+
attr_accessor :ZoneId, :ProxyId, :Proto, :Port, :OriginType, :OriginValue, :ForwardClientIp, :SessionPersist, :SessionPersistTime, :OriginPort
|
1811
1740
|
|
1812
|
-
def initialize(zoneid=nil, proxyid=nil, proto=nil, port=nil, origintype=nil, originvalue=nil, forwardclientip=nil, sessionpersist=nil, originport=nil)
|
1741
|
+
def initialize(zoneid=nil, proxyid=nil, proto=nil, port=nil, origintype=nil, originvalue=nil, forwardclientip=nil, sessionpersist=nil, sessionpersisttime=nil, originport=nil)
|
1813
1742
|
@ZoneId = zoneid
|
1814
1743
|
@ProxyId = proxyid
|
1815
1744
|
@Proto = proto
|
@@ -1818,6 +1747,7 @@ module TencentCloud
|
|
1818
1747
|
@OriginValue = originvalue
|
1819
1748
|
@ForwardClientIp = forwardclientip
|
1820
1749
|
@SessionPersist = sessionpersist
|
1750
|
+
@SessionPersistTime = sessionpersisttime
|
1821
1751
|
@OriginPort = originport
|
1822
1752
|
end
|
1823
1753
|
|
@@ -1830,6 +1760,7 @@ module TencentCloud
|
|
1830
1760
|
@OriginValue = params['OriginValue']
|
1831
1761
|
@ForwardClientIp = params['ForwardClientIp']
|
1832
1762
|
@SessionPersist = params['SessionPersist']
|
1763
|
+
@SessionPersistTime = params['SessionPersistTime']
|
1833
1764
|
@OriginPort = params['OriginPort']
|
1834
1765
|
end
|
1835
1766
|
end
|
@@ -1854,33 +1785,6 @@ module TencentCloud
|
|
1854
1785
|
end
|
1855
1786
|
end
|
1856
1787
|
|
1857
|
-
# CreateCredential请求参数结构体
|
1858
|
-
class CreateCredentialRequest < TencentCloud::Common::AbstractModel
|
1859
|
-
|
1860
|
-
|
1861
|
-
def initialize()
|
1862
|
-
end
|
1863
|
-
|
1864
|
-
def deserialize(params)
|
1865
|
-
end
|
1866
|
-
end
|
1867
|
-
|
1868
|
-
# CreateCredential返回参数结构体
|
1869
|
-
class CreateCredentialResponse < TencentCloud::Common::AbstractModel
|
1870
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
1871
|
-
# @type RequestId: String
|
1872
|
-
|
1873
|
-
attr_accessor :RequestId
|
1874
|
-
|
1875
|
-
def initialize(requestid=nil)
|
1876
|
-
@RequestId = requestid
|
1877
|
-
end
|
1878
|
-
|
1879
|
-
def deserialize(params)
|
1880
|
-
@RequestId = params['RequestId']
|
1881
|
-
end
|
1882
|
-
end
|
1883
|
-
|
1884
1788
|
# CreateOriginGroup请求参数结构体
|
1885
1789
|
class CreateOriginGroupRequest < TencentCloud::Common::AbstractModel
|
1886
1790
|
# @param ZoneId: 站点ID。
|
@@ -2012,6 +1916,7 @@ module TencentCloud
|
|
2012
1916
|
# @type ZoneId: String
|
2013
1917
|
# @param Targets: 要预热的资源列表,每个元素格式类似如下:
|
2014
1918
|
# http://www.example.com/example.txt。
|
1919
|
+
# 注意:提交任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。
|
2015
1920
|
# @type Targets: Array
|
2016
1921
|
# @param EncodeUrl: 是否对url进行encode,若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。
|
2017
1922
|
# @type EncodeUrl: Boolean
|
@@ -2076,36 +1981,32 @@ module TencentCloud
|
|
2076
1981
|
|
2077
1982
|
# CreatePurgeTask请求参数结构体
|
2078
1983
|
class CreatePurgeTaskRequest < TencentCloud::Common::AbstractModel
|
2079
|
-
# @param ZoneId: 站点ID。
|
1984
|
+
# @param ZoneId: 站点 ID。
|
2080
1985
|
# @type ZoneId: String
|
2081
|
-
# @param Type:
|
2082
|
-
# <li>purge_url:URL
|
2083
|
-
# <li>purge_prefix
|
2084
|
-
# <li>purge_host:Hostname
|
2085
|
-
# <li>purge_all
|
2086
|
-
# <li>purge_cache_tag:cache-tag刷新。</li
|
1986
|
+
# @param Type: 节点缓存清除类型,取值有:
|
1987
|
+
# <li>purge_url:URL刷新;</li>
|
1988
|
+
# <li>purge_prefix:目录刷新;</li>
|
1989
|
+
# <li>purge_host:Hostname 刷新;</li>
|
1990
|
+
# <li>purge_all:站点下全部缓存刷新;</li>
|
1991
|
+
# <li>purge_cache_tag:cache-tag 刷新。</li>缓存清除类型详情请查看[清除缓存](https://cloud.tencent.com/document/product/1552/70759)。
|
2087
1992
|
# @type Type: String
|
2088
|
-
# @param
|
2089
|
-
#
|
2090
|
-
#
|
2091
|
-
# 2) Type = purge_prefix 时:
|
2092
|
-
# 形如:http://www.example.com/example。
|
2093
|
-
# 3) Type = purge_url 时:
|
2094
|
-
# 形如:https://www.example.com/example.jpg。
|
2095
|
-
# 4)Type = purge_all 时:
|
2096
|
-
# Targets可为空,不需要填写。
|
2097
|
-
# 5)Type = purge_cache_tag 时:
|
2098
|
-
# 形如:tag1。
|
1993
|
+
# @param Method: 节点缓存清除方法,仅对目录刷新类型有效,取值有:<li> invalidate:仅刷新目录下产生了更新的资源;</li><li> delete:无论目录下资源是否更新都刷新节点资源。</li>注意:使用目录刷新时,默认值: invalidate。
|
1994
|
+
# @type Method: String
|
1995
|
+
# @param Targets: 要清除缓存的资源列表。每个元素格式依据清除缓存类型而定,可参考接口示例。<li>EO 默认针对内容含有非 ASCII 字符集的字符进行转义,编码规则遵循 RFC3986;</li><li>单次提交的任务数受计费套餐配额限制,请查看 [EO计费套餐](https://cloud.tencent.com/document/product/1552/77380)。</li>
|
2099
1996
|
# @type Targets: Array
|
2100
1997
|
# @param EncodeUrl: 若有编码转换,仅清除编码转换后匹配的资源。
|
2101
1998
|
# 若内容含有非 ASCII 字符集的字符,请开启此开关进行编码转换(编码规则遵循 RFC3986)。
|
2102
1999
|
# @type EncodeUrl: Boolean
|
2103
2000
|
|
2104
|
-
attr_accessor :ZoneId, :Type, :Targets, :EncodeUrl
|
2001
|
+
attr_accessor :ZoneId, :Type, :Method, :Targets, :EncodeUrl
|
2002
|
+
extend Gem::Deprecate
|
2003
|
+
deprecate :EncodeUrl, :none, 2023, 7
|
2004
|
+
deprecate :EncodeUrl=, :none, 2023, 7
|
2105
2005
|
|
2106
|
-
def initialize(zoneid=nil, type=nil, targets=nil, encodeurl=nil)
|
2006
|
+
def initialize(zoneid=nil, type=nil, method=nil, targets=nil, encodeurl=nil)
|
2107
2007
|
@ZoneId = zoneid
|
2108
2008
|
@Type = type
|
2009
|
+
@Method = method
|
2109
2010
|
@Targets = targets
|
2110
2011
|
@EncodeUrl = encodeurl
|
2111
2012
|
end
|
@@ -2113,6 +2014,7 @@ module TencentCloud
|
|
2113
2014
|
def deserialize(params)
|
2114
2015
|
@ZoneId = params['ZoneId']
|
2115
2016
|
@Type = params['Type']
|
2017
|
+
@Method = params['Method']
|
2116
2018
|
@Targets = params['Targets']
|
2117
2019
|
@EncodeUrl = params['EncodeUrl']
|
2118
2020
|
end
|
@@ -2120,7 +2022,7 @@ module TencentCloud
|
|
2120
2022
|
|
2121
2023
|
# CreatePurgeTask返回参数结构体
|
2122
2024
|
class CreatePurgeTaskResponse < TencentCloud::Common::AbstractModel
|
2123
|
-
# @param JobId: 任务ID。
|
2025
|
+
# @param JobId: 任务 ID。
|
2124
2026
|
# @type JobId: String
|
2125
2027
|
# @param FailedList: 失败的任务列表及原因。
|
2126
2028
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
@@ -2150,53 +2052,6 @@ module TencentCloud
|
|
2150
2052
|
end
|
2151
2053
|
end
|
2152
2054
|
|
2153
|
-
# CreateReplayTask请求参数结构体
|
2154
|
-
class CreateReplayTaskRequest < TencentCloud::Common::AbstractModel
|
2155
|
-
# @param Ids: 重放任务的 ID 列表。
|
2156
|
-
# @type Ids: Array
|
2157
|
-
|
2158
|
-
attr_accessor :Ids
|
2159
|
-
|
2160
|
-
def initialize(ids=nil)
|
2161
|
-
@Ids = ids
|
2162
|
-
end
|
2163
|
-
|
2164
|
-
def deserialize(params)
|
2165
|
-
@Ids = params['Ids']
|
2166
|
-
end
|
2167
|
-
end
|
2168
|
-
|
2169
|
-
# CreateReplayTask返回参数结构体
|
2170
|
-
class CreateReplayTaskResponse < TencentCloud::Common::AbstractModel
|
2171
|
-
# @param JobId: 此次任务ID。
|
2172
|
-
# @type JobId: String
|
2173
|
-
# @param FailedList: 失败的任务列表及原因。
|
2174
|
-
# @type FailedList: Array
|
2175
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2176
|
-
# @type RequestId: String
|
2177
|
-
|
2178
|
-
attr_accessor :JobId, :FailedList, :RequestId
|
2179
|
-
|
2180
|
-
def initialize(jobid=nil, failedlist=nil, requestid=nil)
|
2181
|
-
@JobId = jobid
|
2182
|
-
@FailedList = failedlist
|
2183
|
-
@RequestId = requestid
|
2184
|
-
end
|
2185
|
-
|
2186
|
-
def deserialize(params)
|
2187
|
-
@JobId = params['JobId']
|
2188
|
-
unless params['FailedList'].nil?
|
2189
|
-
@FailedList = []
|
2190
|
-
params['FailedList'].each do |i|
|
2191
|
-
failreason_tmp = FailReason.new
|
2192
|
-
failreason_tmp.deserialize(i)
|
2193
|
-
@FailedList << failreason_tmp
|
2194
|
-
end
|
2195
|
-
end
|
2196
|
-
@RequestId = params['RequestId']
|
2197
|
-
end
|
2198
|
-
end
|
2199
|
-
|
2200
2055
|
# CreateRule请求参数结构体
|
2201
2056
|
class CreateRuleRequest < TencentCloud::Common::AbstractModel
|
2202
2057
|
# @param ZoneId: 站点 ID。
|
@@ -2301,49 +2156,14 @@ module TencentCloud
|
|
2301
2156
|
end
|
2302
2157
|
end
|
2303
2158
|
|
2304
|
-
# CreateSpeedTesting请求参数结构体
|
2305
|
-
class CreateSpeedTestingRequest < TencentCloud::Common::AbstractModel
|
2306
|
-
# @param ZoneId: 站点 ID。
|
2307
|
-
# @type ZoneId: String
|
2308
|
-
# @param Host: 拨测子域名。
|
2309
|
-
# @type Host: String
|
2310
|
-
|
2311
|
-
attr_accessor :ZoneId, :Host
|
2312
|
-
|
2313
|
-
def initialize(zoneid=nil, host=nil)
|
2314
|
-
@ZoneId = zoneid
|
2315
|
-
@Host = host
|
2316
|
-
end
|
2317
|
-
|
2318
|
-
def deserialize(params)
|
2319
|
-
@ZoneId = params['ZoneId']
|
2320
|
-
@Host = params['Host']
|
2321
|
-
end
|
2322
|
-
end
|
2323
|
-
|
2324
|
-
# CreateSpeedTesting返回参数结构体
|
2325
|
-
class CreateSpeedTestingResponse < TencentCloud::Common::AbstractModel
|
2326
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
2327
|
-
# @type RequestId: String
|
2328
|
-
|
2329
|
-
attr_accessor :RequestId
|
2330
|
-
|
2331
|
-
def initialize(requestid=nil)
|
2332
|
-
@RequestId = requestid
|
2333
|
-
end
|
2334
|
-
|
2335
|
-
def deserialize(params)
|
2336
|
-
@RequestId = params['RequestId']
|
2337
|
-
end
|
2338
|
-
end
|
2339
|
-
|
2340
2159
|
# CreateZone请求参数结构体
|
2341
2160
|
class CreateZoneRequest < TencentCloud::Common::AbstractModel
|
2342
2161
|
# @param ZoneName: 站点名称。
|
2343
2162
|
# @type ZoneName: String
|
2344
2163
|
# @param Type: 接入方式,取值有:
|
2345
2164
|
# <li> full:NS接入;</li>
|
2346
|
-
# <li> partial:CNAME接入,请先调用认证站点API(IdentifyZone
|
2165
|
+
# <li> partial:CNAME接入,请先调用认证站点API(IdentifyZone)进行站点归属权校验,校验通过后继续调用本接口创建站点;<li>noDomainAccess:无域名接入,取此值时仅Tags字段有效。</li>
|
2166
|
+
# </li>不填写使用默认值full。
|
2347
2167
|
# @type Type: String
|
2348
2168
|
# @param JumpStart: 是否跳过站点现有的DNS记录扫描。默认值:false。
|
2349
2169
|
# @type JumpStart: Boolean
|
@@ -2968,63 +2788,6 @@ module TencentCloud
|
|
2968
2788
|
end
|
2969
2789
|
end
|
2970
2790
|
|
2971
|
-
# DescribeAddableEntityList请求参数结构体
|
2972
|
-
class DescribeAddableEntityListRequest < TencentCloud::Common::AbstractModel
|
2973
|
-
# @param ZoneId: 站点ID。
|
2974
|
-
# @type ZoneId: String
|
2975
|
-
# @param EntityType: 推送数据类型,取值有:
|
2976
|
-
# <li>domain:七层加速日志;</li>
|
2977
|
-
# <li>application:四层加速日志;</li>
|
2978
|
-
# <li>web-rateLiming:速率限制日志;</li>
|
2979
|
-
# <li>web-attack:web攻击防护日志;</li>
|
2980
|
-
# <li>web-rule:自定义规则日志;</li>
|
2981
|
-
# <li>web-bot:Bot管理日志。</li>
|
2982
|
-
# @type EntityType: String
|
2983
|
-
# @param Area: 服务区域,取值有:
|
2984
|
-
# <li>mainland:中国大陆境内;</li>
|
2985
|
-
# <li>overseas:全球(不含中国大陆)。</li>若为国内站账号,则默认取值为mainland;若为国际站账号,则默认取值为overseas。
|
2986
|
-
# @type Area: String
|
2987
|
-
|
2988
|
-
attr_accessor :ZoneId, :EntityType, :Area
|
2989
|
-
|
2990
|
-
def initialize(zoneid=nil, entitytype=nil, area=nil)
|
2991
|
-
@ZoneId = zoneid
|
2992
|
-
@EntityType = entitytype
|
2993
|
-
@Area = area
|
2994
|
-
end
|
2995
|
-
|
2996
|
-
def deserialize(params)
|
2997
|
-
@ZoneId = params['ZoneId']
|
2998
|
-
@EntityType = params['EntityType']
|
2999
|
-
@Area = params['Area']
|
3000
|
-
end
|
3001
|
-
end
|
3002
|
-
|
3003
|
-
# DescribeAddableEntityList返回参数结构体
|
3004
|
-
class DescribeAddableEntityListResponse < TencentCloud::Common::AbstractModel
|
3005
|
-
# @param TotalCount: 查询结果的总条数。
|
3006
|
-
# @type TotalCount: Integer
|
3007
|
-
# @param EntityList: 可添加的实体列表。
|
3008
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3009
|
-
# @type EntityList: Array
|
3010
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3011
|
-
# @type RequestId: String
|
3012
|
-
|
3013
|
-
attr_accessor :TotalCount, :EntityList, :RequestId
|
3014
|
-
|
3015
|
-
def initialize(totalcount=nil, entitylist=nil, requestid=nil)
|
3016
|
-
@TotalCount = totalcount
|
3017
|
-
@EntityList = entitylist
|
3018
|
-
@RequestId = requestid
|
3019
|
-
end
|
3020
|
-
|
3021
|
-
def deserialize(params)
|
3022
|
-
@TotalCount = params['TotalCount']
|
3023
|
-
@EntityList = params['EntityList']
|
3024
|
-
@RequestId = params['RequestId']
|
3025
|
-
end
|
3026
|
-
end
|
3027
|
-
|
3028
2791
|
# DescribeAliasDomains请求参数结构体
|
3029
2792
|
class DescribeAliasDomainsRequest < TencentCloud::Common::AbstractModel
|
3030
2793
|
# @param ZoneId: 站点 ID。
|
@@ -3193,86 +2956,6 @@ module TencentCloud
|
|
3193
2956
|
end
|
3194
2957
|
end
|
3195
2958
|
|
3196
|
-
# DescribeClientRuleList请求参数结构体
|
3197
|
-
class DescribeClientRuleListRequest < TencentCloud::Common::AbstractModel
|
3198
|
-
# @param ZoneId: 查询的站点ID.
|
3199
|
-
# @type ZoneId: String
|
3200
|
-
# @param Domain: 查询的子域名。
|
3201
|
-
# @type Domain: String
|
3202
|
-
# @param RuleType: 规则类型,取值有:
|
3203
|
-
# <li>acl:自定义规则;</li>
|
3204
|
-
# <li>rate:限速规则。</li>不填表示查询所有规则。
|
3205
|
-
# @type RuleType: String
|
3206
|
-
# @param RuleId: 规则ID。
|
3207
|
-
# @type RuleId: Integer
|
3208
|
-
# @param SourceClientIp: 客户端IP。
|
3209
|
-
# @type SourceClientIp: String
|
3210
|
-
# @param Limit: 分页查询的限制数目,默认值为20,最大查询条目为1000。
|
3211
|
-
# @type Limit: Integer
|
3212
|
-
# @param Offset: 分页的偏移量,默认值为0。
|
3213
|
-
# @type Offset: Integer
|
3214
|
-
# @param Area: 数据归属地区,取值有:
|
3215
|
-
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
3216
|
-
# <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
|
3217
|
-
# @type Area: String
|
3218
|
-
|
3219
|
-
attr_accessor :ZoneId, :Domain, :RuleType, :RuleId, :SourceClientIp, :Limit, :Offset, :Area
|
3220
|
-
|
3221
|
-
def initialize(zoneid=nil, domain=nil, ruletype=nil, ruleid=nil, sourceclientip=nil, limit=nil, offset=nil, area=nil)
|
3222
|
-
@ZoneId = zoneid
|
3223
|
-
@Domain = domain
|
3224
|
-
@RuleType = ruletype
|
3225
|
-
@RuleId = ruleid
|
3226
|
-
@SourceClientIp = sourceclientip
|
3227
|
-
@Limit = limit
|
3228
|
-
@Offset = offset
|
3229
|
-
@Area = area
|
3230
|
-
end
|
3231
|
-
|
3232
|
-
def deserialize(params)
|
3233
|
-
@ZoneId = params['ZoneId']
|
3234
|
-
@Domain = params['Domain']
|
3235
|
-
@RuleType = params['RuleType']
|
3236
|
-
@RuleId = params['RuleId']
|
3237
|
-
@SourceClientIp = params['SourceClientIp']
|
3238
|
-
@Limit = params['Limit']
|
3239
|
-
@Offset = params['Offset']
|
3240
|
-
@Area = params['Area']
|
3241
|
-
end
|
3242
|
-
end
|
3243
|
-
|
3244
|
-
# DescribeClientRuleList返回参数结构体
|
3245
|
-
class DescribeClientRuleListResponse < TencentCloud::Common::AbstractModel
|
3246
|
-
# @param Data: 封禁客户端数据列表。
|
3247
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3248
|
-
# @type Data: Array
|
3249
|
-
# @param TotalCount: 查询结果的总条数。
|
3250
|
-
# @type TotalCount: Integer
|
3251
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3252
|
-
# @type RequestId: String
|
3253
|
-
|
3254
|
-
attr_accessor :Data, :TotalCount, :RequestId
|
3255
|
-
|
3256
|
-
def initialize(data=nil, totalcount=nil, requestid=nil)
|
3257
|
-
@Data = data
|
3258
|
-
@TotalCount = totalcount
|
3259
|
-
@RequestId = requestid
|
3260
|
-
end
|
3261
|
-
|
3262
|
-
def deserialize(params)
|
3263
|
-
unless params['Data'].nil?
|
3264
|
-
@Data = []
|
3265
|
-
params['Data'].each do |i|
|
3266
|
-
clientrule_tmp = ClientRule.new
|
3267
|
-
clientrule_tmp.deserialize(i)
|
3268
|
-
@Data << clientrule_tmp
|
3269
|
-
end
|
3270
|
-
end
|
3271
|
-
@TotalCount = params['TotalCount']
|
3272
|
-
@RequestId = params['RequestId']
|
3273
|
-
end
|
3274
|
-
end
|
3275
|
-
|
3276
2959
|
# DescribeContentQuota请求参数结构体
|
3277
2960
|
class DescribeContentQuotaRequest < TencentCloud::Common::AbstractModel
|
3278
2961
|
# @param ZoneId: 站点 ID。
|
@@ -3664,87 +3347,16 @@ module TencentCloud
|
|
3664
3347
|
end
|
3665
3348
|
end
|
3666
3349
|
|
3667
|
-
#
|
3668
|
-
class
|
3669
|
-
# @param
|
3670
|
-
# @type
|
3671
|
-
# @param
|
3672
|
-
# @type
|
3350
|
+
# DescribeHostsSetting请求参数结构体
|
3351
|
+
class DescribeHostsSettingRequest < TencentCloud::Common::AbstractModel
|
3352
|
+
# @param ZoneId: 站点ID。
|
3353
|
+
# @type ZoneId: String
|
3354
|
+
# @param Offset: 分页查询偏移量。默认值: 0,最小值:0。
|
3355
|
+
# @type Offset: Integer
|
3356
|
+
# @param Limit: 分页查询限制数目。默认值: 100,最大值:1000。
|
3357
|
+
# @type Limit: Integer
|
3673
3358
|
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
3674
|
-
# <li>
|
3675
|
-
# <li>host<br> 按照【<strong>域名</strong>】进行过滤。域名形如:test.tencent.com<br> 类型:String<br> 必选:否,仅支持填写一个域名
|
3676
|
-
# <li>type<br> 按照【<strong>DNS解析类型</strong>】进行过滤<br> 类型:String<br> 必选:否<br> 可选项:<br> A:A记录<br> AAAA:AAAA记录<br> CNAME:CNAME记录<br> MX:MX记录<br> TXT:TXT记录<br> NS:NS记录<br> SRV:SRV记录<br> CAA:CAA记录
|
3677
|
-
# <li>code<br> 按照【<strong>DNS解析状态码</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> NoError:成功<br> NXDomain:请求域不存在<br> NotImp:不支持的请求类型<br> Refused:域名服务器因为策略的原因拒绝执行请求
|
3678
|
-
# <li>area<br> 按照【<strong>DNS解析地域</strong>】进行过滤。<br> 类型:String<br> 必选:否。<br> 可选项:<br> 亚洲:Asia<br> 欧洲:Europe<br> 非洲:Africa<br> 大洋洲:Oceania<br> 美洲:Americas
|
3679
|
-
# @type Filters: Array
|
3680
|
-
# @param Interval: 时间粒度,取值有:
|
3681
|
-
# <li>min:1分钟粒度;</li>
|
3682
|
-
# <li>5min:5分钟粒度;</li>
|
3683
|
-
# <li>hour:1小时粒度;</li>
|
3684
|
-
# <li>day:天粒度。</li>不填写,默认值为:min。
|
3685
|
-
# @type Interval: String
|
3686
|
-
|
3687
|
-
attr_accessor :StartTime, :EndTime, :Filters, :Interval
|
3688
|
-
|
3689
|
-
def initialize(starttime=nil, endtime=nil, filters=nil, interval=nil)
|
3690
|
-
@StartTime = starttime
|
3691
|
-
@EndTime = endtime
|
3692
|
-
@Filters = filters
|
3693
|
-
@Interval = interval
|
3694
|
-
end
|
3695
|
-
|
3696
|
-
def deserialize(params)
|
3697
|
-
@StartTime = params['StartTime']
|
3698
|
-
@EndTime = params['EndTime']
|
3699
|
-
unless params['Filters'].nil?
|
3700
|
-
@Filters = []
|
3701
|
-
params['Filters'].each do |i|
|
3702
|
-
filter_tmp = Filter.new
|
3703
|
-
filter_tmp.deserialize(i)
|
3704
|
-
@Filters << filter_tmp
|
3705
|
-
end
|
3706
|
-
end
|
3707
|
-
@Interval = params['Interval']
|
3708
|
-
end
|
3709
|
-
end
|
3710
|
-
|
3711
|
-
# DescribeDnsData返回参数结构体
|
3712
|
-
class DescribeDnsDataResponse < TencentCloud::Common::AbstractModel
|
3713
|
-
# @param Data: 统计数据。
|
3714
|
-
# @type Data: Array
|
3715
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3716
|
-
# @type RequestId: String
|
3717
|
-
|
3718
|
-
attr_accessor :Data, :RequestId
|
3719
|
-
|
3720
|
-
def initialize(data=nil, requestid=nil)
|
3721
|
-
@Data = data
|
3722
|
-
@RequestId = requestid
|
3723
|
-
end
|
3724
|
-
|
3725
|
-
def deserialize(params)
|
3726
|
-
unless params['Data'].nil?
|
3727
|
-
@Data = []
|
3728
|
-
params['Data'].each do |i|
|
3729
|
-
dnsdata_tmp = DnsData.new
|
3730
|
-
dnsdata_tmp.deserialize(i)
|
3731
|
-
@Data << dnsdata_tmp
|
3732
|
-
end
|
3733
|
-
end
|
3734
|
-
@RequestId = params['RequestId']
|
3735
|
-
end
|
3736
|
-
end
|
3737
|
-
|
3738
|
-
# DescribeHostsSetting请求参数结构体
|
3739
|
-
class DescribeHostsSettingRequest < TencentCloud::Common::AbstractModel
|
3740
|
-
# @param ZoneId: 站点ID。
|
3741
|
-
# @type ZoneId: String
|
3742
|
-
# @param Offset: 分页查询偏移量。默认值: 0,最小值:0。
|
3743
|
-
# @type Offset: Integer
|
3744
|
-
# @param Limit: 分页查询限制数目。默认值: 100,最大值:1000。
|
3745
|
-
# @type Limit: Integer
|
3746
|
-
# @param Filters: 过滤条件,Filters.Values的上限为20。详细的过滤条件如下:
|
3747
|
-
# <li>host<br> 按照【<strong>域名</strong>】进行过滤。<br> 类型:string<br> 必选:否</li>
|
3359
|
+
# <li>host<br> 按照【<strong>域名</strong>】进行过滤。<br> 类型:string<br> 必选:否</li>
|
3748
3360
|
# @type Filters: Array
|
3749
3361
|
|
3750
3362
|
attr_accessor :ZoneId, :Offset, :Limit, :Filters
|
@@ -3865,118 +3477,6 @@ module TencentCloud
|
|
3865
3477
|
end
|
3866
3478
|
end
|
3867
3479
|
|
3868
|
-
# DescribeLogSets请求参数结构体
|
3869
|
-
class DescribeLogSetsRequest < TencentCloud::Common::AbstractModel
|
3870
|
-
# @param LogSetRegion: 日志集所属的地域。
|
3871
|
-
# @type LogSetRegion: String
|
3872
|
-
# @param LogSetId: 日志集ID。
|
3873
|
-
# @type LogSetId: String
|
3874
|
-
# @param LogSetName: 日志集名称。
|
3875
|
-
# @type LogSetName: String
|
3876
|
-
|
3877
|
-
attr_accessor :LogSetRegion, :LogSetId, :LogSetName
|
3878
|
-
|
3879
|
-
def initialize(logsetregion=nil, logsetid=nil, logsetname=nil)
|
3880
|
-
@LogSetRegion = logsetregion
|
3881
|
-
@LogSetId = logsetid
|
3882
|
-
@LogSetName = logsetname
|
3883
|
-
end
|
3884
|
-
|
3885
|
-
def deserialize(params)
|
3886
|
-
@LogSetRegion = params['LogSetRegion']
|
3887
|
-
@LogSetId = params['LogSetId']
|
3888
|
-
@LogSetName = params['LogSetName']
|
3889
|
-
end
|
3890
|
-
end
|
3891
|
-
|
3892
|
-
# DescribeLogSets返回参数结构体
|
3893
|
-
class DescribeLogSetsResponse < TencentCloud::Common::AbstractModel
|
3894
|
-
# @param LogSetList: 日志集列表数据。
|
3895
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3896
|
-
# @type LogSetList: Array
|
3897
|
-
# @param TotalCount: 查询结果的总条数。
|
3898
|
-
# @type TotalCount: Integer
|
3899
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3900
|
-
# @type RequestId: String
|
3901
|
-
|
3902
|
-
attr_accessor :LogSetList, :TotalCount, :RequestId
|
3903
|
-
|
3904
|
-
def initialize(logsetlist=nil, totalcount=nil, requestid=nil)
|
3905
|
-
@LogSetList = logsetlist
|
3906
|
-
@TotalCount = totalcount
|
3907
|
-
@RequestId = requestid
|
3908
|
-
end
|
3909
|
-
|
3910
|
-
def deserialize(params)
|
3911
|
-
unless params['LogSetList'].nil?
|
3912
|
-
@LogSetList = []
|
3913
|
-
params['LogSetList'].each do |i|
|
3914
|
-
logsetinfo_tmp = LogSetInfo.new
|
3915
|
-
logsetinfo_tmp.deserialize(i)
|
3916
|
-
@LogSetList << logsetinfo_tmp
|
3917
|
-
end
|
3918
|
-
end
|
3919
|
-
@TotalCount = params['TotalCount']
|
3920
|
-
@RequestId = params['RequestId']
|
3921
|
-
end
|
3922
|
-
end
|
3923
|
-
|
3924
|
-
# DescribeLogTopicTasks请求参数结构体
|
3925
|
-
class DescribeLogTopicTasksRequest < TencentCloud::Common::AbstractModel
|
3926
|
-
# @param ZoneId: 站点ID。
|
3927
|
-
# @type ZoneId: String
|
3928
|
-
# @param Limit: 分页查询的限制数目,默认值为20,最大查询条目为1000。
|
3929
|
-
# @type Limit: Integer
|
3930
|
-
# @param Offset: 分页的偏移量,默认值为0。
|
3931
|
-
# @type Offset: Integer
|
3932
|
-
|
3933
|
-
attr_accessor :ZoneId, :Limit, :Offset
|
3934
|
-
|
3935
|
-
def initialize(zoneid=nil, limit=nil, offset=nil)
|
3936
|
-
@ZoneId = zoneid
|
3937
|
-
@Limit = limit
|
3938
|
-
@Offset = offset
|
3939
|
-
end
|
3940
|
-
|
3941
|
-
def deserialize(params)
|
3942
|
-
@ZoneId = params['ZoneId']
|
3943
|
-
@Limit = params['Limit']
|
3944
|
-
@Offset = params['Offset']
|
3945
|
-
end
|
3946
|
-
end
|
3947
|
-
|
3948
|
-
# DescribeLogTopicTasks返回参数结构体
|
3949
|
-
class DescribeLogTopicTasksResponse < TencentCloud::Common::AbstractModel
|
3950
|
-
# @param TopicList: 推送任务列表。
|
3951
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
3952
|
-
# @type TopicList: Array
|
3953
|
-
# @param TotalCount: 查询结果的总条数。
|
3954
|
-
# @type TotalCount: Integer
|
3955
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
3956
|
-
# @type RequestId: String
|
3957
|
-
|
3958
|
-
attr_accessor :TopicList, :TotalCount, :RequestId
|
3959
|
-
|
3960
|
-
def initialize(topiclist=nil, totalcount=nil, requestid=nil)
|
3961
|
-
@TopicList = topiclist
|
3962
|
-
@TotalCount = totalcount
|
3963
|
-
@RequestId = requestid
|
3964
|
-
end
|
3965
|
-
|
3966
|
-
def deserialize(params)
|
3967
|
-
unless params['TopicList'].nil?
|
3968
|
-
@TopicList = []
|
3969
|
-
params['TopicList'].each do |i|
|
3970
|
-
clslogtopicinfo_tmp = ClsLogTopicInfo.new
|
3971
|
-
clslogtopicinfo_tmp.deserialize(i)
|
3972
|
-
@TopicList << clslogtopicinfo_tmp
|
3973
|
-
end
|
3974
|
-
end
|
3975
|
-
@TotalCount = params['TotalCount']
|
3976
|
-
@RequestId = params['RequestId']
|
3977
|
-
end
|
3978
|
-
end
|
3979
|
-
|
3980
3480
|
# DescribeOriginGroup请求参数结构体
|
3981
3481
|
class DescribeOriginGroupRequest < TencentCloud::Common::AbstractModel
|
3982
3482
|
# @param Offset: 分页查询偏移量,默认为0。
|
@@ -4457,48 +3957,51 @@ module TencentCloud
|
|
4457
3957
|
end
|
4458
3958
|
end
|
4459
3959
|
|
4460
|
-
#
|
4461
|
-
class
|
3960
|
+
# DescribeTimingL4Data请求参数结构体
|
3961
|
+
class DescribeTimingL4DataRequest < TencentCloud::Common::AbstractModel
|
4462
3962
|
# @param StartTime: 开始时间。
|
4463
3963
|
# @type StartTime: String
|
4464
3964
|
# @param EndTime: 结束时间。
|
4465
3965
|
# @type EndTime: String
|
4466
|
-
# @param MetricNames:
|
4467
|
-
# <li>
|
3966
|
+
# @param MetricNames: 查询指标,取值有:
|
3967
|
+
# <li>l4Flow_connections: 访问连接数;</li>
|
3968
|
+
# <li>l4Flow_flux: 访问总流量;</li>
|
3969
|
+
# <li>l4Flow_inFlux: 访问入流量;</li>
|
3970
|
+
# <li>l4Flow_outFlux: 访问出流量;</li>
|
3971
|
+
# <li> l4Flow_outPkt: 访问出包量。</li>
|
4468
3972
|
# @type MetricNames: Array
|
4469
3973
|
# @param ZoneIds: 站点集合。
|
4470
3974
|
# 若不填写,默认选择全部站点,且最多只能查询近30天的数据;
|
4471
3975
|
# 若填写,则可查询站点绑定套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>。
|
4472
3976
|
# @type ZoneIds: Array
|
4473
|
-
# @param
|
4474
|
-
#
|
4475
|
-
# <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
|
4476
|
-
# <li>protocol<br> 按照【<strong>HTTP协议版本</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP/1.0:HTTP 1.0;<br> HTTP/1.1:HTTP 1.1;<br> HTTP/2.0:HTTP 2.0;<br> HTTP/3.0:HTTP 3.0;<br> WebSocket:WebSocket。</li>
|
4477
|
-
# <li>socket<br> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
|
4478
|
-
# <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
|
4479
|
-
# <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
|
4480
|
-
# @type Filters: Array
|
3977
|
+
# @param ProxyIds: 四层实例列表, 不填表示选择全部实例。
|
3978
|
+
# @type ProxyIds: Array
|
4481
3979
|
# @param Interval: 查询时间粒度,取值有:
|
4482
|
-
# <li>min
|
4483
|
-
# <li>5min
|
4484
|
-
# <li>hour
|
4485
|
-
# <li>day
|
3980
|
+
# <li>min: 1分钟 ;</li>
|
3981
|
+
# <li>5min: 5分钟 ;</li>
|
3982
|
+
# <li>hour: 1小时 ;</li>
|
3983
|
+
# <li>day: 1天 。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
|
4486
3984
|
# @type Interval: String
|
3985
|
+
# @param Filters: 过滤条件,详细的过滤条件Key值如下:
|
3986
|
+
# <li>ruleId<br> 按照【<strong>转发规则ID</strong>】进行过滤。</li>
|
3987
|
+
# <li>proxyId<br> 按照【<strong>四层代理实例ID</strong>】进行过滤。</li>
|
3988
|
+
# @type Filters: Array
|
4487
3989
|
# @param Area: 数据归属地区,取值有:
|
4488
3990
|
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
4489
3991
|
# <li>mainland:中国大陆地区数据;</li>
|
4490
3992
|
# <li>global:全球数据。</li>不填默认取值为global。
|
4491
3993
|
# @type Area: String
|
4492
3994
|
|
4493
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :
|
3995
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :ProxyIds, :Interval, :Filters, :Area
|
4494
3996
|
|
4495
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil,
|
3997
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, proxyids=nil, interval=nil, filters=nil, area=nil)
|
4496
3998
|
@StartTime = starttime
|
4497
3999
|
@EndTime = endtime
|
4498
4000
|
@MetricNames = metricnames
|
4499
4001
|
@ZoneIds = zoneids
|
4500
|
-
@
|
4002
|
+
@ProxyIds = proxyids
|
4501
4003
|
@Interval = interval
|
4004
|
+
@Filters = filters
|
4502
4005
|
@Area = area
|
4503
4006
|
end
|
4504
4007
|
|
@@ -4507,6 +4010,8 @@ module TencentCloud
|
|
4507
4010
|
@EndTime = params['EndTime']
|
4508
4011
|
@MetricNames = params['MetricNames']
|
4509
4012
|
@ZoneIds = params['ZoneIds']
|
4013
|
+
@ProxyIds = params['ProxyIds']
|
4014
|
+
@Interval = params['Interval']
|
4510
4015
|
unless params['Filters'].nil?
|
4511
4016
|
@Filters = []
|
4512
4017
|
params['Filters'].each do |i|
|
@@ -4515,16 +4020,15 @@ module TencentCloud
|
|
4515
4020
|
@Filters << querycondition_tmp
|
4516
4021
|
end
|
4517
4022
|
end
|
4518
|
-
@Interval = params['Interval']
|
4519
4023
|
@Area = params['Area']
|
4520
4024
|
end
|
4521
4025
|
end
|
4522
4026
|
|
4523
|
-
#
|
4524
|
-
class
|
4027
|
+
# DescribeTimingL4Data返回参数结构体
|
4028
|
+
class DescribeTimingL4DataResponse < TencentCloud::Common::AbstractModel
|
4525
4029
|
# @param TotalCount: 查询结果的总条数。
|
4526
4030
|
# @type TotalCount: Integer
|
4527
|
-
# @param Data:
|
4031
|
+
# @param Data: 四层时序流量数据列表。
|
4528
4032
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
4529
4033
|
# @type Data: Array
|
4530
4034
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
@@ -4543,307 +4047,91 @@ module TencentCloud
|
|
4543
4047
|
unless params['Data'].nil?
|
4544
4048
|
@Data = []
|
4545
4049
|
params['Data'].each do |i|
|
4546
|
-
|
4547
|
-
|
4548
|
-
@Data <<
|
4050
|
+
timingdatarecord_tmp = TimingDataRecord.new
|
4051
|
+
timingdatarecord_tmp.deserialize(i)
|
4052
|
+
@Data << timingdatarecord_tmp
|
4549
4053
|
end
|
4550
4054
|
end
|
4551
4055
|
@RequestId = params['RequestId']
|
4552
4056
|
end
|
4553
4057
|
end
|
4554
4058
|
|
4555
|
-
#
|
4556
|
-
class
|
4557
|
-
# @param
|
4558
|
-
# @type
|
4559
|
-
|
4560
|
-
|
4561
|
-
|
4562
|
-
|
4563
|
-
|
4564
|
-
|
4565
|
-
|
4566
|
-
|
4567
|
-
|
4568
|
-
|
4569
|
-
|
4570
|
-
|
4571
|
-
|
4572
|
-
|
4573
|
-
# @param
|
4574
|
-
#
|
4575
|
-
#
|
4576
|
-
#
|
4059
|
+
# DescribeTimingL7AnalysisData请求参数结构体
|
4060
|
+
class DescribeTimingL7AnalysisDataRequest < TencentCloud::Common::AbstractModel
|
4061
|
+
# @param StartTime: 开始时间。
|
4062
|
+
# @type StartTime: String
|
4063
|
+
# @param EndTime: 结束时间。
|
4064
|
+
# @type EndTime: String
|
4065
|
+
# @param MetricNames: 指标列表,取值有:
|
4066
|
+
# <li>l7Flow_outFlux: Edgeone响应流量;</li>
|
4067
|
+
# <li>l7Flow_inFlux: Edgeone请求流量;</li>
|
4068
|
+
# <li>l7Flow_outBandwidth: Edgeone响应带宽;</li>
|
4069
|
+
# <li>l7Flow_inBandwidth:Edgeone请求带宽;</li>
|
4070
|
+
# <li>l7Flow_request: 访问请求数;</li>
|
4071
|
+
# <li>l7Flow_flux: 访问请求上行+下行流量;</li>
|
4072
|
+
# <li>l7Flow_bandwidth:访问请求上行+下行带宽。</li>
|
4073
|
+
# @type MetricNames: Array
|
4074
|
+
# @param ZoneIds: 站点集合。
|
4075
|
+
# 若不填写,默认选择全部站点,且最多只能查询近30天的数据;若填写,则可查询站点绑定套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>。
|
4076
|
+
# @type ZoneIds: Array
|
4077
|
+
# @param Interval: 查询时间粒度,取值有:
|
4078
|
+
# <li>min: 1分钟;</li>
|
4079
|
+
# <li>5min: 5分钟;</li>
|
4080
|
+
# <li>hour: 1小时;</li>
|
4081
|
+
# <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
|
4082
|
+
# @type Interval: String
|
4083
|
+
# @param Filters: 过滤条件,详细的过滤条件Key值如下:
|
4084
|
+
# <li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
|
4085
|
+
# <li>province<br> 按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
|
4086
|
+
# <li>isp<br> 按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br> 对应的Value可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
|
4087
|
+
# <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
|
4088
|
+
# <li>url<br> 按照【<strong>URL Path</strong>】进行过滤,URL Path形如:/content或/content/test.jpg。<br> 若只填写url参数,则最多可查询近30天的数据;<br> 若同时填写url+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
|
4089
|
+
# <li>referer<br> 按照【<strong>Referer头信息</strong>】进行过滤, Referer形如:example.com。<br> 若只填写referer参数,则最多可查询近30天的数据;<br> 若同时填写referer+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
|
4090
|
+
# <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,资源类型一般是文件后缀,形如: .jpg, .css。<br> 若只填写resourceType参数,则最多可查询近30天的数据;<br> 若同时填写resourceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
|
4091
|
+
# <li>protocol<br> 按照【<strong>HTTP协议版本</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP/1.0:HTTP 1.0;<br> HTTP/1.1:HTTP 1.1;<br> HTTP/2.0:HTTP 2.0;<br> HTTP/3.0:HTTP 3.0;<br> WebSocket:WebSocket。</li>
|
4092
|
+
# <li>socket<br> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
|
4093
|
+
# <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤。<br> 若只填写statusCode参数,则最多可查询近30天的数据;<br> 若同时填写statusCode+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应的Value可选项如下:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 205:205状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
|
4094
|
+
# <li>browserType<br> 按照【<strong>浏览器类型</strong>】进行过滤。<br> 若只填写browserType参数,则最多可查询近30天的数据;<br> 若同时填写browserType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li>
|
4095
|
+
# <li>deviceType<br> 按照【<strong>设备类型</strong>】进行过滤。<br> 若只填写deviceType参数,则最多可查询近30天的数据;<br> 若同时填写deviceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>
|
4096
|
+
# <li>operatingSystemType<br> 按照【<strong>操作系统类型</strong>】进行过滤。<br> 若只填写operatingSystemType参数,则最多可查询近30天的数据;<br> 若同时填写operatingSystemType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li>
|
4097
|
+
# <li>tlsVersion<br> 按照【<strong>TLS版本</strong>】进行过滤。<br> 若只填写tlsVersion参数,则最多可查询近30天的数据;<br> 若同时填写tlsVersion+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> TLS1.0:TLS 1.0;<br> TLS1.1:TLS 1.1;<br> TLS1.2:TLS 1.2;<br> TLS1.3:TLS 1.3。</li>
|
4098
|
+
# <li>ipVersion<br> 按照【<strong>IP版本</strong>】进行过滤。<br> 对应Value的可选项如下:<br> 4:Ipv4;<br> 6:Ipv6。</li>
|
4099
|
+
# <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
|
4100
|
+
# <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
|
4101
|
+
# @type Filters: Array
|
4102
|
+
# @param Area: 数据归属地区,取值有:
|
4103
|
+
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
4104
|
+
# <li>mainland:中国大陆地区数据;</li>
|
4105
|
+
# <li>global:全球数据。</li>不填默认取值为global。
|
4106
|
+
# @type Area: String
|
4577
4107
|
|
4578
|
-
attr_accessor :
|
4108
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Interval, :Filters, :Area
|
4579
4109
|
|
4580
|
-
def initialize(
|
4581
|
-
@
|
4582
|
-
@
|
4110
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, interval=nil, filters=nil, area=nil)
|
4111
|
+
@StartTime = starttime
|
4112
|
+
@EndTime = endtime
|
4113
|
+
@MetricNames = metricnames
|
4114
|
+
@ZoneIds = zoneids
|
4115
|
+
@Interval = interval
|
4116
|
+
@Filters = filters
|
4117
|
+
@Area = area
|
4583
4118
|
end
|
4584
4119
|
|
4585
4120
|
def deserialize(params)
|
4586
|
-
|
4587
|
-
|
4588
|
-
|
4121
|
+
@StartTime = params['StartTime']
|
4122
|
+
@EndTime = params['EndTime']
|
4123
|
+
@MetricNames = params['MetricNames']
|
4124
|
+
@ZoneIds = params['ZoneIds']
|
4125
|
+
@Interval = params['Interval']
|
4126
|
+
unless params['Filters'].nil?
|
4127
|
+
@Filters = []
|
4128
|
+
params['Filters'].each do |i|
|
4129
|
+
querycondition_tmp = QueryCondition.new
|
4130
|
+
querycondition_tmp.deserialize(i)
|
4131
|
+
@Filters << querycondition_tmp
|
4132
|
+
end
|
4589
4133
|
end
|
4590
|
-
@
|
4591
|
-
end
|
4592
|
-
end
|
4593
|
-
|
4594
|
-
# DescribeSpeedTestingMetricData请求参数结构体
|
4595
|
-
class DescribeSpeedTestingMetricDataRequest < TencentCloud::Common::AbstractModel
|
4596
|
-
# @param ZoneId: 站点ID。
|
4597
|
-
# @type ZoneId: String
|
4598
|
-
|
4599
|
-
attr_accessor :ZoneId
|
4600
|
-
|
4601
|
-
def initialize(zoneid=nil)
|
4602
|
-
@ZoneId = zoneid
|
4603
|
-
end
|
4604
|
-
|
4605
|
-
def deserialize(params)
|
4606
|
-
@ZoneId = params['ZoneId']
|
4607
|
-
end
|
4608
|
-
end
|
4609
|
-
|
4610
|
-
# DescribeSpeedTestingMetricData返回参数结构体
|
4611
|
-
class DescribeSpeedTestingMetricDataResponse < TencentCloud::Common::AbstractModel
|
4612
|
-
# @param SpeedTestingMetricData: 站点拨测维度数据。
|
4613
|
-
# @type SpeedTestingMetricData: :class:`Tencentcloud::Teo.v20220901.models.SpeedTestingMetricData`
|
4614
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4615
|
-
# @type RequestId: String
|
4616
|
-
|
4617
|
-
attr_accessor :SpeedTestingMetricData, :RequestId
|
4618
|
-
|
4619
|
-
def initialize(speedtestingmetricdata=nil, requestid=nil)
|
4620
|
-
@SpeedTestingMetricData = speedtestingmetricdata
|
4621
|
-
@RequestId = requestid
|
4622
|
-
end
|
4623
|
-
|
4624
|
-
def deserialize(params)
|
4625
|
-
unless params['SpeedTestingMetricData'].nil?
|
4626
|
-
@SpeedTestingMetricData = SpeedTestingMetricData.new
|
4627
|
-
@SpeedTestingMetricData.deserialize(params['SpeedTestingMetricData'])
|
4628
|
-
end
|
4629
|
-
@RequestId = params['RequestId']
|
4630
|
-
end
|
4631
|
-
end
|
4632
|
-
|
4633
|
-
# DescribeSpeedTestingQuota请求参数结构体
|
4634
|
-
class DescribeSpeedTestingQuotaRequest < TencentCloud::Common::AbstractModel
|
4635
|
-
# @param ZoneId: 站点ID。
|
4636
|
-
# @type ZoneId: String
|
4637
|
-
|
4638
|
-
attr_accessor :ZoneId
|
4639
|
-
|
4640
|
-
def initialize(zoneid=nil)
|
4641
|
-
@ZoneId = zoneid
|
4642
|
-
end
|
4643
|
-
|
4644
|
-
def deserialize(params)
|
4645
|
-
@ZoneId = params['ZoneId']
|
4646
|
-
end
|
4647
|
-
end
|
4648
|
-
|
4649
|
-
# DescribeSpeedTestingQuota返回参数结构体
|
4650
|
-
class DescribeSpeedTestingQuotaResponse < TencentCloud::Common::AbstractModel
|
4651
|
-
# @param SpeedTestingQuota: 配额数据。
|
4652
|
-
# @type SpeedTestingQuota: :class:`Tencentcloud::Teo.v20220901.models.SpeedTestingQuota`
|
4653
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4654
|
-
# @type RequestId: String
|
4655
|
-
|
4656
|
-
attr_accessor :SpeedTestingQuota, :RequestId
|
4657
|
-
|
4658
|
-
def initialize(speedtestingquota=nil, requestid=nil)
|
4659
|
-
@SpeedTestingQuota = speedtestingquota
|
4660
|
-
@RequestId = requestid
|
4661
|
-
end
|
4662
|
-
|
4663
|
-
def deserialize(params)
|
4664
|
-
unless params['SpeedTestingQuota'].nil?
|
4665
|
-
@SpeedTestingQuota = SpeedTestingQuota.new
|
4666
|
-
@SpeedTestingQuota.deserialize(params['SpeedTestingQuota'])
|
4667
|
-
end
|
4668
|
-
@RequestId = params['RequestId']
|
4669
|
-
end
|
4670
|
-
end
|
4671
|
-
|
4672
|
-
# DescribeTimingL4Data请求参数结构体
|
4673
|
-
class DescribeTimingL4DataRequest < TencentCloud::Common::AbstractModel
|
4674
|
-
# @param StartTime: 开始时间。
|
4675
|
-
# @type StartTime: String
|
4676
|
-
# @param EndTime: 结束时间。
|
4677
|
-
# @type EndTime: String
|
4678
|
-
# @param MetricNames: 查询指标,取值有:
|
4679
|
-
# <li>l4Flow_connections: 访问连接数;</li>
|
4680
|
-
# <li>l4Flow_flux: 访问总流量;</li>
|
4681
|
-
# <li>l4Flow_inFlux: 访问入流量;</li>
|
4682
|
-
# <li>l4Flow_outFlux: 访问出流量;</li>
|
4683
|
-
# <li> l4Flow_outPkt: 访问出包量。</li>
|
4684
|
-
# @type MetricNames: Array
|
4685
|
-
# @param ZoneIds: 站点集合。
|
4686
|
-
# 若不填写,默认选择全部站点,且最多只能查询近30天的数据;
|
4687
|
-
# 若填写,则可查询站点绑定套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>。
|
4688
|
-
# @type ZoneIds: Array
|
4689
|
-
# @param ProxyIds: 四层实例列表, 不填表示选择全部实例。
|
4690
|
-
# @type ProxyIds: Array
|
4691
|
-
# @param Interval: 查询时间粒度,取值有:
|
4692
|
-
# <li>min: 1分钟 ;</li>
|
4693
|
-
# <li>5min: 5分钟 ;</li>
|
4694
|
-
# <li>hour: 1小时 ;</li>
|
4695
|
-
# <li>day: 1天 。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
|
4696
|
-
# @type Interval: String
|
4697
|
-
# @param Filters: 过滤条件,详细的过滤条件Key值如下:
|
4698
|
-
# <li>ruleId<br> 按照【<strong>转发规则ID</strong>】进行过滤。</li>
|
4699
|
-
# <li>proxyId<br> 按照【<strong>四层代理实例ID</strong>】进行过滤。</li>
|
4700
|
-
# @type Filters: Array
|
4701
|
-
# @param Area: 数据归属地区,取值有:
|
4702
|
-
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
4703
|
-
# <li>mainland:中国大陆地区数据;</li>
|
4704
|
-
# <li>global:全球数据。</li>不填默认取值为global。
|
4705
|
-
# @type Area: String
|
4706
|
-
|
4707
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :ProxyIds, :Interval, :Filters, :Area
|
4708
|
-
|
4709
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, proxyids=nil, interval=nil, filters=nil, area=nil)
|
4710
|
-
@StartTime = starttime
|
4711
|
-
@EndTime = endtime
|
4712
|
-
@MetricNames = metricnames
|
4713
|
-
@ZoneIds = zoneids
|
4714
|
-
@ProxyIds = proxyids
|
4715
|
-
@Interval = interval
|
4716
|
-
@Filters = filters
|
4717
|
-
@Area = area
|
4718
|
-
end
|
4719
|
-
|
4720
|
-
def deserialize(params)
|
4721
|
-
@StartTime = params['StartTime']
|
4722
|
-
@EndTime = params['EndTime']
|
4723
|
-
@MetricNames = params['MetricNames']
|
4724
|
-
@ZoneIds = params['ZoneIds']
|
4725
|
-
@ProxyIds = params['ProxyIds']
|
4726
|
-
@Interval = params['Interval']
|
4727
|
-
unless params['Filters'].nil?
|
4728
|
-
@Filters = []
|
4729
|
-
params['Filters'].each do |i|
|
4730
|
-
querycondition_tmp = QueryCondition.new
|
4731
|
-
querycondition_tmp.deserialize(i)
|
4732
|
-
@Filters << querycondition_tmp
|
4733
|
-
end
|
4734
|
-
end
|
4735
|
-
@Area = params['Area']
|
4736
|
-
end
|
4737
|
-
end
|
4738
|
-
|
4739
|
-
# DescribeTimingL4Data返回参数结构体
|
4740
|
-
class DescribeTimingL4DataResponse < TencentCloud::Common::AbstractModel
|
4741
|
-
# @param TotalCount: 查询结果的总条数。
|
4742
|
-
# @type TotalCount: Integer
|
4743
|
-
# @param Data: 四层时序流量数据列表。
|
4744
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4745
|
-
# @type Data: Array
|
4746
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4747
|
-
# @type RequestId: String
|
4748
|
-
|
4749
|
-
attr_accessor :TotalCount, :Data, :RequestId
|
4750
|
-
|
4751
|
-
def initialize(totalcount=nil, data=nil, requestid=nil)
|
4752
|
-
@TotalCount = totalcount
|
4753
|
-
@Data = data
|
4754
|
-
@RequestId = requestid
|
4755
|
-
end
|
4756
|
-
|
4757
|
-
def deserialize(params)
|
4758
|
-
@TotalCount = params['TotalCount']
|
4759
|
-
unless params['Data'].nil?
|
4760
|
-
@Data = []
|
4761
|
-
params['Data'].each do |i|
|
4762
|
-
timingdatarecord_tmp = TimingDataRecord.new
|
4763
|
-
timingdatarecord_tmp.deserialize(i)
|
4764
|
-
@Data << timingdatarecord_tmp
|
4765
|
-
end
|
4766
|
-
end
|
4767
|
-
@RequestId = params['RequestId']
|
4768
|
-
end
|
4769
|
-
end
|
4770
|
-
|
4771
|
-
# DescribeTimingL7AnalysisData请求参数结构体
|
4772
|
-
class DescribeTimingL7AnalysisDataRequest < TencentCloud::Common::AbstractModel
|
4773
|
-
# @param StartTime: 开始时间。
|
4774
|
-
# @type StartTime: String
|
4775
|
-
# @param EndTime: 结束时间。
|
4776
|
-
# @type EndTime: String
|
4777
|
-
# @param MetricNames: 指标列表,取值有:
|
4778
|
-
# <li>l7Flow_outFlux: Edgeone响应流量;</li>
|
4779
|
-
# <li>l7Flow_inFlux: Edgeone请求流量;</li>
|
4780
|
-
# <li>l7Flow_outBandwidth: Edgeone响应带宽;</li>
|
4781
|
-
# <li>l7Flow_inBandwidth:Edgeone请求带宽;</li>
|
4782
|
-
# <li>l7Flow_request: 访问请求数;</li>
|
4783
|
-
# <li>l7Flow_flux: 访问请求上行+下行流量;</li>
|
4784
|
-
# <li>l7Flow_bandwidth:访问请求上行+下行带宽。</li>
|
4785
|
-
# @type MetricNames: Array
|
4786
|
-
# @param ZoneIds: 站点集合。
|
4787
|
-
# 若不填写,默认选择全部站点,且最多只能查询近30天的数据;若填写,则可查询站点绑定套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>。
|
4788
|
-
# @type ZoneIds: Array
|
4789
|
-
# @param Interval: 查询时间粒度,取值有:
|
4790
|
-
# <li>min: 1分钟;</li>
|
4791
|
-
# <li>5min: 5分钟;</li>
|
4792
|
-
# <li>hour: 1小时;</li>
|
4793
|
-
# <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:1小时范围内以min粒度查询,2天范围内以5min粒度查询,7天范围内以hour粒度查询,超过7天以day粒度查询。
|
4794
|
-
# @type Interval: String
|
4795
|
-
# @param Filters: 过滤条件,详细的过滤条件Key值如下:
|
4796
|
-
# <li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
|
4797
|
-
# <li>province<br> 按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
|
4798
|
-
# <li>isp<br> 按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br> 对应的Value可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
|
4799
|
-
# <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
|
4800
|
-
# <li>url<br> 按照【<strong>URL Path</strong>】进行过滤,URL Path形如:/content或/content/test.jpg。<br> 若只填写url参数,则最多可查询近30天的数据;<br> 若同时填写url+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
|
4801
|
-
# <li>referer<br> 按照【<strong>Referer头信息</strong>】进行过滤, Referer形如:example.com。<br> 若只填写referer参数,则最多可查询近30天的数据;<br> 若同时填写referer+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
|
4802
|
-
# <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,资源类型一般是文件后缀,形如: .jpg, .css。<br> 若只填写resourceType参数,则最多可查询近30天的数据;<br> 若同时填写resourceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
|
4803
|
-
# <li>protocol<br> 按照【<strong>HTTP协议版本</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP/1.0:HTTP 1.0;<br> HTTP/1.1:HTTP 1.1;<br> HTTP/2.0:HTTP 2.0;<br> HTTP/3.0:HTTP 3.0;<br> WebSocket:WebSocket。</li>
|
4804
|
-
# <li>socket<br> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
|
4805
|
-
# <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤。<br> 若只填写statusCode参数,则最多可查询近30天的数据;<br> 若同时填写statusCode+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应的Value可选项如下:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 205:205状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
|
4806
|
-
# <li>browserType<br> 按照【<strong>浏览器类型</strong>】进行过滤。<br> 若只填写browserType参数,则最多可查询近30天的数据;<br> 若同时填写browserType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li>
|
4807
|
-
# <li>deviceType<br> 按照【<strong>设备类型</strong>】进行过滤。<br> 若只填写deviceType参数,则最多可查询近30天的数据;<br> 若同时填写deviceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>
|
4808
|
-
# <li>operatingSystemType<br> 按照【<strong>操作系统类型</strong>】进行过滤。<br> 若只填写operatingSystemType参数,则最多可查询近30天的数据;<br> 若同时填写operatingSystemType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li>
|
4809
|
-
# <li>tlsVersion<br> 按照【<strong>TLS版本</strong>】进行过滤。<br> 若只填写tlsVersion参数,则最多可查询近30天的数据;<br> 若同时填写tlsVersion+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> TLS1.0:TLS 1.0;<br> TLS1.1:TLS 1.1;<br> TLS1.2:TLS 1.2;<br> TLS1.3:TLS 1.3。</li>
|
4810
|
-
# <li>ipVersion<br> 按照【<strong>IP版本</strong>】进行过滤。<br> 对应Value的可选项如下:<br> 4:Ipv4;<br> 6:Ipv6。</li>
|
4811
|
-
# <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
|
4812
|
-
# <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
|
4813
|
-
# @type Filters: Array
|
4814
|
-
# @param Area: 数据归属地区,取值有:
|
4815
|
-
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
4816
|
-
# <li>mainland:中国大陆地区数据;</li>
|
4817
|
-
# <li>global:全球数据。</li>不填默认取值为global。
|
4818
|
-
# @type Area: String
|
4819
|
-
|
4820
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Interval, :Filters, :Area
|
4821
|
-
|
4822
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, interval=nil, filters=nil, area=nil)
|
4823
|
-
@StartTime = starttime
|
4824
|
-
@EndTime = endtime
|
4825
|
-
@MetricNames = metricnames
|
4826
|
-
@ZoneIds = zoneids
|
4827
|
-
@Interval = interval
|
4828
|
-
@Filters = filters
|
4829
|
-
@Area = area
|
4830
|
-
end
|
4831
|
-
|
4832
|
-
def deserialize(params)
|
4833
|
-
@StartTime = params['StartTime']
|
4834
|
-
@EndTime = params['EndTime']
|
4835
|
-
@MetricNames = params['MetricNames']
|
4836
|
-
@ZoneIds = params['ZoneIds']
|
4837
|
-
@Interval = params['Interval']
|
4838
|
-
unless params['Filters'].nil?
|
4839
|
-
@Filters = []
|
4840
|
-
params['Filters'].each do |i|
|
4841
|
-
querycondition_tmp = QueryCondition.new
|
4842
|
-
querycondition_tmp.deserialize(i)
|
4843
|
-
@Filters << querycondition_tmp
|
4844
|
-
end
|
4845
|
-
end
|
4846
|
-
@Area = params['Area']
|
4134
|
+
@Area = params['Area']
|
4847
4135
|
end
|
4848
4136
|
end
|
4849
4137
|
|
@@ -4857,861 +4145,71 @@ module TencentCloud
|
|
4857
4145
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4858
4146
|
# @type RequestId: String
|
4859
4147
|
|
4860
|
-
attr_accessor :TotalCount, :Data, :RequestId
|
4861
|
-
|
4862
|
-
def initialize(totalcount=nil, data=nil, requestid=nil)
|
4863
|
-
@TotalCount = totalcount
|
4864
|
-
@Data = data
|
4865
|
-
@RequestId = requestid
|
4866
|
-
end
|
4867
|
-
|
4868
|
-
def deserialize(params)
|
4869
|
-
@TotalCount = params['TotalCount']
|
4870
|
-
unless params['Data'].nil?
|
4871
|
-
@Data = []
|
4872
|
-
params['Data'].each do |i|
|
4873
|
-
timingdatarecord_tmp = TimingDataRecord.new
|
4874
|
-
timingdatarecord_tmp.deserialize(i)
|
4875
|
-
@Data << timingdatarecord_tmp
|
4876
|
-
end
|
4877
|
-
end
|
4878
|
-
@RequestId = params['RequestId']
|
4879
|
-
end
|
4880
|
-
end
|
4881
|
-
|
4882
|
-
# DescribeTimingL7CacheData请求参数结构体
|
4883
|
-
class DescribeTimingL7CacheDataRequest < TencentCloud::Common::AbstractModel
|
4884
|
-
# @param StartTime: 开始时间。
|
4885
|
-
# @type StartTime: String
|
4886
|
-
# @param EndTime: 结束时间。
|
4887
|
-
# @type EndTime: String
|
4888
|
-
# @param MetricNames: 查询的指标,取值有:
|
4889
|
-
# <li>l7Cache_outFlux:响应流量;</li>
|
4890
|
-
# <li>l7Cache_request:响应请求数;</li>
|
4891
|
-
# <li> l7Cache_outBandwidth:响应带宽。</li>
|
4892
|
-
# @type MetricNames: Array
|
4893
|
-
# @param ZoneIds: 站点集合,不填默认选择全部站点。
|
4894
|
-
# @type ZoneIds: Array
|
4895
|
-
# @param Filters: 过滤条件,详细的过滤条件如下:
|
4896
|
-
# <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。<br> 类型:String<br> 必选:否</li>
|
4897
|
-
# <li>url<br> 按照【<strong>URL</strong>】进行过滤,此参数只支持30天的时间范围,URL形如:/content。<br> 类型:String<br> 必选:否</li>
|
4898
|
-
# <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,此参数只支持30天的时间范围,资源类型形如:jpg,png。<br> 类型:String<br> 必选:否</li>
|
4899
|
-
# <li>cacheType<br> 按照【<strong>缓存类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> hit:命中缓存;<br> dynamic:资源不可缓存;<br> miss:未命中缓存。</li>
|
4900
|
-
# <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤,此参数只支持30天的时间范围。<br> 类型:String<br> 必选:否<br> 可选项:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 100:100状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
|
4901
|
-
# <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
4902
|
-
# <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
4903
|
-
# @type Filters: Array
|
4904
|
-
# @param Interval: 查询时间粒度,可选的值有:
|
4905
|
-
# <li>min:1分钟的时间粒度;</li>
|
4906
|
-
# <li>5min:5分钟的时间粒度;</li>
|
4907
|
-
# <li>hour:1小时的时间粒度;</li>
|
4908
|
-
# <li>day:1天的时间粒度。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
|
4909
|
-
# @type Interval: String
|
4910
|
-
# @param Area: 数据归属地区,取值有:
|
4911
|
-
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
4912
|
-
# <li>mainland:中国大陆地区数据;</li>
|
4913
|
-
# <li>global:全球数据。</li>不填默认取值为global。
|
4914
|
-
# @type Area: String
|
4915
|
-
|
4916
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Filters, :Interval, :Area
|
4917
|
-
|
4918
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, filters=nil, interval=nil, area=nil)
|
4919
|
-
@StartTime = starttime
|
4920
|
-
@EndTime = endtime
|
4921
|
-
@MetricNames = metricnames
|
4922
|
-
@ZoneIds = zoneids
|
4923
|
-
@Filters = filters
|
4924
|
-
@Interval = interval
|
4925
|
-
@Area = area
|
4926
|
-
end
|
4927
|
-
|
4928
|
-
def deserialize(params)
|
4929
|
-
@StartTime = params['StartTime']
|
4930
|
-
@EndTime = params['EndTime']
|
4931
|
-
@MetricNames = params['MetricNames']
|
4932
|
-
@ZoneIds = params['ZoneIds']
|
4933
|
-
unless params['Filters'].nil?
|
4934
|
-
@Filters = []
|
4935
|
-
params['Filters'].each do |i|
|
4936
|
-
querycondition_tmp = QueryCondition.new
|
4937
|
-
querycondition_tmp.deserialize(i)
|
4938
|
-
@Filters << querycondition_tmp
|
4939
|
-
end
|
4940
|
-
end
|
4941
|
-
@Interval = params['Interval']
|
4942
|
-
@Area = params['Area']
|
4943
|
-
end
|
4944
|
-
end
|
4945
|
-
|
4946
|
-
# DescribeTimingL7CacheData返回参数结构体
|
4947
|
-
class DescribeTimingL7CacheDataResponse < TencentCloud::Common::AbstractModel
|
4948
|
-
# @param TotalCount: 查询结果的总条数。
|
4949
|
-
# @type TotalCount: Integer
|
4950
|
-
# @param Data: 七层缓存分析时序类流量数据列表。
|
4951
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
4952
|
-
# @type Data: Array
|
4953
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
4954
|
-
# @type RequestId: String
|
4955
|
-
|
4956
|
-
attr_accessor :TotalCount, :Data, :RequestId
|
4957
|
-
|
4958
|
-
def initialize(totalcount=nil, data=nil, requestid=nil)
|
4959
|
-
@TotalCount = totalcount
|
4960
|
-
@Data = data
|
4961
|
-
@RequestId = requestid
|
4962
|
-
end
|
4963
|
-
|
4964
|
-
def deserialize(params)
|
4965
|
-
@TotalCount = params['TotalCount']
|
4966
|
-
unless params['Data'].nil?
|
4967
|
-
@Data = []
|
4968
|
-
params['Data'].each do |i|
|
4969
|
-
timingdatarecord_tmp = TimingDataRecord.new
|
4970
|
-
timingdatarecord_tmp.deserialize(i)
|
4971
|
-
@Data << timingdatarecord_tmp
|
4972
|
-
end
|
4973
|
-
end
|
4974
|
-
@RequestId = params['RequestId']
|
4975
|
-
end
|
4976
|
-
end
|
4977
|
-
|
4978
|
-
# DescribeTimingL7SourceData请求参数结构体
|
4979
|
-
class DescribeTimingL7SourceDataRequest < TencentCloud::Common::AbstractModel
|
4980
|
-
# @param StartTime: 开始时间。
|
4981
|
-
# @type StartTime: String
|
4982
|
-
# @param EndTime: 结束时间。
|
4983
|
-
# @type EndTime: String
|
4984
|
-
# @param MetricNames: 指标列表,取值有:
|
4985
|
-
# <li>l7Flow_outFlux_hy: Edgeone请求流量;</li>
|
4986
|
-
# <li>l7Flow_outBandwidth_hy: Edgeone请求带宽;</li>
|
4987
|
-
# <li>l7Flow_inFlux_hy: 源站响应流量;</li>
|
4988
|
-
# <li>l7Flow_inBandwidth_hy: 源站响应带宽;</li>
|
4989
|
-
# <li>l7Flow_request_hy: 回源请求数;</li>
|
4990
|
-
# @type MetricNames: Array
|
4991
|
-
# @param ZoneIds: 待查询的站点列表,此参数必填。
|
4992
|
-
# @type ZoneIds: Array
|
4993
|
-
# @param Interval: 查询时间粒度,取值有:
|
4994
|
-
# <li>min: 1分钟;</li>
|
4995
|
-
# <li>5min: 5分钟;</li>
|
4996
|
-
# <li>hour: 1小时;</li>
|
4997
|
-
# <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
|
4998
|
-
# @type Interval: String
|
4999
|
-
# @param Filters: 过滤条件,详细的过滤条件如下:
|
5000
|
-
# <li>domain<br> 按照【<strong>回源Host</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
5001
|
-
# <li>origin<br> 按照【<strong>源站</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
5002
|
-
# <li>originGroup<br> 按照【<strong>源站组</strong>】进行过滤,源站组形如:origin-xxxxx。<br> 类型:String<br> 必选:否</li>
|
5003
|
-
# <li>flowType<br> 按照【<strong>源站响应类型</strong>】进行过滤,优先级高于 MetricNames.N 参数。<br> 类型:String<br> 必选:否<br> 可选项:<br> inFlow:源站响应流量,对应MetricNames中l7Flow_inFlux_hy、l7Flow_inBandwidth_hy、l7Flow_request_hy三个指标;<br> outFlow:EdgeOne请求流量,对应MetricNames中l7Flow_outFlux_hy、l7Flow_outBandwidth_hy、l7Flow_request_hy三个指标。</li>
|
5004
|
-
# @type Filters: Array
|
5005
|
-
# @param Area: 数据归属地区,取值有:
|
5006
|
-
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
5007
|
-
# <li>mainland:中国大陆地区数据;</li>
|
5008
|
-
# <li>global:全球数据。</li>不填默认取值为global。
|
5009
|
-
# @type Area: String
|
5010
|
-
|
5011
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Interval, :Filters, :Area
|
5012
|
-
|
5013
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, interval=nil, filters=nil, area=nil)
|
5014
|
-
@StartTime = starttime
|
5015
|
-
@EndTime = endtime
|
5016
|
-
@MetricNames = metricnames
|
5017
|
-
@ZoneIds = zoneids
|
5018
|
-
@Interval = interval
|
5019
|
-
@Filters = filters
|
5020
|
-
@Area = area
|
5021
|
-
end
|
5022
|
-
|
5023
|
-
def deserialize(params)
|
5024
|
-
@StartTime = params['StartTime']
|
5025
|
-
@EndTime = params['EndTime']
|
5026
|
-
@MetricNames = params['MetricNames']
|
5027
|
-
@ZoneIds = params['ZoneIds']
|
5028
|
-
@Interval = params['Interval']
|
5029
|
-
unless params['Filters'].nil?
|
5030
|
-
@Filters = []
|
5031
|
-
params['Filters'].each do |i|
|
5032
|
-
querycondition_tmp = QueryCondition.new
|
5033
|
-
querycondition_tmp.deserialize(i)
|
5034
|
-
@Filters << querycondition_tmp
|
5035
|
-
end
|
5036
|
-
end
|
5037
|
-
@Area = params['Area']
|
5038
|
-
end
|
5039
|
-
end
|
5040
|
-
|
5041
|
-
# DescribeTimingL7SourceData返回参数结构体
|
5042
|
-
class DescribeTimingL7SourceDataResponse < TencentCloud::Common::AbstractModel
|
5043
|
-
# @param TotalCount: 查询结果的总条数。
|
5044
|
-
# @type TotalCount: Integer
|
5045
|
-
# @param TimingDataRecords: 时序流量数据列表。
|
5046
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5047
|
-
# @type TimingDataRecords: Array
|
5048
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5049
|
-
# @type RequestId: String
|
5050
|
-
|
5051
|
-
attr_accessor :TotalCount, :TimingDataRecords, :RequestId
|
5052
|
-
|
5053
|
-
def initialize(totalcount=nil, timingdatarecords=nil, requestid=nil)
|
5054
|
-
@TotalCount = totalcount
|
5055
|
-
@TimingDataRecords = timingdatarecords
|
5056
|
-
@RequestId = requestid
|
5057
|
-
end
|
5058
|
-
|
5059
|
-
def deserialize(params)
|
5060
|
-
@TotalCount = params['TotalCount']
|
5061
|
-
unless params['TimingDataRecords'].nil?
|
5062
|
-
@TimingDataRecords = []
|
5063
|
-
params['TimingDataRecords'].each do |i|
|
5064
|
-
timingdatarecord_tmp = TimingDataRecord.new
|
5065
|
-
timingdatarecord_tmp.deserialize(i)
|
5066
|
-
@TimingDataRecords << timingdatarecord_tmp
|
5067
|
-
end
|
5068
|
-
end
|
5069
|
-
@RequestId = params['RequestId']
|
5070
|
-
end
|
5071
|
-
end
|
5072
|
-
|
5073
|
-
# DescribeTopL7AnalysisData请求参数结构体
|
5074
|
-
class DescribeTopL7AnalysisDataRequest < TencentCloud::Common::AbstractModel
|
5075
|
-
# @param StartTime: 开始时间。
|
5076
|
-
# @type StartTime: String
|
5077
|
-
# @param EndTime: 结束时间。
|
5078
|
-
# @type EndTime: String
|
5079
|
-
# @param MetricName: 查询的指标,取值有:
|
5080
|
-
# <li> l7Flow_outFlux_country:按国家/地区维度统计流量指标;</li>
|
5081
|
-
# <li> l7Flow_outFlux_statusCode:按状态码维度统计流量指标;</li>
|
5082
|
-
# <li> l7Flow_outFlux_domain:按域名维度统计流量指标;</li>
|
5083
|
-
# <li> l7Flow_outFlux_url:按URL维度统计流量指标; </li>
|
5084
|
-
# <li> l7Flow_outFlux_resourceType:按资源类型维度统计流量指标;</li>
|
5085
|
-
# <li> l7Flow_outFlux_sip:按客户端的源IP维度统计流量指标;</li>
|
5086
|
-
# <li> l7Flow_outFlux_referers:按refer信息维度统计流量指标;</li>
|
5087
|
-
# <li> l7Flow_outFlux_ua_device:按设备类型维度统计流量指标; </li>
|
5088
|
-
# <li> l7Flow_outFlux_ua_browser:按浏览器类型维度统计流量指标;</li>
|
5089
|
-
# <li> l7Flow_outFlux_us_os:按操作系统类型维度统计流量指标;</li>
|
5090
|
-
# <li> l7Flow_request_country:按国家/地区维度统计请求数指标;</li>
|
5091
|
-
# <li> l7Flow_request_statusCode:按状态码维度统计请求数指标;</li>
|
5092
|
-
# <li> l7Flow_request_domain:按域名维度统计请求数指标;</li>
|
5093
|
-
# <li> l7Flow_request_url:按URL维度统计请求数指标; </li>
|
5094
|
-
# <li> l7Flow_request_resourceType:按资源类型维度统计请求数指标;</li>
|
5095
|
-
# <li> l7Flow_request_sip:按客户端的源IP维度统计请求数指标;</li>
|
5096
|
-
# <li> l7Flow_request_referer:按refer信息维度统计请求数指标;</li>
|
5097
|
-
# <li> l7Flow_request_ua_device:按设备类型维度统计请求数指标; </li>
|
5098
|
-
# <li> l7Flow_request_ua_browser:按浏览器类型维度统计请求数指标;</li>
|
5099
|
-
# <li> l7Flow_request_us_os:按操作系统类型维度统计请求数指标。</li>
|
5100
|
-
# @type MetricName: String
|
5101
|
-
# @param ZoneIds: 站点集合,此参数必填,不填默认查询为空。
|
5102
|
-
# @type ZoneIds: Array
|
5103
|
-
# @param Limit: 查询前多少个数据,最大值为1000,不填默认默认为: 10, 表示查询前top10的数据。
|
5104
|
-
# @type Limit: Integer
|
5105
|
-
# @param Filters: 过滤条件,详细的过滤条件Key值如下:
|
5106
|
-
# <li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
|
5107
|
-
# <li>province<br> 按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
|
5108
|
-
# <li>isp<br> 按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br> 对应的Value可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
|
5109
|
-
# <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
|
5110
|
-
# <li>url<br> 按照【<strong>URL Path</strong>】进行过滤,URL Path形如:/content或/content/test.jpg。<br> 若只填写url参数,则最多可查询近30天的数据;<br> 若同时填写url+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
|
5111
|
-
# <li>referer<br> 按照【<strong>Referer头信息</strong>】进行过滤, Referer形如:example.com。<br> 若只填写referer参数,则最多可查询近30天的数据;<br> 若同时填写referer+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
|
5112
|
-
# <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,资源类型一般是文件后缀,形如: .jpg, .css。<br> 若只填写resourceType参数,则最多可查询近30天的数据;<br> 若同时填写resourceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
|
5113
|
-
# <li>protocol<br> 按照【<strong>HTTP协议版本</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP/1.0:HTTP 1.0;<br> HTTP/1.1:HTTP 1.1;<br> HTTP/2.0:HTTP 2.0;<br> HTTP/3.0:HTTP 3.0;<br> WebSocket:WebSocket。</li>
|
5114
|
-
# <li>socket<br> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
|
5115
|
-
# <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤。<br> 若只填写statusCode参数,则最多可查询近30天的数据;<br> 若同时填写statusCode+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应的Value可选项如下:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 205:205状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
|
5116
|
-
# <li>browserType<br> 按照【<strong>浏览器类型</strong>】进行过滤。<br> 若只填写browserType参数,则最多可查询近30天的数据;<br> 若同时填写browserType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li>
|
5117
|
-
# <li>deviceType<br> 按照【<strong>设备类型</strong>】进行过滤。<br> 若只填写deviceType参数,则最多可查询近30天的数据;<br> 若同时填写deviceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>
|
5118
|
-
# <li>operatingSystemType<br> 按照【<strong>操作系统类型</strong>】进行过滤。<br> 若只填写operatingSystemType参数,则最多可查询近30天的数据;<br> 若同时填写operatingSystemType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li>
|
5119
|
-
# <li>tlsVersion<br> 按照【<strong>TLS版本</strong>】进行过滤。<br> 若只填写tlsVersion参数,则最多可查询近30天的数据;<br> 若同时填写tlsVersion+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> TLS1.0:TLS 1.0;<br> TLS1.1:TLS 1.1;<br> TLS1.2:TLS 1.2;<br> TLS1.3:TLS 1.3。</li>
|
5120
|
-
# <li>ipVersion<br> 按照【<strong>IP版本</strong>】进行过滤。<br> 对应Value的可选项如下:<br> 4:Ipv4;<br> 6:Ipv6。</li>
|
5121
|
-
# <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
|
5122
|
-
# <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
|
5123
|
-
# @type Filters: Array
|
5124
|
-
# @param Interval: 查询时间粒度,取值有:
|
5125
|
-
# <li>min:1分钟;</li>
|
5126
|
-
# <li>5min:5分钟;</li>
|
5127
|
-
# <li>hour:1小时;</li>
|
5128
|
-
# <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
|
5129
|
-
# @type Interval: String
|
5130
|
-
# @param Area: 数据归属地区,取值有:
|
5131
|
-
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
5132
|
-
# <li>mainland:中国大陆地区数据;</li>
|
5133
|
-
# <li>global:全球数据。</li>不填默认取值为global。
|
5134
|
-
# @type Area: String
|
5135
|
-
|
5136
|
-
attr_accessor :StartTime, :EndTime, :MetricName, :ZoneIds, :Limit, :Filters, :Interval, :Area
|
5137
|
-
|
5138
|
-
def initialize(starttime=nil, endtime=nil, metricname=nil, zoneids=nil, limit=nil, filters=nil, interval=nil, area=nil)
|
5139
|
-
@StartTime = starttime
|
5140
|
-
@EndTime = endtime
|
5141
|
-
@MetricName = metricname
|
5142
|
-
@ZoneIds = zoneids
|
5143
|
-
@Limit = limit
|
5144
|
-
@Filters = filters
|
5145
|
-
@Interval = interval
|
5146
|
-
@Area = area
|
5147
|
-
end
|
5148
|
-
|
5149
|
-
def deserialize(params)
|
5150
|
-
@StartTime = params['StartTime']
|
5151
|
-
@EndTime = params['EndTime']
|
5152
|
-
@MetricName = params['MetricName']
|
5153
|
-
@ZoneIds = params['ZoneIds']
|
5154
|
-
@Limit = params['Limit']
|
5155
|
-
unless params['Filters'].nil?
|
5156
|
-
@Filters = []
|
5157
|
-
params['Filters'].each do |i|
|
5158
|
-
querycondition_tmp = QueryCondition.new
|
5159
|
-
querycondition_tmp.deserialize(i)
|
5160
|
-
@Filters << querycondition_tmp
|
5161
|
-
end
|
5162
|
-
end
|
5163
|
-
@Interval = params['Interval']
|
5164
|
-
@Area = params['Area']
|
5165
|
-
end
|
5166
|
-
end
|
5167
|
-
|
5168
|
-
# DescribeTopL7AnalysisData返回参数结构体
|
5169
|
-
class DescribeTopL7AnalysisDataResponse < TencentCloud::Common::AbstractModel
|
5170
|
-
# @param TotalCount: 查询结果的总条数。
|
5171
|
-
# @type TotalCount: Integer
|
5172
|
-
# @param Data: 七层流量前topN数据列表。
|
5173
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5174
|
-
# @type Data: Array
|
5175
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5176
|
-
# @type RequestId: String
|
5177
|
-
|
5178
|
-
attr_accessor :TotalCount, :Data, :RequestId
|
5179
|
-
|
5180
|
-
def initialize(totalcount=nil, data=nil, requestid=nil)
|
5181
|
-
@TotalCount = totalcount
|
5182
|
-
@Data = data
|
5183
|
-
@RequestId = requestid
|
5184
|
-
end
|
5185
|
-
|
5186
|
-
def deserialize(params)
|
5187
|
-
@TotalCount = params['TotalCount']
|
5188
|
-
unless params['Data'].nil?
|
5189
|
-
@Data = []
|
5190
|
-
params['Data'].each do |i|
|
5191
|
-
topdatarecord_tmp = TopDataRecord.new
|
5192
|
-
topdatarecord_tmp.deserialize(i)
|
5193
|
-
@Data << topdatarecord_tmp
|
5194
|
-
end
|
5195
|
-
end
|
5196
|
-
@RequestId = params['RequestId']
|
5197
|
-
end
|
5198
|
-
end
|
5199
|
-
|
5200
|
-
# DescribeTopL7CacheData请求参数结构体
|
5201
|
-
class DescribeTopL7CacheDataRequest < TencentCloud::Common::AbstractModel
|
5202
|
-
# @param StartTime: 开始时间。
|
5203
|
-
# @type StartTime: String
|
5204
|
-
# @param EndTime: 结束时间。
|
5205
|
-
# @type EndTime: String
|
5206
|
-
# @param MetricName: 查询的指标,取值有:
|
5207
|
-
# <li> l7Cache_outFlux_domain:host/域名;</li>
|
5208
|
-
# <li> l7Cache_outFlux_url:url地址;</li>
|
5209
|
-
# <li> l7Cache_outFlux_resourceType:资源类型;</li>
|
5210
|
-
# <li> l7Cache_outFlux_statusCode:状态码。</li>
|
5211
|
-
# @type MetricName: String
|
5212
|
-
# @param ZoneIds: 站点id集合,不填默认选择全部站点。
|
5213
|
-
# @type ZoneIds: Array
|
5214
|
-
# @param Limit: 查询前多少个数据,最大值为1000,不填默认默认为10, 表示查询前top 10的数据。
|
5215
|
-
# @type Limit: Integer
|
5216
|
-
# @param Filters: 过滤条件,详细的过滤条件如下:
|
5217
|
-
# <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。<br> 类型:String<br> 必选:否</li>
|
5218
|
-
# <li>url<br> 按照【<strong>URL</strong>】进行过滤,此参数只支持30天的时间范围,URL形如:/content。<br> 类型:String<br> 必选:否</li>
|
5219
|
-
# <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,此参数只支持30天的时间范围,资源类型形如:jpg,png。<br> 类型:String<br> 必选:否</li>
|
5220
|
-
# <li>cacheType<br> 按照【<strong>缓存类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> hit:命中缓存;<br> dynamic:资源不可缓存;<br> miss:未命中缓存。</li>
|
5221
|
-
# <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤,此参数只支持30天的时间范围。<br> 类型:String<br> 必选:否<br> 可选项:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 100:100状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
|
5222
|
-
# <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
5223
|
-
# <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
5224
|
-
# @type Filters: Array
|
5225
|
-
# @param Interval: 查询时间粒度,取值有:
|
5226
|
-
# <li>min: 1分钟;</li>
|
5227
|
-
# <li>5min: 5分钟;</li>
|
5228
|
-
# <li>hour: 1小时;</li>
|
5229
|
-
# <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
|
5230
|
-
# @type Interval: String
|
5231
|
-
# @param Area: 数据归属地区,取值有:
|
5232
|
-
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
5233
|
-
# <li>mainland:中国大陆地区数据;</li>
|
5234
|
-
# <li>global:全球数据。</li>不填默认取值为global。
|
5235
|
-
# @type Area: String
|
5236
|
-
|
5237
|
-
attr_accessor :StartTime, :EndTime, :MetricName, :ZoneIds, :Limit, :Filters, :Interval, :Area
|
5238
|
-
|
5239
|
-
def initialize(starttime=nil, endtime=nil, metricname=nil, zoneids=nil, limit=nil, filters=nil, interval=nil, area=nil)
|
5240
|
-
@StartTime = starttime
|
5241
|
-
@EndTime = endtime
|
5242
|
-
@MetricName = metricname
|
5243
|
-
@ZoneIds = zoneids
|
5244
|
-
@Limit = limit
|
5245
|
-
@Filters = filters
|
5246
|
-
@Interval = interval
|
5247
|
-
@Area = area
|
5248
|
-
end
|
5249
|
-
|
5250
|
-
def deserialize(params)
|
5251
|
-
@StartTime = params['StartTime']
|
5252
|
-
@EndTime = params['EndTime']
|
5253
|
-
@MetricName = params['MetricName']
|
5254
|
-
@ZoneIds = params['ZoneIds']
|
5255
|
-
@Limit = params['Limit']
|
5256
|
-
unless params['Filters'].nil?
|
5257
|
-
@Filters = []
|
5258
|
-
params['Filters'].each do |i|
|
5259
|
-
querycondition_tmp = QueryCondition.new
|
5260
|
-
querycondition_tmp.deserialize(i)
|
5261
|
-
@Filters << querycondition_tmp
|
5262
|
-
end
|
5263
|
-
end
|
5264
|
-
@Interval = params['Interval']
|
5265
|
-
@Area = params['Area']
|
5266
|
-
end
|
5267
|
-
end
|
5268
|
-
|
5269
|
-
# DescribeTopL7CacheData返回参数结构体
|
5270
|
-
class DescribeTopL7CacheDataResponse < TencentCloud::Common::AbstractModel
|
5271
|
-
# @param TotalCount: 查询结果的总条数。
|
5272
|
-
# @type TotalCount: Integer
|
5273
|
-
# @param Data: 七层缓存TopN流量数据列表。
|
5274
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5275
|
-
# @type Data: Array
|
5276
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5277
|
-
# @type RequestId: String
|
5278
|
-
|
5279
|
-
attr_accessor :TotalCount, :Data, :RequestId
|
5280
|
-
|
5281
|
-
def initialize(totalcount=nil, data=nil, requestid=nil)
|
5282
|
-
@TotalCount = totalcount
|
5283
|
-
@Data = data
|
5284
|
-
@RequestId = requestid
|
5285
|
-
end
|
5286
|
-
|
5287
|
-
def deserialize(params)
|
5288
|
-
@TotalCount = params['TotalCount']
|
5289
|
-
unless params['Data'].nil?
|
5290
|
-
@Data = []
|
5291
|
-
params['Data'].each do |i|
|
5292
|
-
topdatarecord_tmp = TopDataRecord.new
|
5293
|
-
topdatarecord_tmp.deserialize(i)
|
5294
|
-
@Data << topdatarecord_tmp
|
5295
|
-
end
|
5296
|
-
end
|
5297
|
-
@RequestId = params['RequestId']
|
5298
|
-
end
|
5299
|
-
end
|
5300
|
-
|
5301
|
-
# DescribeWebManagedRulesData请求参数结构体
|
5302
|
-
class DescribeWebManagedRulesDataRequest < TencentCloud::Common::AbstractModel
|
5303
|
-
# @param StartTime: 开始时间。
|
5304
|
-
# @type StartTime: String
|
5305
|
-
# @param EndTime: 结束时间。
|
5306
|
-
# @type EndTime: String
|
5307
|
-
# @param MetricNames: 统计指标列表,取值有:
|
5308
|
-
# <li>waf_interceptNum:waf拦截次数。</li>
|
5309
|
-
# @type MetricNames: Array
|
5310
|
-
# @param ZoneIds: 站点集合,不填默认选择全部站点。
|
5311
|
-
# @type ZoneIds: Array
|
5312
|
-
# @param Domains: 子域名集合,不填默认选择全部子域名。
|
5313
|
-
# @type Domains: Array
|
5314
|
-
# @param QueryCondition: 筛选条件,key可选的值有:
|
5315
|
-
# <li>action:执行动作。</li>
|
5316
|
-
# @type QueryCondition: Array
|
5317
|
-
# @param Interval: 查询时间粒度,取值有:
|
5318
|
-
# <li>min:1分钟;</li>
|
5319
|
-
# <li>5min:5分钟;</li>
|
5320
|
-
# <li>hour:1小时;</li>
|
5321
|
-
# <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
|
5322
|
-
# @type Interval: String
|
5323
|
-
# @param Area: 数据归属地区,取值有:
|
5324
|
-
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
5325
|
-
# <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
|
5326
|
-
# @type Area: String
|
5327
|
-
|
5328
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Domains, :QueryCondition, :Interval, :Area
|
5329
|
-
|
5330
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, domains=nil, querycondition=nil, interval=nil, area=nil)
|
5331
|
-
@StartTime = starttime
|
5332
|
-
@EndTime = endtime
|
5333
|
-
@MetricNames = metricnames
|
5334
|
-
@ZoneIds = zoneids
|
5335
|
-
@Domains = domains
|
5336
|
-
@QueryCondition = querycondition
|
5337
|
-
@Interval = interval
|
5338
|
-
@Area = area
|
5339
|
-
end
|
5340
|
-
|
5341
|
-
def deserialize(params)
|
5342
|
-
@StartTime = params['StartTime']
|
5343
|
-
@EndTime = params['EndTime']
|
5344
|
-
@MetricNames = params['MetricNames']
|
5345
|
-
@ZoneIds = params['ZoneIds']
|
5346
|
-
@Domains = params['Domains']
|
5347
|
-
unless params['QueryCondition'].nil?
|
5348
|
-
@QueryCondition = []
|
5349
|
-
params['QueryCondition'].each do |i|
|
5350
|
-
querycondition_tmp = QueryCondition.new
|
5351
|
-
querycondition_tmp.deserialize(i)
|
5352
|
-
@QueryCondition << querycondition_tmp
|
5353
|
-
end
|
5354
|
-
end
|
5355
|
-
@Interval = params['Interval']
|
5356
|
-
@Area = params['Area']
|
5357
|
-
end
|
5358
|
-
end
|
5359
|
-
|
5360
|
-
# DescribeWebManagedRulesData返回参数结构体
|
5361
|
-
class DescribeWebManagedRulesDataResponse < TencentCloud::Common::AbstractModel
|
5362
|
-
# @param Data: WAF攻击的时序数据列表。
|
5363
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5364
|
-
# @type Data: Array
|
5365
|
-
# @param TotalCount: 查询结果的总条数。
|
5366
|
-
# @type TotalCount: Integer
|
5367
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5368
|
-
# @type RequestId: String
|
5369
|
-
|
5370
|
-
attr_accessor :Data, :TotalCount, :RequestId
|
5371
|
-
|
5372
|
-
def initialize(data=nil, totalcount=nil, requestid=nil)
|
5373
|
-
@Data = data
|
5374
|
-
@TotalCount = totalcount
|
5375
|
-
@RequestId = requestid
|
5376
|
-
end
|
5377
|
-
|
5378
|
-
def deserialize(params)
|
5379
|
-
unless params['Data'].nil?
|
5380
|
-
@Data = []
|
5381
|
-
params['Data'].each do |i|
|
5382
|
-
secentry_tmp = SecEntry.new
|
5383
|
-
secentry_tmp.deserialize(i)
|
5384
|
-
@Data << secentry_tmp
|
5385
|
-
end
|
5386
|
-
end
|
5387
|
-
@TotalCount = params['TotalCount']
|
5388
|
-
@RequestId = params['RequestId']
|
5389
|
-
end
|
5390
|
-
end
|
5391
|
-
|
5392
|
-
# DescribeWebManagedRulesHitRuleDetail请求参数结构体
|
5393
|
-
class DescribeWebManagedRulesHitRuleDetailRequest < TencentCloud::Common::AbstractModel
|
5394
|
-
# @param StartTime: 开始时间。
|
5395
|
-
# @type StartTime: String
|
5396
|
-
# @param EndTime: 结束时间。
|
5397
|
-
# @type EndTime: String
|
5398
|
-
# @param ZoneIds: 站点集合,不填默认选择全部站点。
|
5399
|
-
# @type ZoneIds: Array
|
5400
|
-
# @param Domains: 子域名列表,不填默认选择全部全部子域名。
|
5401
|
-
# @type Domains: Array
|
5402
|
-
# @param Interval: 查询时间粒度,取值有:
|
5403
|
-
# <li>min:1分钟;</li>
|
5404
|
-
# <li>5min:5分钟;</li>
|
5405
|
-
# <li>hour:1小时;</li>
|
5406
|
-
# <li>day:1天 。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
|
5407
|
-
# @type Interval: String
|
5408
|
-
# @param QueryCondition: 筛选条件,key可选的值有:
|
5409
|
-
# <li>action :执行动作 。</li>
|
5410
|
-
# @type QueryCondition: Array
|
5411
|
-
# @param Limit: 分页查询的限制数目,默认值为20,最大查询条目为1000。
|
5412
|
-
# @type Limit: Integer
|
5413
|
-
# @param Offset: 分页的偏移量,默认值为0。
|
5414
|
-
# @type Offset: Integer
|
5415
|
-
# @param Area: 数据归属地区,取值有:
|
5416
|
-
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
5417
|
-
# <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
|
5418
|
-
# @type Area: String
|
5419
|
-
|
5420
|
-
attr_accessor :StartTime, :EndTime, :ZoneIds, :Domains, :Interval, :QueryCondition, :Limit, :Offset, :Area
|
5421
|
-
|
5422
|
-
def initialize(starttime=nil, endtime=nil, zoneids=nil, domains=nil, interval=nil, querycondition=nil, limit=nil, offset=nil, area=nil)
|
5423
|
-
@StartTime = starttime
|
5424
|
-
@EndTime = endtime
|
5425
|
-
@ZoneIds = zoneids
|
5426
|
-
@Domains = domains
|
5427
|
-
@Interval = interval
|
5428
|
-
@QueryCondition = querycondition
|
5429
|
-
@Limit = limit
|
5430
|
-
@Offset = offset
|
5431
|
-
@Area = area
|
5432
|
-
end
|
5433
|
-
|
5434
|
-
def deserialize(params)
|
5435
|
-
@StartTime = params['StartTime']
|
5436
|
-
@EndTime = params['EndTime']
|
5437
|
-
@ZoneIds = params['ZoneIds']
|
5438
|
-
@Domains = params['Domains']
|
5439
|
-
@Interval = params['Interval']
|
5440
|
-
unless params['QueryCondition'].nil?
|
5441
|
-
@QueryCondition = []
|
5442
|
-
params['QueryCondition'].each do |i|
|
5443
|
-
querycondition_tmp = QueryCondition.new
|
5444
|
-
querycondition_tmp.deserialize(i)
|
5445
|
-
@QueryCondition << querycondition_tmp
|
5446
|
-
end
|
5447
|
-
end
|
5448
|
-
@Limit = params['Limit']
|
5449
|
-
@Offset = params['Offset']
|
5450
|
-
@Area = params['Area']
|
5451
|
-
end
|
5452
|
-
end
|
5453
|
-
|
5454
|
-
# DescribeWebManagedRulesHitRuleDetail返回参数结构体
|
5455
|
-
class DescribeWebManagedRulesHitRuleDetailResponse < TencentCloud::Common::AbstractModel
|
5456
|
-
# @param Data: 命中规则的详细列表。
|
5457
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5458
|
-
# @type Data: Array
|
5459
|
-
# @param TotalCount: 查询结果的总条数。
|
5460
|
-
# @type TotalCount: Integer
|
5461
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5462
|
-
# @type RequestId: String
|
5463
|
-
|
5464
|
-
attr_accessor :Data, :TotalCount, :RequestId
|
5465
|
-
|
5466
|
-
def initialize(data=nil, totalcount=nil, requestid=nil)
|
5467
|
-
@Data = data
|
5468
|
-
@TotalCount = totalcount
|
5469
|
-
@RequestId = requestid
|
5470
|
-
end
|
5471
|
-
|
5472
|
-
def deserialize(params)
|
5473
|
-
unless params['Data'].nil?
|
5474
|
-
@Data = []
|
5475
|
-
params['Data'].each do |i|
|
5476
|
-
sechitruleinfo_tmp = SecHitRuleInfo.new
|
5477
|
-
sechitruleinfo_tmp.deserialize(i)
|
5478
|
-
@Data << sechitruleinfo_tmp
|
5479
|
-
end
|
5480
|
-
end
|
5481
|
-
@TotalCount = params['TotalCount']
|
5482
|
-
@RequestId = params['RequestId']
|
5483
|
-
end
|
5484
|
-
end
|
5485
|
-
|
5486
|
-
# DescribeWebManagedRulesLog请求参数结构体
|
5487
|
-
class DescribeWebManagedRulesLogRequest < TencentCloud::Common::AbstractModel
|
5488
|
-
# @param StartTime: 开始时间。
|
5489
|
-
# @type StartTime: String
|
5490
|
-
# @param EndTime: 结束时间。
|
5491
|
-
# @type EndTime: String
|
5492
|
-
# @param ZoneIds: 站点集合,不填默认选择全部站点。
|
5493
|
-
# @type ZoneIds: Array
|
5494
|
-
# @param Domains: 域名集合,不填默认选择全部子域名。
|
5495
|
-
# @type Domains: Array
|
5496
|
-
# @param Limit: 分页查询的限制数目,默认值为20,最大查询条目为1000。
|
5497
|
-
# @type Limit: Integer
|
5498
|
-
# @param Offset: 分页的偏移量,默认值为0。
|
5499
|
-
# @type Offset: Integer
|
5500
|
-
# @param QueryCondition: 筛选条件,key可选的值有:
|
5501
|
-
# <li>attackType:攻击类型;</li>
|
5502
|
-
# <li>riskLevel:风险等级;</li>
|
5503
|
-
# <li>action:执行动作(处置方式);</li>
|
5504
|
-
# <li>ruleId:规则id;</li>
|
5505
|
-
# <li>sipCountryCode:ip所在国家;</li>
|
5506
|
-
# <li>attackIp:攻击ip;</li>
|
5507
|
-
# <li>realClientIp:真实客户端ip;</li>
|
5508
|
-
# <li>oriDomain:被攻击的子域名;</li>
|
5509
|
-
# <li>eventId:事件id;</li>
|
5510
|
-
# <li>ua:用户代理;</li>
|
5511
|
-
# <li>requestMethod:请求方法;</li>
|
5512
|
-
# <li>uri:统一资源标识符。</li>
|
5513
|
-
# @type QueryCondition: Array
|
5514
|
-
# @param Area: 数据归属地区,取值有:
|
5515
|
-
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
5516
|
-
# <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
|
5517
|
-
# @type Area: String
|
5518
|
-
|
5519
|
-
attr_accessor :StartTime, :EndTime, :ZoneIds, :Domains, :Limit, :Offset, :QueryCondition, :Area
|
5520
|
-
|
5521
|
-
def initialize(starttime=nil, endtime=nil, zoneids=nil, domains=nil, limit=nil, offset=nil, querycondition=nil, area=nil)
|
5522
|
-
@StartTime = starttime
|
5523
|
-
@EndTime = endtime
|
5524
|
-
@ZoneIds = zoneids
|
5525
|
-
@Domains = domains
|
5526
|
-
@Limit = limit
|
5527
|
-
@Offset = offset
|
5528
|
-
@QueryCondition = querycondition
|
5529
|
-
@Area = area
|
5530
|
-
end
|
5531
|
-
|
5532
|
-
def deserialize(params)
|
5533
|
-
@StartTime = params['StartTime']
|
5534
|
-
@EndTime = params['EndTime']
|
5535
|
-
@ZoneIds = params['ZoneIds']
|
5536
|
-
@Domains = params['Domains']
|
5537
|
-
@Limit = params['Limit']
|
5538
|
-
@Offset = params['Offset']
|
5539
|
-
unless params['QueryCondition'].nil?
|
5540
|
-
@QueryCondition = []
|
5541
|
-
params['QueryCondition'].each do |i|
|
5542
|
-
querycondition_tmp = QueryCondition.new
|
5543
|
-
querycondition_tmp.deserialize(i)
|
5544
|
-
@QueryCondition << querycondition_tmp
|
5545
|
-
end
|
5546
|
-
end
|
5547
|
-
@Area = params['Area']
|
5548
|
-
end
|
5549
|
-
end
|
5550
|
-
|
5551
|
-
# DescribeWebManagedRulesLog返回参数结构体
|
5552
|
-
class DescribeWebManagedRulesLogResponse < TencentCloud::Common::AbstractModel
|
5553
|
-
# @param Data: Web攻击日志数据列表。
|
5554
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5555
|
-
# @type Data: Array
|
5556
|
-
# @param TotalCount: 查询结果的总条数。
|
5557
|
-
# @type TotalCount: Integer
|
5558
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5559
|
-
# @type RequestId: String
|
5560
|
-
|
5561
|
-
attr_accessor :Data, :TotalCount, :RequestId
|
5562
|
-
|
5563
|
-
def initialize(data=nil, totalcount=nil, requestid=nil)
|
5564
|
-
@Data = data
|
5565
|
-
@TotalCount = totalcount
|
5566
|
-
@RequestId = requestid
|
5567
|
-
end
|
5568
|
-
|
5569
|
-
def deserialize(params)
|
5570
|
-
unless params['Data'].nil?
|
5571
|
-
@Data = []
|
5572
|
-
params['Data'].each do |i|
|
5573
|
-
weblogs_tmp = WebLogs.new
|
5574
|
-
weblogs_tmp.deserialize(i)
|
5575
|
-
@Data << weblogs_tmp
|
5576
|
-
end
|
5577
|
-
end
|
5578
|
-
@TotalCount = params['TotalCount']
|
5579
|
-
@RequestId = params['RequestId']
|
5580
|
-
end
|
5581
|
-
end
|
5582
|
-
|
5583
|
-
# DescribeWebProtectionClientIpList请求参数结构体
|
5584
|
-
class DescribeWebProtectionClientIpListRequest < TencentCloud::Common::AbstractModel
|
5585
|
-
# @param StartTime: 开始时间。
|
5586
|
-
# @type StartTime: String
|
5587
|
-
# @param EndTime: 结束时间。
|
5588
|
-
# @type EndTime: String
|
5589
|
-
# @param ZoneIds: 站点集合,不填默认选择全部站点。
|
5590
|
-
# @type ZoneIds: Array
|
5591
|
-
# @param Domains: 域名集合,不填默认选择全部子域名。
|
5592
|
-
# @type Domains: Array
|
5593
|
-
# @param Interval: 查询的时间粒度,支持的粒度有:
|
5594
|
-
# <li>min:1分钟;</li>
|
5595
|
-
# <li>5min:5分钟;</li>
|
5596
|
-
# <li>hour:1小时;</li>
|
5597
|
-
# <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
|
5598
|
-
# @type Interval: String
|
5599
|
-
# @param QueryCondition: 筛选条件,key可选的值有:
|
5600
|
-
# <li>action:执行动作。</li>
|
5601
|
-
# @type QueryCondition: Array
|
5602
|
-
# @param Limit: 分页查询的限制数目,默认值为20,最大查询条目为1000。
|
5603
|
-
# @type Limit: Integer
|
5604
|
-
# @param Offset: 分页的偏移量,默认值为0。
|
5605
|
-
# @type Offset: Integer
|
5606
|
-
# @param Area: 数据归属地区,取值有:
|
5607
|
-
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
5608
|
-
# <li>mainland:中国大陆地区数据。</li>不填将根据用户所在地智能选择地区。
|
5609
|
-
# @type Area: String
|
5610
|
-
|
5611
|
-
attr_accessor :StartTime, :EndTime, :ZoneIds, :Domains, :Interval, :QueryCondition, :Limit, :Offset, :Area
|
5612
|
-
|
5613
|
-
def initialize(starttime=nil, endtime=nil, zoneids=nil, domains=nil, interval=nil, querycondition=nil, limit=nil, offset=nil, area=nil)
|
5614
|
-
@StartTime = starttime
|
5615
|
-
@EndTime = endtime
|
5616
|
-
@ZoneIds = zoneids
|
5617
|
-
@Domains = domains
|
5618
|
-
@Interval = interval
|
5619
|
-
@QueryCondition = querycondition
|
5620
|
-
@Limit = limit
|
5621
|
-
@Offset = offset
|
5622
|
-
@Area = area
|
5623
|
-
end
|
5624
|
-
|
5625
|
-
def deserialize(params)
|
5626
|
-
@StartTime = params['StartTime']
|
5627
|
-
@EndTime = params['EndTime']
|
5628
|
-
@ZoneIds = params['ZoneIds']
|
5629
|
-
@Domains = params['Domains']
|
5630
|
-
@Interval = params['Interval']
|
5631
|
-
unless params['QueryCondition'].nil?
|
5632
|
-
@QueryCondition = []
|
5633
|
-
params['QueryCondition'].each do |i|
|
5634
|
-
querycondition_tmp = QueryCondition.new
|
5635
|
-
querycondition_tmp.deserialize(i)
|
5636
|
-
@QueryCondition << querycondition_tmp
|
5637
|
-
end
|
5638
|
-
end
|
5639
|
-
@Limit = params['Limit']
|
5640
|
-
@Offset = params['Offset']
|
5641
|
-
@Area = params['Area']
|
5642
|
-
end
|
5643
|
-
end
|
5644
|
-
|
5645
|
-
# DescribeWebProtectionClientIpList返回参数结构体
|
5646
|
-
class DescribeWebProtectionClientIpListResponse < TencentCloud::Common::AbstractModel
|
5647
|
-
# @param Data: CC防护客户端(攻击源)ip信息列表。
|
5648
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5649
|
-
# @type Data: Array
|
5650
|
-
# @param TotalCount: 查询结果的总条数。
|
5651
|
-
# @type TotalCount: Integer
|
5652
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5653
|
-
# @type RequestId: String
|
5654
|
-
|
5655
|
-
attr_accessor :Data, :TotalCount, :RequestId
|
4148
|
+
attr_accessor :TotalCount, :Data, :RequestId
|
5656
4149
|
|
5657
|
-
def initialize(
|
5658
|
-
@Data = data
|
4150
|
+
def initialize(totalcount=nil, data=nil, requestid=nil)
|
5659
4151
|
@TotalCount = totalcount
|
4152
|
+
@Data = data
|
5660
4153
|
@RequestId = requestid
|
5661
4154
|
end
|
5662
4155
|
|
5663
4156
|
def deserialize(params)
|
4157
|
+
@TotalCount = params['TotalCount']
|
5664
4158
|
unless params['Data'].nil?
|
5665
4159
|
@Data = []
|
5666
4160
|
params['Data'].each do |i|
|
5667
|
-
|
5668
|
-
|
5669
|
-
@Data <<
|
4161
|
+
timingdatarecord_tmp = TimingDataRecord.new
|
4162
|
+
timingdatarecord_tmp.deserialize(i)
|
4163
|
+
@Data << timingdatarecord_tmp
|
5670
4164
|
end
|
5671
4165
|
end
|
5672
|
-
@TotalCount = params['TotalCount']
|
5673
4166
|
@RequestId = params['RequestId']
|
5674
4167
|
end
|
5675
4168
|
end
|
5676
4169
|
|
5677
|
-
#
|
5678
|
-
class
|
4170
|
+
# DescribeTimingL7CacheData请求参数结构体
|
4171
|
+
class DescribeTimingL7CacheDataRequest < TencentCloud::Common::AbstractModel
|
5679
4172
|
# @param StartTime: 开始时间。
|
5680
4173
|
# @type StartTime: String
|
5681
4174
|
# @param EndTime: 结束时间。
|
5682
4175
|
# @type EndTime: String
|
5683
|
-
# @param MetricNames:
|
5684
|
-
# <li>
|
5685
|
-
# <li>
|
4176
|
+
# @param MetricNames: 查询的指标,取值有:
|
4177
|
+
# <li>l7Cache_outFlux:响应流量;</li>
|
4178
|
+
# <li>l7Cache_request:响应请求数;</li>
|
4179
|
+
# <li> l7Cache_outBandwidth:响应带宽。</li>
|
5686
4180
|
# @type MetricNames: Array
|
5687
4181
|
# @param ZoneIds: 站点集合,不填默认选择全部站点。
|
5688
4182
|
# @type ZoneIds: Array
|
5689
|
-
# @param
|
5690
|
-
#
|
5691
|
-
#
|
5692
|
-
# <li>
|
5693
|
-
# <li>
|
5694
|
-
# <li>
|
5695
|
-
# <li>
|
4183
|
+
# @param Filters: 过滤条件,详细的过滤条件如下:
|
4184
|
+
# <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。<br> 类型:String<br> 必选:否</li>
|
4185
|
+
# <li>url<br> 按照【<strong>URL</strong>】进行过滤,此参数只支持30天的时间范围,URL形如:/content。<br> 类型:String<br> 必选:否</li>
|
4186
|
+
# <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,此参数只支持30天的时间范围,资源类型形如:jpg,png。<br> 类型:String<br> 必选:否</li>
|
4187
|
+
# <li>cacheType<br> 按照【<strong>缓存类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> hit:命中缓存;<br> dynamic:资源不可缓存;<br> miss:未命中缓存。</li>
|
4188
|
+
# <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤,此参数只支持30天的时间范围。<br> 类型:String<br> 必选:否<br> 可选项:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 100:100状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
|
4189
|
+
# <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
4190
|
+
# <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
4191
|
+
# @type Filters: Array
|
4192
|
+
# @param Interval: 查询时间粒度,可选的值有:
|
4193
|
+
# <li>min:1分钟的时间粒度;</li>
|
4194
|
+
# <li>5min:5分钟的时间粒度;</li>
|
4195
|
+
# <li>hour:1小时的时间粒度;</li>
|
4196
|
+
# <li>day:1天的时间粒度。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
|
5696
4197
|
# @type Interval: String
|
5697
|
-
# @param QueryCondition: 筛选条件,key可选的值有:
|
5698
|
-
# <li>action:执行动作。</li>
|
5699
|
-
# @type QueryCondition: Array
|
5700
4198
|
# @param Area: 数据归属地区,取值有:
|
5701
4199
|
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
5702
|
-
# <li>mainland
|
4200
|
+
# <li>mainland:中国大陆地区数据;</li>
|
4201
|
+
# <li>global:全球数据。</li>不填默认取值为global。
|
5703
4202
|
# @type Area: String
|
5704
4203
|
|
5705
|
-
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :
|
4204
|
+
attr_accessor :StartTime, :EndTime, :MetricNames, :ZoneIds, :Filters, :Interval, :Area
|
5706
4205
|
|
5707
|
-
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil,
|
4206
|
+
def initialize(starttime=nil, endtime=nil, metricnames=nil, zoneids=nil, filters=nil, interval=nil, area=nil)
|
5708
4207
|
@StartTime = starttime
|
5709
4208
|
@EndTime = endtime
|
5710
4209
|
@MetricNames = metricnames
|
5711
4210
|
@ZoneIds = zoneids
|
5712
|
-
@
|
4211
|
+
@Filters = filters
|
5713
4212
|
@Interval = interval
|
5714
|
-
@QueryCondition = querycondition
|
5715
4213
|
@Area = area
|
5716
4214
|
end
|
5717
4215
|
|
@@ -5720,74 +4218,103 @@ module TencentCloud
|
|
5720
4218
|
@EndTime = params['EndTime']
|
5721
4219
|
@MetricNames = params['MetricNames']
|
5722
4220
|
@ZoneIds = params['ZoneIds']
|
5723
|
-
|
5724
|
-
|
5725
|
-
|
5726
|
-
@QueryCondition = []
|
5727
|
-
params['QueryCondition'].each do |i|
|
4221
|
+
unless params['Filters'].nil?
|
4222
|
+
@Filters = []
|
4223
|
+
params['Filters'].each do |i|
|
5728
4224
|
querycondition_tmp = QueryCondition.new
|
5729
4225
|
querycondition_tmp.deserialize(i)
|
5730
|
-
@
|
4226
|
+
@Filters << querycondition_tmp
|
5731
4227
|
end
|
5732
4228
|
end
|
4229
|
+
@Interval = params['Interval']
|
5733
4230
|
@Area = params['Area']
|
5734
4231
|
end
|
5735
4232
|
end
|
5736
4233
|
|
5737
|
-
#
|
5738
|
-
class
|
5739
|
-
# @param Data: CC防护时序数据列表。
|
5740
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5741
|
-
# @type Data: Array
|
4234
|
+
# DescribeTimingL7CacheData返回参数结构体
|
4235
|
+
class DescribeTimingL7CacheDataResponse < TencentCloud::Common::AbstractModel
|
5742
4236
|
# @param TotalCount: 查询结果的总条数。
|
5743
4237
|
# @type TotalCount: Integer
|
4238
|
+
# @param Data: 七层缓存分析时序类流量数据列表。
|
4239
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4240
|
+
# @type Data: Array
|
5744
4241
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5745
4242
|
# @type RequestId: String
|
5746
4243
|
|
5747
|
-
attr_accessor :
|
4244
|
+
attr_accessor :TotalCount, :Data, :RequestId
|
5748
4245
|
|
5749
|
-
def initialize(
|
5750
|
-
@Data = data
|
4246
|
+
def initialize(totalcount=nil, data=nil, requestid=nil)
|
5751
4247
|
@TotalCount = totalcount
|
4248
|
+
@Data = data
|
5752
4249
|
@RequestId = requestid
|
5753
4250
|
end
|
5754
4251
|
|
5755
4252
|
def deserialize(params)
|
4253
|
+
@TotalCount = params['TotalCount']
|
5756
4254
|
unless params['Data'].nil?
|
5757
4255
|
@Data = []
|
5758
4256
|
params['Data'].each do |i|
|
5759
|
-
|
5760
|
-
|
5761
|
-
@Data <<
|
4257
|
+
timingdatarecord_tmp = TimingDataRecord.new
|
4258
|
+
timingdatarecord_tmp.deserialize(i)
|
4259
|
+
@Data << timingdatarecord_tmp
|
5762
4260
|
end
|
5763
4261
|
end
|
5764
|
-
@TotalCount = params['TotalCount']
|
5765
4262
|
@RequestId = params['RequestId']
|
5766
4263
|
end
|
5767
4264
|
end
|
5768
4265
|
|
5769
|
-
#
|
5770
|
-
class
|
4266
|
+
# DescribeTopL7AnalysisData请求参数结构体
|
4267
|
+
class DescribeTopL7AnalysisDataRequest < TencentCloud::Common::AbstractModel
|
5771
4268
|
# @param StartTime: 开始时间。
|
5772
4269
|
# @type StartTime: String
|
5773
4270
|
# @param EndTime: 结束时间。
|
5774
4271
|
# @type EndTime: String
|
5775
|
-
# @param
|
5776
|
-
# <li>
|
5777
|
-
# <li>
|
5778
|
-
#
|
5779
|
-
#
|
4272
|
+
# @param MetricName: 查询的指标,取值有:
|
4273
|
+
# <li> l7Flow_outFlux_country:按国家/地区维度统计流量指标;</li>
|
4274
|
+
# <li> l7Flow_outFlux_statusCode:按状态码维度统计流量指标;</li>
|
4275
|
+
# <li> l7Flow_outFlux_domain:按域名维度统计流量指标;</li>
|
4276
|
+
# <li> l7Flow_outFlux_url:按URL维度统计流量指标; </li>
|
4277
|
+
# <li> l7Flow_outFlux_resourceType:按资源类型维度统计流量指标;</li>
|
4278
|
+
# <li> l7Flow_outFlux_sip:按客户端的源IP维度统计流量指标;</li>
|
4279
|
+
# <li> l7Flow_outFlux_referers:按refer信息维度统计流量指标;</li>
|
4280
|
+
# <li> l7Flow_outFlux_ua_device:按设备类型维度统计流量指标; </li>
|
4281
|
+
# <li> l7Flow_outFlux_ua_browser:按浏览器类型维度统计流量指标;</li>
|
4282
|
+
# <li> l7Flow_outFlux_us_os:按操作系统类型维度统计流量指标;</li>
|
4283
|
+
# <li> l7Flow_request_country:按国家/地区维度统计请求数指标;</li>
|
4284
|
+
# <li> l7Flow_request_statusCode:按状态码维度统计请求数指标;</li>
|
4285
|
+
# <li> l7Flow_request_domain:按域名维度统计请求数指标;</li>
|
4286
|
+
# <li> l7Flow_request_url:按URL维度统计请求数指标; </li>
|
4287
|
+
# <li> l7Flow_request_resourceType:按资源类型维度统计请求数指标;</li>
|
4288
|
+
# <li> l7Flow_request_sip:按客户端的源IP维度统计请求数指标;</li>
|
4289
|
+
# <li> l7Flow_request_referer:按refer信息维度统计请求数指标;</li>
|
4290
|
+
# <li> l7Flow_request_ua_device:按设备类型维度统计请求数指标; </li>
|
4291
|
+
# <li> l7Flow_request_ua_browser:按浏览器类型维度统计请求数指标;</li>
|
4292
|
+
# <li> l7Flow_request_us_os:按操作系统类型维度统计请求数指标。</li>
|
4293
|
+
# @type MetricName: String
|
4294
|
+
# @param ZoneIds: 站点集合,此参数必填,不填默认查询为空。
|
5780
4295
|
# @type ZoneIds: Array
|
5781
|
-
# @param
|
5782
|
-
# @type Domains: Array
|
5783
|
-
# @param QueryCondition: 筛选条件,key可选的值有:
|
5784
|
-
# <li>action:执行动作。</li>
|
5785
|
-
# @type QueryCondition: Array
|
5786
|
-
# @param Limit: 分页查询的限制数目,默认值为20,最大查询条目为1000。
|
4296
|
+
# @param Limit: 查询前多少个数据,最大值为1000,不填默认默认为: 10, 表示查询前top10的数据。
|
5787
4297
|
# @type Limit: Integer
|
5788
|
-
# @param
|
5789
|
-
#
|
5790
|
-
#
|
4298
|
+
# @param Filters: 过滤条件,详细的过滤条件Key值如下:
|
4299
|
+
# <li>country<br> 按照【<strong>国家/地区</strong>】进行过滤,国家/地区遵循<a href="https://zh.wikipedia.org/wiki/ISO_3166-1">ISO 3166</a>规范。</li>
|
4300
|
+
# <li>province<br> 按照【<strong>省份</strong>】进行过滤,此参数只支持服务区域为中国大陆。</li>
|
4301
|
+
# <li>isp<br> 按照【<strong>运营商</strong>】进行过滤,此参数只支持服务区域为中国大陆。<br> 对应的Value可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>
|
4302
|
+
# <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。</li>
|
4303
|
+
# <li>url<br> 按照【<strong>URL Path</strong>】进行过滤,URL Path形如:/content或/content/test.jpg。<br> 若只填写url参数,则最多可查询近30天的数据;<br> 若同时填写url+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
|
4304
|
+
# <li>referer<br> 按照【<strong>Referer头信息</strong>】进行过滤, Referer形如:example.com。<br> 若只填写referer参数,则最多可查询近30天的数据;<br> 若同时填写referer+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
|
4305
|
+
# <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,资源类型一般是文件后缀,形如: .jpg, .css。<br> 若只填写resourceType参数,则最多可查询近30天的数据;<br> 若同时填写resourceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。</li>
|
4306
|
+
# <li>protocol<br> 按照【<strong>HTTP协议版本</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP/1.0:HTTP 1.0;<br> HTTP/1.1:HTTP 1.1;<br> HTTP/2.0:HTTP 2.0;<br> HTTP/3.0:HTTP 3.0;<br> WebSocket:WebSocket。</li>
|
4307
|
+
# <li>socket<br> 按照【<strong>HTTP协议类型</strong>】进行过滤。<br> 对应的Value可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS协议;<br> QUIC:QUIC协议。</li>
|
4308
|
+
# <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤。<br> 若只填写statusCode参数,则最多可查询近30天的数据;<br> 若同时填写statusCode+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应的Value可选项如下:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 205:205状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
|
4309
|
+
# <li>browserType<br> 按照【<strong>浏览器类型</strong>】进行过滤。<br> 若只填写browserType参数,则最多可查询近30天的数据;<br> 若同时填写browserType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Firefox:Firefox浏览器;<br> Chrome:Chrome浏览器;<br> Safari:Safari浏览器;<br> Other:其他浏览器类型;<br> Empty:浏览器类型为空;<br> Bot:搜索引擎爬虫;<br> MicrosoftEdge:MicrosoftEdge浏览器;<br> IE:IE浏览器;<br> Opera:Opera浏览器;<br> QQBrowser:QQ浏览器;<br> LBBrowser:LB浏览器;<br> MaxthonBrowser:Maxthon浏览器;<br> SouGouBrowser:搜狗浏览器;<br> BIDUBrowser:百度浏览器;<br> TaoBrowser:淘浏览器;<br> UBrowser:UC浏览器。</li>
|
4310
|
+
# <li>deviceType<br> 按照【<strong>设备类型</strong>】进行过滤。<br> 若只填写deviceType参数,则最多可查询近30天的数据;<br> 若同时填写deviceType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>
|
4311
|
+
# <li>operatingSystemType<br> 按照【<strong>操作系统类型</strong>】进行过滤。<br> 若只填写operatingSystemType参数,则最多可查询近30天的数据;<br> 若同时填写operatingSystemType+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> Linux:Linux操作系统;<br> MacOS:MacOs操作系统;<br> Android:Android操作系统;<br> IOS:IOS操作系统;<br> Windows:Windows操作系统;<br> NetBSD:NetBSD;<br> ChromiumOS:ChromiumOS;<br> Bot:搜索引擎爬虫;<br> Other:其他类型的操作系统;<br> Empty:操作系统为空。</li>
|
4312
|
+
# <li>tlsVersion<br> 按照【<strong>TLS版本</strong>】进行过滤。<br> 若只填写tlsVersion参数,则最多可查询近30天的数据;<br> 若同时填写tlsVersion+Zonelds参数,则支持的查询数据范围为套餐支持的<a href="https://cloud.tencent.com/document/product/1552/77380#edgeone-.E5.A5.97.E9.A4.90">数据分析最大查询范围</a>与30天两者中的较小值。<br> 对应Value的可选项如下:<br> TLS1.0:TLS 1.0;<br> TLS1.1:TLS 1.1;<br> TLS1.2:TLS 1.2;<br> TLS1.3:TLS 1.3。</li>
|
4313
|
+
# <li>ipVersion<br> 按照【<strong>IP版本</strong>】进行过滤。<br> 对应Value的可选项如下:<br> 4:Ipv4;<br> 6:Ipv6。</li>
|
4314
|
+
# <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。</li>
|
4315
|
+
# <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。</li>
|
4316
|
+
# @type Filters: Array
|
4317
|
+
# @param Interval: 查询时间粒度,取值有:
|
5791
4318
|
# <li>min:1分钟;</li>
|
5792
4319
|
# <li>5min:5分钟;</li>
|
5793
4320
|
# <li>hour:1小时;</li>
|
@@ -5795,20 +4322,19 @@ module TencentCloud
|
|
5795
4322
|
# @type Interval: String
|
5796
4323
|
# @param Area: 数据归属地区,取值有:
|
5797
4324
|
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
5798
|
-
# <li>mainland
|
4325
|
+
# <li>mainland:中国大陆地区数据;</li>
|
4326
|
+
# <li>global:全球数据。</li>不填默认取值为global。
|
5799
4327
|
# @type Area: String
|
5800
4328
|
|
5801
|
-
attr_accessor :StartTime, :EndTime, :
|
4329
|
+
attr_accessor :StartTime, :EndTime, :MetricName, :ZoneIds, :Limit, :Filters, :Interval, :Area
|
5802
4330
|
|
5803
|
-
def initialize(starttime=nil, endtime=nil,
|
4331
|
+
def initialize(starttime=nil, endtime=nil, metricname=nil, zoneids=nil, limit=nil, filters=nil, interval=nil, area=nil)
|
5804
4332
|
@StartTime = starttime
|
5805
4333
|
@EndTime = endtime
|
5806
|
-
@
|
4334
|
+
@MetricName = metricname
|
5807
4335
|
@ZoneIds = zoneids
|
5808
|
-
@Domains = domains
|
5809
|
-
@QueryCondition = querycondition
|
5810
4336
|
@Limit = limit
|
5811
|
-
@
|
4337
|
+
@Filters = filters
|
5812
4338
|
@Interval = interval
|
5813
4339
|
@Area = area
|
5814
4340
|
end
|
@@ -5816,100 +4342,101 @@ module TencentCloud
|
|
5816
4342
|
def deserialize(params)
|
5817
4343
|
@StartTime = params['StartTime']
|
5818
4344
|
@EndTime = params['EndTime']
|
5819
|
-
@
|
4345
|
+
@MetricName = params['MetricName']
|
5820
4346
|
@ZoneIds = params['ZoneIds']
|
5821
|
-
@
|
5822
|
-
unless params['
|
5823
|
-
@
|
5824
|
-
params['
|
4347
|
+
@Limit = params['Limit']
|
4348
|
+
unless params['Filters'].nil?
|
4349
|
+
@Filters = []
|
4350
|
+
params['Filters'].each do |i|
|
5825
4351
|
querycondition_tmp = QueryCondition.new
|
5826
4352
|
querycondition_tmp.deserialize(i)
|
5827
|
-
@
|
4353
|
+
@Filters << querycondition_tmp
|
5828
4354
|
end
|
5829
4355
|
end
|
5830
|
-
@Limit = params['Limit']
|
5831
|
-
@Offset = params['Offset']
|
5832
4356
|
@Interval = params['Interval']
|
5833
4357
|
@Area = params['Area']
|
5834
4358
|
end
|
5835
4359
|
end
|
5836
4360
|
|
5837
|
-
#
|
5838
|
-
class
|
5839
|
-
# @param Data: cc防护命中规则列表。
|
5840
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5841
|
-
# @type Data: Array
|
4361
|
+
# DescribeTopL7AnalysisData返回参数结构体
|
4362
|
+
class DescribeTopL7AnalysisDataResponse < TencentCloud::Common::AbstractModel
|
5842
4363
|
# @param TotalCount: 查询结果的总条数。
|
5843
4364
|
# @type TotalCount: Integer
|
4365
|
+
# @param Data: 七层流量前topN数据列表。
|
4366
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4367
|
+
# @type Data: Array
|
5844
4368
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5845
4369
|
# @type RequestId: String
|
5846
4370
|
|
5847
|
-
attr_accessor :
|
4371
|
+
attr_accessor :TotalCount, :Data, :RequestId
|
5848
4372
|
|
5849
|
-
def initialize(
|
5850
|
-
@Data = data
|
4373
|
+
def initialize(totalcount=nil, data=nil, requestid=nil)
|
5851
4374
|
@TotalCount = totalcount
|
4375
|
+
@Data = data
|
5852
4376
|
@RequestId = requestid
|
5853
4377
|
end
|
5854
4378
|
|
5855
4379
|
def deserialize(params)
|
4380
|
+
@TotalCount = params['TotalCount']
|
5856
4381
|
unless params['Data'].nil?
|
5857
4382
|
@Data = []
|
5858
4383
|
params['Data'].each do |i|
|
5859
|
-
|
5860
|
-
|
5861
|
-
@Data <<
|
4384
|
+
topdatarecord_tmp = TopDataRecord.new
|
4385
|
+
topdatarecord_tmp.deserialize(i)
|
4386
|
+
@Data << topdatarecord_tmp
|
5862
4387
|
end
|
5863
4388
|
end
|
5864
|
-
@TotalCount = params['TotalCount']
|
5865
4389
|
@RequestId = params['RequestId']
|
5866
4390
|
end
|
5867
4391
|
end
|
5868
4392
|
|
5869
|
-
#
|
5870
|
-
class
|
4393
|
+
# DescribeTopL7CacheData请求参数结构体
|
4394
|
+
class DescribeTopL7CacheDataRequest < TencentCloud::Common::AbstractModel
|
5871
4395
|
# @param StartTime: 开始时间。
|
5872
4396
|
# @type StartTime: String
|
5873
4397
|
# @param EndTime: 结束时间。
|
5874
4398
|
# @type EndTime: String
|
5875
|
-
# @param MetricName:
|
5876
|
-
# <li>
|
5877
|
-
# <li>
|
5878
|
-
# <li>
|
5879
|
-
# <li>
|
5880
|
-
# <li>ccAcl_cipRequestNum_region:自定义规则请求次数客户端区域分布排行。</li>
|
4399
|
+
# @param MetricName: 查询的指标,取值有:
|
4400
|
+
# <li> l7Cache_outFlux_domain:host/域名;</li>
|
4401
|
+
# <li> l7Cache_outFlux_url:url地址;</li>
|
4402
|
+
# <li> l7Cache_outFlux_resourceType:资源类型;</li>
|
4403
|
+
# <li> l7Cache_outFlux_statusCode:状态码。</li>
|
5881
4404
|
# @type MetricName: String
|
5882
|
-
# @param
|
5883
|
-
# <li>min:1分钟;</li>
|
5884
|
-
# <li>5min:5分钟;</li>
|
5885
|
-
# <li>hour:1小时;</li>
|
5886
|
-
# <li>day:1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
|
5887
|
-
# @type Interval: String
|
5888
|
-
# @param ZoneIds: 站点集合,不填默认选择全部站点。
|
4405
|
+
# @param ZoneIds: 站点id集合,不填默认选择全部站点。
|
5889
4406
|
# @type ZoneIds: Array
|
5890
|
-
# @param
|
5891
|
-
# @type Domains: Array
|
5892
|
-
# @param Limit: 查询前多少个数据,不填默认默认为10, 表示查询前top 10的数据。
|
4407
|
+
# @param Limit: 查询前多少个数据,最大值为1000,不填默认默认为10, 表示查询前top 10的数据。
|
5893
4408
|
# @type Limit: Integer
|
5894
|
-
# @param
|
5895
|
-
# <li>
|
5896
|
-
#
|
4409
|
+
# @param Filters: 过滤条件,详细的过滤条件如下:
|
4410
|
+
# <li>domain<br> 按照【<strong>子域名</strong>】进行过滤,子域名形如: test.example.com。<br> 类型:String<br> 必选:否</li>
|
4411
|
+
# <li>url<br> 按照【<strong>URL</strong>】进行过滤,此参数只支持30天的时间范围,URL形如:/content。<br> 类型:String<br> 必选:否</li>
|
4412
|
+
# <li>resourceType<br> 按照【<strong>资源类型</strong>】进行过滤,此参数只支持30天的时间范围,资源类型形如:jpg,png。<br> 类型:String<br> 必选:否</li>
|
4413
|
+
# <li>cacheType<br> 按照【<strong>缓存类型</strong>】进行过滤。<br> 类型:String<br> 必选:否<br> 可选项:<br> hit:命中缓存;<br> dynamic:资源不可缓存;<br> miss:未命中缓存。</li>
|
4414
|
+
# <li>statusCode<br> 按照【<strong>状态码</strong>】进行过滤,此参数只支持30天的时间范围。<br> 类型:String<br> 必选:否<br> 可选项:<br> 1XX:1xx类型的状态码;<br> 100:100状态码;<br> 101:101状态码;<br> 102:102状态码;<br> 2XX:2xx类型的状态码;<br> 200:200状态码;<br> 201:201状态码;<br> 202:202状态码;<br> 203:203状态码;<br> 204:204状态码;<br> 100:100状态码;<br> 206:206状态码;<br> 207:207状态码;<br> 3XX:3xx类型的状态码;<br> 300:300状态码;<br> 301:301状态码;<br> 302:302状态码;<br> 303:303状态码;<br> 304:304状态码;<br> 305:305状态码;<br> 307:307状态码;<br> 4XX:4xx类型的状态码;<br> 400:400状态码;<br> 401:401状态码;<br> 402:402状态码;<br> 403:403状态码;<br> 404:404状态码;<br> 405:405状态码;<br> 406:406状态码;<br> 407:407状态码;<br> 408:408状态码;<br> 409:409状态码;<br> 410:410状态码;<br> 411:411状态码;<br> 412:412状态码;<br> 412:413状态码;<br> 414:414状态码;<br> 415:415状态码;<br> 416:416状态码;<br> 417:417状态码;<br> 422:422状态码;<br> 423:423状态码;<br> 424:424状态码;<br> 426:426状态码;<br> 451:451状态码;<br> 5XX:5xx类型的状态码;<br> 500:500状态码;<br> 501:501状态码;<br> 502:502状态码;<br> 503:503状态码;<br> 504:504状态码;<br> 505:505状态码;<br> 506:506状态码;<br> 507:507状态码;<br> 510:510状态码;<br> 514:514状态码;<br> 544:544状态码。</li>
|
4415
|
+
# <li>tagKey<br> 按照【<strong>标签Key</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
4416
|
+
# <li>tagValue<br> 按照【<strong>标签Value</strong>】进行过滤。<br> 类型:String<br> 必选:否</li>
|
4417
|
+
# @type Filters: Array
|
4418
|
+
# @param Interval: 查询时间粒度,取值有:
|
4419
|
+
# <li>min: 1分钟;</li>
|
4420
|
+
# <li>5min: 5分钟;</li>
|
4421
|
+
# <li>hour: 1小时;</li>
|
4422
|
+
# <li>day: 1天。</li>不填将根据开始时间跟结束时间的间距自动推算粒度,具体为:一小时范围内以min粒度查询,两天范围内以5min粒度查询,七天范围内以hour粒度查询,超过七天以day粒度查询。
|
4423
|
+
# @type Interval: String
|
5897
4424
|
# @param Area: 数据归属地区,取值有:
|
5898
4425
|
# <li>overseas:全球(除中国大陆地区)数据;</li>
|
5899
|
-
# <li>mainland
|
4426
|
+
# <li>mainland:中国大陆地区数据;</li>
|
4427
|
+
# <li>global:全球数据。</li>不填默认取值为global。
|
5900
4428
|
# @type Area: String
|
5901
4429
|
|
5902
|
-
attr_accessor :StartTime, :EndTime, :MetricName, :
|
4430
|
+
attr_accessor :StartTime, :EndTime, :MetricName, :ZoneIds, :Limit, :Filters, :Interval, :Area
|
5903
4431
|
|
5904
|
-
def initialize(starttime=nil, endtime=nil, metricname=nil,
|
4432
|
+
def initialize(starttime=nil, endtime=nil, metricname=nil, zoneids=nil, limit=nil, filters=nil, interval=nil, area=nil)
|
5905
4433
|
@StartTime = starttime
|
5906
4434
|
@EndTime = endtime
|
5907
4435
|
@MetricName = metricname
|
5908
|
-
@Interval = interval
|
5909
4436
|
@ZoneIds = zoneids
|
5910
|
-
@Domains = domains
|
5911
4437
|
@Limit = limit
|
5912
|
-
@
|
4438
|
+
@Filters = filters
|
4439
|
+
@Interval = interval
|
5913
4440
|
@Area = area
|
5914
4441
|
end
|
5915
4442
|
|
@@ -5917,50 +4444,49 @@ module TencentCloud
|
|
5917
4444
|
@StartTime = params['StartTime']
|
5918
4445
|
@EndTime = params['EndTime']
|
5919
4446
|
@MetricName = params['MetricName']
|
5920
|
-
@Interval = params['Interval']
|
5921
4447
|
@ZoneIds = params['ZoneIds']
|
5922
|
-
@Domains = params['Domains']
|
5923
4448
|
@Limit = params['Limit']
|
5924
|
-
unless params['
|
5925
|
-
@
|
5926
|
-
params['
|
4449
|
+
unless params['Filters'].nil?
|
4450
|
+
@Filters = []
|
4451
|
+
params['Filters'].each do |i|
|
5927
4452
|
querycondition_tmp = QueryCondition.new
|
5928
4453
|
querycondition_tmp.deserialize(i)
|
5929
|
-
@
|
4454
|
+
@Filters << querycondition_tmp
|
5930
4455
|
end
|
5931
4456
|
end
|
4457
|
+
@Interval = params['Interval']
|
5932
4458
|
@Area = params['Area']
|
5933
4459
|
end
|
5934
4460
|
end
|
5935
4461
|
|
5936
|
-
#
|
5937
|
-
class
|
5938
|
-
# @param Data: CC防护的TopN数据列表。
|
5939
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
5940
|
-
# @type Data: Array
|
4462
|
+
# DescribeTopL7CacheData返回参数结构体
|
4463
|
+
class DescribeTopL7CacheDataResponse < TencentCloud::Common::AbstractModel
|
5941
4464
|
# @param TotalCount: 查询结果的总条数。
|
5942
4465
|
# @type TotalCount: Integer
|
4466
|
+
# @param Data: 七层缓存TopN流量数据列表。
|
4467
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
4468
|
+
# @type Data: Array
|
5943
4469
|
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
5944
4470
|
# @type RequestId: String
|
5945
4471
|
|
5946
|
-
attr_accessor :
|
4472
|
+
attr_accessor :TotalCount, :Data, :RequestId
|
5947
4473
|
|
5948
|
-
def initialize(
|
5949
|
-
@Data = data
|
4474
|
+
def initialize(totalcount=nil, data=nil, requestid=nil)
|
5950
4475
|
@TotalCount = totalcount
|
4476
|
+
@Data = data
|
5951
4477
|
@RequestId = requestid
|
5952
4478
|
end
|
5953
4479
|
|
5954
4480
|
def deserialize(params)
|
4481
|
+
@TotalCount = params['TotalCount']
|
5955
4482
|
unless params['Data'].nil?
|
5956
4483
|
@Data = []
|
5957
4484
|
params['Data'].each do |i|
|
5958
|
-
|
5959
|
-
|
5960
|
-
@Data <<
|
4485
|
+
topdatarecord_tmp = TopDataRecord.new
|
4486
|
+
topdatarecord_tmp.deserialize(i)
|
4487
|
+
@Data << topdatarecord_tmp
|
5961
4488
|
end
|
5962
4489
|
end
|
5963
|
-
@TotalCount = params['TotalCount']
|
5964
4490
|
@RequestId = params['RequestId']
|
5965
4491
|
end
|
5966
4492
|
end
|
@@ -6286,46 +4812,6 @@ module TencentCloud
|
|
6286
4812
|
end
|
6287
4813
|
end
|
6288
4814
|
|
6289
|
-
# 拨测分地域统计数据
|
6290
|
-
class DistrictStatistics < TencentCloud::Common::AbstractModel
|
6291
|
-
# @param Alpha2: ISO 3166-2 国家/地区简写,详情请参考[ISO 3166-2](https://zh.m.wikipedia.org/zh-hans/ISO_3166-2)。
|
6292
|
-
# @type Alpha2: String
|
6293
|
-
# @param LoadTime: 整体拨测用时,单位ms。
|
6294
|
-
# @type LoadTime: Integer
|
6295
|
-
|
6296
|
-
attr_accessor :Alpha2, :LoadTime
|
6297
|
-
|
6298
|
-
def initialize(alpha2=nil, loadtime=nil)
|
6299
|
-
@Alpha2 = alpha2
|
6300
|
-
@LoadTime = loadtime
|
6301
|
-
end
|
6302
|
-
|
6303
|
-
def deserialize(params)
|
6304
|
-
@Alpha2 = params['Alpha2']
|
6305
|
-
@LoadTime = params['LoadTime']
|
6306
|
-
end
|
6307
|
-
end
|
6308
|
-
|
6309
|
-
# Dns统计曲线数据项
|
6310
|
-
class DnsData < TencentCloud::Common::AbstractModel
|
6311
|
-
# @param Time: 时间。
|
6312
|
-
# @type Time: String
|
6313
|
-
# @param Value: 数值。
|
6314
|
-
# @type Value: Integer
|
6315
|
-
|
6316
|
-
attr_accessor :Time, :Value
|
6317
|
-
|
6318
|
-
def initialize(time=nil, value=nil)
|
6319
|
-
@Time = time
|
6320
|
-
@Value = value
|
6321
|
-
end
|
6322
|
-
|
6323
|
-
def deserialize(params)
|
6324
|
-
@Time = params['Time']
|
6325
|
-
@Value = params['Value']
|
6326
|
-
end
|
6327
|
-
end
|
6328
|
-
|
6329
4815
|
# DownloadL4Logs请求参数结构体
|
6330
4816
|
class DownloadL4LogsRequest < TencentCloud::Common::AbstractModel
|
6331
4817
|
# @param StartTime: 开始时间。
|
@@ -7413,37 +5899,7 @@ module TencentCloud
|
|
7413
5899
|
@Size = params['Size']
|
7414
5900
|
@Url = params['Url']
|
7415
5901
|
@LogPacketName = params['LogPacketName']
|
7416
|
-
@Area = params['Area']
|
7417
|
-
end
|
7418
|
-
end
|
7419
|
-
|
7420
|
-
# 日志集基本信息
|
7421
|
-
class LogSetInfo < TencentCloud::Common::AbstractModel
|
7422
|
-
# @param LogSetRegion: 日志集所属地区。
|
7423
|
-
# @type LogSetRegion: String
|
7424
|
-
# @param LogSetName: 日志集名
|
7425
|
-
# @type LogSetName: String
|
7426
|
-
# @param LogSetId: 日志集Id
|
7427
|
-
# @type LogSetId: String
|
7428
|
-
# @param Deleted: 该日志集是否已被删除, 可选的值有:
|
7429
|
-
# <li>no: 日志集没有被删除;</li>
|
7430
|
-
# <li>yes: 日志集已经被删除;</li>
|
7431
|
-
# @type Deleted: String
|
7432
|
-
|
7433
|
-
attr_accessor :LogSetRegion, :LogSetName, :LogSetId, :Deleted
|
7434
|
-
|
7435
|
-
def initialize(logsetregion=nil, logsetname=nil, logsetid=nil, deleted=nil)
|
7436
|
-
@LogSetRegion = logsetregion
|
7437
|
-
@LogSetName = logsetname
|
7438
|
-
@LogSetId = logsetid
|
7439
|
-
@Deleted = deleted
|
7440
|
-
end
|
7441
|
-
|
7442
|
-
def deserialize(params)
|
7443
|
-
@LogSetRegion = params['LogSetRegion']
|
7444
|
-
@LogSetName = params['LogSetName']
|
7445
|
-
@LogSetId = params['LogSetId']
|
7446
|
-
@Deleted = params['Deleted']
|
5902
|
+
@Area = params['Area']
|
7447
5903
|
end
|
7448
5904
|
end
|
7449
5905
|
|
@@ -7756,14 +6212,16 @@ module TencentCloud
|
|
7756
6212
|
# <li>true:开启;</li>
|
7757
6213
|
# <li>false:关闭。</li>不填为false。
|
7758
6214
|
# @type SessionPersist: Boolean
|
6215
|
+
# @param SessionPersistTime: 会话保持的时间,只有当SessionPersist为true时,该值才会生效。
|
6216
|
+
# @type SessionPersistTime: Integer
|
7759
6217
|
# @param OriginPort: 源站端口,支持格式:
|
7760
6218
|
# <li>单端口:80;</li>
|
7761
6219
|
# <li>端口段:81-90,81至90端口。</li>
|
7762
6220
|
# @type OriginPort: String
|
7763
6221
|
|
7764
|
-
attr_accessor :ZoneId, :ProxyId, :RuleId, :OriginType, :Port, :Proto, :OriginValue, :ForwardClientIp, :SessionPersist, :OriginPort
|
6222
|
+
attr_accessor :ZoneId, :ProxyId, :RuleId, :OriginType, :Port, :Proto, :OriginValue, :ForwardClientIp, :SessionPersist, :SessionPersistTime, :OriginPort
|
7765
6223
|
|
7766
|
-
def initialize(zoneid=nil, proxyid=nil, ruleid=nil, origintype=nil, port=nil, proto=nil, originvalue=nil, forwardclientip=nil, sessionpersist=nil, originport=nil)
|
6224
|
+
def initialize(zoneid=nil, proxyid=nil, ruleid=nil, origintype=nil, port=nil, proto=nil, originvalue=nil, forwardclientip=nil, sessionpersist=nil, sessionpersisttime=nil, originport=nil)
|
7767
6225
|
@ZoneId = zoneid
|
7768
6226
|
@ProxyId = proxyid
|
7769
6227
|
@RuleId = ruleid
|
@@ -7773,6 +6231,7 @@ module TencentCloud
|
|
7773
6231
|
@OriginValue = originvalue
|
7774
6232
|
@ForwardClientIp = forwardclientip
|
7775
6233
|
@SessionPersist = sessionpersist
|
6234
|
+
@SessionPersistTime = sessionpersisttime
|
7776
6235
|
@OriginPort = originport
|
7777
6236
|
end
|
7778
6237
|
|
@@ -7786,6 +6245,7 @@ module TencentCloud
|
|
7786
6245
|
@OriginValue = params['OriginValue']
|
7787
6246
|
@ForwardClientIp = params['ForwardClientIp']
|
7788
6247
|
@SessionPersist = params['SessionPersist']
|
6248
|
+
@SessionPersistTime = params['SessionPersistTime']
|
7789
6249
|
@OriginPort = params['OriginPort']
|
7790
6250
|
end
|
7791
6251
|
end
|
@@ -7894,48 +6354,6 @@ module TencentCloud
|
|
7894
6354
|
end
|
7895
6355
|
end
|
7896
6356
|
|
7897
|
-
# ModifyDefaultCertificate请求参数结构体
|
7898
|
-
class ModifyDefaultCertificateRequest < TencentCloud::Common::AbstractModel
|
7899
|
-
# @param ZoneId: 站点ID。
|
7900
|
-
# @type ZoneId: String
|
7901
|
-
# @param CertId: 默认证书ID。
|
7902
|
-
# @type CertId: String
|
7903
|
-
# @param Status: 证书状态,取值有:
|
7904
|
-
# <li>deployed :部署证书;</li>
|
7905
|
-
# <li>disabled :禁用证书。</li>失败状态下重新deployed即可重试。
|
7906
|
-
# @type Status: String
|
7907
|
-
|
7908
|
-
attr_accessor :ZoneId, :CertId, :Status
|
7909
|
-
|
7910
|
-
def initialize(zoneid=nil, certid=nil, status=nil)
|
7911
|
-
@ZoneId = zoneid
|
7912
|
-
@CertId = certid
|
7913
|
-
@Status = status
|
7914
|
-
end
|
7915
|
-
|
7916
|
-
def deserialize(params)
|
7917
|
-
@ZoneId = params['ZoneId']
|
7918
|
-
@CertId = params['CertId']
|
7919
|
-
@Status = params['Status']
|
7920
|
-
end
|
7921
|
-
end
|
7922
|
-
|
7923
|
-
# ModifyDefaultCertificate返回参数结构体
|
7924
|
-
class ModifyDefaultCertificateResponse < TencentCloud::Common::AbstractModel
|
7925
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
7926
|
-
# @type RequestId: String
|
7927
|
-
|
7928
|
-
attr_accessor :RequestId
|
7929
|
-
|
7930
|
-
def initialize(requestid=nil)
|
7931
|
-
@RequestId = requestid
|
7932
|
-
end
|
7933
|
-
|
7934
|
-
def deserialize(params)
|
7935
|
-
@RequestId = params['RequestId']
|
7936
|
-
end
|
7937
|
-
end
|
7938
|
-
|
7939
6357
|
# ModifyHostsCertificate请求参数结构体
|
7940
6358
|
class ModifyHostsCertificateRequest < TencentCloud::Common::AbstractModel
|
7941
6359
|
# @param ZoneId: 站点 ID。
|
@@ -8059,42 +6477,6 @@ module TencentCloud
|
|
8059
6477
|
end
|
8060
6478
|
end
|
8061
6479
|
|
8062
|
-
# ModifyRulePriority请求参数结构体
|
8063
|
-
class ModifyRulePriorityRequest < TencentCloud::Common::AbstractModel
|
8064
|
-
# @param ZoneId: 站点 ID。
|
8065
|
-
# @type ZoneId: String
|
8066
|
-
# @param RuleIds: 规则 ID 的顺序,多条规则执行顺序依次往下。
|
8067
|
-
# @type RuleIds: Array
|
8068
|
-
|
8069
|
-
attr_accessor :ZoneId, :RuleIds
|
8070
|
-
|
8071
|
-
def initialize(zoneid=nil, ruleids=nil)
|
8072
|
-
@ZoneId = zoneid
|
8073
|
-
@RuleIds = ruleids
|
8074
|
-
end
|
8075
|
-
|
8076
|
-
def deserialize(params)
|
8077
|
-
@ZoneId = params['ZoneId']
|
8078
|
-
@RuleIds = params['RuleIds']
|
8079
|
-
end
|
8080
|
-
end
|
8081
|
-
|
8082
|
-
# ModifyRulePriority返回参数结构体
|
8083
|
-
class ModifyRulePriorityResponse < TencentCloud::Common::AbstractModel
|
8084
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8085
|
-
# @type RequestId: String
|
8086
|
-
|
8087
|
-
attr_accessor :RequestId
|
8088
|
-
|
8089
|
-
def initialize(requestid=nil)
|
8090
|
-
@RequestId = requestid
|
8091
|
-
end
|
8092
|
-
|
8093
|
-
def deserialize(params)
|
8094
|
-
@RequestId = params['RequestId']
|
8095
|
-
end
|
8096
|
-
end
|
8097
|
-
|
8098
6480
|
# ModifyRule请求参数结构体
|
8099
6481
|
class ModifyRuleRequest < TencentCloud::Common::AbstractModel
|
8100
6482
|
# @param ZoneId: 站点 ID。
|
@@ -8253,112 +6635,35 @@ module TencentCloud
|
|
8253
6635
|
end
|
8254
6636
|
end
|
8255
6637
|
|
8256
|
-
# ModifySecurityWafGroupPolicy请求参数结构体
|
8257
|
-
class ModifySecurityWafGroupPolicyRequest < TencentCloud::Common::AbstractModel
|
8258
|
-
# @param ZoneId: 站点Id。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
8259
|
-
# @type ZoneId: String
|
8260
|
-
# @param Entity: 子域名。当使用ZoneId和Entity时可不填写TemplateId,否则必须填写TemplateId。
|
8261
|
-
# @type Entity: String
|
8262
|
-
# @param Switch: 总开关,取值有:
|
8263
|
-
# <li>on:开启;</li>
|
8264
|
-
# <li>off:关闭。</li>不填默认为上次的配置。
|
8265
|
-
# @type Switch: String
|
8266
|
-
# @param Level: 规则等级,取值有:
|
8267
|
-
# <li> loose:宽松;</li>
|
8268
|
-
# <li> normal:正常;</li>
|
8269
|
-
# <li> strict:严格;</li>
|
8270
|
-
# <li> stricter:超严格;</li>
|
8271
|
-
# <li> custom:自定义。</li>不填默认为上次的配置。
|
8272
|
-
# @type Level: String
|
8273
|
-
# @param Mode: 处置方式,取值有:
|
8274
|
-
# <li> block:阻断;</li>
|
8275
|
-
# <li> observe:观察。</li>不填默认为上次的配置。
|
8276
|
-
# @type Mode: String
|
8277
|
-
# @param WafRules: 托管规则。不填默认为上次的配置。
|
8278
|
-
# @type WafRules: :class:`Tencentcloud::Teo.v20220901.models.WafRule`
|
8279
|
-
# @param AiRule: AI引擎模式。不填默认为上次的配置。
|
8280
|
-
# @type AiRule: :class:`Tencentcloud::Teo.v20220901.models.AiRule`
|
8281
|
-
# @param WafGroups: 托管规则等级组。不填默认为上次的配置。
|
8282
|
-
# @type WafGroups: Array
|
8283
|
-
# @param TemplateId: 模板Id。当使用模板Id时可不填ZoneId和Entity,否则必须填写ZoneId和Entity。
|
8284
|
-
# @type TemplateId: String
|
8285
|
-
|
8286
|
-
attr_accessor :ZoneId, :Entity, :Switch, :Level, :Mode, :WafRules, :AiRule, :WafGroups, :TemplateId
|
8287
|
-
|
8288
|
-
def initialize(zoneid=nil, entity=nil, switch=nil, level=nil, mode=nil, wafrules=nil, airule=nil, wafgroups=nil, templateid=nil)
|
8289
|
-
@ZoneId = zoneid
|
8290
|
-
@Entity = entity
|
8291
|
-
@Switch = switch
|
8292
|
-
@Level = level
|
8293
|
-
@Mode = mode
|
8294
|
-
@WafRules = wafrules
|
8295
|
-
@AiRule = airule
|
8296
|
-
@WafGroups = wafgroups
|
8297
|
-
@TemplateId = templateid
|
8298
|
-
end
|
8299
|
-
|
8300
|
-
def deserialize(params)
|
8301
|
-
@ZoneId = params['ZoneId']
|
8302
|
-
@Entity = params['Entity']
|
8303
|
-
@Switch = params['Switch']
|
8304
|
-
@Level = params['Level']
|
8305
|
-
@Mode = params['Mode']
|
8306
|
-
unless params['WafRules'].nil?
|
8307
|
-
@WafRules = WafRule.new
|
8308
|
-
@WafRules.deserialize(params['WafRules'])
|
8309
|
-
end
|
8310
|
-
unless params['AiRule'].nil?
|
8311
|
-
@AiRule = AiRule.new
|
8312
|
-
@AiRule.deserialize(params['AiRule'])
|
8313
|
-
end
|
8314
|
-
unless params['WafGroups'].nil?
|
8315
|
-
@WafGroups = []
|
8316
|
-
params['WafGroups'].each do |i|
|
8317
|
-
wafgroup_tmp = WafGroup.new
|
8318
|
-
wafgroup_tmp.deserialize(i)
|
8319
|
-
@WafGroups << wafgroup_tmp
|
8320
|
-
end
|
8321
|
-
end
|
8322
|
-
@TemplateId = params['TemplateId']
|
8323
|
-
end
|
8324
|
-
end
|
8325
|
-
|
8326
|
-
# ModifySecurityWafGroupPolicy返回参数结构体
|
8327
|
-
class ModifySecurityWafGroupPolicyResponse < TencentCloud::Common::AbstractModel
|
8328
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
8329
|
-
# @type RequestId: String
|
8330
|
-
|
8331
|
-
attr_accessor :RequestId
|
8332
|
-
|
8333
|
-
def initialize(requestid=nil)
|
8334
|
-
@RequestId = requestid
|
8335
|
-
end
|
8336
|
-
|
8337
|
-
def deserialize(params)
|
8338
|
-
@RequestId = params['RequestId']
|
8339
|
-
end
|
8340
|
-
end
|
8341
|
-
|
8342
6638
|
# ModifyZone请求参数结构体
|
8343
6639
|
class ModifyZoneRequest < TencentCloud::Common::AbstractModel
|
8344
6640
|
# @param ZoneId: 站点 ID。
|
8345
6641
|
# @type ZoneId: String
|
8346
6642
|
# @param Type: 站点接入方式,取值有:
|
8347
6643
|
# <li> full:NS 接入;</li>
|
8348
|
-
# <li> partial:CNAME 接入。</li>不填写保持原有配置。
|
6644
|
+
# <li> partial:CNAME 接入,如果站点当前是无域名接入,仅支持切换到CNAME接入。</li>不填写保持原有配置。
|
8349
6645
|
# @type Type: String
|
8350
|
-
# @param VanityNameServers:
|
6646
|
+
# @param VanityNameServers: 自定义站点信息,以替代系统默认分配的名称服务器。不填写保持原有配置。当站点是无域名接入方式时不允许传此参数。
|
8351
6647
|
# @type VanityNameServers: :class:`Tencentcloud::Teo.v20220901.models.VanityNameServers`
|
8352
6648
|
# @param AliasZoneName: 站点别名。数字、英文、-和_组合,限制20个字符。
|
8353
6649
|
# @type AliasZoneName: String
|
6650
|
+
# @param Area: 站点接入地域,取值有:
|
6651
|
+
# <li> global:全球;</li>
|
6652
|
+
# <li> mainland:中国大陆;</li>
|
6653
|
+
# <li> overseas:境外区域。</li>当站点是无域名接入方式时,不允许传此参数。
|
6654
|
+
# @type Area: String
|
6655
|
+
# @param ZoneName: 站点名称。仅当站点由无域名接入方式切换到CNAME接入方式的场景下有效。
|
6656
|
+
# @type ZoneName: String
|
8354
6657
|
|
8355
|
-
attr_accessor :ZoneId, :Type, :VanityNameServers, :AliasZoneName
|
6658
|
+
attr_accessor :ZoneId, :Type, :VanityNameServers, :AliasZoneName, :Area, :ZoneName
|
8356
6659
|
|
8357
|
-
def initialize(zoneid=nil, type=nil, vanitynameservers=nil, aliaszonename=nil)
|
6660
|
+
def initialize(zoneid=nil, type=nil, vanitynameservers=nil, aliaszonename=nil, area=nil, zonename=nil)
|
8358
6661
|
@ZoneId = zoneid
|
8359
6662
|
@Type = type
|
8360
6663
|
@VanityNameServers = vanitynameservers
|
8361
6664
|
@AliasZoneName = aliaszonename
|
6665
|
+
@Area = area
|
6666
|
+
@ZoneName = zonename
|
8362
6667
|
end
|
8363
6668
|
|
8364
6669
|
def deserialize(params)
|
@@ -8369,6 +6674,8 @@ module TencentCloud
|
|
8369
6674
|
@VanityNameServers.deserialize(params['VanityNameServers'])
|
8370
6675
|
end
|
8371
6676
|
@AliasZoneName = params['AliasZoneName']
|
6677
|
+
@Area = params['Area']
|
6678
|
+
@ZoneName = params['ZoneName']
|
8372
6679
|
end
|
8373
6680
|
end
|
8374
6681
|
|
@@ -8449,10 +6756,12 @@ module TencentCloud
|
|
8449
6756
|
# @param ImageOptimize: 图片优化配置。
|
8450
6757
|
# 不填写表示关闭。
|
8451
6758
|
# @type ImageOptimize: :class:`Tencentcloud::Teo.v20220901.models.ImageOptimize`
|
6759
|
+
# @param StandardDebug: 标准 Debug 配置。
|
6760
|
+
# @type StandardDebug: :class:`Tencentcloud::Teo.v20220901.models.StandardDebug`
|
8452
6761
|
|
8453
|
-
attr_accessor :ZoneId, :CacheConfig, :CacheKey, :MaxAge, :OfflineCache, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :Https, :Origin, :SmartRouting, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :ClientIpCountry, :Grpc, :ImageOptimize
|
6762
|
+
attr_accessor :ZoneId, :CacheConfig, :CacheKey, :MaxAge, :OfflineCache, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :Https, :Origin, :SmartRouting, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :ClientIpCountry, :Grpc, :ImageOptimize, :StandardDebug
|
8454
6763
|
|
8455
|
-
def initialize(zoneid=nil, cacheconfig=nil, cachekey=nil, maxage=nil, offlinecache=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, https=nil, origin=nil, smartrouting=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, clientipcountry=nil, grpc=nil, imageoptimize=nil)
|
6764
|
+
def initialize(zoneid=nil, cacheconfig=nil, cachekey=nil, maxage=nil, offlinecache=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, https=nil, origin=nil, smartrouting=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, clientipcountry=nil, grpc=nil, imageoptimize=nil, standarddebug=nil)
|
8456
6765
|
@ZoneId = zoneid
|
8457
6766
|
@CacheConfig = cacheconfig
|
8458
6767
|
@CacheKey = cachekey
|
@@ -8473,6 +6782,7 @@ module TencentCloud
|
|
8473
6782
|
@ClientIpCountry = clientipcountry
|
8474
6783
|
@Grpc = grpc
|
8475
6784
|
@ImageOptimize = imageoptimize
|
6785
|
+
@StandardDebug = standarddebug
|
8476
6786
|
end
|
8477
6787
|
|
8478
6788
|
def deserialize(params)
|
@@ -8553,6 +6863,10 @@ module TencentCloud
|
|
8553
6863
|
@ImageOptimize = ImageOptimize.new
|
8554
6864
|
@ImageOptimize.deserialize(params['ImageOptimize'])
|
8555
6865
|
end
|
6866
|
+
unless params['StandardDebug'].nil?
|
6867
|
+
@StandardDebug = StandardDebug.new
|
6868
|
+
@StandardDebug.deserialize(params['StandardDebug'])
|
6869
|
+
end
|
8556
6870
|
end
|
8557
6871
|
end
|
8558
6872
|
|
@@ -8673,37 +6987,6 @@ module TencentCloud
|
|
8673
6987
|
end
|
8674
6988
|
end
|
8675
6989
|
|
8676
|
-
# 站点拨测优化建议
|
8677
|
-
class OptimizeAction < TencentCloud::Common::AbstractModel
|
8678
|
-
# @param Name: 站点性能优化配置项,取值有:
|
8679
|
-
# <li>Http2;</li>
|
8680
|
-
# <li>Http3;</li>
|
8681
|
-
# <li>Brotli。</li>
|
8682
|
-
# @type Name: String
|
8683
|
-
# @param Connectivity: 网络环境。
|
8684
|
-
# @type Connectivity: String
|
8685
|
-
# @param Value: 开启配置项后,预估性能优化效果,单位ms。
|
8686
|
-
# @type Value: Integer
|
8687
|
-
# @param Ratio: 开启配置项后,预估性能提升比例,单位%。
|
8688
|
-
# @type Ratio: Integer
|
8689
|
-
|
8690
|
-
attr_accessor :Name, :Connectivity, :Value, :Ratio
|
8691
|
-
|
8692
|
-
def initialize(name=nil, connectivity=nil, value=nil, ratio=nil)
|
8693
|
-
@Name = name
|
8694
|
-
@Connectivity = connectivity
|
8695
|
-
@Value = value
|
8696
|
-
@Ratio = ratio
|
8697
|
-
end
|
8698
|
-
|
8699
|
-
def deserialize(params)
|
8700
|
-
@Name = params['Name']
|
8701
|
-
@Connectivity = params['Connectivity']
|
8702
|
-
@Value = params['Value']
|
8703
|
-
@Ratio = params['Ratio']
|
8704
|
-
end
|
8705
|
-
end
|
8706
|
-
|
8707
6990
|
# 源站配置。
|
8708
6991
|
class Origin < TencentCloud::Common::AbstractModel
|
8709
6992
|
# @param Origins: 主源站列表。
|
@@ -8865,6 +7148,7 @@ module TencentCloud
|
|
8865
7148
|
# <li>COS:COS源。</li>
|
8866
7149
|
# <li>ORIGIN_GROUP:源站组类型源站。</li>
|
8867
7150
|
# <li>AWS_S3:AWS S3对象存储源站。</li>
|
7151
|
+
# <li>SPACE:Edgeone源站Space存储,Space存储不允许配置该类型源站。</li>
|
8868
7152
|
# @type OriginType: String
|
8869
7153
|
# @param Origin: 源站地址,当OriginType参数指定为ORIGIN_GROUP时,该参数填写源站组ID,其他情况下填写源站地址。
|
8870
7154
|
# @type Origin: String
|
@@ -9527,74 +7811,6 @@ module TencentCloud
|
|
9527
7811
|
end
|
9528
7812
|
end
|
9529
7813
|
|
9530
|
-
# ReclaimAliasDomain请求参数结构体
|
9531
|
-
class ReclaimAliasDomainRequest < TencentCloud::Common::AbstractModel
|
9532
|
-
# @param ZoneId: 站点 ID。
|
9533
|
-
# @type ZoneId: String
|
9534
|
-
# @param ZoneName: 站点名称。
|
9535
|
-
# @type ZoneName: String
|
9536
|
-
|
9537
|
-
attr_accessor :ZoneId, :ZoneName
|
9538
|
-
|
9539
|
-
def initialize(zoneid=nil, zonename=nil)
|
9540
|
-
@ZoneId = zoneid
|
9541
|
-
@ZoneName = zonename
|
9542
|
-
end
|
9543
|
-
|
9544
|
-
def deserialize(params)
|
9545
|
-
@ZoneId = params['ZoneId']
|
9546
|
-
@ZoneName = params['ZoneName']
|
9547
|
-
end
|
9548
|
-
end
|
9549
|
-
|
9550
|
-
# ReclaimAliasDomain返回参数结构体
|
9551
|
-
class ReclaimAliasDomainResponse < TencentCloud::Common::AbstractModel
|
9552
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9553
|
-
# @type RequestId: String
|
9554
|
-
|
9555
|
-
attr_accessor :RequestId
|
9556
|
-
|
9557
|
-
def initialize(requestid=nil)
|
9558
|
-
@RequestId = requestid
|
9559
|
-
end
|
9560
|
-
|
9561
|
-
def deserialize(params)
|
9562
|
-
@RequestId = params['RequestId']
|
9563
|
-
end
|
9564
|
-
end
|
9565
|
-
|
9566
|
-
# ReclaimZone请求参数结构体
|
9567
|
-
class ReclaimZoneRequest < TencentCloud::Common::AbstractModel
|
9568
|
-
# @param ZoneName: 站点名称。
|
9569
|
-
# @type ZoneName: String
|
9570
|
-
|
9571
|
-
attr_accessor :ZoneName
|
9572
|
-
|
9573
|
-
def initialize(zonename=nil)
|
9574
|
-
@ZoneName = zonename
|
9575
|
-
end
|
9576
|
-
|
9577
|
-
def deserialize(params)
|
9578
|
-
@ZoneName = params['ZoneName']
|
9579
|
-
end
|
9580
|
-
end
|
9581
|
-
|
9582
|
-
# ReclaimZone返回参数结构体
|
9583
|
-
class ReclaimZoneResponse < TencentCloud::Common::AbstractModel
|
9584
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
9585
|
-
# @type RequestId: String
|
9586
|
-
|
9587
|
-
attr_accessor :RequestId
|
9588
|
-
|
9589
|
-
def initialize(requestid=nil)
|
9590
|
-
@RequestId = requestid
|
9591
|
-
end
|
9592
|
-
|
9593
|
-
def deserialize(params)
|
9594
|
-
@RequestId = params['RequestId']
|
9595
|
-
end
|
9596
|
-
end
|
9597
|
-
|
9598
7814
|
# 计费资源
|
9599
7815
|
class Resource < TencentCloud::Common::AbstractModel
|
9600
7816
|
# @param Id: 资源 ID。
|
@@ -9627,10 +7843,19 @@ module TencentCloud
|
|
9627
7843
|
# <li>overseas:海外。</li>
|
9628
7844
|
# <li>global:全球。</li>
|
9629
7845
|
# @type Area: String
|
7846
|
+
# @param Group: 资源类型,取值有:
|
7847
|
+
# <li>plan:套餐类型;</li>
|
7848
|
+
# <li>pay-as-you-go:后付费类型。</li>
|
7849
|
+
# <li>value-added:增值服务类型。</li>
|
7850
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7851
|
+
# @type Group: String
|
7852
|
+
# @param ZoneNumber: 当前资源绑定的站点数量。
|
7853
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
7854
|
+
# @type ZoneNumber: Integer
|
9630
7855
|
|
9631
|
-
attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId, :Area
|
7856
|
+
attr_accessor :Id, :PayMode, :CreateTime, :EnableTime, :ExpireTime, :Status, :Sv, :AutoRenewFlag, :PlanId, :Area, :Group, :ZoneNumber
|
9632
7857
|
|
9633
|
-
def initialize(id=nil, paymode=nil, createtime=nil, enabletime=nil, expiretime=nil, status=nil, sv=nil, autorenewflag=nil, planid=nil, area=nil)
|
7858
|
+
def initialize(id=nil, paymode=nil, createtime=nil, enabletime=nil, expiretime=nil, status=nil, sv=nil, autorenewflag=nil, planid=nil, area=nil, group=nil, zonenumber=nil)
|
9634
7859
|
@Id = id
|
9635
7860
|
@PayMode = paymode
|
9636
7861
|
@CreateTime = createtime
|
@@ -9641,6 +7866,8 @@ module TencentCloud
|
|
9641
7866
|
@AutoRenewFlag = autorenewflag
|
9642
7867
|
@PlanId = planid
|
9643
7868
|
@Area = area
|
7869
|
+
@Group = group
|
7870
|
+
@ZoneNumber = zonenumber
|
9644
7871
|
end
|
9645
7872
|
|
9646
7873
|
def deserialize(params)
|
@@ -9661,6 +7888,8 @@ module TencentCloud
|
|
9661
7888
|
@AutoRenewFlag = params['AutoRenewFlag']
|
9662
7889
|
@PlanId = params['PlanId']
|
9663
7890
|
@Area = params['Area']
|
7891
|
+
@Group = params['Group']
|
7892
|
+
@ZoneNumber = params['ZoneNumber']
|
9664
7893
|
end
|
9665
7894
|
end
|
9666
7895
|
|
@@ -10140,30 +8369,6 @@ module TencentCloud
|
|
10140
8369
|
end
|
10141
8370
|
end
|
10142
8371
|
|
10143
|
-
# 客户端ip信息
|
10144
|
-
class SecClientIp < TencentCloud::Common::AbstractModel
|
10145
|
-
# @param ClientIp: 客户端ip。
|
10146
|
-
# @type ClientIp: String
|
10147
|
-
# @param RequestMaxQps: 最大qps。
|
10148
|
-
# @type RequestMaxQps: Integer
|
10149
|
-
# @param RequestNum: 请求数。
|
10150
|
-
# @type RequestNum: Integer
|
10151
|
-
|
10152
|
-
attr_accessor :ClientIp, :RequestMaxQps, :RequestNum
|
10153
|
-
|
10154
|
-
def initialize(clientip=nil, requestmaxqps=nil, requestnum=nil)
|
10155
|
-
@ClientIp = clientip
|
10156
|
-
@RequestMaxQps = requestmaxqps
|
10157
|
-
@RequestNum = requestnum
|
10158
|
-
end
|
10159
|
-
|
10160
|
-
def deserialize(params)
|
10161
|
-
@ClientIp = params['ClientIp']
|
10162
|
-
@RequestMaxQps = params['RequestMaxQps']
|
10163
|
-
@RequestNum = params['RequestNum']
|
10164
|
-
end
|
10165
|
-
end
|
10166
|
-
|
10167
8372
|
# 安全数据Entry返回值
|
10168
8373
|
class SecEntry < TencentCloud::Common::AbstractModel
|
10169
8374
|
# @param Key: 查询维度值。
|
@@ -10206,176 +8411,27 @@ module TencentCloud
|
|
10206
8411
|
|
10207
8412
|
attr_accessor :Metric, :Detail, :Max, :Avg, :Sum
|
10208
8413
|
|
10209
|
-
def initialize(metric=nil, detail=nil, max=nil, avg=nil, sum=nil)
|
10210
|
-
@Metric = metric
|
10211
|
-
@Detail = detail
|
10212
|
-
@Max = max
|
10213
|
-
@Avg = avg
|
10214
|
-
@Sum = sum
|
10215
|
-
end
|
10216
|
-
|
10217
|
-
def deserialize(params)
|
10218
|
-
@Metric = params['Metric']
|
10219
|
-
unless params['Detail'].nil?
|
10220
|
-
@Detail = []
|
10221
|
-
params['Detail'].each do |i|
|
10222
|
-
timingdataitem_tmp = TimingDataItem.new
|
10223
|
-
timingdataitem_tmp.deserialize(i)
|
10224
|
-
@Detail << timingdataitem_tmp
|
10225
|
-
end
|
10226
|
-
end
|
10227
|
-
@Max = params['Max']
|
10228
|
-
@Avg = params['Avg']
|
10229
|
-
@Sum = params['Sum']
|
10230
|
-
end
|
10231
|
-
end
|
10232
|
-
|
10233
|
-
# 命中规则信息
|
10234
|
-
class SecHitRuleInfo < TencentCloud::Common::AbstractModel
|
10235
|
-
# @param ZoneId: 站点ID。
|
10236
|
-
# @type ZoneId: String
|
10237
|
-
# @param RuleId: 规则ID。
|
10238
|
-
# @type RuleId: Integer
|
10239
|
-
# @param RuleTypeName: 规则类型名称。
|
10240
|
-
# @type RuleTypeName: String
|
10241
|
-
# @param HitTime: 命中时间,采用unix秒级时间戳。
|
10242
|
-
# @type HitTime: Integer
|
10243
|
-
# @param RequestNum: 请求数。
|
10244
|
-
# @type RequestNum: Integer
|
10245
|
-
# @param Description: 规则描述。
|
10246
|
-
# @type Description: String
|
10247
|
-
# @param Domain: 子域名。
|
10248
|
-
# @type Domain: String
|
10249
|
-
# @param Action: 执行动作(处置方式),取值有:
|
10250
|
-
# <li>trans :通过 ;</li>
|
10251
|
-
# <li>alg :算法挑战 ;</li>
|
10252
|
-
# <li>drop :丢弃 ;</li>
|
10253
|
-
# <li>ban :封禁源ip ;</li>
|
10254
|
-
# <li>redirect :重定向 ;</li>
|
10255
|
-
# <li>page :返回指定页面 ;</li>
|
10256
|
-
# <li>monitor :观察 。</li>
|
10257
|
-
# @type Action: String
|
10258
|
-
# @param BotLabel: Bot标签,取值有:
|
10259
|
-
# <li>evil_bot:恶意Bot;</li>
|
10260
|
-
# <li>suspect_bot:疑似Bot;</li>
|
10261
|
-
# <li>good_bot:正常Bot;</li>
|
10262
|
-
# <li>normal:正常请求;</li>
|
10263
|
-
# <li>none:未分类。</li>
|
10264
|
-
# @type BotLabel: String
|
10265
|
-
# @param RuleEnabled: 规则是否启用。
|
10266
|
-
# @type RuleEnabled: Boolean
|
10267
|
-
# @param AlarmEnabled: 规则是否启用监控告警。
|
10268
|
-
# @type AlarmEnabled: Boolean
|
10269
|
-
# @param RuleDeleted: 规则是否存在,取值有:
|
10270
|
-
# <li>true: 规则不存在;</li>
|
10271
|
-
# <li>false: 规则存在。</li>
|
10272
|
-
# @type RuleDeleted: Boolean
|
10273
|
-
|
10274
|
-
attr_accessor :ZoneId, :RuleId, :RuleTypeName, :HitTime, :RequestNum, :Description, :Domain, :Action, :BotLabel, :RuleEnabled, :AlarmEnabled, :RuleDeleted
|
10275
|
-
|
10276
|
-
def initialize(zoneid=nil, ruleid=nil, ruletypename=nil, hittime=nil, requestnum=nil, description=nil, domain=nil, action=nil, botlabel=nil, ruleenabled=nil, alarmenabled=nil, ruledeleted=nil)
|
10277
|
-
@ZoneId = zoneid
|
10278
|
-
@RuleId = ruleid
|
10279
|
-
@RuleTypeName = ruletypename
|
10280
|
-
@HitTime = hittime
|
10281
|
-
@RequestNum = requestnum
|
10282
|
-
@Description = description
|
10283
|
-
@Domain = domain
|
10284
|
-
@Action = action
|
10285
|
-
@BotLabel = botlabel
|
10286
|
-
@RuleEnabled = ruleenabled
|
10287
|
-
@AlarmEnabled = alarmenabled
|
10288
|
-
@RuleDeleted = ruledeleted
|
10289
|
-
end
|
10290
|
-
|
10291
|
-
def deserialize(params)
|
10292
|
-
@ZoneId = params['ZoneId']
|
10293
|
-
@RuleId = params['RuleId']
|
10294
|
-
@RuleTypeName = params['RuleTypeName']
|
10295
|
-
@HitTime = params['HitTime']
|
10296
|
-
@RequestNum = params['RequestNum']
|
10297
|
-
@Description = params['Description']
|
10298
|
-
@Domain = params['Domain']
|
10299
|
-
@Action = params['Action']
|
10300
|
-
@BotLabel = params['BotLabel']
|
10301
|
-
@RuleEnabled = params['RuleEnabled']
|
10302
|
-
@AlarmEnabled = params['AlarmEnabled']
|
10303
|
-
@RuleDeleted = params['RuleDeleted']
|
10304
|
-
end
|
10305
|
-
end
|
10306
|
-
|
10307
|
-
# 安全规则(cc/waf/bot)相关信息
|
10308
|
-
class SecRuleRelatedInfo < TencentCloud::Common::AbstractModel
|
10309
|
-
# @param RuleId: 规则ID。
|
10310
|
-
# @type RuleId: Integer
|
10311
|
-
# @param Action: 执行动作(处置方式),取值有:
|
10312
|
-
# <li>trans :通过 ;</li>
|
10313
|
-
# <li>alg :算法挑战 ;</li>
|
10314
|
-
# <li>drop :丢弃 ;</li>
|
10315
|
-
# <li>ban :封禁源ip ;</li>
|
10316
|
-
# <li>redirect :重定向 ;</li>
|
10317
|
-
# <li>page :返回指定页面 ;</li>
|
10318
|
-
# <li>monitor :观察 。</li>
|
10319
|
-
# @type Action: String
|
10320
|
-
# @param RiskLevel: 风险等级(waf日志中独有),取值有:
|
10321
|
-
# <li>high risk :高危 ;</li>
|
10322
|
-
# <li>middle risk :中危 ;</li>
|
10323
|
-
# <li>low risk :低危 ;</li>
|
10324
|
-
# <li>unkonw :未知 。</li>
|
10325
|
-
# @type RiskLevel: String
|
10326
|
-
# @param RuleLevel: 规则等级,取值有:
|
10327
|
-
# <li>normal :正常 。</li>
|
10328
|
-
# @type RuleLevel: String
|
10329
|
-
# @param Description: 规则描述。
|
10330
|
-
# @type Description: String
|
10331
|
-
# @param RuleTypeName: 规则类型名称。
|
10332
|
-
# @type RuleTypeName: String
|
10333
|
-
# @param AttackContent: 攻击内容。
|
10334
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10335
|
-
# @type AttackContent: String
|
10336
|
-
# @param RuleType: 规则类型,取值有:
|
10337
|
-
# <li>waf: 托管规则;</li>
|
10338
|
-
# <li>acl:自定义规则;</li>
|
10339
|
-
# <li>rate:速率限制规则;</li>
|
10340
|
-
# <li>bot:bot防护规则。</li>
|
10341
|
-
# @type RuleType: String
|
10342
|
-
# @param RuleEnabled: 规则是否开启。
|
10343
|
-
# @type RuleEnabled: Boolean
|
10344
|
-
# @param RuleDeleted: 规则是否存在,取值有:
|
10345
|
-
# <li>true: 规则不存在;</li>
|
10346
|
-
# <li>false: 规则存在。</li>
|
10347
|
-
# @type RuleDeleted: Boolean
|
10348
|
-
# @param AlarmEnabled: 规则是否启用监控告警。
|
10349
|
-
# @type AlarmEnabled: Boolean
|
10350
|
-
|
10351
|
-
attr_accessor :RuleId, :Action, :RiskLevel, :RuleLevel, :Description, :RuleTypeName, :AttackContent, :RuleType, :RuleEnabled, :RuleDeleted, :AlarmEnabled
|
10352
|
-
|
10353
|
-
def initialize(ruleid=nil, action=nil, risklevel=nil, rulelevel=nil, description=nil, ruletypename=nil, attackcontent=nil, ruletype=nil, ruleenabled=nil, ruledeleted=nil, alarmenabled=nil)
|
10354
|
-
@RuleId = ruleid
|
10355
|
-
@Action = action
|
10356
|
-
@RiskLevel = risklevel
|
10357
|
-
@RuleLevel = rulelevel
|
10358
|
-
@Description = description
|
10359
|
-
@RuleTypeName = ruletypename
|
10360
|
-
@AttackContent = attackcontent
|
10361
|
-
@RuleType = ruletype
|
10362
|
-
@RuleEnabled = ruleenabled
|
10363
|
-
@RuleDeleted = ruledeleted
|
10364
|
-
@AlarmEnabled = alarmenabled
|
8414
|
+
def initialize(metric=nil, detail=nil, max=nil, avg=nil, sum=nil)
|
8415
|
+
@Metric = metric
|
8416
|
+
@Detail = detail
|
8417
|
+
@Max = max
|
8418
|
+
@Avg = avg
|
8419
|
+
@Sum = sum
|
10365
8420
|
end
|
10366
8421
|
|
10367
8422
|
def deserialize(params)
|
10368
|
-
@
|
10369
|
-
|
10370
|
-
|
10371
|
-
|
10372
|
-
|
10373
|
-
|
10374
|
-
|
10375
|
-
|
10376
|
-
|
10377
|
-
@
|
10378
|
-
@
|
8423
|
+
@Metric = params['Metric']
|
8424
|
+
unless params['Detail'].nil?
|
8425
|
+
@Detail = []
|
8426
|
+
params['Detail'].each do |i|
|
8427
|
+
timingdataitem_tmp = TimingDataItem.new
|
8428
|
+
timingdataitem_tmp.deserialize(i)
|
8429
|
+
@Detail << timingdataitem_tmp
|
8430
|
+
end
|
8431
|
+
end
|
8432
|
+
@Max = params['Max']
|
8433
|
+
@Avg = params['Avg']
|
8434
|
+
@Sum = params['Sum']
|
10379
8435
|
end
|
10380
8436
|
end
|
10381
8437
|
|
@@ -10539,53 +8595,6 @@ module TencentCloud
|
|
10539
8595
|
end
|
10540
8596
|
end
|
10541
8597
|
|
10542
|
-
# 单值类数据记录
|
10543
|
-
class SingleDataRecord < TencentCloud::Common::AbstractModel
|
10544
|
-
# @param TypeKey: 查询维度值。
|
10545
|
-
# @type TypeKey: String
|
10546
|
-
# @param TypeValue: 查询维度下具体指标值。
|
10547
|
-
# @type TypeValue: Array
|
10548
|
-
|
10549
|
-
attr_accessor :TypeKey, :TypeValue
|
10550
|
-
|
10551
|
-
def initialize(typekey=nil, typevalue=nil)
|
10552
|
-
@TypeKey = typekey
|
10553
|
-
@TypeValue = typevalue
|
10554
|
-
end
|
10555
|
-
|
10556
|
-
def deserialize(params)
|
10557
|
-
@TypeKey = params['TypeKey']
|
10558
|
-
unless params['TypeValue'].nil?
|
10559
|
-
@TypeValue = []
|
10560
|
-
params['TypeValue'].each do |i|
|
10561
|
-
singletypevalue_tmp = SingleTypeValue.new
|
10562
|
-
singletypevalue_tmp.deserialize(i)
|
10563
|
-
@TypeValue << singletypevalue_tmp
|
10564
|
-
end
|
10565
|
-
end
|
10566
|
-
end
|
10567
|
-
end
|
10568
|
-
|
10569
|
-
# 单值指标数据
|
10570
|
-
class SingleTypeValue < TencentCloud::Common::AbstractModel
|
10571
|
-
# @param MetricName: 指标名。
|
10572
|
-
# @type MetricName: String
|
10573
|
-
# @param DetailData: 指标值。
|
10574
|
-
# @type DetailData: Integer
|
10575
|
-
|
10576
|
-
attr_accessor :MetricName, :DetailData
|
10577
|
-
|
10578
|
-
def initialize(metricname=nil, detaildata=nil)
|
10579
|
-
@MetricName = metricname
|
10580
|
-
@DetailData = detaildata
|
10581
|
-
end
|
10582
|
-
|
10583
|
-
def deserialize(params)
|
10584
|
-
@MetricName = params['MetricName']
|
10585
|
-
@DetailData = params['DetailData']
|
10586
|
-
end
|
10587
|
-
end
|
10588
|
-
|
10589
8598
|
# 例外规则的跳过匹配条件,即在例外时根据本匹配条件,略过指定字段及内容。
|
10590
8599
|
class SkipCondition < TencentCloud::Common::AbstractModel
|
10591
8600
|
# @param Type: 例外跳过类型,取值为:
|
@@ -10733,309 +8742,29 @@ module TencentCloud
|
|
10733
8742
|
end
|
10734
8743
|
end
|
10735
8744
|
|
10736
|
-
#
|
10737
|
-
class
|
10738
|
-
# @param
|
10739
|
-
# <li>
|
10740
|
-
# <li>
|
10741
|
-
#
|
10742
|
-
#
|
10743
|
-
#
|
10744
|
-
#
|
10745
|
-
# @type
|
10746
|
-
# @param Url: 拨测 url。
|
10747
|
-
# @type Url: String
|
10748
|
-
# @param UA: 拨测 UA。
|
10749
|
-
# @type UA: String
|
10750
|
-
# @param Connectivity: 网络类型。
|
10751
|
-
# @type Connectivity: String
|
10752
|
-
|
10753
|
-
attr_accessor :TaskType, :Url, :UA, :Connectivity
|
10754
|
-
|
10755
|
-
def initialize(tasktype=nil, url=nil, ua=nil, connectivity=nil)
|
10756
|
-
@TaskType = tasktype
|
10757
|
-
@Url = url
|
10758
|
-
@UA = ua
|
10759
|
-
@Connectivity = connectivity
|
10760
|
-
end
|
10761
|
-
|
10762
|
-
def deserialize(params)
|
10763
|
-
@TaskType = params['TaskType']
|
10764
|
-
@Url = params['Url']
|
10765
|
-
@UA = params['UA']
|
10766
|
-
@Connectivity = params['Connectivity']
|
10767
|
-
end
|
10768
|
-
end
|
10769
|
-
|
10770
|
-
# 拨测详细数据,包括各地域性能数据。
|
10771
|
-
class SpeedTestingDetailData < TencentCloud::Common::AbstractModel
|
10772
|
-
# @param ZoneId: 站点ID。
|
10773
|
-
# @type ZoneId: String
|
10774
|
-
# @param ZoneName: 站点名称。
|
10775
|
-
# @type ZoneName: String
|
10776
|
-
# @param DistrictStatistics: 地域性能数据。
|
10777
|
-
# @type DistrictStatistics: Array
|
10778
|
-
|
10779
|
-
attr_accessor :ZoneId, :ZoneName, :DistrictStatistics
|
10780
|
-
|
10781
|
-
def initialize(zoneid=nil, zonename=nil, districtstatistics=nil)
|
10782
|
-
@ZoneId = zoneid
|
10783
|
-
@ZoneName = zonename
|
10784
|
-
@DistrictStatistics = districtstatistics
|
10785
|
-
end
|
10786
|
-
|
10787
|
-
def deserialize(params)
|
10788
|
-
@ZoneId = params['ZoneId']
|
10789
|
-
@ZoneName = params['ZoneName']
|
10790
|
-
unless params['DistrictStatistics'].nil?
|
10791
|
-
@DistrictStatistics = []
|
10792
|
-
params['DistrictStatistics'].each do |i|
|
10793
|
-
districtstatistics_tmp = DistrictStatistics.new
|
10794
|
-
districtstatistics_tmp.deserialize(i)
|
10795
|
-
@DistrictStatistics << districtstatistics_tmp
|
10796
|
-
end
|
10797
|
-
end
|
10798
|
-
end
|
10799
|
-
end
|
10800
|
-
|
10801
|
-
# 拨测结果信息
|
10802
|
-
class SpeedTestingInfo < TencentCloud::Common::AbstractModel
|
10803
|
-
# @param StatusCode: 任务状态,取值有:
|
10804
|
-
# <li> 200:任务完成;</li>
|
10805
|
-
# <li> 100:任务进行中;</li>
|
10806
|
-
# <li> 503: 任务失败。</li>
|
10807
|
-
# @type StatusCode: Integer
|
10808
|
-
# @param TestId: 拨测任务 ID。
|
10809
|
-
# @type TestId: String
|
10810
|
-
# @param SpeedTestingConfig: 拨测任务配置。
|
10811
|
-
# @type SpeedTestingConfig: :class:`Tencentcloud::Teo.v20220901.models.SpeedTestingConfig`
|
10812
|
-
# @param SpeedTestingStatistics: 拨测任务统计结果。
|
10813
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10814
|
-
# @type SpeedTestingStatistics: :class:`Tencentcloud::Teo.v20220901.models.SpeedTestingStatistics`
|
10815
|
-
|
10816
|
-
attr_accessor :StatusCode, :TestId, :SpeedTestingConfig, :SpeedTestingStatistics
|
10817
|
-
|
10818
|
-
def initialize(statuscode=nil, testid=nil, speedtestingconfig=nil, speedtestingstatistics=nil)
|
10819
|
-
@StatusCode = statuscode
|
10820
|
-
@TestId = testid
|
10821
|
-
@SpeedTestingConfig = speedtestingconfig
|
10822
|
-
@SpeedTestingStatistics = speedtestingstatistics
|
10823
|
-
end
|
10824
|
-
|
10825
|
-
def deserialize(params)
|
10826
|
-
@StatusCode = params['StatusCode']
|
10827
|
-
@TestId = params['TestId']
|
10828
|
-
unless params['SpeedTestingConfig'].nil?
|
10829
|
-
@SpeedTestingConfig = SpeedTestingConfig.new
|
10830
|
-
@SpeedTestingConfig.deserialize(params['SpeedTestingConfig'])
|
10831
|
-
end
|
10832
|
-
unless params['SpeedTestingStatistics'].nil?
|
10833
|
-
@SpeedTestingStatistics = SpeedTestingStatistics.new
|
10834
|
-
@SpeedTestingStatistics.deserialize(params['SpeedTestingStatistics'])
|
10835
|
-
end
|
10836
|
-
end
|
10837
|
-
end
|
10838
|
-
|
10839
|
-
# 不同维度的测速数据。
|
10840
|
-
class SpeedTestingMetricData < TencentCloud::Common::AbstractModel
|
10841
|
-
# @param ZoneId: 站点ID。
|
10842
|
-
# @type ZoneId: String
|
10843
|
-
# @param ZoneName: 站点名称。
|
10844
|
-
# @type ZoneName: String
|
10845
|
-
# @param OriginSpeedTestingInfo: 源站拨测信息。
|
10846
|
-
# @type OriginSpeedTestingInfo: Array
|
10847
|
-
# @param ProxySpeedTestingInfo: EO 拨测信息。
|
10848
|
-
# @type ProxySpeedTestingInfo: Array
|
10849
|
-
# @param SpeedTestingStatus: 站点状态。
|
10850
|
-
# @type SpeedTestingStatus: :class:`Tencentcloud::Teo.v20220901.models.SpeedTestingStatus`
|
10851
|
-
# @param OptimizeAction: 优化建议。
|
10852
|
-
# @type OptimizeAction: Array
|
10853
|
-
# @param ProxyLoadTime: EO 整体性能,单位ms。
|
10854
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10855
|
-
# @type ProxyLoadTime: Integer
|
10856
|
-
# @param OriginLoadTime: 源站整体性能,单位ms。
|
10857
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10858
|
-
# @type OriginLoadTime: Integer
|
10859
|
-
|
10860
|
-
attr_accessor :ZoneId, :ZoneName, :OriginSpeedTestingInfo, :ProxySpeedTestingInfo, :SpeedTestingStatus, :OptimizeAction, :ProxyLoadTime, :OriginLoadTime
|
10861
|
-
|
10862
|
-
def initialize(zoneid=nil, zonename=nil, originspeedtestinginfo=nil, proxyspeedtestinginfo=nil, speedtestingstatus=nil, optimizeaction=nil, proxyloadtime=nil, originloadtime=nil)
|
10863
|
-
@ZoneId = zoneid
|
10864
|
-
@ZoneName = zonename
|
10865
|
-
@OriginSpeedTestingInfo = originspeedtestinginfo
|
10866
|
-
@ProxySpeedTestingInfo = proxyspeedtestinginfo
|
10867
|
-
@SpeedTestingStatus = speedtestingstatus
|
10868
|
-
@OptimizeAction = optimizeaction
|
10869
|
-
@ProxyLoadTime = proxyloadtime
|
10870
|
-
@OriginLoadTime = originloadtime
|
10871
|
-
end
|
10872
|
-
|
10873
|
-
def deserialize(params)
|
10874
|
-
@ZoneId = params['ZoneId']
|
10875
|
-
@ZoneName = params['ZoneName']
|
10876
|
-
unless params['OriginSpeedTestingInfo'].nil?
|
10877
|
-
@OriginSpeedTestingInfo = []
|
10878
|
-
params['OriginSpeedTestingInfo'].each do |i|
|
10879
|
-
speedtestinginfo_tmp = SpeedTestingInfo.new
|
10880
|
-
speedtestinginfo_tmp.deserialize(i)
|
10881
|
-
@OriginSpeedTestingInfo << speedtestinginfo_tmp
|
10882
|
-
end
|
10883
|
-
end
|
10884
|
-
unless params['ProxySpeedTestingInfo'].nil?
|
10885
|
-
@ProxySpeedTestingInfo = []
|
10886
|
-
params['ProxySpeedTestingInfo'].each do |i|
|
10887
|
-
speedtestinginfo_tmp = SpeedTestingInfo.new
|
10888
|
-
speedtestinginfo_tmp.deserialize(i)
|
10889
|
-
@ProxySpeedTestingInfo << speedtestinginfo_tmp
|
10890
|
-
end
|
10891
|
-
end
|
10892
|
-
unless params['SpeedTestingStatus'].nil?
|
10893
|
-
@SpeedTestingStatus = SpeedTestingStatus.new
|
10894
|
-
@SpeedTestingStatus.deserialize(params['SpeedTestingStatus'])
|
10895
|
-
end
|
10896
|
-
unless params['OptimizeAction'].nil?
|
10897
|
-
@OptimizeAction = []
|
10898
|
-
params['OptimizeAction'].each do |i|
|
10899
|
-
optimizeaction_tmp = OptimizeAction.new
|
10900
|
-
optimizeaction_tmp.deserialize(i)
|
10901
|
-
@OptimizeAction << optimizeaction_tmp
|
10902
|
-
end
|
10903
|
-
end
|
10904
|
-
@ProxyLoadTime = params['ProxyLoadTime']
|
10905
|
-
@OriginLoadTime = params['OriginLoadTime']
|
10906
|
-
end
|
10907
|
-
end
|
10908
|
-
|
10909
|
-
# 拨测配额数据。
|
10910
|
-
class SpeedTestingQuota < TencentCloud::Common::AbstractModel
|
10911
|
-
# @param TotalTestRuns: 站点总拨测次数。
|
10912
|
-
# @type TotalTestRuns: Integer
|
10913
|
-
# @param AvailableTestRuns: 站点剩余可用拨测次数。
|
10914
|
-
# @type AvailableTestRuns: Integer
|
10915
|
-
|
10916
|
-
attr_accessor :TotalTestRuns, :AvailableTestRuns
|
10917
|
-
|
10918
|
-
def initialize(totaltestruns=nil, availabletestruns=nil)
|
10919
|
-
@TotalTestRuns = totaltestruns
|
10920
|
-
@AvailableTestRuns = availabletestruns
|
10921
|
-
end
|
10922
|
-
|
10923
|
-
def deserialize(params)
|
10924
|
-
@TotalTestRuns = params['TotalTestRuns']
|
10925
|
-
@AvailableTestRuns = params['AvailableTestRuns']
|
10926
|
-
end
|
10927
|
-
end
|
10928
|
-
|
10929
|
-
# 拨测统计结果
|
10930
|
-
class SpeedTestingStatistics < TencentCloud::Common::AbstractModel
|
10931
|
-
# @param FirstContentfulPaint: 首屏时间,单位 ms。
|
10932
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10933
|
-
# @type FirstContentfulPaint: Integer
|
10934
|
-
# @param FirstMeaningfulPaint: 首屏完全渲染时间,单位 ms。
|
10935
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10936
|
-
# @type FirstMeaningfulPaint: Integer
|
10937
|
-
# @param OverallDownloadSpeed: 整体下载速度,单位 KB/s。
|
10938
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10939
|
-
# @type OverallDownloadSpeed: Float
|
10940
|
-
# @param RenderTime: 渲染时间,单位 ms。
|
10941
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10942
|
-
# @type RenderTime: Integer
|
10943
|
-
# @param DocumentFinishTime: 文档完成时间, 单位 ms。
|
10944
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10945
|
-
# @type DocumentFinishTime: Integer
|
10946
|
-
# @param TcpConnectionTime: 基础文档TCP连接时间,单位 ms。
|
10947
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10948
|
-
# @type TcpConnectionTime: Integer
|
10949
|
-
# @param ResponseTime: 基础文档服务器响应时间,单位 ms。
|
10950
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10951
|
-
# @type ResponseTime: Integer
|
10952
|
-
# @param FileDownloadTime: 基础文档下载时间,单位 ms。
|
10953
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10954
|
-
# @type FileDownloadTime: Integer
|
10955
|
-
# @param LoadTime: 整体性能,测试总时间,单位 ms。
|
10956
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10957
|
-
# @type LoadTime: Integer
|
10958
|
-
|
10959
|
-
attr_accessor :FirstContentfulPaint, :FirstMeaningfulPaint, :OverallDownloadSpeed, :RenderTime, :DocumentFinishTime, :TcpConnectionTime, :ResponseTime, :FileDownloadTime, :LoadTime
|
10960
|
-
|
10961
|
-
def initialize(firstcontentfulpaint=nil, firstmeaningfulpaint=nil, overalldownloadspeed=nil, rendertime=nil, documentfinishtime=nil, tcpconnectiontime=nil, responsetime=nil, filedownloadtime=nil, loadtime=nil)
|
10962
|
-
@FirstContentfulPaint = firstcontentfulpaint
|
10963
|
-
@FirstMeaningfulPaint = firstmeaningfulpaint
|
10964
|
-
@OverallDownloadSpeed = overalldownloadspeed
|
10965
|
-
@RenderTime = rendertime
|
10966
|
-
@DocumentFinishTime = documentfinishtime
|
10967
|
-
@TcpConnectionTime = tcpconnectiontime
|
10968
|
-
@ResponseTime = responsetime
|
10969
|
-
@FileDownloadTime = filedownloadtime
|
10970
|
-
@LoadTime = loadtime
|
10971
|
-
end
|
10972
|
-
|
10973
|
-
def deserialize(params)
|
10974
|
-
@FirstContentfulPaint = params['FirstContentfulPaint']
|
10975
|
-
@FirstMeaningfulPaint = params['FirstMeaningfulPaint']
|
10976
|
-
@OverallDownloadSpeed = params['OverallDownloadSpeed']
|
10977
|
-
@RenderTime = params['RenderTime']
|
10978
|
-
@DocumentFinishTime = params['DocumentFinishTime']
|
10979
|
-
@TcpConnectionTime = params['TcpConnectionTime']
|
10980
|
-
@ResponseTime = params['ResponseTime']
|
10981
|
-
@FileDownloadTime = params['FileDownloadTime']
|
10982
|
-
@LoadTime = params['LoadTime']
|
10983
|
-
end
|
10984
|
-
end
|
10985
|
-
|
10986
|
-
# 拨测任务状态信息
|
10987
|
-
class SpeedTestingStatus < TencentCloud::Common::AbstractModel
|
10988
|
-
# @param Url: 拨测 url。
|
10989
|
-
# @type Url: String
|
10990
|
-
# @param Tls: 拨测 url 是否使用 https。
|
10991
|
-
# @type Tls: Boolean
|
10992
|
-
# @param CreatedOn: 任务创建时间。
|
10993
|
-
# @type CreatedOn: String
|
10994
|
-
# @param StatusCode: 任务状态,取值有:
|
10995
|
-
# <li> 200:任务完成;</li>
|
10996
|
-
# <li> 100:任务进行中。</li>
|
10997
|
-
# <li> 503: 任务失败。</li>
|
10998
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
10999
|
-
# @type StatusCode: Integer
|
11000
|
-
# @param UA: 拨测 UA。
|
11001
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11002
|
-
# @type UA: String
|
11003
|
-
# @param Connectivity: 网络环境。
|
11004
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11005
|
-
# @type Connectivity: String
|
11006
|
-
# @param Reachable: 是否可达,取值:
|
11007
|
-
# <li> true:可达;</li>
|
11008
|
-
# <li> false:不可达。</li>
|
11009
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11010
|
-
# @type Reachable: Boolean
|
11011
|
-
# @param TimedOut: 是否超时,取值:
|
11012
|
-
# <li> true:超时;</li>
|
11013
|
-
# <li> false:不超时。</li>
|
11014
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11015
|
-
# @type TimedOut: Boolean
|
8745
|
+
# 支持标准debug结构体
|
8746
|
+
class StandardDebug < TencentCloud::Common::AbstractModel
|
8747
|
+
# @param Switch: Debug 功能开关,取值有:
|
8748
|
+
# <li>on:开启;</li>
|
8749
|
+
# <li>off:关闭。</li>
|
8750
|
+
# @type Switch: String
|
8751
|
+
# @param AllowClientIPList: 允许的客户端来源。支持填写 IPV4 以及 IPV6 的 IP/IP 段,不填则表示允许任意客户端 IP。
|
8752
|
+
# @type AllowClientIPList: Array
|
8753
|
+
# @param ExpireTime: Debug 功能到期时间。超出设置的时间,则功能失效。
|
8754
|
+
# @type ExpireTime: String
|
11016
8755
|
|
11017
|
-
attr_accessor :
|
8756
|
+
attr_accessor :Switch, :AllowClientIPList, :ExpireTime
|
11018
8757
|
|
11019
|
-
def initialize(
|
11020
|
-
@
|
11021
|
-
@
|
11022
|
-
@
|
11023
|
-
@StatusCode = statuscode
|
11024
|
-
@UA = ua
|
11025
|
-
@Connectivity = connectivity
|
11026
|
-
@Reachable = reachable
|
11027
|
-
@TimedOut = timedout
|
8758
|
+
def initialize(switch=nil, allowclientiplist=nil, expiretime=nil)
|
8759
|
+
@Switch = switch
|
8760
|
+
@AllowClientIPList = allowclientiplist
|
8761
|
+
@ExpireTime = expiretime
|
11028
8762
|
end
|
11029
8763
|
|
11030
8764
|
def deserialize(params)
|
11031
|
-
@
|
11032
|
-
@
|
11033
|
-
@
|
11034
|
-
@StatusCode = params['StatusCode']
|
11035
|
-
@UA = params['UA']
|
11036
|
-
@Connectivity = params['Connectivity']
|
11037
|
-
@Reachable = params['Reachable']
|
11038
|
-
@TimedOut = params['TimedOut']
|
8765
|
+
@Switch = params['Switch']
|
8766
|
+
@AllowClientIPList = params['AllowClientIPList']
|
8767
|
+
@ExpireTime = params['ExpireTime']
|
11039
8768
|
end
|
11040
8769
|
end
|
11041
8770
|
|
@@ -11107,17 +8836,37 @@ module TencentCloud
|
|
11107
8836
|
# @type Key: String
|
11108
8837
|
# @param Value: 询价参数值。
|
11109
8838
|
# @type Value: String
|
8839
|
+
# @param Pack: 询价参数映射的配额,取值有:
|
8840
|
+
# <li>zone:站点数;</li>
|
8841
|
+
# <li>custom-rule:自定义规则数;</li>
|
8842
|
+
# <li>rate-limiting-rule:速率限制规则数;</li>
|
8843
|
+
# <li>l4-proxy-instance:四层代理实例数。</li>
|
8844
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8845
|
+
# @type Pack: String
|
8846
|
+
# @param InstanceId: 询价参数映射的四层代理实例Id。
|
8847
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8848
|
+
# @type InstanceId: String
|
8849
|
+
# @param ProtectionSpecs: 询价参数对应的防护等级。
|
8850
|
+
# 取值有: <li> cm_30G:中国大陆加速区域保底防护30Gbps;</li><li> cm_60G:中国大陆加速区域保底防护60Gbps;</li><li> cm_100G:中国大陆加速区域保底防护100Gbps;</li><li> anycast_300G:全球加速区域(除中国大陆)Anycast联防300Gbps;</li><li> anycast_unlimited:全球加速区域(除中国大陆)Anycast无上限全力防护;</li><li> cm_30G_anycast_300G:中国大陆加速区域保底防护30Gbps,全球加速区域(除中国大陆)Anycast联防300Gbps;</li><li> cm_30G_anycast_unlimited:中国大陆加速区域保底防护30Gbps,全球加速区域(除中国大陆)Anycast无上限全力防护;</li><li> cm_60G_anycast_300G:中国大陆加速区域保底防护60Gbps,全球加速区域(除中国大陆)Anycast联防300Gbps;</li><li> cm_60G_anycast_unlimited:中国大陆加速区域保底防护60Gbps,全球加速区域(除中国大陆)Anycast无上限全力防护;</li><li> cm_100G_anycast_300G:中国大陆加速区域保底防护100Gbps,全球加速区域(除中国大陆)Anycast联防300Gbps;</li><li> cm_100G_anycast_unlimited:中国大陆加速区域保底防护100Gbps,全球加速区域(除中国大陆)Anycast无上限全力防护。</li>
|
8851
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
8852
|
+
# @type ProtectionSpecs: String
|
11110
8853
|
|
11111
|
-
attr_accessor :Key, :Value
|
8854
|
+
attr_accessor :Key, :Value, :Pack, :InstanceId, :ProtectionSpecs
|
11112
8855
|
|
11113
|
-
def initialize(key=nil, value=nil)
|
8856
|
+
def initialize(key=nil, value=nil, pack=nil, instanceid=nil, protectionspecs=nil)
|
11114
8857
|
@Key = key
|
11115
8858
|
@Value = value
|
8859
|
+
@Pack = pack
|
8860
|
+
@InstanceId = instanceid
|
8861
|
+
@ProtectionSpecs = protectionspecs
|
11116
8862
|
end
|
11117
8863
|
|
11118
8864
|
def deserialize(params)
|
11119
8865
|
@Key = params['Key']
|
11120
8866
|
@Value = params['Value']
|
8867
|
+
@Pack = params['Pack']
|
8868
|
+
@InstanceId = params['InstanceId']
|
8869
|
+
@ProtectionSpecs = params['ProtectionSpecs']
|
11121
8870
|
end
|
11122
8871
|
end
|
11123
8872
|
|
@@ -11398,38 +9147,6 @@ module TencentCloud
|
|
11398
9147
|
end
|
11399
9148
|
end
|
11400
9149
|
|
11401
|
-
# UpdateOriginProtectionIPWhitelist请求参数结构体
|
11402
|
-
class UpdateOriginProtectionIPWhitelistRequest < TencentCloud::Common::AbstractModel
|
11403
|
-
# @param ZoneId: 站点ID。
|
11404
|
-
# @type ZoneId: String
|
11405
|
-
|
11406
|
-
attr_accessor :ZoneId
|
11407
|
-
|
11408
|
-
def initialize(zoneid=nil)
|
11409
|
-
@ZoneId = zoneid
|
11410
|
-
end
|
11411
|
-
|
11412
|
-
def deserialize(params)
|
11413
|
-
@ZoneId = params['ZoneId']
|
11414
|
-
end
|
11415
|
-
end
|
11416
|
-
|
11417
|
-
# UpdateOriginProtectionIPWhitelist返回参数结构体
|
11418
|
-
class UpdateOriginProtectionIPWhitelistResponse < TencentCloud::Common::AbstractModel
|
11419
|
-
# @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
11420
|
-
# @type RequestId: String
|
11421
|
-
|
11422
|
-
attr_accessor :RequestId
|
11423
|
-
|
11424
|
-
def initialize(requestid=nil)
|
11425
|
-
@RequestId = requestid
|
11426
|
-
end
|
11427
|
-
|
11428
|
-
def deserialize(params)
|
11429
|
-
@RequestId = params['RequestId']
|
11430
|
-
end
|
11431
|
-
end
|
11432
|
-
|
11433
9150
|
# Http2回源配置
|
11434
9151
|
class UpstreamHttp2 < TencentCloud::Common::AbstractModel
|
11435
9152
|
# @param Switch: http2 回源配置开关,取值有:
|
@@ -11559,40 +9276,6 @@ module TencentCloud
|
|
11559
9276
|
end
|
11560
9277
|
end
|
11561
9278
|
|
11562
|
-
# Waf托管规则组
|
11563
|
-
class WafGroup < TencentCloud::Common::AbstractModel
|
11564
|
-
# @param Action: 执行动作,取值有:
|
11565
|
-
# <li> block:阻断;</li>
|
11566
|
-
# <li> observe:观察。</li>
|
11567
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11568
|
-
# @type Action: String
|
11569
|
-
# @param Level: 防护级别,取值有:
|
11570
|
-
# <li> loose:宽松;</li>
|
11571
|
-
# <li> normal:正常;</li>
|
11572
|
-
# <li> strict:严格;</li>
|
11573
|
-
# <li> stricter:超严格;</li>
|
11574
|
-
# <li> custom:自定义。</li>
|
11575
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11576
|
-
# @type Level: String
|
11577
|
-
# @param TypeId: 规则类型id。
|
11578
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11579
|
-
# @type TypeId: Integer
|
11580
|
-
|
11581
|
-
attr_accessor :Action, :Level, :TypeId
|
11582
|
-
|
11583
|
-
def initialize(action=nil, level=nil, typeid=nil)
|
11584
|
-
@Action = action
|
11585
|
-
@Level = level
|
11586
|
-
@TypeId = typeid
|
11587
|
-
end
|
11588
|
-
|
11589
|
-
def deserialize(params)
|
11590
|
-
@Action = params['Action']
|
11591
|
-
@Level = params['Level']
|
11592
|
-
@TypeId = params['TypeId']
|
11593
|
-
end
|
11594
|
-
end
|
11595
|
-
|
11596
9279
|
# Waf规则
|
11597
9280
|
class WafRule < TencentCloud::Common::AbstractModel
|
11598
9281
|
# @param Switch: 托管规则开关,取值有:
|
@@ -11619,81 +9302,6 @@ module TencentCloud
|
|
11619
9302
|
end
|
11620
9303
|
end
|
11621
9304
|
|
11622
|
-
# web攻击日志
|
11623
|
-
class WebLogs < TencentCloud::Common::AbstractModel
|
11624
|
-
# @param EventId: 请求(事件)ID。
|
11625
|
-
# @type EventId: String
|
11626
|
-
# @param HttpLog: http 日志内容。
|
11627
|
-
# @type HttpLog: String
|
11628
|
-
# @param Domain: 受攻击子域名。
|
11629
|
-
# @type Domain: String
|
11630
|
-
# @param AttackIp: 攻击源(客户端)Ip。
|
11631
|
-
# @type AttackIp: String
|
11632
|
-
# @param SipCountryCode: IP所在国家iso-3166中alpha-2编码,编码信息请参考[ISO-3166](https://git.woa.com/edgeone/iso-3166/blob/master/all/all.json)
|
11633
|
-
# @type SipCountryCode: String
|
11634
|
-
# @param RealClientIp: 真实客户端Ip。
|
11635
|
-
# @type RealClientIp: String
|
11636
|
-
# @param RealClientIpCountryCode: 真实客户端Ip所在国家iso-3166中alpha-2编码。
|
11637
|
-
# @type RealClientIpCountryCode: String
|
11638
|
-
# @param AttackTime: 攻击时间,采用unix秒级时间戳。
|
11639
|
-
# @type AttackTime: Integer
|
11640
|
-
# @param RequestUri: 请求地址。
|
11641
|
-
# @type RequestUri: String
|
11642
|
-
# @param ReqMethod: 请求类型。
|
11643
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11644
|
-
# @type ReqMethod: String
|
11645
|
-
# @param RuleDetailList: 规则相关信息列表。
|
11646
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11647
|
-
# @type RuleDetailList: Array
|
11648
|
-
# @param AttackContent: 攻击内容。
|
11649
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11650
|
-
# @type AttackContent: String
|
11651
|
-
# @param Area: 日志所属区域。
|
11652
|
-
# 注意:此字段可能返回 null,表示取不到有效值。
|
11653
|
-
# @type Area: String
|
11654
|
-
|
11655
|
-
attr_accessor :EventId, :HttpLog, :Domain, :AttackIp, :SipCountryCode, :RealClientIp, :RealClientIpCountryCode, :AttackTime, :RequestUri, :ReqMethod, :RuleDetailList, :AttackContent, :Area
|
11656
|
-
|
11657
|
-
def initialize(eventid=nil, httplog=nil, domain=nil, attackip=nil, sipcountrycode=nil, realclientip=nil, realclientipcountrycode=nil, attacktime=nil, requesturi=nil, reqmethod=nil, ruledetaillist=nil, attackcontent=nil, area=nil)
|
11658
|
-
@EventId = eventid
|
11659
|
-
@HttpLog = httplog
|
11660
|
-
@Domain = domain
|
11661
|
-
@AttackIp = attackip
|
11662
|
-
@SipCountryCode = sipcountrycode
|
11663
|
-
@RealClientIp = realclientip
|
11664
|
-
@RealClientIpCountryCode = realclientipcountrycode
|
11665
|
-
@AttackTime = attacktime
|
11666
|
-
@RequestUri = requesturi
|
11667
|
-
@ReqMethod = reqmethod
|
11668
|
-
@RuleDetailList = ruledetaillist
|
11669
|
-
@AttackContent = attackcontent
|
11670
|
-
@Area = area
|
11671
|
-
end
|
11672
|
-
|
11673
|
-
def deserialize(params)
|
11674
|
-
@EventId = params['EventId']
|
11675
|
-
@HttpLog = params['HttpLog']
|
11676
|
-
@Domain = params['Domain']
|
11677
|
-
@AttackIp = params['AttackIp']
|
11678
|
-
@SipCountryCode = params['SipCountryCode']
|
11679
|
-
@RealClientIp = params['RealClientIp']
|
11680
|
-
@RealClientIpCountryCode = params['RealClientIpCountryCode']
|
11681
|
-
@AttackTime = params['AttackTime']
|
11682
|
-
@RequestUri = params['RequestUri']
|
11683
|
-
@ReqMethod = params['ReqMethod']
|
11684
|
-
unless params['RuleDetailList'].nil?
|
11685
|
-
@RuleDetailList = []
|
11686
|
-
params['RuleDetailList'].each do |i|
|
11687
|
-
secrulerelatedinfo_tmp = SecRuleRelatedInfo.new
|
11688
|
-
secrulerelatedinfo_tmp.deserialize(i)
|
11689
|
-
@RuleDetailList << secrulerelatedinfo_tmp
|
11690
|
-
end
|
11691
|
-
end
|
11692
|
-
@AttackContent = params['AttackContent']
|
11693
|
-
@Area = params['Area']
|
11694
|
-
end
|
11695
|
-
end
|
11696
|
-
|
11697
9305
|
# WebSocket配置
|
11698
9306
|
class WebSocket < TencentCloud::Common::AbstractModel
|
11699
9307
|
# @param Switch: WebSocket 超时时间配置开关,取值有:
|
@@ -11734,7 +9342,8 @@ module TencentCloud
|
|
11734
9342
|
# @type Status: String
|
11735
9343
|
# @param Type: 站点接入方式,取值有
|
11736
9344
|
# <li> full:NS 接入; </li>
|
11737
|
-
# <li> partial:CNAME
|
9345
|
+
# <li> partial:CNAME 接入;</li>
|
9346
|
+
# <li> noDomainAccess:无域名接入。</li>
|
11738
9347
|
# @type Type: String
|
11739
9348
|
# @param Paused: 站点是否关闭。
|
11740
9349
|
# @type Paused: Boolean
|
@@ -11921,10 +9530,13 @@ module TencentCloud
|
|
11921
9530
|
# @param AccelerateMainland: 中国大陆加速优化配置。
|
11922
9531
|
# 注意:此字段可能返回 null,表示取不到有效值。
|
11923
9532
|
# @type AccelerateMainland: :class:`Tencentcloud::Teo.v20220901.models.AccelerateMainland`
|
9533
|
+
# @param StandardDebug: 标准 Debug 配置。
|
9534
|
+
# 注意:此字段可能返回 null,表示取不到有效值。
|
9535
|
+
# @type StandardDebug: :class:`Tencentcloud::Teo.v20220901.models.StandardDebug`
|
11924
9536
|
|
11925
|
-
attr_accessor :ZoneName, :Area, :CacheKey, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :CacheConfig, :Origin, :SmartRouting, :MaxAge, :OfflineCache, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :Https, :ClientIpCountry, :Grpc, :ImageOptimize, :AccelerateMainland
|
9537
|
+
attr_accessor :ZoneName, :Area, :CacheKey, :Quic, :PostMaxSize, :Compression, :UpstreamHttp2, :ForceRedirect, :CacheConfig, :Origin, :SmartRouting, :MaxAge, :OfflineCache, :WebSocket, :ClientIpHeader, :CachePrefresh, :Ipv6, :Https, :ClientIpCountry, :Grpc, :ImageOptimize, :AccelerateMainland, :StandardDebug
|
11926
9538
|
|
11927
|
-
def initialize(zonename=nil, area=nil, cachekey=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, cacheconfig=nil, origin=nil, smartrouting=nil, maxage=nil, offlinecache=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, https=nil, clientipcountry=nil, grpc=nil, imageoptimize=nil, acceleratemainland=nil)
|
9539
|
+
def initialize(zonename=nil, area=nil, cachekey=nil, quic=nil, postmaxsize=nil, compression=nil, upstreamhttp2=nil, forceredirect=nil, cacheconfig=nil, origin=nil, smartrouting=nil, maxage=nil, offlinecache=nil, websocket=nil, clientipheader=nil, cacheprefresh=nil, ipv6=nil, https=nil, clientipcountry=nil, grpc=nil, imageoptimize=nil, acceleratemainland=nil, standarddebug=nil)
|
11928
9540
|
@ZoneName = zonename
|
11929
9541
|
@Area = area
|
11930
9542
|
@CacheKey = cachekey
|
@@ -11947,6 +9559,7 @@ module TencentCloud
|
|
11947
9559
|
@Grpc = grpc
|
11948
9560
|
@ImageOptimize = imageoptimize
|
11949
9561
|
@AccelerateMainland = acceleratemainland
|
9562
|
+
@StandardDebug = standarddebug
|
11950
9563
|
end
|
11951
9564
|
|
11952
9565
|
def deserialize(params)
|
@@ -12032,6 +9645,10 @@ module TencentCloud
|
|
12032
9645
|
@AccelerateMainland = AccelerateMainland.new
|
12033
9646
|
@AccelerateMainland.deserialize(params['AccelerateMainland'])
|
12034
9647
|
end
|
9648
|
+
unless params['StandardDebug'].nil?
|
9649
|
+
@StandardDebug = StandardDebug.new
|
9650
|
+
@StandardDebug.deserialize(params['StandardDebug'])
|
9651
|
+
end
|
12035
9652
|
end
|
12036
9653
|
end
|
12037
9654
|
|