tccli 3.0.1290.1__py2.py3-none-any.whl → 3.0.1292.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/antiddos_client.py +7 -113
- tccli/services/antiddos/v20200309/api.json +189 -520
- tccli/services/antiddos/v20200309/examples.json +6 -22
- tccli/services/apm/v20210622/api.json +44 -44
- tccli/services/apm/v20210622/examples.json +5 -5
- tccli/services/batch/v20170312/api.json +161 -161
- tccli/services/batch/v20170312/examples.json +1 -1
- tccli/services/bi/v20220105/api.json +1 -1
- tccli/services/bi/v20220105/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/cdwch/v20200915/api.json +507 -418
- tccli/services/cdwch/v20200915/examples.json +29 -29
- tccli/services/cdwpg/v20201230/api.json +21 -21
- tccli/services/cdwpg/v20201230/examples.json +2 -2
- tccli/services/ckafka/v20190819/api.json +1256 -1241
- tccli/services/clb/v20180317/api.json +12 -8
- tccli/services/cls/cls_client.py +18 -230
- tccli/services/cls/v20201016/api.json +182 -616
- tccli/services/cls/v20201016/examples.json +0 -32
- tccli/services/cvm/v20170312/api.json +10 -0
- tccli/services/cynosdb/v20190107/api.json +95 -95
- tccli/services/dbbrain/v20191016/api.json +32 -32
- tccli/services/dbbrain/v20210527/api.json +117 -108
- 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/dsgc/dsgc_client.py +0 -53
- tccli/services/dsgc/v20190723/api.json +0 -24
- tccli/services/dsgc/v20190723/examples.json +0 -8
- tccli/services/emr/v20190103/api.json +249 -13
- tccli/services/emr/v20190103/examples.json +2 -2
- tccli/services/hunyuan/v20230901/api.json +13 -2
- tccli/services/iotexplorer/iotexplorer_client.py +53 -0
- tccli/services/iotexplorer/v20190423/api.json +72 -0
- tccli/services/iotexplorer/v20190423/examples.json +8 -0
- tccli/services/iotvideoindustry/v20201201/api.json +617 -598
- tccli/services/iotvideoindustry/v20201201/examples.json +16 -16
- tccli/services/lke/lke_client.py +0 -53
- tccli/services/lke/v20231130/api.json +0 -43
- tccli/services/lke/v20231130/examples.json +0 -8
- tccli/services/lkeap/v20240522/api.json +1 -1
- tccli/services/mariadb/v20170312/api.json +42 -42
- tccli/services/mariadb/v20170312/examples.json +12 -0
- tccli/services/memcached/v20190318/api.json +1 -1
- tccli/services/mmps/v20200710/api.json +95 -95
- tccli/services/monitor/monitor_client.py +57 -4
- tccli/services/monitor/v20180724/api.json +249 -0
- tccli/services/monitor/v20180724/examples.json +8 -0
- tccli/services/mps/v20190612/api.json +7 -7
- tccli/services/postgres/v20170312/api.json +308 -283
- tccli/services/redis/v20180412/api.json +2 -2
- tccli/services/svp/v20240125/api.json +69 -69
- tccli/services/svp/v20240125/examples.json +2 -2
- tccli/services/tcb/tcb_client.py +0 -53
- tccli/services/tcb/v20180608/api.json +0 -110
- tccli/services/tcb/v20180608/examples.json +0 -8
- 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 +266 -355
- tccli/services/tdmq/v20200217/examples.json +0 -8
- tccli/services/teo/teo_client.py +106 -0
- tccli/services/teo/v20220901/api.json +132 -18
- tccli/services/teo/v20220901/examples.json +16 -0
- tccli/services/thpc/v20211109/api.json +8 -8
- tccli/services/thpc/v20220401/api.json +14 -14
- tccli/services/thpc/v20230321/api.json +25 -24
- 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 +185 -12
- {tccli-3.0.1290.1.dist-info → tccli-3.0.1292.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1290.1.dist-info → tccli-3.0.1292.1.dist-info}/RECORD +82 -82
- {tccli-3.0.1290.1.dist-info → tccli-3.0.1292.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1290.1.dist-info → tccli-3.0.1292.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1290.1.dist-info → tccli-3.0.1292.1.dist-info}/license_files/LICENSE +0 -0
@@ -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
@@ -2619,6 +2619,58 @@ def doDescribeConfigGroupVersions(args, parsed_globals):
|
|
2619
2619
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2620
2620
|
|
2621
2621
|
|
2622
|
+
def doModifyL7AccRulePriority(args, parsed_globals):
|
2623
|
+
g_param = parse_global_arg(parsed_globals)
|
2624
|
+
|
2625
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2626
|
+
cred = credential.CVMRoleCredential()
|
2627
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2628
|
+
cred = credential.STSAssumeRoleCredential(
|
2629
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2630
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2631
|
+
)
|
2632
|
+
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):
|
2633
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2634
|
+
else:
|
2635
|
+
cred = credential.Credential(
|
2636
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2637
|
+
)
|
2638
|
+
http_profile = HttpProfile(
|
2639
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2640
|
+
reqMethod="POST",
|
2641
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2642
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2643
|
+
)
|
2644
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2645
|
+
if g_param[OptionsDefine.Language]:
|
2646
|
+
profile.language = g_param[OptionsDefine.Language]
|
2647
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2648
|
+
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
2649
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2650
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2651
|
+
model = models.ModifyL7AccRulePriorityRequest()
|
2652
|
+
model.from_json_string(json.dumps(args))
|
2653
|
+
start_time = time.time()
|
2654
|
+
while True:
|
2655
|
+
rsp = client.ModifyL7AccRulePriority(model)
|
2656
|
+
result = rsp.to_json_string()
|
2657
|
+
try:
|
2658
|
+
json_obj = json.loads(result)
|
2659
|
+
except TypeError as e:
|
2660
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2661
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2662
|
+
break
|
2663
|
+
cur_time = time.time()
|
2664
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2665
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2666
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2667
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2668
|
+
else:
|
2669
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2670
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2671
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2672
|
+
|
2673
|
+
|
2622
2674
|
def doModifyZoneSetting(args, parsed_globals):
|
2623
2675
|
g_param = parse_global_arg(parsed_globals)
|
2624
2676
|
|
@@ -5271,6 +5323,58 @@ def doModifyContentIdentifier(args, parsed_globals):
|
|
5271
5323
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5272
5324
|
|
5273
5325
|
|
5326
|
+
def doDescribeSecurityPolicy(args, parsed_globals):
|
5327
|
+
g_param = parse_global_arg(parsed_globals)
|
5328
|
+
|
5329
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
5330
|
+
cred = credential.CVMRoleCredential()
|
5331
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
5332
|
+
cred = credential.STSAssumeRoleCredential(
|
5333
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
5334
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
5335
|
+
)
|
5336
|
+
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):
|
5337
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
5338
|
+
else:
|
5339
|
+
cred = credential.Credential(
|
5340
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
5341
|
+
)
|
5342
|
+
http_profile = HttpProfile(
|
5343
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
5344
|
+
reqMethod="POST",
|
5345
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
5346
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
5347
|
+
)
|
5348
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
5349
|
+
if g_param[OptionsDefine.Language]:
|
5350
|
+
profile.language = g_param[OptionsDefine.Language]
|
5351
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
5352
|
+
client = mod.TeoClient(cred, g_param[OptionsDefine.Region], profile)
|
5353
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
5354
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
5355
|
+
model = models.DescribeSecurityPolicyRequest()
|
5356
|
+
model.from_json_string(json.dumps(args))
|
5357
|
+
start_time = time.time()
|
5358
|
+
while True:
|
5359
|
+
rsp = client.DescribeSecurityPolicy(model)
|
5360
|
+
result = rsp.to_json_string()
|
5361
|
+
try:
|
5362
|
+
json_obj = json.loads(result)
|
5363
|
+
except TypeError as e:
|
5364
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
5365
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
5366
|
+
break
|
5367
|
+
cur_time = time.time()
|
5368
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
5369
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
5370
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
5371
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
5372
|
+
else:
|
5373
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
5374
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
5375
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
5376
|
+
|
5377
|
+
|
5274
5378
|
def doModifyFunctionRulePriority(args, parsed_globals):
|
5275
5379
|
g_param = parse_global_arg(parsed_globals)
|
5276
5380
|
|
@@ -7362,6 +7466,7 @@ ACTION_MAP = {
|
|
7362
7466
|
"ModifyDnsRecords": doModifyDnsRecords,
|
7363
7467
|
"DescribeTimingL7CacheData": doDescribeTimingL7CacheData,
|
7364
7468
|
"DescribeConfigGroupVersions": doDescribeConfigGroupVersions,
|
7469
|
+
"ModifyL7AccRulePriority": doModifyL7AccRulePriority,
|
7365
7470
|
"ModifyZoneSetting": doModifyZoneSetting,
|
7366
7471
|
"CreateAliasDomain": doCreateAliasDomain,
|
7367
7472
|
"ModifyAliasDomainStatus": doModifyAliasDomainStatus,
|
@@ -7413,6 +7518,7 @@ ACTION_MAP = {
|
|
7413
7518
|
"HandleFunctionRuntimeEnvironment": doHandleFunctionRuntimeEnvironment,
|
7414
7519
|
"DescribeDDoSAttackEvent": doDescribeDDoSAttackEvent,
|
7415
7520
|
"ModifyContentIdentifier": doModifyContentIdentifier,
|
7521
|
+
"DescribeSecurityPolicy": doDescribeSecurityPolicy,
|
7416
7522
|
"ModifyFunctionRulePriority": doModifyFunctionRulePriority,
|
7417
7523
|
"ModifySecurityIPGroup": doModifySecurityIPGroup,
|
7418
7524
|
"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",
|
@@ -882,6 +889,13 @@
|
|
882
889
|
"output": "ModifyL7AccRuleResponse",
|
883
890
|
"status": "online"
|
884
891
|
},
|
892
|
+
"ModifyL7AccRulePriority": {
|
893
|
+
"document": "本接口用于修改[规则引擎](https://cloud.tencent.com/document/product/1552/70901)中规则列表的优先级,本接口需要传入站点 ID 下完整的规则 ID 列表,规则 ID 列表可以通过[查询七层加速规则](https://cloud.tencent.com/document/product/1552/115820)接口获取,最终优先级顺序将调整成规则 ID 列表的顺序,从前往后执行。",
|
894
|
+
"input": "ModifyL7AccRulePriorityRequest",
|
895
|
+
"name": "修改七层加速规则优先级",
|
896
|
+
"output": "ModifyL7AccRulePriorityResponse",
|
897
|
+
"status": "online"
|
898
|
+
},
|
885
899
|
"ModifyL7AccSetting": {
|
886
900
|
"document": "本接口用于修改[站点加速](https://cloud.tencent.com/document/product/1552/96193)全局配置。",
|
887
901
|
"input": "ModifyL7AccSettingRequest",
|
@@ -10413,6 +10427,70 @@
|
|
10413
10427
|
],
|
10414
10428
|
"type": "object"
|
10415
10429
|
},
|
10430
|
+
"DescribeSecurityPolicyRequest": {
|
10431
|
+
"document": "DescribeSecurityPolicy请求参数结构体",
|
10432
|
+
"members": [
|
10433
|
+
{
|
10434
|
+
"disabled": false,
|
10435
|
+
"document": "站点 ID。",
|
10436
|
+
"example": "test.com",
|
10437
|
+
"member": "string",
|
10438
|
+
"name": "ZoneId",
|
10439
|
+
"required": true,
|
10440
|
+
"type": "string"
|
10441
|
+
},
|
10442
|
+
{
|
10443
|
+
"disabled": false,
|
10444
|
+
"document": "安全策略类型,可使用以下参数值进行查询: <li>ZoneDefaultPolicy:用于指定查询站点级策略;</li><li>Template:用于指定查询策略模板,需要同时指定 TemplateId 参数;</li><li>Host:用于指定查询域名级策略(注意:当使用域名来指定域名服务策略时,仅支持已经应用了域名级策略的域名服务或者策略模板)。</li>\t",
|
10445
|
+
"example": "Host",
|
10446
|
+
"member": "string",
|
10447
|
+
"name": "Entity",
|
10448
|
+
"required": false,
|
10449
|
+
"type": "string"
|
10450
|
+
},
|
10451
|
+
{
|
10452
|
+
"disabled": false,
|
10453
|
+
"document": "指定策略模板 ID。当 Entity 参数值为 Template 时,使用本参数指定策略模板的 ID 查询模板配置。",
|
10454
|
+
"example": "temp-wj86oi2",
|
10455
|
+
"member": "string",
|
10456
|
+
"name": "TemplateId",
|
10457
|
+
"required": false,
|
10458
|
+
"type": "string"
|
10459
|
+
},
|
10460
|
+
{
|
10461
|
+
"disabled": false,
|
10462
|
+
"document": "指定域名。当 Entity 参数值为 Host 时,使用本参数指定的域名级策略查询域名配置,例如:使用 www.example.com ,配置该域名的域名级策略。",
|
10463
|
+
"example": "www.example.com",
|
10464
|
+
"member": "string",
|
10465
|
+
"name": "Host",
|
10466
|
+
"required": false,
|
10467
|
+
"type": "string"
|
10468
|
+
}
|
10469
|
+
],
|
10470
|
+
"type": "object"
|
10471
|
+
},
|
10472
|
+
"DescribeSecurityPolicyResponse": {
|
10473
|
+
"document": "DescribeSecurityPolicy返回参数结构体",
|
10474
|
+
"members": [
|
10475
|
+
{
|
10476
|
+
"disabled": false,
|
10477
|
+
"document": "安全策略配置。\n注意:此字段可能返回 null,表示取不到有效值。",
|
10478
|
+
"example": "参考SecurityPolicy结构",
|
10479
|
+
"member": "SecurityPolicy",
|
10480
|
+
"name": "SecurityPolicy",
|
10481
|
+
"output_required": false,
|
10482
|
+
"type": "object",
|
10483
|
+
"value_allowed_null": true
|
10484
|
+
},
|
10485
|
+
{
|
10486
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
10487
|
+
"member": "string",
|
10488
|
+
"name": "RequestId",
|
10489
|
+
"type": "string"
|
10490
|
+
}
|
10491
|
+
],
|
10492
|
+
"type": "object"
|
10493
|
+
},
|
10416
10494
|
"DescribeSecurityTemplateBindingsRequest": {
|
10417
10495
|
"document": "DescribeSecurityTemplateBindings请求参数结构体",
|
10418
10496
|
"members": [
|
@@ -10482,7 +10560,7 @@
|
|
10482
10560
|
},
|
10483
10561
|
{
|
10484
10562
|
"disabled": false,
|
10485
|
-
"document": "查询指标,取值有:\n<li>l4Flow_connections:
|
10563
|
+
"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
10564
|
"example": "[\"l4Flow_connections\"]",
|
10487
10565
|
"member": "string",
|
10488
10566
|
"name": "MetricNames",
|
@@ -10492,7 +10570,7 @@
|
|
10492
10570
|
{
|
10493
10571
|
"disabled": false,
|
10494
10572
|
"document": "站点 ID 集合,此参数必填。",
|
10495
|
-
"example": "[\"
|
10573
|
+
"example": "[\"zone-2rntun0a1z6t\",\"zone-323urc8a9j0q\"]",
|
10496
10574
|
"member": "string",
|
10497
10575
|
"name": "ZoneIds",
|
10498
10576
|
"required": false,
|
@@ -10501,7 +10579,7 @@
|
|
10501
10579
|
{
|
10502
10580
|
"disabled": false,
|
10503
10581
|
"document": "四层实例列表, 不填表示选择全部实例。",
|
10504
|
-
"example": "
|
10582
|
+
"example": "[\"sid-39562waf3raa\"]",
|
10505
10583
|
"member": "string",
|
10506
10584
|
"name": "ProxyIds",
|
10507
10585
|
"required": false,
|
@@ -10527,8 +10605,8 @@
|
|
10527
10605
|
},
|
10528
10606
|
{
|
10529
10607
|
"disabled": false,
|
10530
|
-
"document": "
|
10531
|
-
"example": "
|
10608
|
+
"document": "数据归属地区。该参数已废弃。请在 Filters.country 中按客户端地域过滤数据。",
|
10609
|
+
"example": "无",
|
10532
10610
|
"member": "string",
|
10533
10611
|
"name": "Area",
|
10534
10612
|
"required": false,
|
@@ -10619,7 +10697,7 @@
|
|
10619
10697
|
},
|
10620
10698
|
{
|
10621
10699
|
"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
|
10700
|
+
"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
10701
|
"example": "无",
|
10624
10702
|
"member": "QueryCondition",
|
10625
10703
|
"name": "Filters",
|
@@ -10628,8 +10706,8 @@
|
|
10628
10706
|
},
|
10629
10707
|
{
|
10630
10708
|
"disabled": false,
|
10631
|
-
"document": "
|
10632
|
-
"example": "
|
10709
|
+
"document": "数据归属地区。该参数已废弃。请在 Filters.country 中按客户端地域过滤数据。",
|
10710
|
+
"example": "无",
|
10633
10711
|
"member": "string",
|
10634
10712
|
"name": "Area",
|
10635
10713
|
"required": false,
|
@@ -10794,7 +10872,7 @@
|
|
10794
10872
|
},
|
10795
10873
|
{
|
10796
10874
|
"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",
|
10875
|
+
"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
10876
|
"example": "l7Flow_outFlux_country",
|
10799
10877
|
"member": "string",
|
10800
10878
|
"name": "MetricName",
|
@@ -10821,7 +10899,7 @@
|
|
10821
10899
|
},
|
10822
10900
|
{
|
10823
10901
|
"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
|
10902
|
+
"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
10903
|
"example": "无",
|
10826
10904
|
"member": "QueryCondition",
|
10827
10905
|
"name": "Filters",
|
@@ -10839,7 +10917,7 @@
|
|
10839
10917
|
},
|
10840
10918
|
{
|
10841
10919
|
"disabled": false,
|
10842
|
-
"document": "
|
10920
|
+
"document": "数据归属地区。该参数已废弃。请在 Filters.country 中按客户端地域过滤数据。",
|
10843
10921
|
"example": "mainland",
|
10844
10922
|
"member": "string",
|
10845
10923
|
"name": "Area",
|
@@ -11466,7 +11544,7 @@
|
|
11466
11544
|
{
|
11467
11545
|
"disabled": false,
|
11468
11546
|
"document": "匹配条件的参数名称,取值有:\n<li>body_depth:请求正文包部分的检测深度。</li>",
|
11469
|
-
"example": "
|
11547
|
+
"example": "body_depth",
|
11470
11548
|
"member": "string",
|
11471
11549
|
"name": "Name",
|
11472
11550
|
"output_required": false,
|
@@ -11476,8 +11554,8 @@
|
|
11476
11554
|
},
|
11477
11555
|
{
|
11478
11556
|
"disabled": false,
|
11479
|
-
"document": "匹配条件的参数值,取值与 Name 成对使用。\n当 Name 值为 body_depth 时, Values 只支持传入单个值,取值有:\n<li>
|
11480
|
-
"example": "
|
11557
|
+
"document": "匹配条件的参数值,取值与 Name 成对使用。\n当 Name 值为 body_depth 时, Values 只支持传入单个值,取值有:\n<li>10KB;</li>\n<li>64KB;</li>\n<li>128KB。</li>",
|
11558
|
+
"example": "[\"10KB\"]",
|
11481
11559
|
"member": "string",
|
11482
11560
|
"name": "Values",
|
11483
11561
|
"output_required": false,
|
@@ -11511,7 +11589,7 @@
|
|
11511
11589
|
{
|
11512
11590
|
"disabled": false,
|
11513
11591
|
"document": "规则Id。仅出参使用。",
|
11514
|
-
"example": "
|
11592
|
+
"example": "10468982785",
|
11515
11593
|
"member": "uint64",
|
11516
11594
|
"name": "RuleId",
|
11517
11595
|
"output_required": false,
|
@@ -11522,7 +11600,7 @@
|
|
11522
11600
|
{
|
11523
11601
|
"disabled": false,
|
11524
11602
|
"document": "规则名称。仅出参使用。",
|
11525
|
-
"example": "
|
11603
|
+
"example": "请求正文最大检测长度",
|
11526
11604
|
"member": "string",
|
11527
11605
|
"name": "RuleName",
|
11528
11606
|
"output_required": false,
|
@@ -11533,7 +11611,7 @@
|
|
11533
11611
|
{
|
11534
11612
|
"disabled": false,
|
11535
11613
|
"document": "规则描述,仅出参使用。",
|
11536
|
-
"example": "
|
11614
|
+
"example": "在检查请求正文内容时,安全策略仅检测一定长度范围内的请求正文数据,超过该范围的数据不会触发安全策略。您可以选择如何处理正文超长的请求。",
|
11537
11615
|
"member": "string",
|
11538
11616
|
"name": "Description",
|
11539
11617
|
"output_required": false,
|
@@ -11555,7 +11633,7 @@
|
|
11555
11633
|
{
|
11556
11634
|
"disabled": false,
|
11557
11635
|
"document": "处置方式,取值有:\n<li>skip:当请求正文数据超过 Conditions 出参中 body_depth 设置的检测深度时,跳过所有请求正文内容的检测;</li>\n<li>scan:仅检测 Conditions 出参中 body_depth 设置的检测深度,对超出部分的请求正文内容直接截断处理,超出部分的请求正文不会经过安全检测。</li>仅出参使用。",
|
11558
|
-
"example": "
|
11636
|
+
"example": "scan",
|
11559
11637
|
"member": "string",
|
11560
11638
|
"name": "Action",
|
11561
11639
|
"output_required": false,
|
@@ -16303,6 +16381,42 @@
|
|
16303
16381
|
],
|
16304
16382
|
"type": "object"
|
16305
16383
|
},
|
16384
|
+
"ModifyL7AccRulePriorityRequest": {
|
16385
|
+
"document": "ModifyL7AccRulePriority请求参数结构体",
|
16386
|
+
"members": [
|
16387
|
+
{
|
16388
|
+
"disabled": false,
|
16389
|
+
"document": "站点 ID。",
|
16390
|
+
"example": "zone-example",
|
16391
|
+
"member": "string",
|
16392
|
+
"name": "ZoneId",
|
16393
|
+
"required": true,
|
16394
|
+
"type": "string"
|
16395
|
+
},
|
16396
|
+
{
|
16397
|
+
"disabled": false,
|
16398
|
+
"document": "站点 ID 下完整的规则 ID 列表,规则 ID 列表可以通过 [查询七层加速规则](https://cloud.tencent.com/document/product/1552/115820) 获取,最终优先级顺序将调整成规则 ID 列表的顺序,从前往后依次执行。",
|
16399
|
+
"example": "[\"rule-example1\", \"rule-example2\"]",
|
16400
|
+
"member": "string",
|
16401
|
+
"name": "RuleIds",
|
16402
|
+
"required": true,
|
16403
|
+
"type": "list"
|
16404
|
+
}
|
16405
|
+
],
|
16406
|
+
"type": "object"
|
16407
|
+
},
|
16408
|
+
"ModifyL7AccRulePriorityResponse": {
|
16409
|
+
"document": "ModifyL7AccRulePriority返回参数结构体",
|
16410
|
+
"members": [
|
16411
|
+
{
|
16412
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
16413
|
+
"member": "string",
|
16414
|
+
"name": "RequestId",
|
16415
|
+
"type": "string"
|
16416
|
+
}
|
16417
|
+
],
|
16418
|
+
"type": "object"
|
16419
|
+
},
|
16306
16420
|
"ModifyL7AccRuleRequest": {
|
16307
16421
|
"document": "ModifyL7AccRule请求参数结构体",
|
16308
16422
|
"members": [
|
@@ -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",
|
@@ -1266,6 +1274,14 @@
|
|
1266
1274
|
"title": "修改规则"
|
1267
1275
|
}
|
1268
1276
|
],
|
1277
|
+
"ModifyL7AccRulePriority": [
|
1278
|
+
{
|
1279
|
+
"document": "站点下有 3 条规则,原来执行顺序是 rule-example1、rule-example2、rule-example3,需要修改成执行顺序是 rule-example2、rule-example3、rule-example1。",
|
1280
|
+
"input": "POST / HTTP/1.1\nHost: teo.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: ModifyL7AccRulePriority\n<公共请求参数>\n\n{\n \"ZoneId\": \"zone-example\",\n \"RuleIds\": [\n \"rule-example2\",\n \"rule-example3\",\n \"rule-example1\"\n ]\n}",
|
1281
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"example-310c-41f4-b5e7-abe407404sxsd\"\n }\n}",
|
1282
|
+
"title": "修改规则引擎优先级"
|
1283
|
+
}
|
1284
|
+
],
|
1269
1285
|
"ModifyL7AccSetting": [
|
1270
1286
|
{
|
1271
1287
|
"document": "修改站点加速全局配置。",
|
@@ -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"
|