tccli 3.0.1240.1__py2.py3-none-any.whl → 3.0.1241.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/apm/v20210622/api.json +66 -69
- tccli/services/apm/v20210622/examples.json +26 -26
- tccli/services/autoscaling/v20180419/api.json +12 -1
- tccli/services/batch/v20170312/api.json +11 -11
- tccli/services/billing/v20180709/api.json +20 -0
- tccli/services/cam/v20190116/api.json +1 -1
- tccli/services/car/v20220110/api.json +1 -1
- tccli/services/car/v20220110/examples.json +3 -3
- tccli/services/cdb/v20170320/api.json +582 -579
- tccli/services/cdb/v20170320/examples.json +9 -9
- tccli/services/cdwdoris/v20211228/api.json +40 -0
- tccli/services/cfg/v20210820/api.json +11 -0
- tccli/services/chdfs/v20201112/api.json +10 -10
- tccli/services/chdfs/v20201112/examples.json +1 -1
- tccli/services/cls/v20201016/api.json +1 -1
- tccli/services/cmq/v20190304/api.json +77 -77
- tccli/services/cvm/cvm_client.py +60 -325
- tccli/services/cvm/v20170312/api.json +618 -1401
- tccli/services/cvm/v20170312/examples.json +8 -48
- tccli/services/cwp/cwp_client.py +0 -53
- tccli/services/cwp/v20180228/api.json +0 -34
- tccli/services/cwp/v20180228/examples.json +0 -8
- tccli/services/cynosdb/v20190107/api.json +452 -458
- tccli/services/cynosdb/v20190107/examples.json +23 -23
- tccli/services/dbbrain/v20191016/api.json +16 -4
- tccli/services/dbbrain/v20191016/examples.json +5 -5
- tccli/services/dbbrain/v20210527/api.json +44 -44
- tccli/services/dbbrain/v20210527/examples.json +8 -8
- tccli/services/dts/v20180330/api.json +30 -30
- tccli/services/dts/v20180330/examples.json +4 -4
- tccli/services/dts/v20211206/api.json +19 -9
- tccli/services/dts/v20211206/examples.json +5 -5
- tccli/services/ecm/v20190719/api.json +55 -48
- tccli/services/ecm/v20190719/examples.json +7 -7
- tccli/services/emr/emr_client.py +493 -16
- tccli/services/emr/v20190103/api.json +1323 -246
- tccli/services/emr/v20190103/examples.json +72 -0
- tccli/services/ess/v20201111/api.json +13 -4
- tccli/services/essbasic/v20210526/api.json +11 -2
- tccli/services/essbasic/v20210526/examples.json +12 -0
- tccli/services/faceid/v20180301/api.json +3 -3
- tccli/services/gaap/v20180529/api.json +181 -183
- tccli/services/gaap/v20180529/examples.json +31 -37
- tccli/services/gs/v20191118/api.json +3 -3
- tccli/services/gs/v20191118/examples.json +3 -3
- tccli/services/iai/iai_client.py +53 -0
- tccli/services/iai/v20200303/api.json +80 -0
- tccli/services/iai/v20200303/examples.json +14 -0
- tccli/services/iotexplorer/v20190423/api.json +10 -0
- tccli/services/keewidb/v20220308/api.json +188 -190
- tccli/services/live/v20180801/api.json +323 -222
- tccli/services/live/v20180801/examples.json +79 -79
- tccli/services/mna/v20210119/api.json +20 -20
- tccli/services/mps/v20190612/api.json +40 -0
- tccli/services/oceanus/v20190422/api.json +407 -39
- tccli/services/oceanus/v20190422/examples.json +1 -1
- tccli/services/ocr/v20181119/api.json +50 -0
- tccli/services/sqlserver/v20180328/api.json +235 -139
- tccli/services/sqlserver/v20180328/examples.json +2 -2
- tccli/services/ssl/v20191205/api.json +777 -779
- tccli/services/ssl/v20191205/examples.json +8 -8
- tccli/services/tbaas/v20180416/api.json +118 -82
- tccli/services/tbaas/v20180416/examples.json +7 -7
- tccli/services/tcb/v20180608/api.json +18 -18
- tccli/services/tcb/v20180608/examples.json +2 -2
- tccli/services/tcm/v20210413/api.json +6 -6
- tccli/services/tcm/v20210413/examples.json +1 -1
- tccli/services/tcr/v20190924/api.json +17 -12
- tccli/services/tdmq/v20200217/api.json +18 -0
- tccli/services/tem/v20210701/api.json +439 -280
- tccli/services/tem/v20210701/examples.json +39 -39
- tccli/services/tke/v20180525/api.json +50 -39
- tccli/services/tke/v20180525/examples.json +51 -21
- tccli/services/trro/v20220325/api.json +27 -27
- tccli/services/trro/v20220325/examples.json +1 -1
- tccli/services/tse/v20201207/api.json +46 -9
- tccli/services/tse/v20201207/examples.json +31 -31
- tccli/services/tsf/v20180326/api.json +448 -434
- tccli/services/tsf/v20180326/examples.json +122 -122
- tccli/services/tts/v20190823/api.json +1 -1
- tccli/services/vpc/v20170312/api.json +278 -37
- tccli/services/vpc/v20170312/examples.json +56 -8
- tccli/services/vpc/vpc_client.py +159 -0
- tccli/services/waf/v20180125/api.json +303 -4
- tccli/services/waf/v20180125/examples.json +25 -1
- tccli/services/waf/waf_client.py +163 -4
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/RECORD +92 -92
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1240.1.dist-info → tccli-3.0.1241.1.dist-info}/license_files/LICENSE +0 -0
@@ -1938,40 +1938,40 @@
|
|
1938
1938
|
{
|
1939
1939
|
"disabled": false,
|
1940
1940
|
"document": "addon名称",
|
1941
|
-
"example": "
|
1941
|
+
"example": "cbs",
|
1942
1942
|
"member": "string",
|
1943
1943
|
"name": "AddonName",
|
1944
|
-
"
|
1944
|
+
"output_required": true,
|
1945
1945
|
"type": "string",
|
1946
1946
|
"value_allowed_null": false
|
1947
1947
|
},
|
1948
1948
|
{
|
1949
1949
|
"disabled": false,
|
1950
1950
|
"document": "addon的版本",
|
1951
|
-
"example": "
|
1951
|
+
"example": "1.1.8",
|
1952
1952
|
"member": "string",
|
1953
1953
|
"name": "AddonVersion",
|
1954
|
-
"
|
1954
|
+
"output_required": true,
|
1955
1955
|
"type": "string",
|
1956
1956
|
"value_allowed_null": false
|
1957
1957
|
},
|
1958
1958
|
{
|
1959
1959
|
"disabled": false,
|
1960
1960
|
"document": "addon的参数,是一个json格式的base64转码后的字符串\n注意:此字段可能返回 null,表示取不到有效值。",
|
1961
|
-
"example": "
|
1961
|
+
"example": "e30=",
|
1962
1962
|
"member": "string",
|
1963
1963
|
"name": "RawValues",
|
1964
|
-
"
|
1964
|
+
"output_required": true,
|
1965
1965
|
"type": "string",
|
1966
1966
|
"value_allowed_null": true
|
1967
1967
|
},
|
1968
1968
|
{
|
1969
1969
|
"disabled": false,
|
1970
1970
|
"document": "addon的状态\n注意:此字段可能返回 null,表示取不到有效值。",
|
1971
|
-
"example": "
|
1971
|
+
"example": "Succeeded",
|
1972
1972
|
"member": "string",
|
1973
1973
|
"name": "Phase",
|
1974
|
-
"
|
1974
|
+
"output_required": true,
|
1975
1975
|
"type": "string",
|
1976
1976
|
"value_allowed_null": true
|
1977
1977
|
},
|
@@ -1981,9 +1981,19 @@
|
|
1981
1981
|
"example": "无",
|
1982
1982
|
"member": "string",
|
1983
1983
|
"name": "Reason",
|
1984
|
-
"
|
1984
|
+
"output_required": true,
|
1985
1985
|
"type": "string",
|
1986
1986
|
"value_allowed_null": true
|
1987
|
+
},
|
1988
|
+
{
|
1989
|
+
"disabled": false,
|
1990
|
+
"document": "addon的创建时间",
|
1991
|
+
"example": "2024-12-26T09:10:58Z",
|
1992
|
+
"member": "string",
|
1993
|
+
"name": "CreateTime",
|
1994
|
+
"output_required": true,
|
1995
|
+
"type": "string",
|
1996
|
+
"value_allowed_null": false
|
1987
1997
|
}
|
1988
1998
|
],
|
1989
1999
|
"usage": "out"
|
@@ -4483,7 +4493,7 @@
|
|
4483
4493
|
{
|
4484
4494
|
"disabled": false,
|
4485
4495
|
"document": "对象存储桶名称,如果是COS必须是tke-backup前缀开头",
|
4486
|
-
"example": "tke-backup-
|
4496
|
+
"example": "tke-backup-test",
|
4487
4497
|
"member": "string",
|
4488
4498
|
"name": "Bucket",
|
4489
4499
|
"required": true,
|
@@ -4492,7 +4502,7 @@
|
|
4492
4502
|
{
|
4493
4503
|
"disabled": false,
|
4494
4504
|
"document": "备份仓库名称",
|
4495
|
-
"example": "
|
4505
|
+
"example": "tke-storage-backup",
|
4496
4506
|
"member": "string",
|
4497
4507
|
"name": "Name",
|
4498
4508
|
"required": true,
|
@@ -4510,7 +4520,7 @@
|
|
4510
4520
|
{
|
4511
4521
|
"disabled": false,
|
4512
4522
|
"document": "对象存储桶路径",
|
4513
|
-
"example": "
|
4523
|
+
"example": "tke",
|
4514
4524
|
"member": "string",
|
4515
4525
|
"name": "Path",
|
4516
4526
|
"required": false,
|
@@ -7083,7 +7093,7 @@
|
|
7083
7093
|
{
|
7084
7094
|
"disabled": false,
|
7085
7095
|
"document": "集群ID",
|
7086
|
-
"example": "
|
7096
|
+
"example": "cls-kihzth22",
|
7087
7097
|
"member": "string",
|
7088
7098
|
"name": "ClusterId",
|
7089
7099
|
"required": true,
|
@@ -7092,7 +7102,7 @@
|
|
7092
7102
|
{
|
7093
7103
|
"disabled": false,
|
7094
7104
|
"document": "addon名称",
|
7095
|
-
"example": "
|
7105
|
+
"example": "nvidia-gpu",
|
7096
7106
|
"member": "string",
|
7097
7107
|
"name": "AddonName",
|
7098
7108
|
"required": true,
|
@@ -7119,7 +7129,7 @@
|
|
7119
7129
|
{
|
7120
7130
|
"disabled": false,
|
7121
7131
|
"document": "备份仓库名称",
|
7122
|
-
"example": "
|
7132
|
+
"example": "tke-storage-backup",
|
7123
7133
|
"member": "string",
|
7124
7134
|
"name": "Name",
|
7125
7135
|
"required": true,
|
@@ -8266,7 +8276,7 @@
|
|
8266
8276
|
{
|
8267
8277
|
"disabled": false,
|
8268
8278
|
"document": "集群ID",
|
8269
|
-
"example": "
|
8279
|
+
"example": "cls-kihzth22",
|
8270
8280
|
"member": "string",
|
8271
8281
|
"name": "ClusterId",
|
8272
8282
|
"required": true,
|
@@ -8275,7 +8285,7 @@
|
|
8275
8285
|
{
|
8276
8286
|
"disabled": false,
|
8277
8287
|
"document": "addon名称(不传时会返回集群下全部的addon)",
|
8278
|
-
"example": "
|
8288
|
+
"example": "cbs",
|
8279
8289
|
"member": "string",
|
8280
8290
|
"name": "AddonName",
|
8281
8291
|
"required": false,
|
@@ -8293,6 +8303,7 @@
|
|
8293
8303
|
"example": "无",
|
8294
8304
|
"member": "Addon",
|
8295
8305
|
"name": "Addons",
|
8306
|
+
"output_required": true,
|
8296
8307
|
"type": "list",
|
8297
8308
|
"value_allowed_null": false
|
8298
8309
|
},
|
@@ -8311,7 +8322,7 @@
|
|
8311
8322
|
{
|
8312
8323
|
"disabled": false,
|
8313
8324
|
"document": "集群ID",
|
8314
|
-
"example": "
|
8325
|
+
"example": "cls-kihzth22",
|
8315
8326
|
"member": "string",
|
8316
8327
|
"name": "ClusterId",
|
8317
8328
|
"required": true,
|
@@ -8320,7 +8331,7 @@
|
|
8320
8331
|
{
|
8321
8332
|
"disabled": false,
|
8322
8333
|
"document": "addon名称",
|
8323
|
-
"example": "
|
8334
|
+
"example": "nvidia-gpu",
|
8324
8335
|
"member": "string",
|
8325
8336
|
"name": "AddonName",
|
8326
8337
|
"required": true,
|
@@ -8334,7 +8345,7 @@
|
|
8334
8345
|
"members": [
|
8335
8346
|
{
|
8336
8347
|
"disabled": false,
|
8337
|
-
"document": "参数列表,如果addon
|
8348
|
+
"document": "参数列表,如果addon已安装,会使用已设置的参数和chart里的默认参数做渲染,是一个json格式的字符串,未安装addon时返回为空值。",
|
8338
8349
|
"example": "无",
|
8339
8350
|
"member": "string",
|
8340
8351
|
"name": "Values",
|
@@ -8344,7 +8355,7 @@
|
|
8344
8355
|
},
|
8345
8356
|
{
|
8346
8357
|
"disabled": false,
|
8347
|
-
"document": "addon
|
8358
|
+
"document": "addon支持的参数列表,值为chart的默认值,是一个json格式的字符串。",
|
8348
8359
|
"example": "无",
|
8349
8360
|
"member": "string",
|
8350
8361
|
"name": "DefaultValues",
|
@@ -14482,7 +14493,7 @@
|
|
14482
14493
|
{
|
14483
14494
|
"disabled": false,
|
14484
14495
|
"document": "集群ID",
|
14485
|
-
"example": "
|
14496
|
+
"example": "cls-2r8kckml",
|
14486
14497
|
"member": "string",
|
14487
14498
|
"name": "ClusterId",
|
14488
14499
|
"required": true,
|
@@ -16689,7 +16700,7 @@
|
|
16689
16700
|
{
|
16690
16701
|
"disabled": false,
|
16691
16702
|
"document": "app类型,取值log,scheduler,network,storage,monitor,dns,image,other,invisible",
|
16692
|
-
"example": "
|
16703
|
+
"example": "network",
|
16693
16704
|
"member": "string",
|
16694
16705
|
"name": "Kind",
|
16695
16706
|
"required": false,
|
@@ -16707,7 +16718,7 @@
|
|
16707
16718
|
{
|
16708
16719
|
"disabled": false,
|
16709
16720
|
"document": "集群类型,取值tke、eks",
|
16710
|
-
"example": "
|
16721
|
+
"example": "eks",
|
16711
16722
|
"member": "string",
|
16712
16723
|
"name": "ClusterType",
|
16713
16724
|
"required": false,
|
@@ -17174,8 +17185,8 @@
|
|
17174
17185
|
"members": [
|
17175
17186
|
{
|
17176
17187
|
"disabled": false,
|
17177
|
-
"document": "集群ID",
|
17178
|
-
"example": "
|
17188
|
+
"document": "集群ID(仅支持标准tke集群)",
|
17189
|
+
"example": "cls-12345678",
|
17179
17190
|
"member": "string",
|
17180
17191
|
"name": "ClusterId",
|
17181
17192
|
"required": true,
|
@@ -17184,7 +17195,7 @@
|
|
17184
17195
|
{
|
17185
17196
|
"disabled": false,
|
17186
17197
|
"document": "addon名称",
|
17187
|
-
"example": "
|
17198
|
+
"example": "cbs",
|
17188
17199
|
"member": "string",
|
17189
17200
|
"name": "AddonName",
|
17190
17201
|
"required": true,
|
@@ -24723,50 +24734,50 @@
|
|
24723
24734
|
{
|
24724
24735
|
"disabled": false,
|
24725
24736
|
"document": "集群ID",
|
24726
|
-
"example": "
|
24737
|
+
"example": "cls-a0pa8wse",
|
24727
24738
|
"member": "string",
|
24728
24739
|
"name": "ClusterId",
|
24729
|
-
"
|
24740
|
+
"output_required": true,
|
24730
24741
|
"type": "string",
|
24731
24742
|
"value_allowed_null": false
|
24732
24743
|
},
|
24733
24744
|
{
|
24734
24745
|
"disabled": false,
|
24735
24746
|
"document": "审计开关的详细信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
24736
|
-
"example": "
|
24747
|
+
"example": "{\"Enable\":false,\"LogsetId\":\"\",\"TopicId\":\"\",\"TopicRegion\":\"\",\"UpgradeAble\":false,\"Version\":\"\"}",
|
24737
24748
|
"member": "SwitchInfo",
|
24738
24749
|
"name": "Audit",
|
24739
|
-
"
|
24750
|
+
"output_required": true,
|
24740
24751
|
"type": "object",
|
24741
24752
|
"value_allowed_null": true
|
24742
24753
|
},
|
24743
24754
|
{
|
24744
24755
|
"disabled": false,
|
24745
24756
|
"document": "事件开关的详细信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
24746
|
-
"example": "
|
24757
|
+
"example": "{\"Enable\":false,\"LogsetId\":\"\",\"TopicId\":\"\",\"TopicRegion\":\"\",\"UpgradeAble\":false,\"Version\":\"\"}",
|
24747
24758
|
"member": "SwitchInfo",
|
24748
24759
|
"name": "Event",
|
24749
|
-
"
|
24760
|
+
"output_required": true,
|
24750
24761
|
"type": "object",
|
24751
24762
|
"value_allowed_null": true
|
24752
24763
|
},
|
24753
24764
|
{
|
24754
24765
|
"disabled": false,
|
24755
24766
|
"document": "普通日志的详细信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
24756
|
-
"example": "
|
24767
|
+
"example": "{\"Enable\":true,\"LogsetId\":\"\",\"TopicId\":\"\",\"TopicRegion\":\"\",\"UpgradeAble\":true,\"Version\":\"1.1.17\"}",
|
24757
24768
|
"member": "SwitchInfo",
|
24758
24769
|
"name": "Log",
|
24759
|
-
"
|
24770
|
+
"output_required": true,
|
24760
24771
|
"type": "object",
|
24761
24772
|
"value_allowed_null": true
|
24762
24773
|
},
|
24763
24774
|
{
|
24764
24775
|
"disabled": false,
|
24765
24776
|
"document": "master 日志详细信息\n注意:此字段可能返回 null,表示取不到有效值。",
|
24766
|
-
"example": "
|
24777
|
+
"example": "{\"Enable\":false,\"LogsetId\":\"\",\"TopicId\":\"\",\"TopicRegion\":\"\",\"UpgradeAble\":false,\"Version\":\"\"}",
|
24767
24778
|
"member": "SwitchInfo",
|
24768
24779
|
"name": "MasterLog",
|
24769
|
-
"
|
24780
|
+
"output_required": true,
|
24770
24781
|
"type": "object",
|
24771
24782
|
"value_allowed_null": true
|
24772
24783
|
}
|
@@ -25257,7 +25268,7 @@
|
|
25257
25268
|
{
|
25258
25269
|
"disabled": false,
|
25259
25270
|
"document": "集群ID",
|
25260
|
-
"example": "cls-
|
25271
|
+
"example": "cls-12345678",
|
25261
25272
|
"member": "string",
|
25262
25273
|
"name": "ClusterId",
|
25263
25274
|
"required": true,
|
@@ -25284,7 +25295,7 @@
|
|
25284
25295
|
{
|
25285
25296
|
"disabled": false,
|
25286
25297
|
"document": "addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取,不传RawValues时AddonVersion必传))",
|
25287
|
-
"example": "
|
25298
|
+
"example": "eyJ2cGNDbmkiOnsic2VjdXJpdHlHcm91cHMiOnsic2VjdXJpdHlHcm91cHMiOltdfX19",
|
25288
25299
|
"member": "string",
|
25289
25300
|
"name": "RawValues",
|
25290
25301
|
"required": false,
|
@@ -67,8 +67,8 @@
|
|
67
67
|
"CreateBackupStorageLocation": [
|
68
68
|
{
|
69
69
|
"document": "创建TKE存储仓库",
|
70
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBackupStorageLocation\n<公共请求参数>\n\n{\n \"StorageRegion\": \"ap-guangzhou\",\n \"
|
71
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
70
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: CreateBackupStorageLocation\n<公共请求参数>\n\n{\n \"StorageRegion\": \"ap-guangzhou\",\n \"Bucket\": \"tke-backup-test\",\n \"Name\": \"tke-storage-backup\",\n \"Provider\": \"tencentcloud\",\n \"Path\": \"tke\"\n}",
|
71
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"6b4cf747-ecfb-42ae-a1fb-a0132353c80b\"\n }\n}",
|
72
72
|
"title": "创建TKE存储仓库"
|
73
73
|
}
|
74
74
|
],
|
@@ -331,16 +331,16 @@
|
|
331
331
|
"DeleteAddon": [
|
332
332
|
{
|
333
333
|
"document": "删除一个addon",
|
334
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-
|
335
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
334
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-kihzth22\",\n \"AddonName\": \"nvidia-gpu\"\n}",
|
335
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"0edfedeb-47cd-41b1-bab9-79dcc88d4e66\"\n }\n}",
|
336
336
|
"title": "删除addon"
|
337
337
|
}
|
338
338
|
],
|
339
339
|
"DeleteBackupStorageLocation": [
|
340
340
|
{
|
341
341
|
"document": "删除备份仓库,注意,此接口不会清理备份仓库底层存储数据",
|
342
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackupStorageLocation\n<公共请求参数>\n\n{\n \"Name\": \"
|
343
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
342
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DeleteBackupStorageLocation\n<公共请求参数>\n\n{\n \"Name\": \"tke-storage-backup\"\n}",
|
343
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"ebc80be1-c6a7-4c1f-870e-74eba8471969\"\n }\n}",
|
344
344
|
"title": "删除备份仓库"
|
345
345
|
}
|
346
346
|
],
|
@@ -583,16 +583,16 @@
|
|
583
583
|
"DescribeAddon": [
|
584
584
|
{
|
585
585
|
"document": "获取一个或多个addon列表",
|
586
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-
|
587
|
-
"output": "{\n \"Response\": {\n \"Addons\": [\n {\n \"AddonName\": \"cbs\",\n \"AddonVersion\": \"1.1.
|
586
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-kihzth22\",\n \"AddonName\": \"cbs\"\n}",
|
587
|
+
"output": "{\n \"Response\": {\n \"Addons\": [\n {\n \"AddonName\": \"cbs\",\n \"AddonVersion\": \"1.1.7\",\n \"CreateTime\": \"2024-12-23T13:06:44Z\",\n \"Phase\": \"Succeeded\",\n \"RawValues\": \"e30=\",\n \"Reason\": \"\"\n }\n ],\n \"RequestId\": \"7eb2cf94-6cc3-40d0-8843-3ac1314e61e5\"\n }\n}",
|
588
588
|
"title": "获取addon列表"
|
589
589
|
}
|
590
590
|
],
|
591
591
|
"DescribeAddonValues": [
|
592
592
|
{
|
593
593
|
"document": "获取一个addon的参数",
|
594
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAddonValues\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-
|
595
|
-
"output": "{\n \"Response\": {\n \"
|
594
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: DescribeAddonValues\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-kihzth22\",\n \"AddonName\": \"nvidia-gpu\"\n}",
|
595
|
+
"output": "{\n \"Response\": {\n \"DefaultValues\": \"{\\\"config\\\":{\\\"disablehealthchecks\\\":\\\"\\\",\\\"waituvm\\\":false},\\\"exporter\\\":{\\\"tag\\\":\\\"v1.0.18\\\"},\\\"global\\\":{\\\"cluster\\\":{\\\"appid\\\":1255429800,\\\"clustertype\\\":\\\"MANAGED_CLUSTER\\\",\\\"id\\\":\\\"cls-kihzth22\\\",\\\"kubeminor\\\":\\\"30.0\\\",\\\"kubeversion\\\":\\\"1.30.0-tke.2\\\",\\\"longregion\\\":\\\"ap-guangzhou\\\",\\\"region\\\":\\\"gz\\\",\\\"subuin\\\":100040133055,\\\"type\\\":\\\"tke\\\",\\\"uin\\\":100002743387},\\\"image\\\":{\\\"host\\\":\\\"ccr.ccs.tencentyun.com\\\"}},\\\"plugin\\\":{\\\"tag\\\":\\\"v0.14.3\\\"},\\\"pluginInit\\\":{\\\"tag\\\":\\\"v1.0\\\"}}\",\n \"RequestId\": \"4fb715e9-8233-4f82-9730-afe743ea89a7\",\n \"Values\": \"{\\\"config\\\":{\\\"disablehealthchecks\\\":\\\"\\\",\\\"waituvm\\\":false},\\\"exporter\\\":{\\\"tag\\\":\\\"v1.0.18\\\"},\\\"global\\\":{\\\"cluster\\\":{\\\"appid\\\":1255429800,\\\"clustertype\\\":\\\"MANAGED_CLUSTER\\\",\\\"id\\\":\\\"cls-kihzth22\\\",\\\"kubeminor\\\":\\\"30.0\\\",\\\"kubeversion\\\":\\\"1.30.0-tke.2\\\",\\\"longregion\\\":\\\"ap-guangzhou\\\",\\\"region\\\":\\\"gz\\\",\\\"subuin\\\":100040133055,\\\"type\\\":\\\"tke\\\",\\\"uin\\\":100002743387},\\\"image\\\":{\\\"host\\\":\\\"ccr.ccs.tencentyun.com\\\"}},\\\"plugin\\\":{\\\"tag\\\":\\\"v0.14.3\\\"},\\\"pluginInit\\\":{\\\"tag\\\":\\\"v1.0\\\"}}\"\n }\n}",
|
596
596
|
"title": "获取addon的参数"
|
597
597
|
}
|
598
598
|
],
|
@@ -1530,10 +1530,10 @@
|
|
1530
1530
|
],
|
1531
1531
|
"GetTkeAppChartList": [
|
1532
1532
|
{
|
1533
|
-
"document": "获取
|
1534
|
-
"input": "
|
1535
|
-
"output": "{\n \"Response\": {\n \"
|
1536
|
-
"title": "获取
|
1533
|
+
"document": "获取EKS支持的网络 AppChart列表",
|
1534
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetTkeAppChartList\n<公共请求参数>\n\n{\n \"Kind\": \"network\",\n \"ClusterType\": \"eks\"\n}",
|
1535
|
+
"output": "{\n \"Response\": {\n \"AppCharts\": [\n {\n \"Label\": \"{\\\"amd64\\\":\\\"true\\\",\\\"eks\\\":\\\"true\\\",\\\"kind\\\":\\\"network\\\",\\\"network\\\":\\\"true\\\",\\\"tke\\\":\\\"true\\\"}\",\n \"LatestVersion\": \"1.5.1\",\n \"Name\": \"ingressnginx\"\n }\n ],\n \"RequestId\": \"566fdd07-fa79-4dc1-8d22-78907dedd607\"\n }\n}",
|
1536
|
+
"title": "获取EKS支持的网络 AppChart列表"
|
1537
1537
|
}
|
1538
1538
|
],
|
1539
1539
|
"GetUpgradeInstanceProgress": [
|
@@ -1546,10 +1546,28 @@
|
|
1546
1546
|
],
|
1547
1547
|
"InstallAddon": [
|
1548
1548
|
{
|
1549
|
-
"document": "
|
1550
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InstallAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-
|
1551
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1552
|
-
"title": "安装
|
1549
|
+
"document": "用户安装cbs组件时支持通过RawValues配置自定义参数,比如设置容忍调度,可以将 {\"tolerations\":[{\"effect\":\"NoExecute\",\"key\":\"gpu-not-ready\",\"operator\":\"Equal\",\"tolerationSeconds\":300,\"value\":\"true\"},{\"key\":\"ip-not-ready\",\"operator\":\"Exists\"}]} 进行base64编码后放入到 RawValues 参数中。cbs组件支持的自定义配置参数说明如下:\n```\n{\n \"tolerations\": [\n {\n \"effect\": \"string, 效果,例如:NoExecute\",\n \"key\": \"string,标签值,例如:gpu-not-ready\",\n \"operator\": \"string,操作符,例如:Equal\",\n \"tolerationSeconds\": \"int,容忍时间(秒),例如:300\",\n \"value\": \"string,标签值,例如:true\"\n },\n {\n \"key\": \"string,标签值,例如:ip-not-ready\",\n \"operator\": \"string,操作符,例如:Exists\"\n }\n ]\n}\n```",
|
1550
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InstallAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-12345678\",\n \"AddonName\": \"cbs\",\n \"RawValues\": \"eyJ0b2xlcmF0aW9ucyI6W3siZWZmZWN0IjoiTm9FeGVjdXRlIiwia2V5IjoiZ3B1LW5vdC1yZWFkeSIsIm9wZXJhdG9yIjoiRXF1YWwiLCJ0b2xlcmF0aW9uU2Vjb25kcyI6MzAwLCJ2YWx1ZSI6InRydWUifSx7ImtleSI6ImlwLW5vdC1yZWFkeSIsIm9wZXJhdG9yIjoiRXhpc3RzIn1dfQ==\"\n}",
|
1551
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b583f05e-d4f4-4963-8082-b651605hg432\"\n }\n}",
|
1552
|
+
"title": "安装cbs组件"
|
1553
|
+
},
|
1554
|
+
{
|
1555
|
+
"document": "用户安装eniipamd组件时支持通过RawValues配置自定义参数,比如添加安全组,可以将 {\"vpcCni\":{\"securityGroups\":{\"securityGroups\":[\"sg-12345678\"]}}} 进行base64编码后放入到 RawValues 参数中。eniipamd组件支持的自定义配置参数说明如下:\n```\n{\n \"clusterId\": \"string, 集群ID, 例如:cls-12345678\",\n \"vpcCni\": {\n \"vpcId\": \"string, VPC的ID, 例如:vpc-12345678\",\n \"enableVpcCni\": \"bool, 是否启用VPC CNI, 例如:true\",\n \"routeEni\": {\n \"ipMinWarmTarget\": \"int, 新增节点共享网卡辅助IP的最小预绑定值, 例如:5\",\n \"ipMaxWarmTarget\": \"int, 新增节点共享网卡辅助IP的最大预绑定值, 例如:5\"\n },\n \"ipam\": {\n \"subnetIds\": \"array, 用于IP地址分配的Pod子网ID列表, 例如:[\\\"subnet-12345678\\\"]\"\n }, \n \"securityGroups\": {\n \"enableSecurityGroups\": \"bool, 是否启用安全组, 例如:true\",\n \"securityGroups\": [\n \"string, 安全组ID, 例如:sg-12345678\"\n ]\n }\n },\n \"agent\": {\n \"kubeClient\": {\n \"masterAddr\": \"string, kubeClient主节点地址, 例如: 169.254.128.54:60002\"\n }\n }\n}\n```",
|
1556
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InstallAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-12345678\",\n \"AddonName\": \"eniipamd\",\n \"RawValues\": \"eyJ2cGNDbmkiOnsic2VjdXJpdHlHcm91cHMiOnsic2VjdXJpdHlHcm91cHMiOlsic2ctMTIzNDU2NzgiXX19fQ==\"\n}",
|
1557
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b583f05e-d4f4-4963-8082-b651605jh275\"\n }\n}",
|
1558
|
+
"title": "安装eniipamd组件"
|
1559
|
+
},
|
1560
|
+
{
|
1561
|
+
"document": "用户安装tke-log-agent组件时支持通过RawValues配置自定义参数,比如设置启用kafkalistener,可以将 {\"kafkalistener\":{\"enabled\":true}} 进行base64编码后放入到 RawValues 参数中。tke-log-agent 组件支持的自定义配置参数说明如下:\n```\n{\n \"global\": {\n \"clsHost\": \"string, cls服务域名,例如:ap-chengdu.cls.tencentyun.com\",\n \"cluster\": {\n \"clustertype\": \"string,集群管理类型,例如:MANAGED_CLUSTER 或 INDEPENDENT_CLUSTER\",\n \"kubeminor\": \"string,集群版本,例如:minor 30.0\",\n \"kubeversion\": \"string,集群k8s版本,例如:1.30.0\",\n \"type\": \"string,集群类型,例如:tke 或 eks\"\n },\n \"clusterID\": \"string,集群ID,例如:cls-12345678\",\n \"hostNetwork\": \"bool,是否使用hostNetwork,例如:false\",\n \"localRegion\": \"string,集群所在地域,例如:ap-chengdu\",\n \"registry\": \"string,镜像仓库,例如:ccr.ccs.tencentyun.com\",\n \"sources\": \"string,鉴权方式,例如:norm\"\n },\n \"kafkalistener\": {\n \"enabled\": \"bool,是否启用kafkalistener,例如:true\",\n },\n \"logAgent\": {\n \"enabled\": \"bool,是否启用logAgent,例如:true\",\n },\n \"loglistener\": {\n \"enabled\": \"bool,是否启用loglistener\",\n },\n \"provisioner\": {\n \"replicaCount\": \"int,cls-provisioner副本数,例如:2\",\n \"sources\": \"string,cls-provisioner鉴权方式,例如:norm\"\n }\n}\n```",
|
1562
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InstallAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-123deabc\",\n \"AddonName\": \"tke-log-agent\",\n \"RawValues\": \"eyJrYWZrYWxpc3RlbmVyIjp7ImVuYWJsZWQiOnRydWV9fQ==\"\n}",
|
1563
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b583f05e-d4f4-4963-8082-b651605ca427\"\n }\n}",
|
1564
|
+
"title": "安装tke-log-agent组件"
|
1565
|
+
},
|
1566
|
+
{
|
1567
|
+
"document": "用户可以通过 RawValues 参数制定组件需要的配置参数,比如 imagePullSecretsCrs。 tcr 组件支持的配置参数示例如下:\n```\n{\n \"global\": {\n \"imagePullSecretsCrs\": [\n {\n \"name\": \"string,imagePullSecretsCr 的名称,例如:tcr-12345678-public\",\n \"namespaces\": \"string,免密功能作用范围,例如:* 表示所有命名空间\",\n \"serviceAccounts\": \"string,免密功能作用范围,例如:* 表示所有k8s服务账户\",\n \"type\": \"string,必须为 docker\",\n \"dockerUsername\": \"string,镜像仓库登录用户名\",\n \"dockerPassword\": \"string,镜像仓库登录密码\",\n \"dockerServer\": \"string,镜像仓库服务器地址\"\n }\n ]\n }\n}\n```",
|
1568
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: InstallAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-12345678\",\n \"AddonName\": \"tcr\",\n \"RawValues\": \"eyJnbG9iYWwiOnsiaW1hZ2VQdWxsU2VjcmV0c0NycyI6W3sibmFtZSI6InRjci1kZzI4NGltcS1wdWJsaWMiLCJuYW1lc3BhY2VzIjoiKiIsInNlcnZpY2VBY2NvdW50cyI6IioiLCJ0eXBlIjoiZG9ja2VyIiwiZG9ja2VyVXNlcm5hbWUiOiIxMDAwMTQzNjQ4MjIiLCJkb2NrZXJQYXNzd29yZCI6IjEyMzQ1Njc4IiwiZG9ja2VyU2VydmVyIjoibmljb2thbmctdGNyLWd6LnRlbmNlbnRjbG91ZGNyLmNvbSJ9XX19\"\n}",
|
1569
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"b583f05e-d4f4-4963-8082-b651605ca765\"\n }\n}",
|
1570
|
+
"title": "安装tcr组件"
|
1553
1571
|
}
|
1554
1572
|
],
|
1555
1573
|
"InstallEdgeLogAgent": [
|
@@ -1902,10 +1920,22 @@
|
|
1902
1920
|
],
|
1903
1921
|
"UpdateAddon": [
|
1904
1922
|
{
|
1905
|
-
"document": "
|
1906
|
-
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-
|
1923
|
+
"document": "用户可以通过RawValues参数更新eniipamd组件支持的自定义配置参数,比如清空已配置的安全组,可以将 {\"vpcCni\":{\"securityGroups\":{\"securityGroups\":[]}}} 进行base64编码后放入到 RawValues 参数中。eniipamd组件支持的自定义配置参数说明如下:\n```\n{\n \"clusterId\": \"string, 集群ID, 例如:cls-12345678\",\n \"vpcCni\": {\n \"vpcId\": \"string, VPC的ID, 例如:vpc-12345678\",\n \"enableVpcCni\": \"bool, 是否启用VPC CNI, 例如:true\",\n \"routeEni\": {\n \"ipMinWarmTarget\": \"int, 新增节点共享网卡辅助IP的最小预绑定值, 例如:5\",\n \"ipMaxWarmTarget\": \"int, 新增节点共享网卡辅助IP的最大预绑定值, 例如:5\"\n },\n \"ipam\": {\n \"subnetIds\": \"array, 用于IP地址分配的Pod子网ID列表, 例如:[\\\"subnet-12345678\\\"]\"\n }, \n \t\"securityGroups\": {\n \"enableSecurityGroups\": \"bool, 是否启用安全组, 例如:true\",\n \"securityGroups\": [\n \"string, 安全组ID, 例如:sg-12345678\"\n ]\n }\n },\n \"agent\": {\n \"kubeClient\": {\n \"masterAddr\": \"string, kubeClient主节点地址, 例如: 169.254.128.54:60002\"\n }\n }\n}\n```",
|
1924
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-12345678\",\n \"AddonName\": \"eniipamd\",\n \"RawValues\": \"eyJ2cGNDbmkiOnsic2VjdXJpdHlHcm91cHMiOnsic2VjdXJpdHlHcm91cHMiOltdfX19\",\n \"UpdateStrategy\": \"merge\"\n}",
|
1907
1925
|
"output": "{\n \"Response\": {\n \"RequestId\": \"f55aaa93-c681-47c9-860a-59ae16ade268\"\n }\n}",
|
1908
|
-
"title": "
|
1926
|
+
"title": "更新eniipamd组件参数"
|
1927
|
+
},
|
1928
|
+
{
|
1929
|
+
"document": "用户可以通过RawValues参数更新cbs组件支持的自定义配置参数,比如修改容忍调度设置,可以将 {\"tolerations\":[{\"effect\":\"NoExecute\",\"key\":\"gpu-not-ready\",\"operator\":\"Equal\",\"tolerationSeconds\":300,\"value\":\"true\"},{\"key\":\"ip-not-ready\",\"operator\":\"Exists\"}]} 进行base64编码后放入到 RawValues 参数中。cbs组件支持的自定义配置参数说明如下:\n```\n{\n \"tolerations\": [\n {\n \"effect\": \"string,效果,例如:NoExecute\",\n \"key\": \"string,标签值,例如:gpu-not-ready\",\n \"operator\": \"string,操作符,例如:Equal\",\n \"tolerationSeconds\": \"int,容忍时间(秒),例如:300\",\n \"value\": \"string,标签值,例如:true\"\n },\n {\n \"key\": \"string,标签值,例如:ip-not-ready\",\n \"operator\": \"string,操作符,例如:Exists\"\n }\n ]\n}\n```",
|
1930
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-12345678\",\n \"AddonName\": \"cbs\",\n \"RawValues\": \"eyJ0b2xlcmF0aW9ucyI6W3siZWZmZWN0IjoiTm9FeGVjdXRlIiwia2V5IjoiZ3B1LW5vdC1yZWFkeSIsIm9wZXJhdG9yIjoiRXF1YWwiLCJ0b2xlcmF0aW9uU2Vjb25kcyI6MzAwLCJ2YWx1ZSI6InRydWUifSx7ImtleSI6ImlwLW5vdC1yZWFkeSIsIm9wZXJhdG9yIjoiRXhpc3RzIn1dfQ==\",\n \"UpdateStrategy\": \"merge\"\n}",
|
1931
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f55aaa93-c681-47c9-860a-59ae16af648\"\n }\n}",
|
1932
|
+
"title": "更新cbs组件参数"
|
1933
|
+
},
|
1934
|
+
{
|
1935
|
+
"document": "用户可以通过RawValues参数更新tke-log-agent组件支持的自定义配置参数,比如设置启用kafkalistener,可以将 {\"kafkalistener\":{\"enabled\":true}} 进行base64编码后放入到 RawValues 参数中。tke-log-agent 组件支持的自定义配置参数说明如下:\n```\n{\n \"global\": {\n \"clsHost\": \"string, cls服务域名,例如:ap-chengdu.cls.tencentyun.com\",\n \"cluster\": {\n \"clustertype\": \"string,集群管理类型,例如:MANAGED_CLUSTER 或 INDEPENDENT_CLUSTER\",\n \"kubeminor\": \"string,集群版本,例如:minor 30.0\",\n \"kubeversion\": \"string,集群k8s版本,例如:1.30.0\",\n \"type\": \"string,集群类型,例如:tke 或 eks\"\n },\n \"clusterID\": \"string,集群ID,例如:cls-12345678\",\n \"hostNetwork\": \"bool,是否使用hostNetwork,例如:false\",\n \"localRegion\": \"string,集群所在地域,例如:ap-chengdu\",\n \"registry\": \"string,镜像仓库,例如:ccr.ccs.tencentyun.com\",\n \"sources\": \"string,鉴权方式,例如:norm\"\n },\n \"kafkalistener\": {\n \"enabled\": \"bool,是否启用kafkalistener,例如:true\",\n },\n \"logAgent\": {\n \"enabled\": \"bool,是否启用logAgent,例如:true\",\n },\n \"loglistener\": {\n \"enabled\": \"bool,是否启用loglistener\",\n },\n \"provisioner\": {\n \"replicaCount\": \"int,cls-provisioner副本数,例如:2\",\n \"sources\": \"string,cls-provisioner鉴权方式,例如:norm\"\n }\n}\n```",
|
1936
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-12345678\",\n \"AddonName\": \"tke-log-agent\",\n \"RawValues\": \"eyJrYWZrYWxpc3RlbmVyIjp7ImVuYWJsZWQiOnRydWV9fQ==\",\n \"UpdateStrategy\": \"merge\"\n}",
|
1937
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f55aaa93-c681-47c9-860a-59ae16ajgf1\"\n }\n}",
|
1938
|
+
"title": "更新tke-log-agent组件参数"
|
1909
1939
|
}
|
1910
1940
|
],
|
1911
1941
|
"UpdateClusterKubeconfig": [
|