tccli 3.0.1244.1__py2.py3-none-any.whl → 3.0.1246.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (55) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/services/__init__.py +3 -0
  3. tccli/services/cdb/cdb_client.py +53 -0
  4. tccli/services/cdb/v20170320/api.json +72 -0
  5. tccli/services/cdb/v20170320/examples.json +8 -0
  6. tccli/services/dbbrain/dbbrain_client.py +57 -4
  7. tccli/services/dbbrain/v20210527/api.json +145 -0
  8. tccli/services/dbbrain/v20210527/examples.json +8 -0
  9. tccli/services/dbdc/v20201029/api.json +72 -72
  10. tccli/services/dcdb/v20180411/api.json +3 -3
  11. tccli/services/dcdb/v20180411/examples.json +1 -1
  12. tccli/services/essbasic/v20210526/api.json +1 -1
  13. tccli/services/hunyuan/v20230901/api.json +1 -1
  14. tccli/services/iotexplorer/iotexplorer_client.py +216 -4
  15. tccli/services/iotexplorer/v20190423/api.json +146 -1
  16. tccli/services/iotexplorer/v20190423/examples.json +34 -2
  17. tccli/services/lighthouse/v20200324/api.json +1 -1
  18. tccli/services/lke/v20231130/api.json +30 -0
  19. tccli/services/lkeap/__init__.py +4 -0
  20. tccli/services/lkeap/lkeap_client.py +1426 -0
  21. tccli/services/lkeap/v20240522/api.json +1882 -0
  22. tccli/services/lkeap/v20240522/examples.json +215 -0
  23. tccli/services/mna/v20210119/api.json +7 -7
  24. tccli/services/mna/v20210119/examples.json +9 -9
  25. tccli/services/monitor/v20180724/api.json +74 -0
  26. tccli/services/ocr/ocr_client.py +91 -38
  27. tccli/services/ocr/v20181119/api.json +187 -0
  28. tccli/services/ocr/v20181119/examples.json +8 -0
  29. tccli/services/scf/v20180416/examples.json +2 -2
  30. tccli/services/sqlserver/v20180328/api.json +43 -5
  31. tccli/services/sqlserver/v20180328/examples.json +2 -2
  32. tccli/services/tcb/v20180608/api.json +45 -39
  33. tccli/services/tcb/v20180608/examples.json +9 -9
  34. tccli/services/tcm/v20210413/api.json +9 -3
  35. tccli/services/tcm/v20210413/examples.json +7 -7
  36. tccli/services/tcr/v20190924/api.json +89 -89
  37. tccli/services/tcr/v20190924/examples.json +31 -31
  38. tccli/services/teo/v20220901/api.json +3 -3
  39. tccli/services/tke/v20180525/api.json +874 -688
  40. tccli/services/tke/v20180525/examples.json +40 -40
  41. tccli/services/tke/v20220501/api.json +16 -16
  42. tccli/services/tke/v20220501/examples.json +2 -2
  43. tccli/services/trocket/trocket_client.py +57 -4
  44. tccli/services/trocket/v20230308/api.json +143 -51
  45. tccli/services/trocket/v20230308/examples.json +11 -3
  46. tccli/services/vclm/v20240523/api.json +3 -3
  47. tccli/services/vpc/v20170312/api.json +20 -20
  48. tccli/services/vpc/v20170312/examples.json +19 -19
  49. tccli/services/waf/v20180125/api.json +1 -1
  50. tccli/services/wedata/v20210820/api.json +34 -1
  51. {tccli-3.0.1244.1.dist-info → tccli-3.0.1246.1.dist-info}/METADATA +2 -2
  52. {tccli-3.0.1244.1.dist-info → tccli-3.0.1246.1.dist-info}/RECORD +55 -51
  53. {tccli-3.0.1244.1.dist-info → tccli-3.0.1246.1.dist-info}/WHEEL +0 -0
  54. {tccli-3.0.1244.1.dist-info → tccli-3.0.1246.1.dist-info}/entry_points.txt +0 -0
  55. {tccli-3.0.1244.1.dist-info → tccli-3.0.1246.1.dist-info}/license_files/LICENSE +0 -0
