tccli 3.0.1243.1__py2.py3-none-any.whl → 3.0.1245.1__py2.py3-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- tccli/__init__.py +1 -1
- tccli/services/aca/v20210323/api.json +107 -107
- tccli/services/aca/v20210323/examples.json +5 -5
- tccli/services/asr/v20190614/examples.json +6 -6
- tccli/services/cbs/v20170312/api.json +9 -0
- tccli/services/cdwdoris/v20211228/api.json +22 -2
- tccli/services/cdwdoris/v20211228/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +185 -156
- tccli/services/cls/v20201016/examples.json +5 -5
- tccli/services/cvm/v20170312/api.json +8 -8
- tccli/services/cvm/v20170312/examples.json +4 -4
- tccli/services/dbbrain/dbbrain_client.py +57 -4
- tccli/services/dbbrain/v20210527/api.json +145 -0
- tccli/services/dbbrain/v20210527/examples.json +8 -0
- tccli/services/dts/v20211206/api.json +9 -0
- tccli/services/dts/v20211206/examples.json +1 -1
- tccli/services/essbasic/v20210526/api.json +1 -1
- tccli/services/hunyuan/v20230901/api.json +1 -1
- tccli/services/lighthouse/v20200324/api.json +1 -1
- tccli/services/lke/v20231130/api.json +30 -0
- tccli/services/mna/v20210119/examples.json +1 -1
- tccli/services/monitor/v20180724/api.json +55 -0
- tccli/services/scf/scf_client.py +118 -65
- tccli/services/scf/v20180416/api.json +570 -475
- tccli/services/scf/v20180416/examples.json +52 -44
- tccli/services/tcb/v20180608/api.json +13 -13
- tccli/services/tcm/v20210413/api.json +52 -48
- tccli/services/tcm/v20210413/examples.json +7 -7
- tccli/services/tcr/v20190924/api.json +435 -407
- tccli/services/tcr/v20190924/examples.json +49 -49
- tccli/services/teo/v20220901/api.json +3 -3
- tccli/services/tke/v20180525/api.json +1544 -1258
- tccli/services/tke/v20180525/examples.json +165 -165
- tccli/services/tke/v20220501/api.json +16 -16
- tccli/services/tke/v20220501/examples.json +2 -2
- tccli/services/trocket/trocket_client.py +57 -4
- tccli/services/trocket/v20230308/api.json +143 -51
- tccli/services/trocket/v20230308/examples.json +11 -3
- tccli/services/vclm/v20240523/api.json +3 -3
- tccli/services/vpc/v20170312/api.json +182 -154
- tccli/services/vpc/v20170312/examples.json +12 -34
- tccli/services/waf/v20180125/api.json +1 -1
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/RECORD +47 -47
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1243.1.dist-info → tccli-3.0.1245.1.dist-info}/license_files/LICENSE +0 -0
@@ -120,7 +120,7 @@
|
|
120
120
|
{
|
121
121
|
"disabled": false,
|
122
122
|
"document": "APM 实例,如果创建时传入的参数为空,则表示自动创建 APM 实例。\n注意:此字段可能返回 null,表示取不到有效值。",
|
123
|
-
"example": "
|
123
|
+
"example": "apm-LmCpqBQaq",
|
124
124
|
"member": "string",
|
125
125
|
"name": "InstanceId",
|
126
126
|
"output_required": true,
|
@@ -208,7 +208,7 @@
|
|
208
208
|
{
|
209
209
|
"disabled": false,
|
210
210
|
"document": "GRPC第三方服务器地址",
|
211
|
-
"example": "
|
211
|
+
"example": "172.0.3.6:80",
|
212
212
|
"member": "string",
|
213
213
|
"name": "Address",
|
214
214
|
"required": false,
|
@@ -244,7 +244,7 @@
|
|
244
244
|
{
|
245
245
|
"disabled": false,
|
246
246
|
"document": "操作Id",
|
247
|
-
"example": "
|
247
|
+
"example": "mesh-351lvuec",
|
248
248
|
"member": "string",
|
249
249
|
"name": "OperationId",
|
250
250
|
"required": true,
|
@@ -254,7 +254,7 @@
|
|
254
254
|
{
|
255
255
|
"disabled": false,
|
256
256
|
"document": "操作类型,取值范围:\n- LINK_CLUSTERS: 关联集群\n- RELINK_CLUSTERS: 重新关联集群\n- UNLINK_CLUSTERS: 解关联集群\n- INSTALL_MESH: 安装网格",
|
257
|
-
"example": "
|
257
|
+
"example": "upgrade-mesh",
|
258
258
|
"member": "string",
|
259
259
|
"name": "Type",
|
260
260
|
"required": true,
|
@@ -357,7 +357,7 @@
|
|
357
357
|
{
|
358
358
|
"disabled": false,
|
359
359
|
"document": "集群Id",
|
360
|
-
"example": "cls-
|
360
|
+
"example": "cls-i3wbzkfl",
|
361
361
|
"member": "string",
|
362
362
|
"name": "ClusterId",
|
363
363
|
"required": true,
|
@@ -367,7 +367,7 @@
|
|
367
367
|
{
|
368
368
|
"disabled": false,
|
369
369
|
"document": "地域",
|
370
|
-
"example": "
|
370
|
+
"example": "ap-shanghai",
|
371
371
|
"member": "string",
|
372
372
|
"name": "Region",
|
373
373
|
"required": true,
|
@@ -377,7 +377,7 @@
|
|
377
377
|
{
|
378
378
|
"disabled": false,
|
379
379
|
"document": "集群角色,取值范围:\n- MASTER:控制面所在的主集群\n- REMOTE:主集群管理的远端集群",
|
380
|
-
"example": "
|
380
|
+
"example": "REMOTE",
|
381
381
|
"member": "string",
|
382
382
|
"name": "Role",
|
383
383
|
"required": true,
|
@@ -407,7 +407,7 @@
|
|
407
407
|
{
|
408
408
|
"disabled": false,
|
409
409
|
"document": "名称,只读",
|
410
|
-
"example": "
|
410
|
+
"example": "cluster-test",
|
411
411
|
"member": "string",
|
412
412
|
"name": "DisplayName",
|
413
413
|
"required": false,
|
@@ -417,7 +417,7 @@
|
|
417
417
|
{
|
418
418
|
"disabled": false,
|
419
419
|
"document": "状态,只读",
|
420
|
-
"example": "
|
420
|
+
"example": "RUNNING",
|
421
421
|
"member": "string",
|
422
422
|
"name": "State",
|
423
423
|
"required": false,
|
@@ -427,7 +427,7 @@
|
|
427
427
|
{
|
428
428
|
"disabled": false,
|
429
429
|
"document": "关联时间,只读",
|
430
|
-
"example": "
|
430
|
+
"example": "2025-01-02T10:51:48.338+08:00",
|
431
431
|
"member": "datetime_iso",
|
432
432
|
"name": "LinkedTime",
|
433
433
|
"required": false,
|
@@ -467,7 +467,7 @@
|
|
467
467
|
{
|
468
468
|
"disabled": false,
|
469
469
|
"document": "集群关联的 Namespace 列表",
|
470
|
-
"example": "
|
470
|
+
"example": "{\"ns1\",\"ns2\"}",
|
471
471
|
"member": "string",
|
472
472
|
"name": "HostedNamespaces",
|
473
473
|
"required": false,
|
@@ -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
|
@@ -536,6 +541,7 @@
|
|
536
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
|
@@ -560,7 +566,7 @@
|
|
560
566
|
{
|
561
567
|
"disabled": false,
|
562
568
|
"document": "关联错误详情\n注意:此字段可能返回 null,表示取不到有效值。",
|
563
|
-
"example": "
|
569
|
+
"example": "CheckError: cluster not found",
|
564
570
|
"member": "string",
|
565
571
|
"name": "LinkErrorDetail",
|
566
572
|
"output_required": true,
|
@@ -708,7 +714,7 @@
|
|
708
714
|
{
|
709
715
|
"disabled": false,
|
710
716
|
"document": "Prometheus 用户名(用于 basic 认证方式)\n注意:此字段可能返回 null,表示取不到有效值。",
|
711
|
-
"example": "
|
717
|
+
"example": "root",
|
712
718
|
"member": "string",
|
713
719
|
"name": "Username",
|
714
720
|
"output_required": false,
|
@@ -719,7 +725,7 @@
|
|
719
725
|
{
|
720
726
|
"disabled": false,
|
721
727
|
"document": "Prometheus 密码(用于 basic 认证方式)\n注意:此字段可能返回 null,表示取不到有效值。",
|
722
|
-
"example": "
|
728
|
+
"example": "password",
|
723
729
|
"member": "string",
|
724
730
|
"name": "Password",
|
725
731
|
"output_required": false,
|
@@ -809,7 +815,7 @@
|
|
809
815
|
{
|
810
816
|
"disabled": false,
|
811
817
|
"document": "指定的节点",
|
812
|
-
"example": "
|
818
|
+
"example": "{\"10.0.0.2\", \"10,0,0,5\"}",
|
813
819
|
"member": "string",
|
814
820
|
"name": "Nodes",
|
815
821
|
"required": false,
|
@@ -1035,7 +1041,7 @@
|
|
1035
1041
|
"example": "无",
|
1036
1042
|
"member": "Mesh",
|
1037
1043
|
"name": "Mesh",
|
1038
|
-
"
|
1044
|
+
"output_required": true,
|
1039
1045
|
"type": "object",
|
1040
1046
|
"value_allowed_null": false
|
1041
1047
|
},
|
@@ -1100,7 +1106,7 @@
|
|
1100
1106
|
{
|
1101
1107
|
"disabled": false,
|
1102
1108
|
"document": "egress gateway的当前版本",
|
1103
|
-
"example": "
|
1109
|
+
"example": "1.14.5",
|
1104
1110
|
"member": "string",
|
1105
1111
|
"name": "CurrentVersion",
|
1106
1112
|
"output_required": true,
|
@@ -1111,7 +1117,7 @@
|
|
1111
1117
|
{
|
1112
1118
|
"disabled": false,
|
1113
1119
|
"document": "egress gateway的目标版本",
|
1114
|
-
"example": "
|
1120
|
+
"example": "1.16.5",
|
1115
1121
|
"member": "string",
|
1116
1122
|
"name": "DesiredVersion",
|
1117
1123
|
"output_required": true,
|
@@ -1122,7 +1128,7 @@
|
|
1122
1128
|
{
|
1123
1129
|
"disabled": false,
|
1124
1130
|
"document": "egress gateway的状态,取值:running,upgrading,rollbacking",
|
1125
|
-
"example": "
|
1131
|
+
"example": "upgrading",
|
1126
1132
|
"member": "string",
|
1127
1133
|
"name": "State",
|
1128
1134
|
"output_required": true,
|
@@ -1195,18 +1201,16 @@
|
|
1195
1201
|
"member": "string",
|
1196
1202
|
"name": "Name",
|
1197
1203
|
"required": true,
|
1198
|
-
"type": "string"
|
1199
|
-
"value_allowed_null": false
|
1204
|
+
"type": "string"
|
1200
1205
|
},
|
1201
1206
|
{
|
1202
1207
|
"disabled": false,
|
1203
1208
|
"document": "字段的过滤值。",
|
1204
|
-
"example": "
|
1209
|
+
"example": "{\"Mesh1\", \"Mesh2\"}",
|
1205
1210
|
"member": "string",
|
1206
1211
|
"name": "Values",
|
1207
1212
|
"required": true,
|
1208
|
-
"type": "list"
|
1209
|
-
"value_allowed_null": false
|
1213
|
+
"type": "list"
|
1210
1214
|
}
|
1211
1215
|
],
|
1212
1216
|
"usage": "in"
|
@@ -1227,7 +1231,7 @@
|
|
1227
1231
|
{
|
1228
1232
|
"disabled": false,
|
1229
1233
|
"document": "内网地址",
|
1230
|
-
"example": "
|
1234
|
+
"example": "http://172.16.180.133",
|
1231
1235
|
"member": "string",
|
1232
1236
|
"name": "InternalURL",
|
1233
1237
|
"required": true,
|
@@ -1237,7 +1241,7 @@
|
|
1237
1241
|
{
|
1238
1242
|
"disabled": false,
|
1239
1243
|
"document": "公网地址\n注意:此字段可能返回 null,表示取不到有效值。",
|
1240
|
-
"example": "
|
1244
|
+
"example": "http://grafana-4056m7nh.grafana.tencent-cloud.com",
|
1241
1245
|
"member": "string",
|
1242
1246
|
"name": "PublicURL",
|
1243
1247
|
"required": true,
|
@@ -1257,7 +1261,7 @@
|
|
1257
1261
|
{
|
1258
1262
|
"disabled": false,
|
1259
1263
|
"document": "公网失败详细信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
1260
|
-
"example": "
|
1264
|
+
"example": "some error msg",
|
1261
1265
|
"member": "string",
|
1262
1266
|
"name": "PublicFailedMessage",
|
1263
1267
|
"required": true,
|
@@ -1406,7 +1410,7 @@
|
|
1406
1410
|
{
|
1407
1411
|
"disabled": false,
|
1408
1412
|
"document": "ingress gateway 当前的版本",
|
1409
|
-
"example": "
|
1413
|
+
"example": "1.14.5",
|
1410
1414
|
"member": "string",
|
1411
1415
|
"name": "CurrentVersion",
|
1412
1416
|
"output_required": true,
|
@@ -1417,7 +1421,7 @@
|
|
1417
1421
|
{
|
1418
1422
|
"disabled": false,
|
1419
1423
|
"document": "ingress gateway 目标的版本",
|
1420
|
-
"example": "
|
1424
|
+
"example": "1.16.5",
|
1421
1425
|
"member": "string",
|
1422
1426
|
"name": "DesiredVersion",
|
1423
1427
|
"output_required": true,
|
@@ -1428,7 +1432,7 @@
|
|
1428
1432
|
{
|
1429
1433
|
"disabled": false,
|
1430
1434
|
"document": "ingress gateway的状态,取值running, upgrading, rollbacking",
|
1431
|
-
"example": "
|
1435
|
+
"example": "upgrading",
|
1432
1436
|
"member": "string",
|
1433
1437
|
"name": "State",
|
1434
1438
|
"output_required": true,
|
@@ -1745,7 +1749,7 @@
|
|
1745
1749
|
{
|
1746
1750
|
"disabled": false,
|
1747
1751
|
"document": "设置跨可用区容灾时的主可用区ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
1748
|
-
"example": "
|
1752
|
+
"example": "200002",
|
1749
1753
|
"member": "string",
|
1750
1754
|
"name": "MasterZoneID",
|
1751
1755
|
"required": false,
|
@@ -1755,7 +1759,7 @@
|
|
1755
1759
|
{
|
1756
1760
|
"disabled": false,
|
1757
1761
|
"document": "设置跨可用区容灾时的备可用区ID\n注意:此字段可能返回 null,表示取不到有效值。",
|
1758
|
-
"example": "
|
1762
|
+
"example": "200001",
|
1759
1763
|
"member": "string",
|
1760
1764
|
"name": "SlaveZoneID",
|
1761
1765
|
"required": false,
|
@@ -1821,7 +1825,7 @@
|
|
1821
1825
|
{
|
1822
1826
|
"disabled": false,
|
1823
1827
|
"document": "Mesh实例Id",
|
1824
|
-
"example": "mesh-
|
1828
|
+
"example": "mesh-351lvuec",
|
1825
1829
|
"member": "string",
|
1826
1830
|
"name": "MeshId",
|
1827
1831
|
"required": true,
|
@@ -1831,7 +1835,7 @@
|
|
1831
1835
|
{
|
1832
1836
|
"disabled": false,
|
1833
1837
|
"document": "Mesh名称",
|
1834
|
-
"example": "
|
1838
|
+
"example": "service-manager",
|
1835
1839
|
"member": "string",
|
1836
1840
|
"name": "DisplayName",
|
1837
1841
|
"required": true,
|
@@ -1841,7 +1845,7 @@
|
|
1841
1845
|
{
|
1842
1846
|
"disabled": false,
|
1843
1847
|
"document": "Mesh类型,取值范围:\n- STANDALONE:独立网格\n- HOSTED:托管网格",
|
1844
|
-
"example": "
|
1848
|
+
"example": "HOSTED",
|
1845
1849
|
"member": "string",
|
1846
1850
|
"name": "Type",
|
1847
1851
|
"required": true,
|
@@ -1851,7 +1855,7 @@
|
|
1851
1855
|
{
|
1852
1856
|
"disabled": false,
|
1853
1857
|
"document": "地域",
|
1854
|
-
"example": "
|
1858
|
+
"example": "ap-shanghai",
|
1855
1859
|
"member": "string",
|
1856
1860
|
"name": "Region",
|
1857
1861
|
"required": true,
|
@@ -1881,7 +1885,7 @@
|
|
1881
1885
|
{
|
1882
1886
|
"disabled": false,
|
1883
1887
|
"document": "创建时间",
|
1884
|
-
"example": "
|
1888
|
+
"example": "2025-01-02T10:50:01.951+08:00",
|
1885
1889
|
"member": "datetime_iso",
|
1886
1890
|
"name": "CreatedTime",
|
1887
1891
|
"required": true,
|
@@ -1891,7 +1895,7 @@
|
|
1891
1895
|
{
|
1892
1896
|
"disabled": false,
|
1893
1897
|
"document": "修改时间\n注意:此字段可能返回 null,表示取不到有效值。",
|
1894
|
-
"example": "
|
1898
|
+
"example": "2025-01-02T10:51:53.869+08:00",
|
1895
1899
|
"member": "datetime_iso",
|
1896
1900
|
"name": "UpdatedTime",
|
1897
1901
|
"required": true,
|
@@ -2043,7 +2047,7 @@
|
|
2043
2047
|
{
|
2044
2048
|
"disabled": false,
|
2045
2049
|
"document": "状态附带信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
2046
|
-
"example": "
|
2050
|
+
"example": "some message",
|
2047
2051
|
"member": "string",
|
2048
2052
|
"name": "StateMessage",
|
2049
2053
|
"required": true,
|
@@ -2396,7 +2400,7 @@
|
|
2396
2400
|
{
|
2397
2401
|
"disabled": false,
|
2398
2402
|
"document": "关联已存在实例Id,不填则默认创建",
|
2399
|
-
"example": "
|
2403
|
+
"example": "prom-86rajg7s",
|
2400
2404
|
"member": "string",
|
2401
2405
|
"name": "InstanceId",
|
2402
2406
|
"required": false,
|
@@ -2422,7 +2426,7 @@
|
|
2422
2426
|
{
|
2423
2427
|
"disabled": false,
|
2424
2428
|
"document": "Prometheus Id",
|
2425
|
-
"example": "
|
2429
|
+
"example": "mesh-351lvuec-prom-86rajg7s",
|
2426
2430
|
"member": "string",
|
2427
2431
|
"name": "PrometheusId",
|
2428
2432
|
"required": true,
|
@@ -2432,7 +2436,7 @@
|
|
2432
2436
|
{
|
2433
2437
|
"disabled": false,
|
2434
2438
|
"document": "展示名称",
|
2435
|
-
"example": "
|
2439
|
+
"example": "prom-for-test",
|
2436
2440
|
"member": "string",
|
2437
2441
|
"name": "DisplayName",
|
2438
2442
|
"required": true,
|
@@ -2442,7 +2446,7 @@
|
|
2442
2446
|
{
|
2443
2447
|
"disabled": false,
|
2444
2448
|
"document": "实例Id",
|
2445
|
-
"example": "
|
2449
|
+
"example": "prom-86rajg7s",
|
2446
2450
|
"member": "string",
|
2447
2451
|
"name": "InstanceId",
|
2448
2452
|
"required": true,
|
@@ -2452,7 +2456,7 @@
|
|
2452
2456
|
{
|
2453
2457
|
"disabled": false,
|
2454
2458
|
"document": "虚拟网络Id",
|
2455
|
-
"example": "
|
2459
|
+
"example": "vpc-75aajr3v",
|
2456
2460
|
"member": "string",
|
2457
2461
|
"name": "VpcId",
|
2458
2462
|
"required": true,
|
@@ -2462,7 +2466,7 @@
|
|
2462
2466
|
{
|
2463
2467
|
"disabled": false,
|
2464
2468
|
"document": "状态",
|
2465
|
-
"example": "
|
2469
|
+
"example": "running",
|
2466
2470
|
"member": "string",
|
2467
2471
|
"name": "State",
|
2468
2472
|
"required": true,
|
@@ -2812,7 +2816,7 @@
|
|
2812
2816
|
{
|
2813
2817
|
"disabled": false,
|
2814
2818
|
"document": "Zipkin调用地址",
|
2815
|
-
"example": "
|
2819
|
+
"example": "http://10.0.0.2",
|
2816
2820
|
"member": "string",
|
2817
2821
|
"name": "Address",
|
2818
2822
|
"required": true,
|
@@ -2921,7 +2925,7 @@
|
|
2921
2925
|
{
|
2922
2926
|
"disabled": false,
|
2923
2927
|
"document": "部署到指定节点",
|
2924
|
-
"example": "
|
2928
|
+
"example": "{\"10.0.0.2\", \"10.0.0.5\"}",
|
2925
2929
|
"member": "string",
|
2926
2930
|
"name": "SelectedNodeList",
|
2927
2931
|
"required": false,
|
@@ -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\": \"
|
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\": \"
|
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\": \"
|
31
|
-
"output": "{\n \"Response\": {\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 \"
|
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\": \"
|
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
|
}
|