tccli 3.0.1289.1__py2.py3-none-any.whl → 3.0.1291.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
- tccli/services/antiddos/v20200309/api.json +132 -103
- tccli/services/antiddos/v20200309/examples.json +5 -5
- tccli/services/bi/v20220105/api.json +1 -1
- tccli/services/bi/v20220105/examples.json +1 -1
- tccli/services/billing/v20180709/api.json +16 -16
- tccli/services/billing/v20180709/examples.json +1 -1
- tccli/services/cam/v20190116/api.json +39 -33
- tccli/services/cam/v20190116/examples.json +1 -1
- tccli/services/cbs/v20170312/api.json +24 -20
- tccli/services/cdb/cdb_client.py +53 -0
- tccli/services/cdb/v20170320/api.json +64 -0
- tccli/services/cdb/v20170320/examples.json +8 -0
- tccli/services/cdwch/v20200915/api.json +204 -199
- tccli/services/cdwch/v20200915/examples.json +11 -11
- tccli/services/ckafka/v20190819/api.json +273 -268
- tccli/services/clb/v20180317/api.json +31 -22
- tccli/services/cls/cls_client.py +18 -230
- tccli/services/cls/v20201016/api.json +285 -687
- tccli/services/cls/v20201016/examples.json +2 -34
- tccli/services/cvm/v20170312/api.json +10 -0
- tccli/services/cynosdb/v20190107/api.json +97 -97
- tccli/services/dbbrain/v20191016/api.json +54 -51
- tccli/services/dbbrain/v20210527/api.json +125 -125
- tccli/services/dcdb/v20180411/api.json +48 -48
- tccli/services/dnspod/dnspod_client.py +466 -307
- tccli/services/dnspod/v20210323/api.json +391 -0
- tccli/services/dnspod/v20210323/examples.json +24 -0
- tccli/services/domain/v20180808/api.json +8 -8
- tccli/services/dsgc/dsgc_client.py +0 -53
- tccli/services/dsgc/v20190723/api.json +0 -24
- tccli/services/dsgc/v20190723/examples.json +0 -8
- tccli/services/ess/v20201111/api.json +1 -1
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/fmu/v20191213/api.json +2 -2
- tccli/services/goosefs/v20220519/api.json +2 -2
- tccli/services/gwlb/v20240906/api.json +1 -1
- tccli/services/iotcloud/v20210408/api.json +66 -66
- tccli/services/iotcloud/v20210408/examples.json +13 -13
- tccli/services/iotvideoindustry/v20201201/api.json +542 -523
- tccli/services/iotvideoindustry/v20201201/examples.json +15 -15
- tccli/services/lighthouse/v20200324/api.json +8 -8
- tccli/services/lke/v20231130/api.json +10 -0
- tccli/services/lowcode/v20210108/api.json +2 -2
- tccli/services/mariadb/v20170312/api.json +42 -42
- tccli/services/mariadb/v20170312/examples.json +12 -0
- tccli/services/mmps/v20200710/api.json +95 -95
- tccli/services/monitor/monitor_client.py +53 -0
- tccli/services/monitor/v20180724/api.json +144 -0
- tccli/services/monitor/v20180724/examples.json +8 -0
- tccli/services/mps/mps_client.py +501 -24
- tccli/services/mps/v20190612/api.json +2071 -282
- tccli/services/mps/v20190612/examples.json +72 -0
- tccli/services/mqtt/v20240516/api.json +1 -1
- tccli/services/mqtt/v20240516/examples.json +1 -1
- tccli/services/postgres/v20170312/api.json +308 -283
- tccli/services/redis/redis_client.py +53 -0
- tccli/services/redis/v20180412/api.json +34 -0
- tccli/services/redis/v20180412/examples.json +8 -0
- tccli/services/svp/v20240125/api.json +66 -66
- tccli/services/svp/v20240125/examples.json +1 -1
- tccli/services/tcb/tcb_client.py +53 -53
- tccli/services/tcb/v20180608/api.json +220 -263
- tccli/services/tcb/v20180608/examples.json +8 -8
- tccli/services/tcbr/v20220217/examples.json +1 -1
- tccli/services/tcss/tcss_client.py +224 -277
- tccli/services/tcss/v20201101/api.json +4618 -4329
- tccli/services/tcss/v20201101/examples.json +207 -221
- tccli/services/tdmq/tdmq_client.py +0 -53
- tccli/services/tdmq/v20200217/api.json +379 -374
- tccli/services/tdmq/v20200217/examples.json +1 -9
- tccli/services/teo/teo_client.py +53 -0
- tccli/services/teo/v20220901/api.json +82 -11
- tccli/services/teo/v20220901/examples.json +8 -0
- tccli/services/thpc/v20211109/api.json +8 -8
- tccli/services/thpc/v20220401/api.json +8 -8
- tccli/services/thpc/v20230321/api.json +11 -10
- tccli/services/tke/v20180525/api.json +60 -60
- tccli/services/tke/v20220501/api.json +34 -34
- tccli/services/vpc/v20170312/api.json +44 -44
- tccli/services/waf/v20180125/api.json +9 -0
- tccli/services/wedata/v20210820/api.json +73 -0
- tccli/services/weilingwith/v20230427/api.json +997 -997
- {tccli-3.0.1289.1.dist-info → tccli-3.0.1291.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1289.1.dist-info → tccli-3.0.1291.1.dist-info}/RECORD +88 -88
- {tccli-3.0.1289.1.dist-info → tccli-3.0.1291.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1289.1.dist-info → tccli-3.0.1291.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1289.1.dist-info → tccli-3.0.1291.1.dist-info}/license_files/LICENSE +0 -0
@@ -812,7 +812,7 @@
|
|
812
812
|
{
|
813
813
|
"document": "",
|
814
814
|
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeRocketMQTopUsages\n<公共请求参数>\n\n{\n \"ClusterId\": \"rocketmq-abc\",\n \"MetricName\": \"consumeLag\",\n \"Limit\": 1\n}",
|
815
|
-
"output": "{\n \"Response\": {\n \"Dimensions\": [\n {\n \"Dimensions\": [\n {},\n {},\n {}\n ]\n },\n {\n \"Dimensions\": [\n {},\n {},\n {}\n ]\n }\n ],\n \"RequestId\": \"f0288e86-ee7d-4a73-a788-81ca6680b06c\",\n \"Values\": [\n 309,\n 0\n ]\n }\n}",
|
815
|
+
"output": "{\n \"Response\": {\n \"Dimensions\": [\n {\n \"Dimensions\": [\n {\n \"Name\": \"tenant\",\n \"Value\": \"rocketmq-vvqb9emabapx\"\n },\n {\n \"Name\": \"namespace\",\n \"Value\": \"test_ns\"\n },\n {\n \"Name\": \"topic\",\n \"Value\": \"test_topic\"\n }\n ]\n },\n {\n \"Dimensions\": [\n {\n \"Name\": \"tenant\",\n \"Value\": \"rocketmq-vvqb9emabapx\"\n },\n {\n \"Name\": \"namespace\",\n \"Value\": \"test_ns\"\n },\n {\n \"Name\": \"topic\",\n \"Value\": \"test_topic2\"\n }\n ]\n }\n ],\n \"RequestId\": \"f0288e86-ee7d-4a73-a788-81ca6680b06c\",\n \"Values\": [\n 309,\n 0\n ]\n }\n}",
|
816
816
|
"title": "获取 Group 堆积数量排序"
|
817
817
|
}
|
818
818
|
],
|
@@ -984,14 +984,6 @@
|
|
984
984
|
"title": "修改环境角色授权"
|
985
985
|
}
|
986
986
|
],
|
987
|
-
"ModifyPublicNetworkAccessPoint": [
|
988
|
-
{
|
989
|
-
"document": "",
|
990
|
-
"input": "POST / HTTP/1.1\nHost: tdmq.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyPublicNetworkAccessPoint\n<公共请求参数>\n\n{\n \"ClusterId\": \"amqp-jero744g\",\n \"PublicNetworkAccessPointStatus\": true,\n \"SwitchOwner\": \"Public\",\n \"VpcId\": \"vpc-d\",\n \"SubnetId\": \"subnet-67y9wil4\",\n \"SelectIp\": \"10.1.0.1\"\n}",
|
991
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"a8f28d5e-a7e2-4b0b-afa0-2fba09c077a0\",\n \"ModifyResult\": \"修改成功\"\n }\n}",
|
992
|
-
"title": "RabbitMQ专享版修改公网管控台,数据流开关"
|
993
|
-
}
|
994
|
-
],
|
995
987
|
"ModifyPublicNetworkSecurityPolicy": [
|
996
988
|
{
|
997
989
|
"document": "",
|
tccli/services/teo/teo_client.py
CHANGED
@@ -5271,6 +5271,58 @@ def doModifyContentIdentifier(args, parsed_globals):
|
|
5271
5271
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5272
5272
|
|
5273
5273
|
|
5274
|
+
def doDescribeSecurityPolicy(args, parsed_globals):
|
5275
|
+
g_param = parse_global_arg(parsed_globals)
|
5276
|
+
|
5277
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5278
|
+
cred = credential.CVMRoleCredential()
|
5279
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5280
|
+
cred = credential.STSAssumeRoleCredential(
|
5281
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5282
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5283
|
+
)
|
5284
|
+
elif os.getenv(OptionsDefine.ENV_TKE_REGION) and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID) and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE) and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
|
5285
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5286
|
+
else:
|
5287
|
+
cred = credential.Credential(
|
5288
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5289
|
+
)
|
5290
|
+
http_profile = HttpProfile(
|
5291
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5292
|
+
reqMethod="POST",
|
5293
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5294
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5295
|
+
)
|
5296
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5297
|
+
if g_param[OptionsDefine.Language]:
|
5298
|
+
profile.language = g_param[OptionsDefine.Language]
|
5299
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5300
|
+
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
5301
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5302
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5303
|
+
model = models.DescribeSecurityPolicyRequest()
|
5304
|
+
model.from_json_string(json.dumps(args))
|
5305
|
+
start_time = time.time()
|
5306
|
+
while True:
|
5307
|
+
rsp = client.DescribeSecurityPolicy(model)
|
5308
|
+
result = rsp.to_json_string()
|
5309
|
+
try:
|
5310
|
+
json_obj = json.loads(result)
|
5311
|
+
except TypeError as e:
|
5312
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5313
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5314
|
+
break
|
5315
|
+
cur_time = time.time()
|
5316
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5317
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5318
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5319
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5320
|
+
else:
|
5321
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5322
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5323
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5324
|
+
|
5325
|
+
|
5274
5326
|
def doModifyFunctionRulePriority(args, parsed_globals):
|
5275
5327
|
g_param = parse_global_arg(parsed_globals)
|
5276
5328
|
|
@@ -7413,6 +7465,7 @@ ACTION_MAP = {
|
|
7413
7465
|
"HandleFunctionRuntimeEnvironment": doHandleFunctionRuntimeEnvironment,
|
7414
7466
|
"DescribeDDoSAttackEvent": doDescribeDDoSAttackEvent,
|
7415
7467
|
"ModifyContentIdentifier": doModifyContentIdentifier,
|
7468
|
+
"DescribeSecurityPolicy": doDescribeSecurityPolicy,
|
7416
7469
|
"ModifyFunctionRulePriority": doModifyFunctionRulePriority,
|
7417
7470
|
"ModifySecurityIPGroup": doModifySecurityIPGroup,
|
7418
7471
|
"DescribeRules": doDescribeRules,
|
@@ -616,6 +616,13 @@
|
|
616
616
|
"output": "DescribeSecurityIPGroupInfoResponse",
|
617
617
|
"status": "online"
|
618
618
|
},
|
619
|
+
"DescribeSecurityPolicy": {
|
620
|
+
"document": "查询安全防护配置详情。",
|
621
|
+
"input": "DescribeSecurityPolicyRequest",
|
622
|
+
"name": "查询安全防护配置详情",
|
623
|
+
"output": "DescribeSecurityPolicyResponse",
|
624
|
+
"status": "online"
|
625
|
+
},
|
619
626
|
"DescribeSecurityTemplateBindings": {
|
620
627
|
"document": "查询指定策略模板的绑定关系列表。",
|
621
628
|
"input": "DescribeSecurityTemplateBindingsRequest",
|
@@ -10413,6 +10420,70 @@
|
|
10413
10420
|
],
|
10414
10421
|
"type": "object"
|
10415
10422
|
},
|
10423
|
+
"DescribeSecurityPolicyRequest": {
|
10424
|
+
"document": "DescribeSecurityPolicy请求参数结构体",
|
10425
|
+
"members": [
|
10426
|
+
{
|
10427
|
+
"disabled": false,
|
10428
|
+
"document": "站点 ID。",
|
10429
|
+
"example": "test.com",
|
10430
|
+
"member": "string",
|
10431
|
+
"name": "ZoneId",
|
10432
|
+
"required": true,
|
10433
|
+
"type": "string"
|
10434
|
+
},
|
10435
|
+
{
|
10436
|
+
"disabled": false,
|
10437
|
+
"document": "安全策略类型,可使用以下参数值进行查询: <li>ZoneDefaultPolicy:用于指定查询站点级策略;</li><li>Template:用于指定查询策略模板,需要同时指定 TemplateId 参数;</li><li>Host:用于指定查询域名级策略(注意:当使用域名来指定域名服务策略时,仅支持已经应用了域名级策略的域名服务或者策略模板)。</li>\t",
|
10438
|
+
"example": "Host",
|
10439
|
+
"member": "string",
|
10440
|
+
"name": "Entity",
|
10441
|
+
"required": false,
|
10442
|
+
"type": "string"
|
10443
|
+
},
|
10444
|
+
{
|
10445
|
+
"disabled": false,
|
10446
|
+
"document": "指定策略模板 ID。当 Entity 参数值为 Template 时,使用本参数指定策略模板的 ID 查询模板配置。",
|
10447
|
+
"example": "temp-wj86oi2",
|
10448
|
+
"member": "string",
|
10449
|
+
"name": "TemplateId",
|
10450
|
+
"required": false,
|
10451
|
+
"type": "string"
|
10452
|
+
},
|
10453
|
+
{
|
10454
|
+
"disabled": false,
|
10455
|
+
"document": "指定域名。当 Entity 参数值为 Host 时,使用本参数指定的域名级策略查询域名配置,例如:使用 www.example.com ,配置该域名的域名级策略。",
|
10456
|
+
"example": "www.example.com",
|
10457
|
+
"member": "string",
|
10458
|
+
"name": "Host",
|
10459
|
+
"required": false,
|
10460
|
+
"type": "string"
|
10461
|
+
}
|
10462
|
+
],
|
10463
|
+
"type": "object"
|
10464
|
+
},
|
10465
|
+
"DescribeSecurityPolicyResponse": {
|
10466
|
+
"document": "DescribeSecurityPolicy返回参数结构体",
|
10467
|
+
"members": [
|
10468
|
+
{
|
10469
|
+
"disabled": false,
|
10470
|
+
"document": "安全策略配置。\n注意:此字段可能返回 null,表示取不到有效值。",
|
10471
|
+
"example": "参考SecurityPolicy结构",
|
10472
|
+
"member": "SecurityPolicy",
|
10473
|
+
"name": "SecurityPolicy",
|
10474
|
+
"output_required": false,
|
10475
|
+
"type": "object",
|
10476
|
+
"value_allowed_null": true
|
10477
|
+
},
|
10478
|
+
{
|
10479
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
10480
|
+
"member": "string",
|
10481
|
+
"name": "RequestId",
|
10482
|
+
"type": "string"
|
10483
|
+
}
|
10484
|
+
],
|
10485
|
+
"type": "object"
|
10486
|
+
},
|
10416
10487
|
"DescribeSecurityTemplateBindingsRequest": {
|
10417
10488
|
"document": "DescribeSecurityTemplateBindings请求参数结构体",
|
10418
10489
|
"members": [
|
@@ -10482,7 +10553,7 @@
|
|
10482
10553
|
},
|
10483
10554
|
{
|
10484
10555
|
"disabled": false,
|
10485
|
-
"document": "查询指标,取值有:\n<li>l4Flow_connections:
|
10556
|
+
"document": "查询指标,取值有:\n<li>l4Flow_connections: 访问并发连接数;</li>\n<li>l4Flow_flux: 访问总流量;</li>\n<li>l4Flow_inFlux: 访问入流量;</li>\n<li>l4Flow_outFlux: 访问出流量;</li>\n<li>l4Flow_inBandwidth: 访问入向带宽峰值;</li>\n<li>l4Flow_outBandwidth: 访问出向带宽峰值。</li>",
|
10486
10557
|
"example": "[\"l4Flow_connections\"]",
|
10487
10558
|
"member": "string",
|
10488
10559
|
"name": "MetricNames",
|
@@ -10492,7 +10563,7 @@
|
|
10492
10563
|
{
|
10493
10564
|
"disabled": false,
|
10494
10565
|
"document": "站点 ID 集合,此参数必填。",
|
10495
|
-
"example": "[\"
|
10566
|
+
"example": "[\"zone-2rntun0a1z6t\",\"zone-323urc8a9j0q\"]",
|
10496
10567
|
"member": "string",
|
10497
10568
|
"name": "ZoneIds",
|
10498
10569
|
"required": false,
|
@@ -10501,7 +10572,7 @@
|
|
10501
10572
|
{
|
10502
10573
|
"disabled": false,
|
10503
10574
|
"document": "四层实例列表, 不填表示选择全部实例。",
|
10504
|
-
"example": "
|
10575
|
+
"example": "[\"sid-39562waf3raa\"]",
|
10505
10576
|
"member": "string",
|
10506
10577
|
"name": "ProxyIds",
|
10507
10578
|
"required": false,
|
@@ -10527,8 +10598,8 @@
|
|
10527
10598
|
},
|
10528
10599
|
{
|
10529
10600
|
"disabled": false,
|
10530
|
-
"document": "
|
10531
|
-
"example": "
|
10601
|
+
"document": "数据归属地区。该参数已废弃。请在 Filters.country 中按客户端地域过滤数据。",
|
10602
|
+
"example": "无",
|
10532
10603
|
"member": "string",
|
10533
10604
|
"name": "Area",
|
10534
10605
|
"required": false,
|
@@ -10619,7 +10690,7 @@
|
|
10619
10690
|
},
|
10620
10691
|
{
|
10621
10692
|
"disabled": false,
|
10622
|
-
"document": "过滤条件,详细的过滤条件 Key 值如下:\n<li>country:按照国家/地区进行过滤,国家/地区遵循 <a href=\"https://baike.baidu.com/item/ISO%203166-1/5269555\">ISO 3166-1 alpha-2</a> 规范。示例值:CN。</li>\n<li>province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考<a href=\"https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8\">境内省份映射表</a>,示例值:22。</li>\n<li>isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>\n<li>domain:按照子域名进行过滤,示例值: www.example.com。</li>\n<li>url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。</li>\n<li>referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;</li>\n<li>resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;</li>\n<li>protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket。</li>\n<li>socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS 协议;<br> QUIC:QUIC 协议。</li>\n<li>statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:<br> 1XX:1xx类型的状态码;<br> 2XX:2xx类型的状态码;<br> 3XX:3xx类型的状态码;<br> 4XX:4xx类型的状态码;<br> 5XX:5xx类型的状态码;<br> 在 [0,600) 范围内的整数。</li>\n<li>browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 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>\n<li>deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>\n<li>operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 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>\n<li>tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3。</li>\n<li>ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:<br> 4:IPv4;<br> 6:IPv6。</li>\n<li>cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:<br> hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。<br> miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。<br> dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。<br> other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。</li>\n<li>clientIp:按照客户端 IP
|
10693
|
+
"document": "过滤条件,详细的过滤条件 Key 值如下:\n<li>country:按照国家/地区进行过滤,国家/地区遵循 <a href=\"https://baike.baidu.com/item/ISO%203166-1/5269555\">ISO 3166-1 alpha-2</a> 规范。示例值:CN。</li>\n<li>province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考<a href=\"https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8\">境内省份映射表</a>,示例值:22。</li>\n<li>isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>\n<li>domain:按照子域名进行过滤,示例值: www.example.com。</li>\n<li>url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。</li>\n<li>referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;</li>\n<li>resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;</li>\n<li>protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket。</li>\n<li>socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS 协议;<br> QUIC:QUIC 协议。</li>\n<li>statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:<br> 1XX:1xx类型的状态码;<br> 2XX:2xx类型的状态码;<br> 3XX:3xx类型的状态码;<br> 4XX:4xx类型的状态码;<br> 5XX:5xx类型的状态码;<br> 在 [0,600) 范围内的整数。</li>\n<li>browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 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>\n<li>deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>\n<li>operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 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>\n<li>tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3。</li>\n<li>ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:<br> 4:IPv4;<br> 6:IPv6。</li>\n<li>cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:<br> hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。<br> miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。<br> dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。<br> other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。</li>\n<li>clientIp:按照客户端 IP 进行过滤。若填写 clientIp 参数,则最多可查询近 30 天的数据。</li>\n<li>userAgent:按照 User-Agent 请求头部进行过滤。若填写 userAgent 参数,则最多可查询近 30 天的数据。</li>",
|
10623
10694
|
"example": "无",
|
10624
10695
|
"member": "QueryCondition",
|
10625
10696
|
"name": "Filters",
|
@@ -10628,8 +10699,8 @@
|
|
10628
10699
|
},
|
10629
10700
|
{
|
10630
10701
|
"disabled": false,
|
10631
|
-
"document": "
|
10632
|
-
"example": "
|
10702
|
+
"document": "数据归属地区。该参数已废弃。请在 Filters.country 中按客户端地域过滤数据。",
|
10703
|
+
"example": "无",
|
10633
10704
|
"member": "string",
|
10634
10705
|
"name": "Area",
|
10635
10706
|
"required": false,
|
@@ -10794,7 +10865,7 @@
|
|
10794
10865
|
},
|
10795
10866
|
{
|
10796
10867
|
"disabled": false,
|
10797
|
-
"document": "查询的指标,取值有:\n<li> l7Flow_outFlux_country:按国家/地区维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_province:按中国大陆境内省份维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_statusCode:按状态码维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_domain:按域名维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_url:按 URL Path 维度统计 L7 EdgeOne 响应流量指标; </li>\n<li> l7Flow_outFlux_resourceType:按资源类型维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_sip:按客户端 IP 维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_referers:按 Referer 维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_ua_device:按设备类型维度统计 L7 EdgeOne 响应流量指标; </li>\n<li> l7Flow_outFlux_ua_browser:按浏览器类型维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_ua_os:按操作系统类型维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_request_country:按国家/地区维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_province:按中国大陆境内省份维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_statusCode:按状态码维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_domain:按域名维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_url:按 URL Path 维度统计 L7 访问请求数指标; </li>\n<li> l7Flow_request_resourceType:按资源类型维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_sip:按客户端 IP 维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_referer:按 Referer 维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_ua_device:按设备类型维度统计 L7 访问请求数指标; </li>\n<li> l7Flow_request_ua_browser:按浏览器类型维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_ua_os:按操作系统类型维度统计 L7 访问请求数指标。</li>\n",
|
10868
|
+
"document": "查询的指标,取值有:\n<li> l7Flow_outFlux_country:按国家/地区维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_province:按中国大陆境内省份维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_statusCode:按状态码维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_domain:按域名维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_url:按 URL Path 维度统计 L7 EdgeOne 响应流量指标; </li>\n<li> l7Flow_outFlux_resourceType:按资源类型维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_sip:按客户端 IP 维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_referers:按 Referer 维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_ua_device:按设备类型维度统计 L7 EdgeOne 响应流量指标; </li>\n<li> l7Flow_outFlux_ua_browser:按浏览器类型维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_ua_os:按操作系统类型维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_outFlux_ua:按 User-Agent 维度统计 L7 EdgeOne 响应流量指标;</li>\n<li> l7Flow_request_country:按国家/地区维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_province:按中国大陆境内省份维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_statusCode:按状态码维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_domain:按域名维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_url:按 URL Path 维度统计 L7 访问请求数指标; </li>\n<li> l7Flow_request_resourceType:按资源类型维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_sip:按客户端 IP 维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_referer:按 Referer 维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_ua_device:按设备类型维度统计 L7 访问请求数指标; </li>\n<li> l7Flow_request_ua_browser:按浏览器类型维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_ua_os:按操作系统类型维度统计 L7 访问请求数指标;</li>\n<li> l7Flow_request_ua:按 User-Agent 维度统计 L7 访问请求数指标。</li>\n\n",
|
10798
10869
|
"example": "l7Flow_outFlux_country",
|
10799
10870
|
"member": "string",
|
10800
10871
|
"name": "MetricName",
|
@@ -10821,7 +10892,7 @@
|
|
10821
10892
|
},
|
10822
10893
|
{
|
10823
10894
|
"disabled": false,
|
10824
|
-
"document": "过滤条件,详细的过滤条件 Key 值如下:\n<li>country:按照国家/地区进行过滤,国家/地区遵循 <a href=\"https://baike.baidu.com/item/ISO%203166-1/5269555\">ISO 3166-1 alpha-2</a> 规范。示例值:CN。</li>\n<li>province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考<a href=\"https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8\">境内省份映射表</a>,示例值:22。</li>\n<li>isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>\n<li>domain:按照子域名进行过滤,示例值: www.example.com。</li>\n<li>url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。</li>\n<li>referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;</li>\n<li>resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;</li>\n<li>protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket。</li>\n<li>socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS 协议;<br> QUIC:QUIC 协议。</li>\n<li>statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:<br> 1XX:1xx类型的状态码;<br> 2XX:2xx类型的状态码;<br> 3XX:3xx类型的状态码;<br> 4XX:4xx类型的状态码;<br> 5XX:5xx类型的状态码;<br> 在 [0,600) 范围内的整数。</li>\n<li>browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 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>\n<li>deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>\n<li>operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 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>\n<li>tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3。</li>\n<li>ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:<br> 4:IPv4;<br> 6:IPv6。</li>\n<li>cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:<br> hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。<br> miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。<br> dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。<br> other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。</li>\n<li>clientIp:按照客户端 IP
|
10895
|
+
"document": "过滤条件,详细的过滤条件 Key 值如下:\n<li>country:按照国家/地区进行过滤,国家/地区遵循 <a href=\"https://baike.baidu.com/item/ISO%203166-1/5269555\">ISO 3166-1 alpha-2</a> 规范。示例值:CN。</li>\n<li>province:按照省份进行过滤,此参数只支持服务区域为中国大陆。省份代码参考<a href=\"https://cloud.tencent.com/document/product/228/6316#.E5.8C.BA.E5.9F.9F-.2F-.E8.BF.90.E8.90.A5.E5.95.86.E6.98.A0.E5.B0.84.E8.A1.A8\">境内省份映射表</a>,示例值:22。</li>\n<li>isp:按照运营商进行过滤,此参数只支持服务区域为中国大陆。对应的 Value 可选项如下:<br> 2:中国电信;<br> 26:中国联通;<br> 1046:中国移动;<br> 3947:中国铁通;<br> 38:教育网;<br> 43:长城宽带;<br> 0:其他运营商。</li>\n<li>domain:按照子域名进行过滤,示例值: www.example.com。</li>\n<li>url:按照 URL Path 进行过滤,示例值:/content 或 /content/test.jpg。若填写 url 参数,则最多可查询近 30 天的数据。</li>\n<li>referer:按照 Referer 请求头部进行过滤,示例值:http://www.example.com/。若填写 referer 参数,则最多可查询近 30 天的数据;</li>\n<li>resourceType:按照资源类型进行过滤,资源类型一般是文件后缀,示例值:.jpg。若填写 resourceType 参数,则最多可查询近 30 天的数据;</li>\n<li>protocol:按照 HTTP 协议版本进行过滤。对应的 Value 可选项如下:<br> HTTP/1.0;<br> HTTP/1.1;<br> HTTP/2.0;<br> HTTP/3;<br> WebSocket。</li>\n<li>socket:按照 HTTP协议类型进行过滤。对应的 Value 可选项如下:<br> HTTP:HTTP 协议;<br> HTTPS:HTTPS 协议;<br> QUIC:QUIC 协议。</li>\n<li>statusCode:按照边缘状态码进行过滤。若填写 statusCode 参数,则最多可查询近 30 天的数据。对应的 Value 可选项如下:<br> 1XX:1xx类型的状态码;<br> 2XX:2xx类型的状态码;<br> 3XX:3xx类型的状态码;<br> 4XX:4xx类型的状态码;<br> 5XX:5xx类型的状态码;<br> 在 [0,600) 范围内的整数。</li>\n<li>browserType:按照浏览器类型进行过滤。若填写 browserType 参数,则最多可查询近 30 天的数据。对应 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>\n<li>deviceType:按照设备类型进行过滤。若填写 deviceType 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TV:TV设备;<br> Tablet:Tablet设备;<br> Mobile:Mobile设备;<br> Desktop:Desktop设备;<br> Other:其他设备类型;<br> Empty:设备类型为空。</li>\n<li>operatingSystemType:按照操作系统类型进行过滤。若填写 operatingSystemType 参数,则最多可查询近 30 天的数据。对应 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>\n<li>tlsVersion:按照 TLS 版本进行过滤。若填写 tlsVersion 参数,则最多可查询近 30 天的数据。对应 Value 的可选项如下:<br> TLS1.0;<br> TLS1.1;<br> TLS1.2;<br> TLS1.3。</li>\n<li>ipVersion:按照 IP 版本进行过滤。对应 Value 的可选项如下:<br> 4:IPv4;<br> 6:IPv6。</li>\n<li>cacheType:按照缓存状态进行过滤。对应 Value 的可选项如下:<br> hit:请求命中 EdgeOne 节点缓存,资源由节点缓存提供。资源部分命中缓存也会记录为 hit。<br> miss:请求未命中 EdgeOne 节点缓存,资源由源站提供。<br> dynamic:请求的资源无法缓存/未配置被节点缓存,资源由源站提供。<br> other:无法被识别的缓存状态。边缘函数响应的请求会记录为 other。</li>\n<li>clientIp:按照客户端 IP 进行过滤。若填写 clientIp 参数,则最多可查询近 30 天的数据。</li>\n<li>userAgent:按照 User-Agent 请求头部进行过滤。若填写 userAgent 参数,则最多可查询近 30 天的数据。</li>",
|
10825
10896
|
"example": "无",
|
10826
10897
|
"member": "QueryCondition",
|
10827
10898
|
"name": "Filters",
|
@@ -10839,7 +10910,7 @@
|
|
10839
10910
|
},
|
10840
10911
|
{
|
10841
10912
|
"disabled": false,
|
10842
|
-
"document": "
|
10913
|
+
"document": "数据归属地区。该参数已废弃。请在 Filters.country 中按客户端地域过滤数据。",
|
10843
10914
|
"example": "mainland",
|
10844
10915
|
"member": "string",
|
10845
10916
|
"name": "Area",
|
@@ -890,6 +890,14 @@
|
|
890
890
|
"title": "查询 IP 分组的配置信息"
|
891
891
|
}
|
892
892
|
],
|
893
|
+
"DescribeSecurityPolicy": [
|
894
|
+
{
|
895
|
+
"document": "查询安全防护配置",
|
896
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeSecurityPolicy\n<公共请求参数>\n\n{\n \"Entity\": \"Host\",\n \"Host\": \"www.example.com\",\n \"ZoneId\": \"zone-xxqr76cy\"\n}",
|
897
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"cb5d2c0e-295e-412a-891a-9f8ab6057b4a\",\n \"SecurityPolicy\": {\n \"CustomRules\": {\n \"Rules\": [\n {\n \"Id\": \"1492837231\",\n \"Name\": \"ASimpleIPRule\",\n \"Condition\": \"${http.request.ip} in ['1.1.1.1', '10.10.10.0/24'] or ${http.request.ip.asn} in ['132203']\",\n \"Action\": {\n \"Name\": \"Deny\"\n },\n \"Enabled\": \"on\",\n \"RuleType\": \"PreciseMatchRule\",\n \"Priority\": 50\n }\n ]\n },\n \"ManagedRules\": {\n \"Enabled\": \"on\",\n \"AutoUpdate\": {\n \"AutoUpdateToLatestVersion\": \"off\",\n \"RulesetVersion\": \"2023-12-21T12:00:32Z\"\n },\n \"SemanticAnalysis\": \"on\",\n \"DetectionOnly\": \"on\",\n \"ManagedRuleGroups\": [\n {\n \"GroupId\": \"wafmanagedrulegroup-vulnerability-scanners\",\n \"SensitivityLevel\": \"loose\",\n \"Action\": {\n \"Name\": \"Monitor\"\n },\n \"MetaData\": {\n \"GroupDetail\": \"扫描器攻击漏洞防护\",\n \"GroupName\": \"扫描器攻击漏洞防护\",\n \"RuleDetails\": [\n {\n \"RuleId\": \"4401215444\",\n \"RiskLevel\": \"extreme\",\n \"Description\": \"针对dedecms历史sql注入漏洞的防护规则\",\n \"Tags\": [],\n \"RuleVersion\": \"2023-12-21T12:00:32Z\"\n },\n {\n \"RuleId\": \"4401214877\",\n \"RiskLevel\": \"medium\",\n \"Description\": \"拦截常见扫描器的xss验证payload\",\n \"Tags\": [],\n \"RuleVersion\": \"2023-12-21T12:00:32Z\"\n }\n ]\n }\n }\n ]\n }\n }\n }\n}",
|
898
|
+
"title": "查询安全防护配置"
|
899
|
+
}
|
900
|
+
],
|
893
901
|
"DescribeSecurityTemplateBindings": [
|
894
902
|
{
|
895
903
|
"document": "此方法会输出策略模板的全部绑定关系,包括:\n1)已经生效的绑定关系,标注的 “Status” 为 “online”;\n2)正在绑定的绑定关系,标注的 “Status” 为 “pending”。\n注意:一个域名可能在绑定关系列表中,出现多次,同时标记为多个状态。\n\n例如:查询 example.com 站点(zone ID 为 zone-fdsjjkfsda)下,策略模板 \"生产环境策略\" (SecurityTemplate ID 为 temp-fjsoelx)的绑定关系,可以参考以下示例进行查询。\n\n\n注意:输出示例中包含正在绑定 和绑定失败的绑定关系,策略模板已对该二域名生效。其中,abc.example.com 已绑定至入参指定的策略模板,策略正常生效,因此该绑定关系展示为 online 状态;xyz.example.com 正在被重新绑定至其他策略模板,但是尚未完成绑定,当前策略模板仍然生效,因此同时出现在已经生效和正在绑定的绑定关系列表中。\n",
|
@@ -381,13 +381,13 @@
|
|
381
381
|
"members": [
|
382
382
|
{
|
383
383
|
"disabled": false,
|
384
|
-
"document": "计算节点ID
|
384
|
+
"document": "计算节点ID。",
|
385
385
|
"example": "ins-jfhc307q",
|
386
386
|
"member": "string",
|
387
387
|
"name": "NodeId",
|
388
|
-
"
|
388
|
+
"output_required": true,
|
389
389
|
"type": "string",
|
390
|
-
"value_allowed_null":
|
390
|
+
"value_allowed_null": false
|
391
391
|
}
|
392
392
|
],
|
393
393
|
"usage": "out"
|
@@ -565,13 +565,13 @@
|
|
565
565
|
"members": [
|
566
566
|
{
|
567
567
|
"disabled": false,
|
568
|
-
"document": "集群ID
|
568
|
+
"document": "集群ID。",
|
569
569
|
"example": "hpc-5lyv94lq",
|
570
570
|
"member": "string",
|
571
571
|
"name": "ClusterId",
|
572
572
|
"output_required": true,
|
573
573
|
"type": "string",
|
574
|
-
"value_allowed_null":
|
574
|
+
"value_allowed_null": false
|
575
575
|
},
|
576
576
|
{
|
577
577
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -959,13 +959,13 @@
|
|
959
959
|
"members": [
|
960
960
|
{
|
961
961
|
"disabled": false,
|
962
|
-
"document": "管控节点ID
|
962
|
+
"document": "管控节点ID。",
|
963
963
|
"example": "ins-jfhc307q",
|
964
964
|
"member": "string",
|
965
965
|
"name": "NodeId",
|
966
|
-
"
|
966
|
+
"output_required": true,
|
967
967
|
"type": "string",
|
968
|
-
"value_allowed_null":
|
968
|
+
"value_allowed_null": false
|
969
969
|
}
|
970
970
|
],
|
971
971
|
"usage": "out"
|
@@ -898,13 +898,13 @@
|
|
898
898
|
"members": [
|
899
899
|
{
|
900
900
|
"disabled": false,
|
901
|
-
"document": "计算节点ID
|
901
|
+
"document": "计算节点ID。",
|
902
902
|
"example": "ins-jfhc307q",
|
903
903
|
"member": "string",
|
904
904
|
"name": "NodeId",
|
905
|
-
"
|
905
|
+
"output_required": true,
|
906
906
|
"type": "string",
|
907
|
-
"value_allowed_null":
|
907
|
+
"value_allowed_null": false
|
908
908
|
}
|
909
909
|
],
|
910
910
|
"usage": "out"
|
@@ -1091,13 +1091,13 @@
|
|
1091
1091
|
"members": [
|
1092
1092
|
{
|
1093
1093
|
"disabled": false,
|
1094
|
-
"document": "集群ID
|
1094
|
+
"document": "集群ID。",
|
1095
1095
|
"example": "hpc-5lyv94lq",
|
1096
1096
|
"member": "string",
|
1097
1097
|
"name": "ClusterId",
|
1098
1098
|
"output_required": true,
|
1099
1099
|
"type": "string",
|
1100
|
-
"value_allowed_null":
|
1100
|
+
"value_allowed_null": false
|
1101
1101
|
},
|
1102
1102
|
{
|
1103
1103
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -2104,13 +2104,13 @@
|
|
2104
2104
|
"members": [
|
2105
2105
|
{
|
2106
2106
|
"disabled": false,
|
2107
|
-
"document": "管控节点ID
|
2107
|
+
"document": "管控节点ID。",
|
2108
2108
|
"example": "ins-jfhc307q",
|
2109
2109
|
"member": "string",
|
2110
2110
|
"name": "NodeId",
|
2111
|
-
"
|
2111
|
+
"output_required": true,
|
2112
2112
|
"type": "string",
|
2113
|
-
"value_allowed_null":
|
2113
|
+
"value_allowed_null": false
|
2114
2114
|
}
|
2115
2115
|
],
|
2116
2116
|
"usage": "out"
|
@@ -987,13 +987,13 @@
|
|
987
987
|
"members": [
|
988
988
|
{
|
989
989
|
"disabled": false,
|
990
|
-
"document": "计算节点ID
|
990
|
+
"document": "计算节点ID。",
|
991
991
|
"example": "ins-jfhc307q",
|
992
992
|
"member": "string",
|
993
993
|
"name": "NodeId",
|
994
|
-
"
|
994
|
+
"output_required": true,
|
995
995
|
"type": "string",
|
996
|
-
"value_allowed_null":
|
996
|
+
"value_allowed_null": false
|
997
997
|
}
|
998
998
|
],
|
999
999
|
"usage": "out"
|
@@ -1207,13 +1207,13 @@
|
|
1207
1207
|
"members": [
|
1208
1208
|
{
|
1209
1209
|
"disabled": false,
|
1210
|
-
"document": "集群ID
|
1210
|
+
"document": "集群ID。",
|
1211
1211
|
"example": "hpc-5lyv94lq",
|
1212
1212
|
"member": "string",
|
1213
1213
|
"name": "ClusterId",
|
1214
1214
|
"output_required": true,
|
1215
1215
|
"type": "string",
|
1216
|
-
"value_allowed_null":
|
1216
|
+
"value_allowed_null": false
|
1217
1217
|
},
|
1218
1218
|
{
|
1219
1219
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -1859,12 +1859,13 @@
|
|
1859
1859
|
"members": [
|
1860
1860
|
{
|
1861
1861
|
"disabled": false,
|
1862
|
-
"document": "
|
1862
|
+
"document": "节点初始化脚本列表。",
|
1863
1863
|
"example": "无",
|
1864
1864
|
"member": "NodeScript",
|
1865
1865
|
"name": "InitNodeScriptSet",
|
1866
|
+
"output_required": true,
|
1866
1867
|
"type": "list",
|
1867
|
-
"value_allowed_null":
|
1868
|
+
"value_allowed_null": false
|
1868
1869
|
},
|
1869
1870
|
{
|
1870
1871
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
@@ -2726,13 +2727,13 @@
|
|
2726
2727
|
"members": [
|
2727
2728
|
{
|
2728
2729
|
"disabled": false,
|
2729
|
-
"document": "管控节点ID
|
2730
|
+
"document": "管控节点ID。",
|
2730
2731
|
"example": "ins-jfhc307q",
|
2731
2732
|
"member": "string",
|
2732
2733
|
"name": "NodeId",
|
2733
|
-
"
|
2734
|
+
"output_required": true,
|
2734
2735
|
"type": "string",
|
2735
|
-
"value_allowed_null":
|
2736
|
+
"value_allowed_null": false
|
2736
2737
|
}
|
2737
2738
|
],
|
2738
2739
|
"usage": "out"
|