@@ -483,9 +483,10 @@
483
483
  {
484
484
  "disabled": false,
485
485
  "document": "自动注入SideCar的NameSpace",
486
- "example": "",
486
+ "example": "{\"ns1\",\"ns2\"}",
487
487
  "member": "string",
488
488
  "name": "AutoInjectionNamespaceList",
489
+ "output_required": true,
489
490
  "required": true,
490
491
  "type": "list",
491
492
  "value_allowed_null": false
@@ -496,6 +497,7 @@
496
497
  "example": "无",
497
498
  "member": "IngressGateway",
498
499
  "name": "IngressGatewayList",
500
+ "output_required": true,
499
501
  "required": false,
500
502
  "type": "list",
501
503
  "value_allowed_null": false
@@ -506,6 +508,7 @@
506
508
  "example": "无",
507
509
  "member": "EgressGateway",
508
510
  "name": "EgressGatewayList",
511
+ "output_required": true,
509
512
  "required": false,
510
513
  "type": "list",
511
514
  "value_allowed_null": false
@@ -516,6 +519,7 @@
516
519
  "example": "无",
517
520
  "member": "IstiodConfig",
518
521
  "name": "Istiod",
522
+ "output_required": true,
519
523
  "required": false,
520
524
  "type": "object",
521
525
  "value_allowed_null": true
@@ -526,6 +530,7 @@
526
530
  "example": "无",
527
531
  "member": "DeployConfig",
528
532
  "name": "DeployConfig",
533
+ "output_required": true,
529
534
  "required": false,
530
535
  "type": "object",
531
536
  "value_allowed_null": false
@@ -533,9 +538,10 @@
533
538
  {
534
539
  "disabled": false,
535
540
  "document": "自动注入命名空间状态列表",
536
- "example": "{\"ns1\",\"ns2\"}",
541
+ "example": "",
537
542
  "member": "AutoInjectionNamespaceState",
538
543
  "name": "AutoInjectionNamespaceStateList",
544
+ "output_required": true,
539
545
  "required": false,
540
546
  "type": "list",
541
547
  "value_allowed_null": false
@@ -1035,7 +1041,7 @@
1035
1041
  "example": "无",
1036
1042
  "member": "Mesh",
1037
1043
  "name": "Mesh",
1038
- "required": true,
1044
+ "output_required": true,
1039
1045
  "type": "object",
1040
1046
  "value_allowed_null": false
1041
1047
  },
@@ -11,7 +11,7 @@
11
11
  "DeleteMesh": [
12
12
  {
13
13
  "document": "",
14
- "input": "POST / HTTP/1.1\nHost: tcm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMesh\n<公共请求参数>\n\n{\n \"MeshId\": \"xx\",\n \"NeedDeleteCLS\": \"false\",\n \"NeedDeleteTMP\": \"false\",\n \"NeedDeleteAPM\": \"false\",\n \"NeedDeleteGrafana\": \"false\"\n}",
14
+ "input": "POST / HTTP/1.1\nHost: tcm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteMesh\n<公共请求参数>\n\n{\n \"MeshId\": \"mesh-xxxxxxxx\",\n \"NeedDeleteCLS\": \"false\",\n \"NeedDeleteTMP\": \"false\",\n \"NeedDeleteAPM\": \"false\",\n \"NeedDeleteGrafana\": \"false\"\n}",
15
15
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
16
16
  "title": "DeleteMesh"
17
17
  }
@@ -20,15 +20,15 @@
20
20
  {
21
21
  "document": "",
22
22
  "input": "POST / HTTP/1.1\nHost: tcm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAccessLogConfig\n<公共请求参数>\n\n{\n \"MeshId\": \"\\\"mesh-xxxxxxxx\\\"\"\n}",
23
- "output": "{\n \"Response\": {\n \"File\": \"/dev/stdout\",\n \"Format\": \"{xxx: xxx}\",\n \"Encoding\": \"JSON\",\n \"SelectedRange\": {\n \"Items\": [\n {\n \"Namespace\": \"test\",\n \"ClusterName\": \"cls-xxxxxxxx\",\n \"ItemName\": \"test\",\n \"Gateways\": [\n \"test\"\n ]\n }\n ],\n \"All\": true\n },\n \"Template\": \"test\",\n \"CLS\": {\n \"Enable\": true,\n \"LogSet\": \"test\",\n \"Topic\": \"test\",\n \"NeedDelete\": true,\n \"Region\": \"sh\"\n },\n \"Address\": \"x.x.x.x\",\n \"EnableServer\": true,\n \"EnableStdout\": true,\n \"Enable\": true,\n \"RequestId\": \"xxxxxxxxxxxxxxxxxxx\"\n }\n}",
23
+ "output": "{\n \"Response\": {\n \"File\": \"/dev/stdout\",\n \"Format\": \"{xxx: xxx}\",\n \"Encoding\": \"JSON\",\n \"SelectedRange\": {\n \"Items\": [\n {\n \"Namespace\": \"default\",\n \"ClusterName\": \"cls-xxxxxxxx\",\n \"Gateways\": [\n \"ingressgateway\"\n ]\n }\n ],\n \"All\": true\n },\n \"Template\": \"istio\",\n \"CLS\": {\n \"Enable\": true,\n \"LogSet\": \"mesh-logset\",\n \"Topic\": \"mesh-logset-topic\",\n \"NeedDelete\": true,\n \"Region\": \"sh\"\n },\n \"Address\": \"x.x.x.x\",\n \"EnableServer\": true,\n \"EnableStdout\": true,\n \"Enable\": true,\n \"RequestId\": \"xxxxxxxxxxxxxxxxxxx\"\n }\n}",
24
24
  "title": "获取Mesh访问日志配置"
25
25
  }
26
26
  ],
27
27
  "DescribeMesh": [
28
28
  {
29
29
  "document": "",
30
- "input": "POST / HTTP/1.1\nHost: tcm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMesh\n<公共请求参数>\n\n{\n \"MeshId\": \"xx\"\n}",
31
- "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"Mesh\": {\n \"MeshId\": \"xxxxx\",\n \"DisplayName\": \"test\",\n \"Region\": \"xx\",\n \"Type\": \"HOSTED\",\n \"State\": \"xx\",\n \"Version\": \"xx\",\n \"CreatedTime\": \"2020-09-22 00:00:00\",\n \"UpdatedTime\": \"2020-09-22 00:00:00\",\n \"Config\": {\n \"Istio\": {\n \"OutboundTrafficPolicy\": \"ALLOW_ANY\",\n \"Tracing\": {\n \"Sampling\": 1\n }\n }\n },\n \"ClusterList\": [\n {\n \"ClusterId\": \"{{clusterId}}\",\n \"DisplayName\": \"\",\n \"Region\": \"sh\",\n \"Role\": \"MASTER\",\n \"VpcId\": \"{{vpcId}}\",\n \"SubnetId\": \"{{subnetId}}\",\n \"Config\": {\n \"AutoInjectionNamespaceList\": [\n \"default\"\n ]\n }\n }\n ],\n \"Status\": {\n \"CanaryVersion\": \"xx\",\n \"ServiceCount\": 0,\n \"Prometheus\": null\n }\n }\n }\n}",
30
+ "input": "POST / HTTP/1.1\nHost: tcm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMesh\n<公共请求参数>\n\n{\n \"MeshId\": \"mesh-351lvuec\"\n}",
31
+ "output": "{\n \"Response\": {\n \"Mesh\": {\n \"ClusterList\": [\n {\n \"ClusterId\": \"cls-i3wbzkfl\",\n \"Config\": {\n \"AutoInjectionNamespaceList\": [],\n \"AutoInjectionNamespaceStateList\": [],\n \"DeployConfig\": {\n \"NodeSelectType\": \"\",\n \"Nodes\": []\n },\n \"EgressGatewayList\": [],\n \"IngressGatewayList\": [],\n \"Istiod\": null\n },\n \"DisplayName\": \"cluster-1\",\n \"HostedNamespaces\": [],\n \"LinkedTime\": \"2025-01-02T20:18:13+08:00\",\n \"Region\": \"ap-shanghai\",\n \"Role\": \"REMOTE\",\n \"State\": \"RUNNING\",\n \"Status\": {\n \"LinkErrorDetail\": \"\",\n \"LinkState\": \"LINKED\"\n },\n \"SubnetId\": \"subnet-c1nuvmu7\",\n \"VpcId\": \"vpc-5x1y65ok\",\n \"Type\": \"TKE\"\n }\n ],\n \"Config\": {\n \"AccessLog\": {\n \"Address\": \"http://10.10.10.10\",\n \"CLS\": {\n \"Enable\": true,\n \"NeedDelete\": false,\n \"LogSet\": \"mesh-351lvuec\",\n \"Region\": \"ap-shanghai\",\n \"Topic\": \"mesh-351lvuec-accesslog\"\n },\n \"Enable\": true,\n \"EnableServer\": false,\n \"EnableStdout\": true,\n \"Encoding\": \"JSON\",\n \"Format\": \"{\\n\\t\\\"authority\\\": \\\"%REQ(:AUTHORITY)%\\\",\\n\\t\\\"bytes_received\\\": \\\"%BYTES_RECEIVED%\\\",\\n\\t\\\"bytes_sent\\\": \\\"%BYTES_SENT%\\\",\\n\\t\\\"downstream_local_address\\\": \\\"%DOWNSTREAM_LOCAL_ADDRESS%\\\",\\n\\t\\\"downstream_remote_address\\\": \\\"%DOWNSTREAM_REMOTE_ADDRESS%\\\",\\n\\t\\\"duration\\\": \\\"%DURATION%\\\",\\n\\t\\\"istio_policy_status\\\": \\\"%DYNAMIC_METADATA(istio.mixer:status)%\\\",\\n\\t\\\"method\\\": \\\"%REQ(:METHOD)%\\\",\\n\\t\\\"path\\\": \\\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\\\",\\n\\t\\\"protocol\\\": \\\"%PROTOCOL%\\\",\\n\\t\\\"request_id\\\": \\\"%REQ(X-REQUEST-ID)%\\\",\\n\\t\\\"requested_server_name\\\": \\\"%REQUESTED_SERVER_NAME%\\\",\\n\\t\\\"response_code\\\": \\\"%RESPONSE_CODE%\\\",\\n\\t\\\"response_flags\\\": \\\"%RESPONSE_FLAGS%\\\",\\n\\t\\\"route_name\\\": \\\"%ROUTE_NAME%\\\",\\n\\t\\\"start_time\\\": \\\"%START_TIME%\\\",\\n\\t\\\"upstream_cluster\\\": \\\"%UPSTREAM_CLUSTER%\\\",\\n\\t\\\"upstream_host\\\": \\\"%UPSTREAM_HOST%\\\",\\n\\t\\\"upstream_local_address\\\": \\\"%UPSTREAM_LOCAL_ADDRESS%\\\",\\n\\t\\\"upstream_service_time\\\": \\\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\\\",\\n\\t\\\"upstream_transport_failure_reason\\\": \\\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\\\",\\n\\t\\\"user_agent\\\": \\\"%REQ(USER-AGENT)%\\\",\\n\\t\\\"x_forwarded_for\\\": \\\"%REQ(X-FORWARDED-FOR)%\\\"\\n}\\n\",\n \"SelectedRange\": {\n \"All\": true\n },\n \"Template\": \"istio\"\n },\n \"Inject\": {\n \"ExcludeIPRanges\": [],\n \"HoldApplicationUntilProxyStarts\": false,\n \"HoldProxyUntilApplicationEnds\": false\n },\n \"Istio\": {\n \"DisableHTTPRetry\": false,\n \"DisablePolicyChecks\": true,\n \"EnablePilotHTTP\": false,\n \"OutboundTrafficPolicy\": \"ALLOW_ANY\",\n \"SmartDNS\": {\n \"IstioMetaDNSAutoAllocate\": true,\n \"IstioMetaDNSCapture\": true\n },\n \"Tracing\": {\n \"Sampling\": 0\n }\n },\n \"Prometheus\": {\n \"InstanceId\": \"prom-63ad12yj\",\n \"Region\": \"ap-shanghai\",\n \"VpcId\": \"vpc-5x1y65ok\",\n \"SubnetId\": \"subnet-c1nuvmu7\",\n \"CustomProm\": null\n },\n \"SidecarResources\": {\n \"Limits\": [\n {\n \"Name\": \"cpu\",\n \"Quantity\": \"2\"\n },\n {\n \"Name\": \"memory\",\n \"Quantity\": \"1Gi\"\n }\n ],\n \"Requests\": [\n {\n \"Name\": \"cpu\",\n \"Quantity\": \"100m\"\n },\n {\n \"Name\": \"memory\",\n \"Quantity\": \"128Mi\"\n }\n ]\n },\n \"Tracing\": {\n \"APM\": {\n \"Region\": \"ap-shanghai\",\n \"InstanceId\": \"apm-KlX5JAaaq\",\n \"Enable\": false\n },\n \"Enable\": false\n }\n },\n \"CreatedTime\": \"2025-01-02T10:50:01+08:00\",\n \"DisplayName\": \"mesh-for-test\",\n \"MeshId\": \"mesh-351lvuec\",\n \"Region\": \"ap-shanghai\",\n \"State\": \"RUNNING\",\n \"Status\": {\n \"ActiveOperationList\": null,\n \"CanaryVersion\": \"\",\n \"Prometheus\": null,\n \"ServiceCount\": 43,\n \"StateMessage\": \"\",\n \"TPS\": {\n \"DisplayName\": \"mesh-351lvuec-prom-63ad12yj\",\n \"Grafana\": {\n \"Enabled\": false,\n \"InternalURL\": \"\",\n \"PublicFailedMessage\": \"\",\n \"PublicFailedReason\": \"\",\n \"PublicURL\": \"\"\n },\n \"InstanceId\": \"prom-63ad12yj\",\n \"PrometheusId\": \"mesh-351lvuec-prom-63ad12yj\",\n \"Region\": \"ap-shanghai\",\n \"State\": \"RUNNING\",\n \"Type\": \"tmp\",\n \"VpcId\": \"vpc-5x1y65ok\"\n }\n },\n \"TagList\": [],\n \"Type\": \"HOSTED\",\n \"UpdatedTime\": \"2025-01-02T20:50:08+08:00\",\n \"Version\": \"1.16.5\"\n },\n \"RequestId\": \"ffc3123e-07a1-4488-9bd0-465549d61f25\"\n }\n}",
32
32
  "title": "DescribeMesh"
33
33
  }
34
34
  ],
@@ -36,14 +36,14 @@
36
36
  {
37
37
  "document": "",
38
38
  "input": "POST / HTTP/1.1\nHost: tcm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeMeshList\n<公共请求参数>\n\n{\n \"Limit\": 10,\n \"Offset\": 0\n}",
39
- "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"MeshList\": [\n {\n \"MeshId\": \"xxxxx\",\n \"DisplayName\": \"test\",\n \"Region\": \"sh\",\n \"Type\": \"HOSTED\",\n \"State\": \"pending\",\n \"Version\": \"1.12.5\",\n \"CreatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"UpdatedTime\": \"2020-09-22T00:00:00+00:00\",\n \"Config\": {\n \"Istio\": {\n \"OutboundTrafficPolicy\": \"ALLOW_ANY\",\n \"Tracing\": {\n \"Sampling\": 1\n },\n \"DisablePolicyChecks\": true,\n \"EnablePilotHTTP\": true,\n \"DisableHTTPRetry\": true,\n \"SmartDNS\": {\n \"IstioMetaDNSCapture\": true,\n \"IstioMetaDNSAutoAllocate\": true\n }\n }\n },\n \"ClusterList\": [\n {\n \"ClusterId\": \"{{clusterId}}\",\n \"DisplayName\": \"\",\n \"Region\": \"sh\",\n \"Role\": \"MASTER\",\n \"VpcId\": \"{{vpcId}}\",\n \"SubnetId\": \"{{subnetId}}\",\n \"State\": \"RUNNING\",\n \"HostedNamespaces\": [],\n \"Type\": \"TKE\",\n \"LinkedTime\": \"2020-09-22T00:00:00+00:00\",\n \"Config\": {\n \"AutoInjectionNamespaceList\": [\n \"default\"\n ]\n },\n \"Status\": {\n \"LinkState\": \"LINKED\",\n \"LinkErrorDetail\": \"\"\n }\n }\n ],\n \"Status\": {\n \"CanaryVersion\": \"1.14.5\",\n \"ServiceCount\": 0,\n \"Prometheus\": null\n },\n \"TagList\": [\n {\n \"Key\": \"abc\",\n \"Value\": \"abc\",\n \"Passthrough\": true\n }\n ]\n }\n ],\n \"Total\": 1\n }\n}",
39
+ "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\",\n \"MeshList\": [\n {\n \"ClusterList\": [\n {\n \"ClusterId\": \"cls-i3wbzkfl\",\n \"Config\": {\n \"AutoInjectionNamespaceList\": [],\n \"AutoInjectionNamespaceStateList\": [],\n \"DeployConfig\": {\n \"NodeSelectType\": \"\",\n \"Nodes\": []\n },\n \"EgressGatewayList\": [],\n \"IngressGatewayList\": [],\n \"Istiod\": null\n },\n \"DisplayName\": \"cluster-1\",\n \"HostedNamespaces\": [],\n \"LinkedTime\": \"2025-01-02T20:18:13+08:00\",\n \"Region\": \"ap-shanghai\",\n \"Role\": \"REMOTE\",\n \"State\": \"RUNNING\",\n \"Status\": {\n \"LinkErrorDetail\": \"\",\n \"LinkState\": \"LINKED\"\n },\n \"SubnetId\": \"subnet-c1nuvmu7\",\n \"VpcId\": \"vpc-5x1y65ok\",\n \"Type\": \"TKE\"\n }\n ],\n \"Config\": {\n \"AccessLog\": {\n \"Address\": \"http://10.10.10.10\",\n \"CLS\": {\n \"Enable\": true,\n \"NeedDelete\": false,\n \"LogSet\": \"mesh-351lvuec\",\n \"Region\": \"ap-shanghai\",\n \"Topic\": \"mesh-351lvuec-accesslog\"\n },\n \"Enable\": true,\n \"EnableServer\": false,\n \"EnableStdout\": true,\n \"Encoding\": \"JSON\",\n \"Format\": \"{\\n\\t\\\"authority\\\": \\\"%REQ(:AUTHORITY)%\\\",\\n\\t\\\"bytes_received\\\": \\\"%BYTES_RECEIVED%\\\",\\n\\t\\\"bytes_sent\\\": \\\"%BYTES_SENT%\\\",\\n\\t\\\"downstream_local_address\\\": \\\"%DOWNSTREAM_LOCAL_ADDRESS%\\\",\\n\\t\\\"downstream_remote_address\\\": \\\"%DOWNSTREAM_REMOTE_ADDRESS%\\\",\\n\\t\\\"duration\\\": \\\"%DURATION%\\\",\\n\\t\\\"istio_policy_status\\\": \\\"%DYNAMIC_METADATA(istio.mixer:status)%\\\",\\n\\t\\\"method\\\": \\\"%REQ(:METHOD)%\\\",\\n\\t\\\"path\\\": \\\"%REQ(X-ENVOY-ORIGINAL-PATH?:PATH)%\\\",\\n\\t\\\"protocol\\\": \\\"%PROTOCOL%\\\",\\n\\t\\\"request_id\\\": \\\"%REQ(X-REQUEST-ID)%\\\",\\n\\t\\\"requested_server_name\\\": \\\"%REQUESTED_SERVER_NAME%\\\",\\n\\t\\\"response_code\\\": \\\"%RESPONSE_CODE%\\\",\\n\\t\\\"response_flags\\\": \\\"%RESPONSE_FLAGS%\\\",\\n\\t\\\"route_name\\\": \\\"%ROUTE_NAME%\\\",\\n\\t\\\"start_time\\\": \\\"%START_TIME%\\\",\\n\\t\\\"upstream_cluster\\\": \\\"%UPSTREAM_CLUSTER%\\\",\\n\\t\\\"upstream_host\\\": \\\"%UPSTREAM_HOST%\\\",\\n\\t\\\"upstream_local_address\\\": \\\"%UPSTREAM_LOCAL_ADDRESS%\\\",\\n\\t\\\"upstream_service_time\\\": \\\"%RESP(X-ENVOY-UPSTREAM-SERVICE-TIME)%\\\",\\n\\t\\\"upstream_transport_failure_reason\\\": \\\"%UPSTREAM_TRANSPORT_FAILURE_REASON%\\\",\\n\\t\\\"user_agent\\\": \\\"%REQ(USER-AGENT)%\\\",\\n\\t\\\"x_forwarded_for\\\": \\\"%REQ(X-FORWARDED-FOR)%\\\"\\n}\\n\",\n \"SelectedRange\": {\n \"All\": true\n },\n \"Template\": \"istio\"\n },\n \"Inject\": {\n \"ExcludeIPRanges\": [],\n \"HoldApplicationUntilProxyStarts\": false,\n \"HoldProxyUntilApplicationEnds\": false\n },\n \"Istio\": {\n \"DisableHTTPRetry\": false,\n \"DisablePolicyChecks\": true,\n \"EnablePilotHTTP\": false,\n \"OutboundTrafficPolicy\": \"ALLOW_ANY\",\n \"SmartDNS\": {\n \"IstioMetaDNSAutoAllocate\": true,\n \"IstioMetaDNSCapture\": true\n },\n \"Tracing\": {\n \"Sampling\": 0\n }\n },\n \"Prometheus\": {\n \"InstanceId\": \"prom-63ad12yj\",\n \"Region\": \"ap-shanghai\",\n \"VpcId\": \"vpc-5x1y65ok\",\n \"SubnetId\": \"subnet-c1nuvmu7\",\n \"CustomProm\": null\n },\n \"SidecarResources\": {\n \"Limits\": [\n {\n \"Name\": \"cpu\",\n \"Quantity\": \"2\"\n },\n {\n \"Name\": \"memory\",\n \"Quantity\": \"1Gi\"\n }\n ],\n \"Requests\": [\n {\n \"Name\": \"cpu\",\n \"Quantity\": \"100m\"\n },\n {\n \"Name\": \"memory\",\n \"Quantity\": \"128Mi\"\n }\n ]\n },\n \"Tracing\": {\n \"APM\": {\n \"Region\": \"ap-shanghai\",\n \"InstanceId\": \"apm-KlX5JAaaq\",\n \"Enable\": false\n },\n \"Enable\": false\n }\n },\n \"CreatedTime\": \"2025-01-02T10:50:01+08:00\",\n \"DisplayName\": \"mesh-for-test\",\n \"MeshId\": \"mesh-351lvuec\",\n \"Region\": \"ap-shanghai\",\n \"State\": \"RUNNING\",\n \"Status\": {\n \"ActiveOperationList\": null,\n \"CanaryVersion\": \"\",\n \"Prometheus\": null,\n \"ServiceCount\": 43,\n \"StateMessage\": \"\",\n \"TPS\": {\n \"DisplayName\": \"mesh-351lvuec-prom-63ad12yj\",\n \"Grafana\": {\n \"Enabled\": false,\n \"InternalURL\": \"\",\n \"PublicFailedMessage\": \"\",\n \"PublicFailedReason\": \"\",\n \"PublicURL\": \"\"\n },\n \"InstanceId\": \"prom-63ad12yj\",\n \"PrometheusId\": \"mesh-351lvuec-prom-63ad12yj\",\n \"Region\": \"ap-shanghai\",\n \"State\": \"RUNNING\",\n \"Type\": \"tmp\",\n \"VpcId\": \"vpc-5x1y65ok\"\n }\n },\n \"TagList\": [],\n \"Type\": \"HOSTED\",\n \"UpdatedTime\": \"2025-01-02T20:50:08+08:00\",\n \"Version\": \"1.16.5\"\n }\n ],\n \"Total\": 1\n }\n}",
40
40
  "title": "DescribeMeshList"
41
41
  }
42
42
  ],
