tccli 3.0.1300.3__py2.py3-none-any.whl → 3.0.1302.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/__init__.py +2 -1
- tccli/services/asr/v20190614/api.json +18 -18
- tccli/services/batch/v20170312/api.json +14 -14
- tccli/services/bh/bh_client.py +623 -93
- tccli/services/bh/v20230418/api.json +1054 -32
- tccli/services/bh/v20230418/examples.json +93 -1
- tccli/services/billing/billing_client.py +4 -57
- tccli/services/billing/v20180709/api.json +3 -305
- tccli/services/billing/v20180709/examples.json +2 -10
- tccli/services/bpaas/v20181217/api.json +56 -56
- tccli/services/cat/cat_client.py +61 -8
- tccli/services/cat/v20180409/api.json +115 -0
- tccli/services/cat/v20180409/examples.json +20 -0
- tccli/services/cbs/v20170312/api.json +9 -7
- tccli/services/cbs/v20170312/examples.json +2 -2
- tccli/services/ccc/ccc_client.py +216 -4
- tccli/services/ccc/v20200210/api.json +364 -6
- tccli/services/ccc/v20200210/examples.json +32 -0
- tccli/services/cdb/v20170320/api.json +23 -14
- tccli/services/cdb/v20170320/examples.json +3 -3
- tccli/services/cdc/cdc_client.py +173 -67
- tccli/services/cdc/v20201214/api.json +96 -0
- tccli/services/cdc/v20201214/examples.json +16 -0
- tccli/services/cdn/v20180606/api.json +365 -279
- tccli/services/cdwch/v20200915/api.json +21 -21
- tccli/services/cdwdoris/v20211228/api.json +21 -1
- tccli/services/cdwdoris/v20211228/examples.json +4 -4
- tccli/services/cdwpg/v20201230/api.json +375 -360
- tccli/services/cdwpg/v20201230/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +53 -0
- tccli/services/cfw/v20190904/api.json +201 -5
- tccli/services/cfw/v20190904/examples.json +8 -0
- tccli/services/chc/chc_client.py +57 -4
- tccli/services/chc/v20230418/api.json +108 -1
- tccli/services/chc/v20230418/examples.json +8 -0
- tccli/services/ckafka/ckafka_client.py +408 -302
- tccli/services/ckafka/v20190819/api.json +197 -2
- tccli/services/ckafka/v20190819/examples.json +16 -0
- tccli/services/clb/v20180317/api.json +439 -379
- tccli/services/clb/v20180317/examples.json +7 -7
- tccli/services/cls/cls_client.py +53 -0
- tccli/services/cls/v20201016/api.json +86 -3
- tccli/services/cls/v20201016/examples.json +11 -3
- tccli/services/cvm/v20170312/api.json +165 -147
- tccli/services/cvm/v20170312/examples.json +6 -6
- tccli/services/cwp/v20180228/api.json +93 -14
- tccli/services/cwp/v20180228/examples.json +7 -7
- tccli/services/cynosdb/cynosdb_client.py +171 -12
- tccli/services/cynosdb/v20190107/api.json +252 -3
- tccli/services/cynosdb/v20190107/examples.json +24 -0
- tccli/services/dbbrain/dbbrain_client.py +57 -4
- tccli/services/dbbrain/v20210527/api.json +62 -0
- tccli/services/dbbrain/v20210527/examples.json +8 -0
- tccli/services/dc/v20180410/api.json +1 -1
- tccli/services/dlc/dlc_client.py +53 -0
- tccli/services/dlc/v20210125/api.json +816 -655
- tccli/services/dlc/v20210125/examples.json +73 -59
- tccli/services/dsgc/v20190723/api.json +18 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/dts/v20211206/examples.json +6 -0
- tccli/services/emr/emr_client.py +53 -0
- tccli/services/emr/v20190103/api.json +127 -0
- tccli/services/emr/v20190103/examples.json +8 -0
- tccli/services/es/es_client.py +686 -151
- tccli/services/es/v20180416/api.json +509 -436
- tccli/services/es/v20180416/examples.json +43 -49
- tccli/services/es/v20250101/api.json +1391 -0
- tccli/services/es/v20250101/examples.json +85 -0
- tccli/services/ess/ess_client.py +53 -0
- tccli/services/ess/v20201111/api.json +142 -21
- tccli/services/ess/v20201111/examples.json +14 -0
- tccli/services/essbasic/essbasic_client.py +53 -0
- tccli/services/essbasic/v20210526/api.json +112 -9
- tccli/services/essbasic/v20210526/examples.json +8 -0
- tccli/services/gaap/v20180529/api.json +321 -312
- tccli/services/gaap/v20180529/examples.json +2 -2
- tccli/services/gs/gs_client.py +538 -8
- tccli/services/gs/v20191118/api.json +947 -44
- tccli/services/gs/v20191118/examples.json +87 -1
- tccli/services/gwlb/v20240906/api.json +56 -37
- tccli/services/gwlb/v20240906/examples.json +11 -5
- tccli/services/hunyuan/hunyuan_client.py +175 -69
- tccli/services/hunyuan/v20230901/api.json +191 -1
- tccli/services/hunyuan/v20230901/examples.json +17 -1
- tccli/services/ioa/ioa_client.py +227 -15
- tccli/services/ioa/v20220601/api.json +479 -0
- tccli/services/ioa/v20220601/examples.json +44 -0
- tccli/services/iotexplorer/iotexplorer_client.py +322 -4
- tccli/services/iotexplorer/v20190423/api.json +865 -52
- tccli/services/iotexplorer/v20190423/examples.json +64 -16
- tccli/services/iotvideo/iotvideo_client.py +57 -4
- tccli/services/iotvideo/v20211125/api.json +146 -0
- tccli/services/iotvideo/v20211125/examples.json +8 -0
- tccli/services/iotvideoindustry/v20201201/api.json +1 -1
- tccli/services/kms/v20190118/api.json +38 -2
- tccli/services/lcic/v20220817/api.json +66 -1
- tccli/services/lcic/v20220817/examples.json +1 -1
- tccli/services/lighthouse/lighthouse_client.py +0 -106
- tccli/services/lighthouse/v20200324/api.json +11 -98
- tccli/services/lighthouse/v20200324/examples.json +0 -16
- tccli/services/live/v20180801/api.json +1 -1
- tccli/services/lke/v20231130/api.json +208 -10
- tccli/services/lke/v20231130/examples.json +10 -10
- tccli/services/lkeap/lkeap_client.py +53 -0
- tccli/services/lkeap/v20240522/api.json +48 -4
- tccli/services/lkeap/v20240522/examples.json +8 -0
- tccli/services/mna/mna_client.py +4 -163
- tccli/services/mna/v20210119/api.json +0 -524
- tccli/services/mna/v20210119/examples.json +0 -24
- tccli/services/monitor/monitor_client.py +114 -8
- tccli/services/monitor/v20180724/api.json +129 -18
- tccli/services/monitor/v20180724/examples.json +17 -1
- tccli/services/mps/v20190612/api.json +1223 -1031
- tccli/services/mps/v20190612/examples.json +1 -1
- tccli/services/nlp/v20190408/examples.json +1 -1
- tccli/services/oceanus/v20190422/api.json +12 -12
- tccli/services/oceanus/v20190422/examples.json +15 -3
- tccli/services/ocr/v20181119/api.json +13 -3
- tccli/services/postgres/v20170312/api.json +2 -2
- tccli/services/privatedns/v20201028/api.json +30 -11
- tccli/services/privatedns/v20201028/examples.json +10 -10
- tccli/services/rce/v20201103/api.json +3 -3
- tccli/services/ses/v20201002/api.json +10 -1
- tccli/services/smop/v20201203/api.json +2 -2
- tccli/services/sqlserver/v20180328/api.json +1 -1
- tccli/services/ssm/v20190923/api.json +27 -0
- tccli/services/sts/sts_client.py +53 -0
- tccli/services/sts/v20180813/api.json +101 -1
- tccli/services/sts/v20180813/examples.json +8 -0
- tccli/services/taf/taf_client.py +0 -53
- tccli/services/taf/v20200210/api.json +0 -138
- tccli/services/taf/v20200210/examples.json +0 -8
- tccli/services/tan/v20220420/api.json +2 -2
- tccli/services/tat/v20201028/api.json +2 -2
- tccli/services/tcb/v20180608/api.json +29 -1
- tccli/services/tcbr/v20220217/api.json +32 -0
- tccli/services/tccatalog/v20241024/api.json +1 -1
- tccli/services/tccatalog/v20241024/examples.json +1 -1
- tccli/services/tcr/v20190924/api.json +5 -5
- tccli/services/tcr/v20190924/examples.json +2 -2
- tccli/services/tcss/v20201101/api.json +84 -34
- tccli/services/tcss/v20201101/examples.json +2809 -0
- tccli/services/tdmq/v20200217/api.json +40 -0
- tccli/services/tdmq/v20200217/examples.json +1 -1
- tccli/services/tds/tds_client.py +53 -0
- tccli/services/tds/v20220801/api.json +265 -0
- tccli/services/tds/v20220801/examples.json +8 -0
- tccli/services/tem/v20210701/api.json +664 -575
- tccli/services/tem/v20210701/examples.json +2 -2
- tccli/services/teo/v20220901/api.json +236 -208
- tccli/services/teo/v20220901/examples.json +13 -13
- tccli/services/tione/tione_client.py +53 -0
- tccli/services/tione/v20211111/api.json +256 -0
- tccli/services/tione/v20211111/examples.json +8 -0
- tccli/services/tke/v20180525/api.json +1 -1
- tccli/services/trocket/trocket_client.py +489 -12
- tccli/services/trocket/v20230308/api.json +925 -146
- tccli/services/trocket/v20230308/examples.json +72 -0
- tccli/services/trtc/v20190722/api.json +13 -19
- tccli/services/trtc/v20190722/examples.json +8 -8
- tccli/services/tse/v20201207/api.json +1016 -995
- tccli/services/tse/v20201207/examples.json +2 -2
- tccli/services/tsf/v20180326/api.json +510 -465
- tccli/services/tsf/v20180326/examples.json +4 -4
- tccli/services/tts/v20190823/api.json +10 -10
- tccli/services/vclm/v20240523/api.json +2 -2
- tccli/services/vcube/v20220410/api.json +10 -0
- tccli/services/vdb/v20230616/api.json +10 -0
- tccli/services/vdb/v20230616/examples.json +1 -1
- tccli/services/vpc/v20170312/api.json +824 -254
- tccli/services/vpc/v20170312/examples.json +66 -10
- tccli/services/vpc/vpc_client.py +383 -12
- tccli/services/vrs/v20200824/api.json +9 -0
- tccli/services/waf/v20180125/api.json +8113 -5814
- tccli/services/waf/v20180125/examples.json +90 -0
- tccli/services/waf/waf_client.py +559 -82
- tccli/services/wedata/v20210820/api.json +1379 -24
- tccli/services/wedata/v20210820/examples.json +25 -1
- tccli/services/wedata/wedata_client.py +171 -12
- tccli/services/weilingwith/v20230427/api.json +1 -1
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/RECORD +187 -184
- {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1300.3.dist-info → tccli-3.0.1302.1.dist-info}/license_files/LICENSE +0 -0
@@ -372,7 +372,7 @@
|
|
372
372
|
{
|
373
373
|
"document": "",
|
374
374
|
"input": "https://clb.tencentcloudapi.com/?Action=DescribeIdleLoadBalancers\n&<公共请求参数>",
|
375
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 46,\n \"IdleLoadBalancers\": [\n {\n \"LoadBalancerId\": \"lb-1l1i6a3k\",\n \"LoadBalancerName\": \"lb-613054ce\",\n \"Region\": \"ap-guangzhou\",\n \"Vip\": \"172.16.32.29\",\n \"IdleReason\": \"NO_RULES\",\n \"Status\": 1,\n \"Forward\": 1\n }\n ],\n \"RequestId\": \"afa28690-f148-483f-9727-58c2f1da3794\"\n }\n}",
|
375
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 46,\n \"IdleLoadBalancers\": [\n {\n \"LoadBalancerId\": \"lb-1l1i6a3k\",\n \"LoadBalancerName\": \"lb-613054ce\",\n \"Region\": \"ap-guangzhou\",\n \"Vip\": \"172.16.32.29\",\n \"IdleReason\": \"NO_RULES\",\n \"Status\": 1,\n \"Forward\": 1,\n \"Domain\": \"lb-xxxxx.tencentclb.com\"\n }\n ],\n \"RequestId\": \"afa28690-f148-483f-9727-58c2f1da3794\"\n }\n}",
|
376
376
|
"title": "获取负载均衡闲置实例"
|
377
377
|
}
|
378
378
|
],
|
@@ -424,7 +424,7 @@
|
|
424
424
|
{
|
425
425
|
"document": "查询账号下高流量负载均衡",
|
426
426
|
"input": "https://clb.tencentcloudapi.com/?Action=DescribeLoadBalancerTraffic\n&LoadBalancerRegion=ap-guangzhou\n&<公共请求参数>",
|
427
|
-
"output": "{\n \"Response\": {\n \"LoadBalancerTraffic\": [\n {\n \"LoadBalancerId\": \"lb-xxxxxx\",\n \"LoadBalancerName\": \"lb-name1\",\n \"Region\": \"ap-guangzhou\",\n \"Vip\": \"1.1.1.1\",\n \"OutBandwidth\": 177.083\n },\n {\n \"LoadBalancerId\": \"lb-kxyz2\",\n \"LoadBalancerName\": \"lb-xyzname\",\n \"Region\": \"ap-guangzhou\",\n \"Vip\": \"2.2.2.2\",\n \"OutBandwidth\": 77.449\n }\n ],\n \"RequestId\": \"03b18184-caf1-40d7-b01a-100010030712\"\n }\n}",
|
427
|
+
"output": "{\n \"Response\": {\n \"LoadBalancerTraffic\": [\n {\n \"LoadBalancerId\": \"lb-xxxxxx\",\n \"LoadBalancerName\": \"lb-name1\",\n \"Domain\": \"lb-name1.tencentclb.com\",\n \"Region\": \"ap-guangzhou\",\n \"Vip\": \"1.1.1.1\",\n \"OutBandwidth\": 177.083\n },\n {\n \"LoadBalancerId\": \"lb-kxyz2\",\n \"LoadBalancerName\": \"lb-xyzname\",\n \"Domain\": \"lb-xyzname.tencentclb.com\",\n \"Region\": \"ap-guangzhou\",\n \"Vip\": \"2.2.2.2\",\n \"OutBandwidth\": 77.449\n }\n ],\n \"RequestId\": \"03b18184-caf1-40d7-b01a-100010030712\"\n }\n}",
|
428
428
|
"title": "查询账号下高流量负载均衡"
|
429
429
|
}
|
430
430
|
],
|
@@ -432,31 +432,31 @@
|
|
432
432
|
{
|
433
433
|
"document": "",
|
434
434
|
"input": "POST / HTTP/1.1\nHost: clb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLoadBalancers\n<公共请求参数>\n\n{\n \"LoadBalancerIds\": [\n \"lb-rbw5****\"\n ]\n}",
|
435
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"lb-rbw5****\",\n \"LoadBalancerName\": \"test_LB_****\",\n \"Forward\": 1,\n \"Domain\": \"\",\n \"LoadBalancerDomain\": \"\",\n \"LoadBalancerVips\": [\n \"119.***.***.51\"\n ],\n \"AddressIPv6\": null,\n \"AddressIPVersion\": \"ipv4\",\n \"IPv6Mode\": null,\n \"LoadBalancerType\": \"OPEN\",\n \"Status\": 1,\n \"CreateTime\": \"2023-12-27 15:53:46\",\n \"StatusTime\": \"2024-01-22 19:58:03\",\n \"ProjectId\": 0,\n \"OpenBgp\": 0,\n \"Snat\": false,\n \"Isolation\": 0,\n \"Log\": \"\",\n \"AnycastZone\": \"\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113,\n \"TargetRegionInfo\": {\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-1y****83\"\n },\n \"SubnetId\": \"\",\n \"SecureGroups\": [],\n \"Tags\": [\n {\n \"TagKey\": \"key-****\",\n \"TagValue\": \"value-****\"\n }\n ],\n \"MasterZone\": {\n \"ZoneId\": 100003,\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneRegion\": \"ap-guangzhou\",\n \"LocalZone\": false,\n \"EdgeZone\": false\n },\n \"BackupZoneSet\": null,\n \"IsolatedTime\": null,\n \"ExpireTime\": \"2024-01-27 15:53:46\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"NetworkAttributes\": {\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 5,\n \"BandwidthpkgSubType\": \"BGP\"\n },\n \"PrepaidAttributes\": null,\n \"ExtraInfo\": null,\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LoadBalancerPassToTarget\": false,\n \"IsDDos\": false,\n \"ConfigId\": \"\",\n \"ExclusiveCluster\": {\n \"L4Clusters\": null,\n \"L7Clusters\": null,\n \"ClassicalCluster\": null\n },\n \"SnatPro\": false,\n \"SnatIps\": [],\n \"IsBlock\": false,\n \"IsBlockTime\": \"\",\n \"SlaType\": \"\",\n \"ClusterTag\": null,\n \"LocalBgp\": false,\n \"MixIpTarget\": false,\n \"Zones\": null,\n \"NfvInfo\": \"\",\n \"HealthLogSetId\": \"\",\n \"HealthLogTopicId\": \"\",\n \"ClusterIds\": null,\n \"AttributeFlags\": [\n \"SharedLimitFlag\"\n ],\n \"VipIsp\": \"BGP\",\n \"Egress\": \"\"\n }\n ],\n \"RequestId\": \"b0e9e810-01cc-4c12-8bd2-ca0a2ab1b976\"\n }\n}",
|
435
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"lb-rbw5****\",\n \"LoadBalancerName\": \"test_LB_****\",\n \"Forward\": 1,\n \"Domain\": \"\",\n \"LoadBalancerDomain\": \"\",\n \"LoadBalancerVips\": [\n \"119.***.***.51\"\n ],\n \"AddressIPv6\": null,\n \"AddressIPVersion\": \"ipv4\",\n \"IPv6Mode\": null,\n \"LoadBalancerType\": \"OPEN\",\n \"Status\": 1,\n \"CreateTime\": \"2023-12-27 15:53:46\",\n \"StatusTime\": \"2024-01-22 19:58:03\",\n \"ProjectId\": 0,\n \"OpenBgp\": 0,\n \"Snat\": false,\n \"Isolation\": 0,\n \"Log\": \"\",\n \"AnycastZone\": \"\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113,\n \"TargetRegionInfo\": {\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113\n },\n \"SubnetId\": \"\",\n \"SecureGroups\": [],\n \"Tags\": [\n {\n \"TagKey\": \"key-****\",\n \"TagValue\": \"value-****\"\n }\n ],\n \"MasterZone\": {\n \"ZoneId\": 100003,\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneRegion\": \"ap-guangzhou\",\n \"LocalZone\": false,\n \"EdgeZone\": false\n },\n \"BackupZoneSet\": null,\n \"IsolatedTime\": null,\n \"ExpireTime\": \"2024-01-27 15:53:46\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"NetworkAttributes\": {\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 5,\n \"BandwidthpkgSubType\": \"BGP\"\n },\n \"PrepaidAttributes\": null,\n \"ExtraInfo\": null,\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LoadBalancerPassToTarget\": false,\n \"IsDDos\": false,\n \"ConfigId\": \"\",\n \"ExclusiveCluster\": {\n \"L4Clusters\": null,\n \"L7Clusters\": null,\n \"ClassicalCluster\": null\n },\n \"SnatPro\": false,\n \"SnatIps\": [],\n \"IsBlock\": false,\n \"IsBlockTime\": \"\",\n \"SlaType\": \"\",\n \"ClusterTag\": null,\n \"LocalBgp\": false,\n \"MixIpTarget\": false,\n \"Zones\": null,\n \"NfvInfo\": \"\",\n \"HealthLogSetId\": \"\",\n \"HealthLogTopicId\": \"\",\n \"ClusterIds\": null,\n \"AttributeFlags\": [\n \"SharedLimitFlag\"\n ],\n \"VipIsp\": \"BGP\",\n \"Egress\": \"\"\n }\n ],\n \"RequestId\": \"b0e9e810-01cc-4c12-8bd2-ca0a2ab1b976\"\n }\n}",
|
436
436
|
"title": "根据负载均衡实例ID来查询"
|
437
437
|
},
|
438
438
|
{
|
439
439
|
"document": "",
|
440
440
|
"input": "POST / HTTP/1.1\nHost: clb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLoadBalancers\n<公共请求参数>\n\n{\n \"ProjectId\": \"0\",\n \"LoadBalancerType\": \"OPEN\",\n \"Filters\": [\n {\n \"Values\": [\n \"test_tag_value2\",\n \"test_tag_value1\"\n ],\n \"Name\": \"tag:test_tag_key\"\n }\n ],\n \"LoadBalancerName\": \"test_LB\"\n}",
|
441
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"lb-rbw5****\",\n \"LoadBalancerName\": \"test_LB_****\",\n \"Forward\": 1,\n \"Domain\": \"\",\n \"LoadBalancerDomain\": \"\",\n \"LoadBalancerVips\": [\n \"119.***.***.51\"\n ],\n \"AddressIPv6\": null,\n \"AddressIPVersion\": \"ipv4\",\n \"IPv6Mode\": null,\n \"LoadBalancerType\": \"OPEN\",\n \"Status\": 1,\n \"CreateTime\": \"2023-12-27 15:53:46\",\n \"StatusTime\": \"2024-01-22 19:58:03\",\n \"ProjectId\": 0,\n \"OpenBgp\": 0,\n \"Snat\": false,\n \"Isolation\": 0,\n \"Log\": \"\",\n \"AnycastZone\": \"\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113,\n \"TargetRegionInfo\": {\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-1y****83\"\n },\n \"SubnetId\": \"\",\n \"SecureGroups\": [],\n \"Tags\": [\n {\n \"TagKey\": \"key-****\",\n \"TagValue\": \"value-****\"\n }\n ],\n \"MasterZone\": {\n \"ZoneId\": 100003,\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneRegion\": \"ap-guangzhou\",\n \"LocalZone\": false,\n \"EdgeZone\": false\n },\n \"BackupZoneSet\": null,\n \"IsolatedTime\": null,\n \"ExpireTime\": \"2024-01-27 15:53:46\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"NetworkAttributes\": {\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 5,\n \"BandwidthpkgSubType\": \"BGP\"\n },\n \"PrepaidAttributes\": null,\n \"ExtraInfo\": null,\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LoadBalancerPassToTarget\": false,\n \"IsDDos\": false,\n \"ConfigId\": \"\",\n \"ExclusiveCluster\": {\n \"L4Clusters\": null,\n \"L7Clusters\": null,\n \"ClassicalCluster\": null\n },\n \"SnatPro\": false,\n \"SnatIps\": [],\n \"IsBlock\": false,\n \"IsBlockTime\": \"\",\n \"SlaType\": \"\",\n \"ClusterTag\": null,\n \"LocalBgp\": false,\n \"MixIpTarget\": false,\n \"Zones\": null,\n \"NfvInfo\": \"\",\n \"HealthLogSetId\": \"\",\n \"HealthLogTopicId\": \"\",\n \"ClusterIds\": null,\n \"AttributeFlags\": [\n \"SharedLimitFlag\"\n ],\n \"VipIsp\": \"BGP\",\n \"Egress\": \"\"\n }\n ],\n \"RequestId\": \"b0e9e810-01cc-4c12-8bd2-ca0a2ab1b976\"\n }\n}",
|
441
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"lb-rbw5****\",\n \"LoadBalancerName\": \"test_LB_****\",\n \"Forward\": 1,\n \"Domain\": \"\",\n \"LoadBalancerDomain\": \"\",\n \"LoadBalancerVips\": [\n \"119.***.***.51\"\n ],\n \"AddressIPv6\": null,\n \"AddressIPVersion\": \"ipv4\",\n \"IPv6Mode\": null,\n \"LoadBalancerType\": \"OPEN\",\n \"Status\": 1,\n \"CreateTime\": \"2023-12-27 15:53:46\",\n \"StatusTime\": \"2024-01-22 19:58:03\",\n \"ProjectId\": 0,\n \"OpenBgp\": 0,\n \"Snat\": false,\n \"Isolation\": 0,\n \"Log\": \"\",\n \"AnycastZone\": \"\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113,\n \"TargetRegionInfo\": {\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113\n },\n \"SubnetId\": \"\",\n \"SecureGroups\": [],\n \"Tags\": [\n {\n \"TagKey\": \"key-****\",\n \"TagValue\": \"value-****\"\n }\n ],\n \"MasterZone\": {\n \"ZoneId\": 100003,\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneRegion\": \"ap-guangzhou\",\n \"LocalZone\": false,\n \"EdgeZone\": false\n },\n \"BackupZoneSet\": null,\n \"IsolatedTime\": null,\n \"ExpireTime\": \"2024-01-27 15:53:46\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"NetworkAttributes\": {\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 5,\n \"BandwidthpkgSubType\": \"BGP\"\n },\n \"PrepaidAttributes\": null,\n \"ExtraInfo\": null,\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LoadBalancerPassToTarget\": false,\n \"IsDDos\": false,\n \"ConfigId\": \"\",\n \"ExclusiveCluster\": {\n \"L4Clusters\": null,\n \"L7Clusters\": null,\n \"ClassicalCluster\": null\n },\n \"SnatPro\": false,\n \"SnatIps\": [],\n \"IsBlock\": false,\n \"IsBlockTime\": \"\",\n \"SlaType\": \"\",\n \"ClusterTag\": null,\n \"LocalBgp\": false,\n \"MixIpTarget\": false,\n \"Zones\": null,\n \"NfvInfo\": \"\",\n \"HealthLogSetId\": \"\",\n \"HealthLogTopicId\": \"\",\n \"ClusterIds\": null,\n \"AttributeFlags\": [\n \"SharedLimitFlag\"\n ],\n \"VipIsp\": \"BGP\",\n \"Egress\": \"\"\n }\n ],\n \"RequestId\": \"b0e9e810-01cc-4c12-8bd2-ca0a2ab1b976\"\n }\n}",
|
442
442
|
"title": "根据负载均衡的标签键值对过滤查询"
|
443
443
|
},
|
444
444
|
{
|
445
445
|
"document": "查询绑定了内网IP为172.26.0.11的后端服务的负载均衡实例。",
|
446
446
|
"input": "POST / HTTP/1.1\nHost: clb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLoadBalancers\n<公共请求参数>\n\n{\n \"BackendPrivateIps\": [\n \"172.26.0.11\"\n ],\n \"WithRs\": \"1\"\n}",
|
447
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"lb-9vpm****\",\n \"LoadBalancerName\": \"lb-test-****-1227\",\n \"Forward\": 1,\n \"Domain\": \"\",\n \"LoadBalancerDomain\": \"\",\n \"LoadBalancerVips\": [\n \"119.***.***.51\"\n ],\n \"AddressIPv6\": null,\n \"AddressIPVersion\": \"ipv4\",\n \"IPv6Mode\": null,\n \"LoadBalancerType\": \"OPEN\",\n \"Status\": 1,\n \"CreateTime\": \"2023-12-27 15:53:46\",\n \"StatusTime\": \"2024-01-22 19:58:03\",\n \"ProjectId\": 0,\n \"OpenBgp\": 0,\n \"Snat\": false,\n \"Isolation\": 0,\n \"Log\": \"\",\n \"AnycastZone\": \"\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113,\n \"TargetRegionInfo\": {\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-1y****83\"\n },\n \"SubnetId\": \"\",\n \"SecureGroups\": [],\n \"Tags\": [\n {\n \"TagKey\": \"key-****\",\n \"TagValue\": \"value-****\"\n }\n ],\n \"MasterZone\": {\n \"ZoneId\": 100003,\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneRegion\": \"ap-guangzhou\",\n \"LocalZone\": false,\n \"EdgeZone\": false\n },\n \"BackupZoneSet\": null,\n \"IsolatedTime\": null,\n \"ExpireTime\": \"2024-01-27 15:53:46\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"NetworkAttributes\": {\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 5,\n \"BandwidthpkgSubType\": \"BGP\"\n },\n \"PrepaidAttributes\": null,\n \"ExtraInfo\": null,\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LoadBalancerPassToTarget\": false,\n \"IsDDos\": false,\n \"ConfigId\": \"\",\n \"ExclusiveCluster\": {\n \"L4Clusters\": null,\n \"L7Clusters\": null,\n \"ClassicalCluster\": null\n },\n \"SnatPro\": false,\n \"SnatIps\": [],\n \"IsBlock\": false,\n \"IsBlockTime\": \"\",\n \"SlaType\": \"\",\n \"ClusterTag\": null,\n \"LocalBgp\": false,\n \"MixIpTarget\": false,\n \"Zones\": null,\n \"NfvInfo\": \"\",\n \"HealthLogSetId\": \"\",\n \"HealthLogTopicId\": \"\",\n \"ClusterIds\": null,\n \"AttributeFlags\": [\n \"SharedLimitFlag\"\n ],\n \"VipIsp\": \"BGP\",\n \"Egress\": \"\"\n }\n ],\n \"RequestId\": \"b0e9e810-01cc-4c12-8bd2-ca0a2ab1b976\"\n }\n}",
|
447
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"lb-9vpm****\",\n \"LoadBalancerName\": \"lb-test-****-1227\",\n \"Forward\": 1,\n \"Domain\": \"\",\n \"LoadBalancerDomain\": \"\",\n \"LoadBalancerVips\": [\n \"119.***.***.51\"\n ],\n \"AddressIPv6\": null,\n \"AddressIPVersion\": \"ipv4\",\n \"IPv6Mode\": null,\n \"LoadBalancerType\": \"OPEN\",\n \"Status\": 1,\n \"CreateTime\": \"2023-12-27 15:53:46\",\n \"StatusTime\": \"2024-01-22 19:58:03\",\n \"ProjectId\": 0,\n \"OpenBgp\": 0,\n \"Snat\": false,\n \"Isolation\": 0,\n \"Log\": \"\",\n \"AnycastZone\": \"\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113,\n \"TargetRegionInfo\": {\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113\n },\n \"SubnetId\": \"\",\n \"SecureGroups\": [],\n \"Tags\": [\n {\n \"TagKey\": \"key-****\",\n \"TagValue\": \"value-****\"\n }\n ],\n \"MasterZone\": {\n \"ZoneId\": 100003,\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneRegion\": \"ap-guangzhou\",\n \"LocalZone\": false,\n \"EdgeZone\": false\n },\n \"BackupZoneSet\": null,\n \"IsolatedTime\": null,\n \"ExpireTime\": \"2024-01-27 15:53:46\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"NetworkAttributes\": {\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 5,\n \"BandwidthpkgSubType\": \"BGP\"\n },\n \"PrepaidAttributes\": null,\n \"ExtraInfo\": null,\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LoadBalancerPassToTarget\": false,\n \"IsDDos\": false,\n \"ConfigId\": \"\",\n \"ExclusiveCluster\": {\n \"L4Clusters\": null,\n \"L7Clusters\": null,\n \"ClassicalCluster\": null\n },\n \"SnatPro\": false,\n \"SnatIps\": [],\n \"IsBlock\": false,\n \"IsBlockTime\": \"\",\n \"SlaType\": \"\",\n \"ClusterTag\": null,\n \"LocalBgp\": false,\n \"MixIpTarget\": false,\n \"Zones\": null,\n \"NfvInfo\": \"\",\n \"HealthLogSetId\": \"\",\n \"HealthLogTopicId\": \"\",\n \"ClusterIds\": null,\n \"AttributeFlags\": [\n \"SharedLimitFlag\"\n ],\n \"VipIsp\": \"BGP\",\n \"Egress\": \"\"\n }\n ],\n \"RequestId\": \"b0e9e810-01cc-4c12-8bd2-ca0a2ab1b976\"\n }\n}",
|
448
448
|
"title": "查询后端绑定了指定内网IP的机器的负载均衡"
|
449
449
|
},
|
450
450
|
{
|
451
451
|
"document": "",
|
452
452
|
"input": "POST / HTTP/1.1\nHost: clb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLoadBalancers\n<公共请求参数>\n\n{\n \"SearchKey\": \"test_LB\"\n}",
|
453
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"lb-9vpm****\",\n \"LoadBalancerName\": \"test_LB_****\",\n \"Forward\": 1,\n \"Domain\": \"\",\n \"LoadBalancerDomain\": \"\",\n \"LoadBalancerVips\": [\n \"119.***.***.51\"\n ],\n \"AddressIPv6\": null,\n \"AddressIPVersion\": \"ipv4\",\n \"IPv6Mode\": null,\n \"LoadBalancerType\": \"OPEN\",\n \"Status\": 1,\n \"CreateTime\": \"2023-12-27 15:53:46\",\n \"StatusTime\": \"2024-01-22 19:58:03\",\n \"ProjectId\": 0,\n \"OpenBgp\": 0,\n \"Snat\": false,\n \"Isolation\": 0,\n \"Log\": \"\",\n \"AnycastZone\": \"\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113,\n \"TargetRegionInfo\": {\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-1y****83\"\n },\n \"SubnetId\": \"\",\n \"SecureGroups\": [],\n \"Tags\": [\n {\n \"TagKey\": \"key-****\",\n \"TagValue\": \"value-****\"\n }\n ],\n \"MasterZone\": {\n \"ZoneId\": 100003,\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneRegion\": \"ap-guangzhou\",\n \"LocalZone\": false,\n \"EdgeZone\": false\n },\n \"BackupZoneSet\": null,\n \"IsolatedTime\": null,\n \"ExpireTime\": \"2024-01-27 15:53:46\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"NetworkAttributes\": {\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 5,\n \"BandwidthpkgSubType\": \"BGP\"\n },\n \"PrepaidAttributes\": null,\n \"ExtraInfo\": null,\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LoadBalancerPassToTarget\": false,\n \"IsDDos\": false,\n \"ConfigId\": \"\",\n \"ExclusiveCluster\": {\n \"L4Clusters\": null,\n \"L7Clusters\": null,\n \"ClassicalCluster\": null\n },\n \"SnatPro\": false,\n \"SnatIps\": [],\n \"IsBlock\": false,\n \"IsBlockTime\": \"\",\n \"SlaType\": \"\",\n \"ClusterTag\": null,\n \"LocalBgp\": false,\n \"MixIpTarget\": false,\n \"Zones\": null,\n \"NfvInfo\": \"\",\n \"HealthLogSetId\": \"\",\n \"HealthLogTopicId\": \"\",\n \"ClusterIds\": null,\n \"AttributeFlags\": [\n \"SharedLimitFlag\"\n ],\n \"VipIsp\": \"BGP\",\n \"Egress\": \"\"\n }\n ],\n \"RequestId\": \"b0e9e810-01cc-4c12-8bd2-ca0a2ab1b976\"\n }\n}",
|
453
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"lb-9vpm****\",\n \"LoadBalancerName\": \"test_LB_****\",\n \"Forward\": 1,\n \"Domain\": \"\",\n \"LoadBalancerDomain\": \"\",\n \"LoadBalancerVips\": [\n \"119.***.***.51\"\n ],\n \"AddressIPv6\": null,\n \"AddressIPVersion\": \"ipv4\",\n \"IPv6Mode\": null,\n \"LoadBalancerType\": \"OPEN\",\n \"Status\": 1,\n \"CreateTime\": \"2023-12-27 15:53:46\",\n \"StatusTime\": \"2024-01-22 19:58:03\",\n \"ProjectId\": 0,\n \"OpenBgp\": 0,\n \"Snat\": false,\n \"Isolation\": 0,\n \"Log\": \"\",\n \"AnycastZone\": \"\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113,\n \"TargetRegionInfo\": {\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113\n },\n \"SubnetId\": \"\",\n \"SecureGroups\": [],\n \"Tags\": [\n {\n \"TagKey\": \"key-****\",\n \"TagValue\": \"value-****\"\n }\n ],\n \"MasterZone\": {\n \"ZoneId\": 100003,\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneRegion\": \"ap-guangzhou\",\n \"LocalZone\": false,\n \"EdgeZone\": false\n },\n \"BackupZoneSet\": null,\n \"IsolatedTime\": null,\n \"ExpireTime\": \"2024-01-27 15:53:46\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"NetworkAttributes\": {\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 5,\n \"BandwidthpkgSubType\": \"BGP\"\n },\n \"PrepaidAttributes\": null,\n \"ExtraInfo\": null,\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LoadBalancerPassToTarget\": false,\n \"IsDDos\": false,\n \"ConfigId\": \"\",\n \"ExclusiveCluster\": {\n \"L4Clusters\": null,\n \"L7Clusters\": null,\n \"ClassicalCluster\": null\n },\n \"SnatPro\": false,\n \"SnatIps\": [],\n \"IsBlock\": false,\n \"IsBlockTime\": \"\",\n \"SlaType\": \"\",\n \"ClusterTag\": null,\n \"LocalBgp\": false,\n \"MixIpTarget\": false,\n \"Zones\": null,\n \"NfvInfo\": \"\",\n \"HealthLogSetId\": \"\",\n \"HealthLogTopicId\": \"\",\n \"ClusterIds\": null,\n \"AttributeFlags\": [\n \"SharedLimitFlag\"\n ],\n \"VipIsp\": \"BGP\",\n \"Egress\": \"\"\n }\n ],\n \"RequestId\": \"b0e9e810-01cc-4c12-8bd2-ca0a2ab1b976\"\n }\n}",
|
454
454
|
"title": "根据名称、域名、VIP多个字段模糊查询负载均衡实例"
|
455
455
|
},
|
456
456
|
{
|
457
457
|
"document": "",
|
458
458
|
"input": "POST / HTTP/1.1\nHost: clb.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeLoadBalancers\n<公共请求参数>\n\n{\n \"ProjectId\": \"0\",\n \"LoadBalancerType\": \"OPEN\",\n \"LoadBalancerVips\": [\n \"119.***.***.51\"\n ],\n \"LoadBalancerName\": \"test_LB\"\n}",
|
459
|
-
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"lb-rbw5****\",\n \"LoadBalancerName\": \"test_LB_****\",\n \"Forward\": 1,\n \"Domain\": \"\",\n \"LoadBalancerDomain\": \"\",\n \"LoadBalancerVips\": [\n \"119.***.***.51\"\n ],\n \"AddressIPv6\": null,\n \"AddressIPVersion\": \"ipv4\",\n \"IPv6Mode\": null,\n \"LoadBalancerType\": \"OPEN\",\n \"Status\": 1,\n \"CreateTime\": \"2023-12-27 15:53:46\",\n \"StatusTime\": \"2024-01-22 19:58:03\",\n \"ProjectId\": 0,\n \"OpenBgp\": 0,\n \"Snat\": false,\n \"Isolation\": 0,\n \"Log\": \"\",\n \"AnycastZone\": \"\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113,\n \"TargetRegionInfo\": {\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-1y****83\"\n },\n \"SubnetId\": \"\",\n \"SecureGroups\": [],\n \"Tags\": [\n {\n \"TagKey\": \"key-****\",\n \"TagValue\": \"value-****\"\n }\n ],\n \"MasterZone\": {\n \"ZoneId\": 100003,\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneRegion\": \"ap-guangzhou\",\n \"LocalZone\": false,\n \"EdgeZone\": false\n },\n \"BackupZoneSet\": null,\n \"IsolatedTime\": null,\n \"ExpireTime\": \"2024-01-27 15:53:46\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"NetworkAttributes\": {\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 5,\n \"BandwidthpkgSubType\": \"BGP\"\n },\n \"PrepaidAttributes\": null,\n \"ExtraInfo\": null,\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LoadBalancerPassToTarget\": false,\n \"IsDDos\": false,\n \"ConfigId\": \"\",\n \"ExclusiveCluster\": {\n \"L4Clusters\": null,\n \"L7Clusters\": null,\n \"ClassicalCluster\": null\n },\n \"SnatPro\": false,\n \"SnatIps\": [],\n \"IsBlock\": false,\n \"IsBlockTime\": \"\",\n \"SlaType\": \"\",\n \"ClusterTag\": null,\n \"LocalBgp\": false,\n \"MixIpTarget\": false,\n \"Zones\": null,\n \"NfvInfo\": \"\",\n \"HealthLogSetId\": \"\",\n \"HealthLogTopicId\": \"\",\n \"ClusterIds\": null,\n \"AttributeFlags\": [\n \"SharedLimitFlag\"\n ],\n \"VipIsp\": \"BGP\",\n \"Egress\": \"\"\n }\n ],\n \"RequestId\": \"b0e9e810-01cc-4c12-8bd2-ca0a2ab1b976\"\n }\n}",
|
459
|
+
"output": "{\n \"Response\": {\n \"TotalCount\": 1,\n \"LoadBalancerSet\": [\n {\n \"LoadBalancerId\": \"lb-rbw5****\",\n \"LoadBalancerName\": \"test_LB_****\",\n \"Forward\": 1,\n \"Domain\": \"\",\n \"LoadBalancerDomain\": \"\",\n \"LoadBalancerVips\": [\n \"119.***.***.51\"\n ],\n \"AddressIPv6\": null,\n \"AddressIPVersion\": \"ipv4\",\n \"IPv6Mode\": null,\n \"LoadBalancerType\": \"OPEN\",\n \"Status\": 1,\n \"CreateTime\": \"2023-12-27 15:53:46\",\n \"StatusTime\": \"2024-01-22 19:58:03\",\n \"ProjectId\": 0,\n \"OpenBgp\": 0,\n \"Snat\": false,\n \"Isolation\": 0,\n \"Log\": \"\",\n \"AnycastZone\": \"\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113,\n \"TargetRegionInfo\": {\n \"Region\": \"ap-guangzhou\",\n \"VpcId\": \"vpc-1y****83\",\n \"NumericalVpcId\": 1111113\n },\n \"SubnetId\": \"\",\n \"SecureGroups\": [],\n \"Tags\": [\n {\n \"TagKey\": \"key-****\",\n \"TagValue\": \"value-****\"\n }\n ],\n \"MasterZone\": {\n \"ZoneId\": 100003,\n \"Zone\": \"ap-guangzhou-3\",\n \"ZoneName\": \"广州三区\",\n \"ZoneRegion\": \"ap-guangzhou\",\n \"LocalZone\": false,\n \"EdgeZone\": false\n },\n \"BackupZoneSet\": null,\n \"IsolatedTime\": null,\n \"ExpireTime\": \"2024-01-27 15:53:46\",\n \"ChargeType\": \"POSTPAID_BY_HOUR\",\n \"NetworkAttributes\": {\n \"InternetChargeType\": \"TRAFFIC_POSTPAID_BY_HOUR\",\n \"InternetMaxBandwidthOut\": 5,\n \"BandwidthpkgSubType\": \"BGP\"\n },\n \"PrepaidAttributes\": null,\n \"ExtraInfo\": null,\n \"LogSetId\": \"\",\n \"LogTopicId\": \"\",\n \"LoadBalancerPassToTarget\": false,\n \"IsDDos\": false,\n \"ConfigId\": \"\",\n \"ExclusiveCluster\": {\n \"L4Clusters\": null,\n \"L7Clusters\": null,\n \"ClassicalCluster\": null\n },\n \"SnatPro\": false,\n \"SnatIps\": [],\n \"IsBlock\": false,\n \"IsBlockTime\": \"\",\n \"SlaType\": \"\",\n \"ClusterTag\": null,\n \"LocalBgp\": false,\n \"MixIpTarget\": false,\n \"Zones\": null,\n \"NfvInfo\": \"\",\n \"HealthLogSetId\": \"\",\n \"HealthLogTopicId\": \"\",\n \"ClusterIds\": null,\n \"AttributeFlags\": [\n \"SharedLimitFlag\"\n ],\n \"VipIsp\": \"BGP\",\n \"Egress\": \"\"\n }\n ],\n \"RequestId\": \"b0e9e810-01cc-4c12-8bd2-ca0a2ab1b976\"\n }\n}",
|
460
460
|
"title": "根据负载均衡类型、所属项目、负载均衡名称、负载均衡实例的vip来查询"
|
461
461
|
}
|
462
462
|
],
|
tccli/services/cls/cls_client.py
CHANGED
@@ -1993,6 +1993,58 @@ def doDeleteMachineGroup(args, parsed_globals):
|
|
1993
1993
|
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
1994
1994
|
|
1995
1995
|
|
1996
|
+
def doDeleteCosRecharge(args, parsed_globals):
|
1997
|
+
g_param = parse_global_arg(parsed_globals)
|
1998
|
+
|
1999
|
+
if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
|
2000
|
+
cred = credential.CVMRoleCredential()
|
2001
|
+
elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
|
2002
|
+
cred = credential.STSAssumeRoleCredential(
|
2003
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
|
2004
|
+
g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
|
2005
|
+
)
|
2006
|
+
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):
|
2007
|
+
cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
|
2008
|
+
else:
|
2009
|
+
cred = credential.Credential(
|
2010
|
+
g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
|
2011
|
+
)
|
2012
|
+
http_profile = HttpProfile(
|
2013
|
+
reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
|
2014
|
+
reqMethod="POST",
|
2015
|
+
endpoint=g_param[OptionsDefine.Endpoint],
|
2016
|
+
proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
|
2017
|
+
)
|
2018
|
+
profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
|
2019
|
+
if g_param[OptionsDefine.Language]:
|
2020
|
+
profile.language = g_param[OptionsDefine.Language]
|
2021
|
+
mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
|
2022
|
+
client = mod.ClsClient(cred, g_param[OptionsDefine.Region], profile)
|
2023
|
+
client._sdkVersion += ("_CLI_" + __version__)
|
2024
|
+
models = MODELS_MAP[g_param[OptionsDefine.Version]]
|
2025
|
+
model = models.DeleteCosRechargeRequest()
|
2026
|
+
model.from_json_string(json.dumps(args))
|
2027
|
+
start_time = time.time()
|
2028
|
+
while True:
|
2029
|
+
rsp = client.DeleteCosRecharge(model)
|
2030
|
+
result = rsp.to_json_string()
|
2031
|
+
try:
|
2032
|
+
json_obj = json.loads(result)
|
2033
|
+
except TypeError as e:
|
2034
|
+
json_obj = json.loads(result.decode('utf-8')) # python3.3
|
2035
|
+
if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
|
2036
|
+
break
|
2037
|
+
cur_time = time.time()
|
2038
|
+
if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
|
2039
|
+
raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
|
2040
|
+
(g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
|
2041
|
+
search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
|
2042
|
+
else:
|
2043
|
+
print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
|
2044
|
+
time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
|
2045
|
+
FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
|
2046
|
+
|
2047
|
+
|
1996
2048
|
def doDescribeKafkaRecharges(args, parsed_globals):
|
1997
2049
|
g_param = parse_global_arg(parsed_globals)
|
1998
2050
|
|
@@ -5949,6 +6001,7 @@ ACTION_MAP = {
|
|
5949
6001
|
"CreateNoticeContent": doCreateNoticeContent,
|
5950
6002
|
"DeleteConsumer": doDeleteConsumer,
|
5951
6003
|
"DeleteMachineGroup": doDeleteMachineGroup,
|
6004
|
+
"DeleteCosRecharge": doDeleteCosRecharge,
|
5952
6005
|
"DescribeKafkaRecharges": doDescribeKafkaRecharges,
|
5953
6006
|
"DescribeAlarms": doDescribeAlarms,
|
5954
6007
|
"DescribeCosRecharges": doDescribeCosRecharges,
|
@@ -252,6 +252,13 @@
|
|
252
252
|
"output": "DeleteConsumerResponse",
|
253
253
|
"status": "online"
|
254
254
|
},
|
255
|
+
"DeleteCosRecharge": {
|
256
|
+
"document": "本接口用于删除cos导入任务",
|
257
|
+
"input": "DeleteCosRechargeRequest",
|
258
|
+
"name": "删除cos导入任务",
|
259
|
+
"output": "DeleteCosRechargeResponse",
|
260
|
+
"status": "online"
|
261
|
+
},
|
255
262
|
"DeleteDashboardSubscribe": {
|
256
263
|
"document": "此接口用于删除仪表盘订阅",
|
257
264
|
"input": "DeleteDashboardSubscribeRequest",
|
@@ -1091,6 +1098,16 @@
|
|
1091
1098
|
"type": "list",
|
1092
1099
|
"value_allowed_null": false
|
1093
1100
|
},
|
1101
|
+
{
|
1102
|
+
"disabled": false,
|
1103
|
+
"document": "告警策略绑定的标签信息。",
|
1104
|
+
"example": "无",
|
1105
|
+
"member": "Tag",
|
1106
|
+
"name": "Tags",
|
1107
|
+
"output_required": true,
|
1108
|
+
"type": "list",
|
1109
|
+
"value_allowed_null": false
|
1110
|
+
},
|
1094
1111
|
{
|
1095
1112
|
"disabled": false,
|
1096
1113
|
"document": "监控对象类型。0:执行语句共用监控对象;1:每个执行语句单独选择监控对象。 ",
|
@@ -6672,6 +6689,42 @@
|
|
6672
6689
|
],
|
6673
6690
|
"type": "object"
|
6674
6691
|
},
|
6692
|
+
"DeleteCosRechargeRequest": {
|
6693
|
+
"document": "DeleteCosRecharge请求参数结构体",
|
6694
|
+
"members": [
|
6695
|
+
{
|
6696
|
+
"disabled": false,
|
6697
|
+
"document": "COS导入配置Id",
|
6698
|
+
"example": "ca092608-98e8-4ad9-83c5-a6b3bbexxxxx",
|
6699
|
+
"member": "string",
|
6700
|
+
"name": "Id",
|
6701
|
+
"required": true,
|
6702
|
+
"type": "string"
|
6703
|
+
},
|
6704
|
+
{
|
6705
|
+
"disabled": false,
|
6706
|
+
"document": "日志主题Id",
|
6707
|
+
"example": "ae13f7db-00b5-41ac-916e-407802axxxxx",
|
6708
|
+
"member": "string",
|
6709
|
+
"name": "TopicId",
|
6710
|
+
"required": true,
|
6711
|
+
"type": "string"
|
6712
|
+
}
|
6713
|
+
],
|
6714
|
+
"type": "object"
|
6715
|
+
},
|
6716
|
+
"DeleteCosRechargeResponse": {
|
6717
|
+
"document": "DeleteCosRecharge返回参数结构体",
|
6718
|
+
"members": [
|
6719
|
+
{
|
6720
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
6721
|
+
"member": "string",
|
6722
|
+
"name": "RequestId",
|
6723
|
+
"type": "string"
|
6724
|
+
}
|
6725
|
+
],
|
6726
|
+
"type": "object"
|
6727
|
+
},
|
6675
6728
|
"DeleteDashboardSubscribeRequest": {
|
6676
6729
|
"document": "DeleteDashboardSubscribe请求参数结构体",
|
6677
6730
|
"members": [
|
@@ -10097,11 +10150,11 @@
|
|
10097
10150
|
"usage": "both"
|
10098
10151
|
},
|
10099
10152
|
"HighLightItem": {
|
10100
|
-
"document": "
|
10153
|
+
"document": "符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索",
|
10101
10154
|
"members": [
|
10102
10155
|
{
|
10103
10156
|
"disabled": false,
|
10104
|
-
"document": "
|
10157
|
+
"document": "高亮的日志字段名称",
|
10105
10158
|
"example": "Message",
|
10106
10159
|
"member": "string",
|
10107
10160
|
"name": "Key",
|
@@ -10111,7 +10164,7 @@
|
|
10111
10164
|
},
|
10112
10165
|
{
|
10113
10166
|
"disabled": false,
|
10114
|
-
"document": "
|
10167
|
+
"document": "高亮的关键词",
|
10115
10168
|
"example": "[ \"<cls_highlight>finish</cls_highlight> request\"]",
|
10116
10169
|
"member": "string",
|
10117
10170
|
"name": "Values",
|
@@ -10728,6 +10781,16 @@
|
|
10728
10781
|
"type": "string",
|
10729
10782
|
"value_allowed_null": false
|
10730
10783
|
},
|
10784
|
+
{
|
10785
|
+
"disabled": false,
|
10786
|
+
"document": "符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索\t",
|
10787
|
+
"example": "无",
|
10788
|
+
"member": "HighLightItem",
|
10789
|
+
"name": "HighLights",
|
10790
|
+
"output_required": true,
|
10791
|
+
"type": "list",
|
10792
|
+
"value_allowed_null": false
|
10793
|
+
},
|
10731
10794
|
{
|
10732
10795
|
"disabled": false,
|
10733
10796
|
"document": "日志内容的Json序列化字符串",
|
@@ -15184,6 +15247,15 @@
|
|
15184
15247
|
"name": "UseNewAnalysis",
|
15185
15248
|
"required": false,
|
15186
15249
|
"type": "bool"
|
15250
|
+
},
|
15251
|
+
{
|
15252
|
+
"disabled": false,
|
15253
|
+
"document": "是否高亮符合检索条件的关键词,一般用于高亮显示。仅支持键值检索,不支持全文检索",
|
15254
|
+
"example": "false",
|
15255
|
+
"member": "bool",
|
15256
|
+
"name": "HighLight",
|
15257
|
+
"required": false,
|
15258
|
+
"type": "bool"
|
15187
15259
|
}
|
15188
15260
|
],
|
15189
15261
|
"type": "object"
|
@@ -16078,6 +16150,17 @@
|
|
16078
16150
|
"required": false,
|
16079
16151
|
"type": "bool",
|
16080
16152
|
"value_allowed_null": false
|
16153
|
+
},
|
16154
|
+
{
|
16155
|
+
"disabled": false,
|
16156
|
+
"document": "字段别名",
|
16157
|
+
"example": "alias_name",
|
16158
|
+
"member": "string",
|
16159
|
+
"name": "Alias",
|
16160
|
+
"output_required": true,
|
16161
|
+
"required": false,
|
16162
|
+
"type": "string",
|
16163
|
+
"value_allowed_null": false
|
16081
16164
|
}
|
16082
16165
|
],
|
16083
16166
|
"usage": "both"
|
@@ -312,6 +312,14 @@
|
|
312
312
|
"title": "删除投递配置"
|
313
313
|
}
|
314
314
|
],
|
315
|
+
"DeleteCosRecharge": [
|
316
|
+
{
|
317
|
+
"document": "删除COS导入任务",
|
318
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteCosRecharge\n<公共请求参数>\n\n{\n \"Id\": \"d0217dcd-2c2b-44a4-9949-372daeb01c7d\",\n \"TopicId\": \"7b2777f2-2d2d-48e9-8066-be31e0cda862\"\n}",
|
319
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"81f2d7ff-003a-4142-8c55-6a09780667c0\"\n }\n}",
|
320
|
+
"title": "删除COS导入任务"
|
321
|
+
}
|
322
|
+
],
|
315
323
|
"DeleteDashboardSubscribe": [
|
316
324
|
{
|
317
325
|
"document": "",
|
@@ -680,7 +688,7 @@
|
|
680
688
|
{
|
681
689
|
"document": "查询指定告警策略和告警对象的告警历史记录",
|
682
690
|
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetAlarmLog\n<公共请求参数>\n\n{\n \"From\": 1702569600000,\n \"To\": 1702655999999,\n \"Query\": \"alert_id:\\\"alarm-5ce45495-09e8-4d58-8f36-768134bf330c\\\" AND monitored_object:\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\"\",\n \"Limit\": 1,\n \"Context\": \"\"\n}",
|
683
|
-
"output": "{\n \"Response\": {\n \"Analysis\": false,\n \"AnalysisRecords\": null,\n \"AnalysisResults\": [],\n \"ColNames\": [],\n \"Columns\": null,\n \"Context\": \"Y29udGV4dC0yNmJkYjY1ZS1lODdjLTQ5Y2ItODdiYy0xNmUwNWFlYTYwM2MxNzAyNjEyMzA4MTU1\",\n \"ListOver\": false,\n \"RequestId\": \"aefbd480-35c5-43b7-b1df-d625727abebf\",\n \"Results\": [\n {\n \"FileName\": \"\",\n \"HostName\": \"\",\n \"IndexStatus\": \"\",\n \"LogJson\": \"{\\\"reach_trigger\\\":\\\"false\\\",\\\"label_string\\\":\\\"\\\",\\\"fire_time\\\":1702612278007,\\\"reach_notify\\\":\\\"false\\\",\\\"record_group_id\\\":\\\"\\\",\\\"topic_type\\\":\\\"log\\\",\\\"alert_threshold\\\":15,\\\"trigger_result\\\":\\\"success\\\",\\\"monitored_object\\\":\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\",\\\"duration\\\":0,\\\"condition_evaluate_result\\\":\\\"QueryResultUnmatch\\\",\\\"notify_type\\\":2,\\\"summary_en\\\":\\\"The trigger condition is not met\\\",\\\"notification_send_result\\\":\\\"NotSend\\\",\\\"trigger_time\\\":1702612278,\\\"notify_template\\\":\\\"notice-8e0660a4-197d-46b0-b1ef-e63571b7a438\\\",\\\"summary_cn\\\":\\\"执行语句结果不满足触发条件\\\",\\\"alert_id\\\":\\\"alarm-5ce45495-09e8-4d58-8f36-768134bf330c\\\",\\\"notify_result\\\":\\\"success\\\",\\\"topic_name\\\":\\\"dyltest2\\\",\\\"process_result\\\":\\\"fail\\\",\\\"notify_failed_reason\\\":\\\"\\\",\\\"object_param\\\":\\\"[{\\\\\\\"EndTime\\\\\\\":1702612230000,\\\\\\\"StartTime\\\\\\\":1702608630000,\\\\\\\"TopicId\\\\\\\":\\\\\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\\\\\",\\\\\\\"TopicName\\\\\\\":\\\\\\\"dyltest2\\\\\\\",\\\\\\\"TopicType\\\\\\\":\\\\\\\"log\\\\\\\",\\\\\\\"grammarVersion\\\\\\\":\\\\\\\"cql\\\\\\\"}]\\\",\\\"uin\\\":100001127589,\\\"topic_id\\\":\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\",\\\"record_info\\\":\\\"\\\",\\\"notify_time\\\":1702612278,\\\"level\\\":\\\"Warn\\\",\\\"process_error_msg\\\":\\\"The conditions are not matched, no results\\\",\\\"trigger\\\":\\\"$1.hit_rate<50\\\",\\\"trigger_failed_reason\\\":\\\"The conditions are not matched, no results\\\",\\\"happen_threshold\\\":1,\\\"record_id\\\":\\\"9e35be9f-b617-4827-96c5-97a0383aad0f\\\",\\\"nick_name\\\":\\\"\\\",\\\"logset_id\\\":\\\"19b6cec0-b80f-4ffe-98de-239670e5b19d\\\",\\\"detail\\\":\\\"\\\",\\\"alert_name\\\":\\\"EdgeOne 缓存命中率告警策略_100001127589\\\",\\\"process_error_type\\\":\\\"QueryResultUnmatch\\\",\\\"status\\\":\\\"QueryResultUnmatch\\\"}\",\n \"PkgId\": \"\",\n \"PkgLogId\": \"\",\n \"RawLog\": \"\",\n \"Source\": \"\",\n \"Time\": 1702612278007,\n \"TopicId\": \"louder\",\n \"TopicName\": \"louder\"\n }\n ]\n }\n}",
|
691
|
+
"output": "{\n \"Response\": {\n \"Analysis\": false,\n \"AnalysisRecords\": null,\n \"AnalysisResults\": [],\n \"ColNames\": [],\n \"Columns\": null,\n \"Context\": \"Y29udGV4dC0yNmJkYjY1ZS1lODdjLTQ5Y2ItODdiYy0xNmUwNWFlYTYwM2MxNzAyNjEyMzA4MTU1\",\n \"ListOver\": false,\n \"RequestId\": \"aefbd480-35c5-43b7-b1df-d625727abebf\",\n \"Results\": [\n {\n \"FileName\": \"\",\n \"HighLights\": [],\n \"HostName\": \"\",\n \"IndexStatus\": \"\",\n \"LogJson\": \"{\\\"reach_trigger\\\":\\\"false\\\",\\\"label_string\\\":\\\"\\\",\\\"fire_time\\\":1702612278007,\\\"reach_notify\\\":\\\"false\\\",\\\"record_group_id\\\":\\\"\\\",\\\"topic_type\\\":\\\"log\\\",\\\"alert_threshold\\\":15,\\\"trigger_result\\\":\\\"success\\\",\\\"monitored_object\\\":\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\",\\\"duration\\\":0,\\\"condition_evaluate_result\\\":\\\"QueryResultUnmatch\\\",\\\"notify_type\\\":2,\\\"summary_en\\\":\\\"The trigger condition is not met\\\",\\\"notification_send_result\\\":\\\"NotSend\\\",\\\"trigger_time\\\":1702612278,\\\"notify_template\\\":\\\"notice-8e0660a4-197d-46b0-b1ef-e63571b7a438\\\",\\\"summary_cn\\\":\\\"执行语句结果不满足触发条件\\\",\\\"alert_id\\\":\\\"alarm-5ce45495-09e8-4d58-8f36-768134bf330c\\\",\\\"notify_result\\\":\\\"success\\\",\\\"topic_name\\\":\\\"dyltest2\\\",\\\"process_result\\\":\\\"fail\\\",\\\"notify_failed_reason\\\":\\\"\\\",\\\"object_param\\\":\\\"[{\\\\\\\"EndTime\\\\\\\":1702612230000,\\\\\\\"StartTime\\\\\\\":1702608630000,\\\\\\\"TopicId\\\\\\\":\\\\\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\\\\\",\\\\\\\"TopicName\\\\\\\":\\\\\\\"dyltest2\\\\\\\",\\\\\\\"TopicType\\\\\\\":\\\\\\\"log\\\\\\\",\\\\\\\"grammarVersion\\\\\\\":\\\\\\\"cql\\\\\\\"}]\\\",\\\"uin\\\":100001127589,\\\"topic_id\\\":\\\"3c514e84-6f1f-46ec-afbf-05de6163f7fe\\\",\\\"record_info\\\":\\\"\\\",\\\"notify_time\\\":1702612278,\\\"level\\\":\\\"Warn\\\",\\\"process_error_msg\\\":\\\"The conditions are not matched, no results\\\",\\\"trigger\\\":\\\"$1.hit_rate<50\\\",\\\"trigger_failed_reason\\\":\\\"The conditions are not matched, no results\\\",\\\"happen_threshold\\\":1,\\\"record_id\\\":\\\"9e35be9f-b617-4827-96c5-97a0383aad0f\\\",\\\"nick_name\\\":\\\"\\\",\\\"logset_id\\\":\\\"19b6cec0-b80f-4ffe-98de-239670e5b19d\\\",\\\"detail\\\":\\\"\\\",\\\"alert_name\\\":\\\"EdgeOne 缓存命中率告警策略_100001127589\\\",\\\"process_error_type\\\":\\\"QueryResultUnmatch\\\",\\\"status\\\":\\\"QueryResultUnmatch\\\"}\",\n \"PkgId\": \"\",\n \"PkgLogId\": \"\",\n \"RawLog\": \"\",\n \"Source\": \"\",\n \"Time\": 1702612278007,\n \"TopicId\": \"louder\",\n \"TopicName\": \"louder\"\n }\n ]\n }\n}",
|
684
692
|
"title": "查询指定告警策略和告警对象的告警历史记录"
|
685
693
|
}
|
686
694
|
],
|
@@ -937,8 +945,8 @@
|
|
937
945
|
"SearchLog": [
|
938
946
|
{
|
939
947
|
"document": "查询http响应状态码(http_code)为200的日志",
|
940
|
-
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchLog\n<公共请求参数>\n\n{\n \"TopicId\": \"601c2a87-ca8e-49c9-xxxx-27286a970db5\",\n \"From\": 1679901909686,\n \"To\": 1679902809686,\n \"Query\": \"http_code:\\\"200\\\"\",\n \"Limit\": 1,\n \"Sort\": \"desc\",\n \"UseNewAnalysis\": true,\n \"SyntaxRule\": 1\n}",
|
941
|
-
"output": "{\n \"Response\": {\n \"Context\": \"Y29udGV4dC0zZDVmZGI2NC1jNDZkLTQ2NzktYWM2OC1jYzg2NjUxYmVlMWExNjc5OTAyODEwNDM0\",\n \"ListOver\": false,\n \"Analysis\": false,\n \"ColNames\": [],\n \"Columns\": null,\n \"Results\": [\n {\n \"Time\": 1679902806070,\n \"TopicId\": \"601c2a87-ca8e-49c9-xxxx-27286a970db5\",\n \"TopicName\": \"CDN Demo访问日志日志主题_10000100xxxx\",\n \"Source\": \"\",\n \"FileName\": \"\",\n \"HostName\": \"\",\n \"PkgId\": \"\",\n \"PkgLogId\": \"\",\n \"LogJson\": \"{\\\"referer\\\":\\\"http://qwunsag.2022.qq.com/prizes?activity_code=AVGCHaQFX02Eb\\\",\\\"method\\\":\\\"GET\\\",\\\"isp\\\":\\\"中国联通\\\",\\\"remote_port\\\":\\\"45088\\\",\\\"ua\\\":\\\"Mozilla/5.0 (Linux; Android 9; INE-AL00 Build/HUAWEIINE-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/3211 MMWEBSDK/20210601 Mobile Safari/537.36 MMWEBID/6389 MicroMessenger/8.0.11.1980(0x28000B5B) Process/toolsmp WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64\\\",\\\"uuid\\\":\\\"acf1010c853f4a24bb3e92cc34e283e2\\\",\\\"version\\\":\\\"1\\\",\\\"file_size\\\":\\\"186358\\\",\\\"url\\\":\\\"/loxtxt/979884858.png\\\",\\\"request_range\\\":\\\"-\\\",\\\"rsp_size\\\":\\\"186830\\\",\\\"hit\\\":\\\"hit\\\",\\\"request_time\\\":\\\"2808\\\",\\\"http_code\\\":\\\"200\\\",\\\"param\\\":\\\"-\\\",\\\"sys_address\\\":\\\"9.130.154.208\\\",\\\"proto\\\":\\\"HTTPS\\\",\\\"host\\\":\\\"test.2022.cls.cn\\\",\\\"sys_datasource\\\":\\\"cq.3.4.v1.2.17\\\",\\\"client_ip\\\":\\\"116.116.247.167\\\",\\\"time\\\":\\\"1679902806070\\\",\\\"app_id\\\":\\\"1302700768\\\",\\\"prov\\\":\\\"内蒙古自治区\\\",\\\"timestamp\\\":\\\"2023-03-27T15:40:06+08:00\\\"}\",\n \"RawLog\": \"\",\n \"IndexStatus\": \"\"\n }\n ],\n \"AnalysisResults\": [],\n \"AnalysisRecords\": null,\n \"RequestId\": \"79f593e5-1374-4463-xxxx-c49d0b3c5290\",\n \"SamplingRate\": 0,\n \"Topics\": null\n }\n}",
|
948
|
+
"input": "POST / HTTP/1.1\nHost: cls.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: SearchLog\n<公共请求参数>\n\n{\n \"TopicId\": \"601c2a87-ca8e-49c9-xxxx-27286a970db5\",\n \"From\": 1679901909686,\n \"To\": 1679902809686,\n \"Query\": \"http_code:\\\"200\\\"\",\n \"Limit\": 1,\n \"Sort\": \"desc\",\n \"HighLight\": true,\n \"UseNewAnalysis\": true,\n \"SyntaxRule\": 1\n}",
|
949
|
+
"output": "{\n \"Response\": {\n \"Context\": \"Y29udGV4dC0zZDVmZGI2NC1jNDZkLTQ2NzktYWM2OC1jYzg2NjUxYmVlMWExNjc5OTAyODEwNDM0\",\n \"ListOver\": false,\n \"Analysis\": false,\n \"ColNames\": [],\n \"Columns\": null,\n \"Results\": [\n {\n \"Time\": 1679902806070,\n \"TopicId\": \"601c2a87-ca8e-49c9-xxxx-27286a970db5\",\n \"TopicName\": \"CDN Demo访问日志日志主题_10000100xxxx\",\n \"Source\": \"\",\n \"FileName\": \"\",\n \"HostName\": \"\",\n \"PkgId\": \"\",\n \"PkgLogId\": \"\",\n \"HighLights\": [],\n \"LogJson\": \"{\\\"referer\\\":\\\"http://qwunsag.2022.qq.com/prizes?activity_code=AVGCHaQFX02Eb\\\",\\\"method\\\":\\\"GET\\\",\\\"isp\\\":\\\"中国联通\\\",\\\"remote_port\\\":\\\"45088\\\",\\\"ua\\\":\\\"Mozilla/5.0 (Linux; Android 9; INE-AL00 Build/HUAWEIINE-AL00; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/86.0.4240.99 XWEB/3211 MMWEBSDK/20210601 Mobile Safari/537.36 MMWEBID/6389 MicroMessenger/8.0.11.1980(0x28000B5B) Process/toolsmp WeChat/arm64 Weixin NetType/WIFI Language/zh_CN ABI/arm64\\\",\\\"uuid\\\":\\\"acf1010c853f4a24bb3e92cc34e283e2\\\",\\\"version\\\":\\\"1\\\",\\\"file_size\\\":\\\"186358\\\",\\\"url\\\":\\\"/loxtxt/979884858.png\\\",\\\"request_range\\\":\\\"-\\\",\\\"rsp_size\\\":\\\"186830\\\",\\\"hit\\\":\\\"hit\\\",\\\"request_time\\\":\\\"2808\\\",\\\"http_code\\\":\\\"200\\\",\\\"param\\\":\\\"-\\\",\\\"sys_address\\\":\\\"9.130.154.208\\\",\\\"proto\\\":\\\"HTTPS\\\",\\\"host\\\":\\\"test.2022.cls.cn\\\",\\\"sys_datasource\\\":\\\"cq.3.4.v1.2.17\\\",\\\"client_ip\\\":\\\"116.116.247.167\\\",\\\"time\\\":\\\"1679902806070\\\",\\\"app_id\\\":\\\"1302700768\\\",\\\"prov\\\":\\\"内蒙古自治区\\\",\\\"timestamp\\\":\\\"2023-03-27T15:40:06+08:00\\\"}\",\n \"RawLog\": \"\",\n \"IndexStatus\": \"\"\n }\n ],\n \"AnalysisResults\": [],\n \"AnalysisRecords\": null,\n \"RequestId\": \"79f593e5-1374-4463-xxxx-c49d0b3c5290\",\n \"SamplingRate\": 0,\n \"Topics\": null\n }\n}",
|
942
950
|
"title": "查询日志"
|
943
951
|
}
|
944
952
|
],
|