43
43
  "LinkClusterList": [
44
44
  {
45
45
  "document": "",
46
- "input": "POST / HTTP/1.1\nHost: tcm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LinkClusterList\n<公共请求参数>\n\n{\n \"MeshId\": \"xx\",\n \"ClusterList\": [\n {\n \"ClusterId\": \"{{clusterId}}\",\n \"DisplayName\": \"\",\n \"Region\": \"sh\",\n \"Role\": \"MASTER\",\n \"VpcId\": \"{{vpcId}}\",\n \"SubnetId\": \"{{subnetId}}\",\n \"Config\": {\n \"AutoInjectionNamespaceList\": [\n \"default\"\n ]\n }\n }\n ]\n}",
46
+ "input": "POST / HTTP/1.1\nHost: tcm.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: LinkClusterList\n<公共请求参数>\n\n{\n \"MeshId\": \"mesh-xxxxxxxx\",\n \"ClusterList\": [\n {\n \"ClusterId\": \"{{clusterId}}\",\n \"DisplayName\": \"\",\n \"Region\": \"sh\",\n \"Role\": \"MASTER\",\n \"VpcId\": \"{{vpcId}}\",\n \"SubnetId\": \"{{subnetId}}\",\n \"Config\": {\n \"AutoInjectionNamespaceList\": [\n \"default\"\n ]\n }\n }\n ]\n}",
47
47
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
48
48
  "title": "LinkClusterList"
49
49
  }
@@ -51,7 +51,7 @@
51
51
  "LinkPrometheus": [
52
52
  {
53
53
  "document": "连接Prometheus实例",
54
- "input": "https://tcm.tencentcloudapi.com/?Action=LinkPrometheus\n&MeshID=\"mesh-test\"\n&Prometheus.VpcId=test-vpcid\n&Prometheus.SubnetId=test-subnetid\n&Prometheus.Region=sh\n&Prometheus.InstanceId=\"\"\n&<公共请求参数>",
54
+ "input": "https://tcm.tencentcloudapi.com/?Action=LinkPrometheus\n&MeshID=\"mesh-test\"\n&Prometheus.VpcId=test-vpcid\n&Prometheus.SubnetId=test-subnetid\n&Prometheus.Region=sh\n&Prometheus.InstanceId=\"prom-xxxxxxxx\"\n&<公共请求参数>",
55
55
  "output": "{\n \"Response\": {\n \"RequestId\": \"eac6b301-a322-493a-8e36-83b295459397\"\n }\n}",
56
56
  "title": "LinkPrometheus"
57
57
  }