tccli 3.0.1216.1__py2.py3-none-any.whl → 3.0.1217.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/argparser.py +1 -1
- tccli/command.py +2 -2
- tccli/credentials.py +25 -0
- tccli/main.py +6 -2
- tccli/plugins/sso/__init__.py +61 -0
- tccli/plugins/sso/configs.py +4 -0
- tccli/plugins/sso/configure.py +45 -0
- tccli/plugins/sso/login.py +144 -0
- tccli/plugins/sso/logout.py +21 -0
- tccli/plugins/sso/terminal.py +161 -0
- tccli/plugins/sso/texts.py +40 -0
- tccli/services/__init__.py +6 -0
- tccli/services/acp/v20220105/api.json +7 -7
- tccli/services/acp/v20220105/examples.json +2 -2
- tccli/services/aiart/v20221229/api.json +29 -29
- tccli/services/aiart/v20221229/examples.json +8 -8
- tccli/services/apigateway/v20180808/api.json +18 -17
- tccli/services/apigateway/v20180808/examples.json +12 -12
- tccli/services/apm/v20210622/api.json +98 -4
- tccli/services/asr/v20190614/api.json +18 -17
- tccli/services/asr/v20190614/examples.json +13 -13
- tccli/services/autoscaling/v20180419/api.json +371 -309
- tccli/services/autoscaling/v20180419/examples.json +17 -17
- tccli/services/batch/v20170312/api.json +7 -7
- tccli/services/bda/v20200324/api.json +39 -31
- tccli/services/bda/v20200324/examples.json +9 -9
- tccli/services/bh/__init__.py +4 -0
- tccli/services/bh/bh_client.py +3428 -0
- tccli/services/bh/v20230418/api.json +8180 -0
- tccli/services/bh/v20230418/examples.json +519 -0
- tccli/services/bi/v20220105/api.json +48 -0
- tccli/services/billing/v20180709/api.json +26 -24
- tccli/services/bsca/v20210811/api.json +1 -1
- tccli/services/btoe/v20210514/api.json +4 -4
- tccli/services/btoe/v20210514/examples.json +2 -2
- tccli/services/ca/v20230228/api.json +60 -0
- tccli/services/cam/v20190116/api.json +11 -11
- tccli/services/cat/v20180409/api.json +9 -0
- tccli/services/cbs/v20170312/api.json +200 -188
- tccli/services/cbs/v20170312/examples.json +4 -4
- tccli/services/ccc/v20200210/api.json +390 -323
- tccli/services/ccc/v20200210/examples.json +15 -15
- tccli/services/cdb/cdb_client.py +13 -13
- tccli/services/cdb/v20170320/api.json +295 -270
- tccli/services/cdb/v20170320/examples.json +38 -38
- tccli/services/cdc/v20201214/api.json +283 -270
- tccli/services/cdc/v20201214/examples.json +26 -26
- tccli/services/cds/v20180420/api.json +82 -76
- tccli/services/cds/v20180420/examples.json +1 -1
- tccli/services/cdwch/v20200915/api.json +1 -1
- tccli/services/cdwdoris/v20211228/api.json +42 -2
- tccli/services/cdz/v20221123/api.json +41 -5
- tccli/services/cfg/v20210820/api.json +31 -0
- tccli/services/cfs/v20190719/api.json +89 -1
- tccli/services/cfs/v20190719/examples.json +1 -1
- tccli/services/cfw/cfw_client.py +0 -53
- tccli/services/cfw/v20190904/api.json +1849 -1999
- tccli/services/cfw/v20190904/examples.json +157 -159
- tccli/services/ckafka/v20190819/api.json +104 -75
- tccli/services/clb/v20180317/api.json +48 -26
- tccli/services/clb/v20180317/examples.json +1 -1
- tccli/services/cloudapp/v20220530/api.json +5 -1
- tccli/services/cloudaudit/v20190319/api.json +58 -44
- tccli/services/cloudaudit/v20190319/examples.json +6 -6
- tccli/services/cloudstudio/v20230508/api.json +38 -37
- tccli/services/cloudstudio/v20230508/examples.json +4 -4
- tccli/services/cls/cls_client.py +216 -4
- tccli/services/cls/v20201016/api.json +536 -47
- tccli/services/cls/v20201016/examples.json +34 -2
- tccli/services/csip/v20221121/api.json +2562 -2382
- tccli/services/csip/v20221121/examples.json +108 -108
- tccli/services/cvm/v20170312/api.json +149 -112
- tccli/services/cvm/v20170312/examples.json +2 -2
- tccli/services/cwp/cwp_client.py +4 -110
- tccli/services/cwp/v20180228/api.json +6338 -6146
- tccli/services/cwp/v20180228/examples.json +342 -370
- tccli/services/cynosdb/v20190107/api.json +93 -81
- tccli/services/cynosdb/v20190107/examples.json +70 -70
- tccli/services/dasb/v20191018/api.json +796 -651
- tccli/services/dasb/v20191018/examples.json +101 -101
- tccli/services/dcdb/dcdb_client.py +114 -61
- tccli/services/dcdb/v20180411/api.json +141 -7
- tccli/services/dcdb/v20180411/examples.json +32 -0
- tccli/services/dlc/v20210125/api.json +21 -11
- tccli/services/dnspod/dnspod_client.py +417 -46
- tccli/services/dnspod/v20210323/api.json +751 -30
- tccli/services/dnspod/v20210323/examples.json +62 -0
- tccli/services/dts/v20211206/api.json +4 -4
- tccli/services/ecm/v20190719/api.json +2 -2
- tccli/services/emr/v20190103/api.json +339 -114
- tccli/services/emr/v20190103/examples.json +64 -82
- tccli/services/es/v20180416/api.json +29 -0
- tccli/services/es/v20180416/examples.json +1 -1
- tccli/services/ess/v20201111/api.json +49 -31
- tccli/services/ess/v20201111/examples.json +20 -8
- tccli/services/essbasic/v20210526/api.json +54 -49
- tccli/services/essbasic/v20210526/examples.json +36 -18
- tccli/services/facefusion/v20181201/api.json +47 -45
- tccli/services/facefusion/v20181201/examples.json +2 -2
- tccli/services/facefusion/v20220927/api.json +54 -48
- tccli/services/facefusion/v20220927/examples.json +5 -5
- tccli/services/faceid/v20180301/api.json +497 -496
- tccli/services/faceid/v20180301/examples.json +219 -101
- tccli/services/fmu/v20191213/api.json +59 -67
- tccli/services/fmu/v20191213/examples.json +22 -22
- tccli/services/ft/v20200304/api.json +53 -57
- tccli/services/ft/v20200304/examples.json +14 -14
- tccli/services/gme/v20180711/api.json +21 -11
- tccli/services/gme/v20180711/examples.json +1 -1
- tccli/services/hai/v20230812/api.json +116 -9
- tccli/services/hai/v20230812/examples.json +4 -4
- tccli/services/hunyuan/hunyuan_client.py +436 -12
- tccli/services/hunyuan/v20230901/api.json +1482 -118
- tccli/services/hunyuan/v20230901/examples.json +82 -18
- tccli/services/iai/v20180301/api.json +23 -19
- tccli/services/iai/v20180301/examples.json +2 -2
- tccli/services/iai/v20200303/api.json +530 -511
- tccli/services/iai/v20200303/examples.json +116 -86
- tccli/services/ig/__init__.py +4 -0
- tccli/services/ig/ig_client.py +195 -0
- tccli/services/ig/v20210518/api.json +83 -0
- tccli/services/ig/v20210518/examples.json +13 -0
- tccli/services/ioa/ioa_client.py +53 -0
- tccli/services/ioa/v20220601/api.json +662 -413
- tccli/services/ioa/v20220601/examples.json +24 -10
- tccli/services/iotexplorer/v20190423/api.json +33 -13
- tccli/services/iotexplorer/v20190423/examples.json +3 -3
- tccli/services/iotvideo/iotvideo_client.py +106 -0
- tccli/services/iotvideo/v20191126/api.json +256 -24
- tccli/services/iotvideo/v20191126/examples.json +19 -3
- tccli/services/iotvideo/v20201215/api.json +1 -1
- tccli/services/iotvideo/v20201215/examples.json +1 -1
- tccli/services/iotvideo/v20211125/api.json +1 -1
- tccli/services/iotvideo/v20211125/examples.json +2 -2
- tccli/services/iss/iss_client.py +69 -122
- tccli/services/iss/v20230517/api.json +10 -54
- tccli/services/iss/v20230517/examples.json +0 -14
- tccli/services/kms/v20190118/api.json +301 -268
- tccli/services/kms/v20190118/examples.json +45 -51
- tccli/services/lcic/lcic_client.py +159 -0
- tccli/services/lcic/v20220817/api.json +273 -1
- tccli/services/lcic/v20220817/examples.json +24 -0
- tccli/services/lighthouse/v20200324/api.json +56 -0
- tccli/services/live/live_client.py +159 -0
- tccli/services/live/v20180801/api.json +244 -0
- tccli/services/live/v20180801/examples.json +24 -0
- tccli/services/lke/v20231130/api.json +17 -17
- tccli/services/lke/v20231130/examples.json +19 -25
- tccli/services/mariadb/v20170312/api.json +7 -7
- tccli/services/market/v20191010/api.json +3 -3
- tccli/services/market/v20191010/examples.json +2 -2
- tccli/services/mmps/v20200710/api.json +47 -47
- tccli/services/mmps/v20200710/examples.json +3 -3
- tccli/services/mongodb/v20190725/api.json +4 -4
- tccli/services/monitor/v20180724/api.json +46 -19
- tccli/services/mps/v20190612/api.json +282 -5
- tccli/services/mps/v20190612/examples.json +25 -1
- tccli/services/mqtt/v20240516/api.json +2 -2
- tccli/services/mrs/v20200910/api.json +72 -34
- tccli/services/mrs/v20200910/examples.json +2 -2
- tccli/services/ms/v20180408/api.json +535 -506
- tccli/services/ms/v20180408/examples.json +25 -25
- tccli/services/oceanus/v20190422/api.json +130 -0
- tccli/services/ocr/ocr_client.py +232 -20
- tccli/services/ocr/v20181119/api.json +2265 -760
- tccli/services/ocr/v20181119/examples.json +200 -180
- tccli/services/omics/v20221128/api.json +614 -553
- tccli/services/omics/v20221128/examples.json +9 -9
- tccli/services/organization/v20210331/api.json +13 -4
- tccli/services/organization/v20210331/examples.json +2 -2
- tccli/services/partners/v20180321/api.json +244 -234
- tccli/services/partners/v20180321/examples.json +19 -19
- tccli/services/privatedns/privatedns_client.py +428 -4
- tccli/services/privatedns/v20201028/api.json +815 -11
- tccli/services/privatedns/v20201028/examples.json +64 -0
- tccli/services/pts/v20210728/api.json +18 -0
- tccli/services/pts/v20210728/examples.json +1 -1
- tccli/services/rce/rce_client.py +53 -0
- tccli/services/rce/v20201103/api.json +146 -0
- tccli/services/rce/v20201103/examples.json +8 -0
- tccli/services/redis/v20180412/api.json +42 -42
- tccli/services/redis/v20180412/examples.json +19 -19
- tccli/services/rum/v20210622/api.json +9 -0
- tccli/services/scf/v20180416/api.json +15 -15
- tccli/services/scf/v20180416/examples.json +1 -1
- tccli/services/smop/v20201203/api.json +46 -42
- tccli/services/smop/v20201203/examples.json +2 -2
- tccli/services/soe/v20180724/api.json +10 -10
- tccli/services/sqlserver/v20180328/api.json +21 -8
- tccli/services/sqlserver/v20180328/examples.json +5 -5
- tccli/services/ssl/v20191205/api.json +97 -4
- tccli/services/ssm/v20190923/api.json +292 -231
- tccli/services/ssm/v20190923/examples.json +42 -42
- tccli/services/tat/v20201028/api.json +97 -97
- tccli/services/tat/v20201028/examples.json +20 -26
- tccli/services/tchd/v20230306/api.json +5 -5
- tccli/services/tchd/v20230306/examples.json +3 -3
- tccli/services/tcr/v20190924/api.json +1 -1
- tccli/services/tcr/v20190924/examples.json +1 -1
- tccli/services/tcss/v20201101/api.json +1973 -1426
- tccli/services/tcss/v20201101/examples.json +346 -364
- tccli/services/tdmq/v20200217/api.json +539 -401
- tccli/services/tdmq/v20200217/examples.json +104 -104
- tccli/services/tds/v20220801/api.json +4 -4
- tccli/services/tem/v20210701/api.json +287 -271
- tccli/services/tem/v20210701/examples.json +59 -59
- tccli/services/teo/v20220901/api.json +37 -9
- tccli/services/teo/v20220901/examples.json +13 -7
- tccli/services/thpc/v20230321/api.json +5 -5
- tccli/services/tke/tke_client.py +217 -58
- tccli/services/tke/v20180525/api.json +36 -27
- tccli/services/tke/v20180525/examples.json +1 -1
- tccli/services/tke/v20220501/api.json +176 -0
- tccli/services/tke/v20220501/examples.json +24 -0
- tccli/services/tmt/v20180321/api.json +38 -8
- tccli/services/trp/v20210515/api.json +86 -74
- tccli/services/trp/v20210515/examples.json +65 -65
- tccli/services/trro/v20220325/api.json +72 -71
- tccli/services/trro/v20220325/examples.json +8 -8
- tccli/services/trtc/trtc_client.py +8 -61
- tccli/services/trtc/v20190722/api.json +72 -30
- tccli/services/trtc/v20190722/examples.json +3 -11
- tccli/services/tse/tse_client.py +110 -4
- tccli/services/tse/v20201207/api.json +122 -7
- tccli/services/tse/v20201207/examples.json +25 -9
- tccli/services/vclm/v20240523/api.json +225 -82
- tccli/services/vclm/v20240523/examples.json +13 -19
- tccli/services/vod/v20180717/api.json +431 -4
- tccli/services/vod/v20180717/examples.json +25 -5
- tccli/services/vod/v20240718/api.json +11 -11
- tccli/services/vod/v20240718/examples.json +4 -4
- tccli/services/vod/vod_client.py +53 -0
- tccli/services/vpc/v20170312/api.json +1090 -862
- tccli/services/vpc/v20170312/examples.json +74 -66
- tccli/services/vpc/vpc_client.py +61 -8
- tccli/services/waf/v20180125/api.json +2540 -2177
- tccli/services/waf/v20180125/examples.json +216 -284
- tccli/services/waf/waf_client.py +172 -119
- tccli/services/wav/v20210129/api.json +48 -48
- tccli/services/wav/v20210129/examples.json +4 -4
- tccli/services/wedata/v20210820/api.json +909 -25
- tccli/services/wedata/v20210820/examples.json +28 -4
- tccli/services/wedata/wedata_client.py +159 -0
- tccli/services/weilingwith/v20230427/api.json +6 -6
- tccli/services/weilingwith/v20230427/examples.json +3 -3
- tccli/sso.py +229 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/RECORD +252 -235
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/entry_points.txt +0 -0
- {tccli-3.0.1216.1.dist-info → tccli-3.0.1217.1.dist-info}/license_files/LICENSE +0 -0
@@ -4591,7 +4591,7 @@
|
|
4591
4591
|
{
|
4592
4592
|
"disabled": false,
|
4593
4593
|
"document": "集群ID",
|
4594
|
-
"example": "cls-
|
4594
|
+
"example": "cls-brjqpljb",
|
4595
4595
|
"member": "string",
|
4596
4596
|
"name": "ClusterId",
|
4597
4597
|
"required": true,
|
@@ -4600,7 +4600,7 @@
|
|
4600
4600
|
{
|
4601
4601
|
"disabled": false,
|
4602
4602
|
"document": "集群端口所在的子网ID (仅在开启非外网访问时需要填,必须为集群所在VPC内的子网)",
|
4603
|
-
"example": "subnet-
|
4603
|
+
"example": "subnet-3ht1odzw",
|
4604
4604
|
"member": "string",
|
4605
4605
|
"name": "SubnetId",
|
4606
4606
|
"required": false,
|
@@ -4626,8 +4626,8 @@
|
|
4626
4626
|
},
|
4627
4627
|
{
|
4628
4628
|
"disabled": false,
|
4629
|
-
"document": "
|
4630
|
-
"example": "sg-
|
4629
|
+
"document": "使用的安全组,只有外网访问需要传递(开启外网访问且不使用已有clb时必传)",
|
4630
|
+
"example": "sg-kineiakx",
|
4631
4631
|
"member": "string",
|
4632
4632
|
"name": "SecurityGroup",
|
4633
4633
|
"required": false,
|
@@ -5607,7 +5607,7 @@
|
|
5607
5607
|
{
|
5608
5608
|
"disabled": false,
|
5609
5609
|
"document": "k8s版本号。可为1.18.4 1.20.6。",
|
5610
|
-
"example": "1.
|
5610
|
+
"example": "1.18.4",
|
5611
5611
|
"member": "string",
|
5612
5612
|
"name": "K8SVersion",
|
5613
5613
|
"required": true,
|
@@ -5625,7 +5625,7 @@
|
|
5625
5625
|
{
|
5626
5626
|
"disabled": false,
|
5627
5627
|
"document": "集群名称",
|
5628
|
-
"example": "
|
5628
|
+
"example": "cluster-name",
|
5629
5629
|
"member": "string",
|
5630
5630
|
"name": "ClusterName",
|
5631
5631
|
"required": true,
|
@@ -5634,7 +5634,7 @@
|
|
5634
5634
|
{
|
5635
5635
|
"disabled": false,
|
5636
5636
|
"document": "子网Id 列表",
|
5637
|
-
"example": "[",
|
5637
|
+
"example": "[\"subnet-pxir56ns\"]",
|
5638
5638
|
"member": "string",
|
5639
5639
|
"name": "SubnetIds",
|
5640
5640
|
"required": true,
|
@@ -5643,7 +5643,7 @@
|
|
5643
5643
|
{
|
5644
5644
|
"disabled": false,
|
5645
5645
|
"document": "集群描述信息",
|
5646
|
-
"example": "
|
5646
|
+
"example": "cluster-desc",
|
5647
5647
|
"member": "string",
|
5648
5648
|
"name": "ClusterDesc",
|
5649
5649
|
"required": false,
|
@@ -5661,7 +5661,7 @@
|
|
5661
5661
|
{
|
5662
5662
|
"disabled": false,
|
5663
5663
|
"document": "集群自定义的Dns服务器信息",
|
5664
|
-
"example": "
|
5664
|
+
"example": "[]",
|
5665
5665
|
"member": "DnsServerConf",
|
5666
5666
|
"name": "DnsServers",
|
5667
5667
|
"required": false,
|
@@ -5670,7 +5670,7 @@
|
|
5670
5670
|
{
|
5671
5671
|
"disabled": false,
|
5672
5672
|
"document": "扩展参数。须是map[string]string 的json 格式。",
|
5673
|
-
"example": "{
|
5673
|
+
"example": "{}",
|
5674
5674
|
"member": "string",
|
5675
5675
|
"name": "ExtraParam",
|
5676
5676
|
"required": false,
|
@@ -5688,7 +5688,7 @@
|
|
5688
5688
|
{
|
5689
5689
|
"disabled": false,
|
5690
5690
|
"document": "标签描述列表。通过指定该参数可以同时绑定标签到相应的资源实例,当前仅支持绑定标签到集群实例。",
|
5691
|
-
"example": "
|
5691
|
+
"example": "[]",
|
5692
5692
|
"member": "TagSpecification",
|
5693
5693
|
"name": "TagSpecification",
|
5694
5694
|
"required": false,
|
@@ -5697,7 +5697,7 @@
|
|
5697
5697
|
{
|
5698
5698
|
"disabled": false,
|
5699
5699
|
"document": "子网信息列表",
|
5700
|
-
"example": "
|
5700
|
+
"example": "[]",
|
5701
5701
|
"member": "SubnetInfos",
|
5702
5702
|
"name": "SubnetInfos",
|
5703
5703
|
"required": false,
|
@@ -7500,7 +7500,7 @@
|
|
7500
7500
|
{
|
7501
7501
|
"disabled": false,
|
7502
7502
|
"document": "集群ID",
|
7503
|
-
"example": "cls-
|
7503
|
+
"example": "cls-br2j3s0c",
|
7504
7504
|
"member": "string",
|
7505
7505
|
"name": "ClusterId",
|
7506
7506
|
"required": true,
|
@@ -7508,7 +7508,7 @@
|
|
7508
7508
|
},
|
7509
7509
|
{
|
7510
7510
|
"disabled": false,
|
7511
|
-
"document": "
|
7511
|
+
"document": "超级节点池ID列表",
|
7512
7512
|
"example": "[\"np-meg2rq7e\"]",
|
7513
7513
|
"member": "string",
|
7514
7514
|
"name": "NodePoolIds",
|
@@ -7517,7 +7517,7 @@
|
|
7517
7517
|
},
|
7518
7518
|
{
|
7519
7519
|
"disabled": false,
|
7520
|
-
"document": "
|
7520
|
+
"document": "是否强制删除,在超级节点上有pod的情况下,如果选择非强制删除,则删除会失败",
|
7521
7521
|
"example": "无",
|
7522
7522
|
"member": "bool",
|
7523
7523
|
"name": "Force",
|
@@ -18405,14 +18405,14 @@
|
|
18405
18405
|
"members": [
|
18406
18406
|
{
|
18407
18407
|
"disabled": false,
|
18408
|
-
"document": "实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \\` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \\` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li
|
18409
|
-
"example": "
|
18408
|
+
"document": "实例登录密码。不同操作系统类型密码复杂度限制不一样,具体如下:<li>Linux实例密码必须8到30位,至少包括两项[a-z],[A-Z]、[0-9] 和 [( ) \\` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? / ]中的特殊符号。</li><li>Windows实例密码必须12到30位,至少包括三项[a-z],[A-Z],[0-9] 和 [( ) \\` ~ ! @ # $ % ^ & * - + = | { } [ ] : ; ' , . ? /]中的特殊符号。</li>若不指定该参数,则由系统随机生成密码,并通过站内信方式通知到用户。",
|
18409
|
+
"example": "123456@ABC",
|
18410
18410
|
"member": "string",
|
18411
18411
|
"name": "Password",
|
18412
|
-
"output_required":
|
18412
|
+
"output_required": false,
|
18413
18413
|
"required": false,
|
18414
18414
|
"type": "string",
|
18415
|
-
"value_allowed_null":
|
18415
|
+
"value_allowed_null": false
|
18416
18416
|
},
|
18417
18417
|
{
|
18418
18418
|
"disabled": false,
|
@@ -18420,7 +18420,7 @@
|
|
18420
18420
|
"example": "[\"skey-3glfot13\"]",
|
18421
18421
|
"member": "string",
|
18422
18422
|
"name": "KeyIds",
|
18423
|
-
"output_required":
|
18423
|
+
"output_required": false,
|
18424
18424
|
"required": false,
|
18425
18425
|
"type": "list",
|
18426
18426
|
"value_allowed_null": true
|
@@ -18431,7 +18431,7 @@
|
|
18431
18431
|
"example": "abc",
|
18432
18432
|
"member": "string",
|
18433
18433
|
"name": "KeepImageLogin",
|
18434
|
-
"output_required":
|
18434
|
+
"output_required": false,
|
18435
18435
|
"required": false,
|
18436
18436
|
"type": "string",
|
18437
18437
|
"value_allowed_null": true
|
@@ -25247,7 +25247,7 @@
|
|
25247
25247
|
{
|
25248
25248
|
"disabled": false,
|
25249
25249
|
"document": "集群ID",
|
25250
|
-
"example": "
|
25250
|
+
"example": "cls-123deabc",
|
25251
25251
|
"member": "string",
|
25252
25252
|
"name": "ClusterId",
|
25253
25253
|
"required": true,
|
@@ -25256,7 +25256,7 @@
|
|
25256
25256
|
{
|
25257
25257
|
"disabled": false,
|
25258
25258
|
"document": "addon名称",
|
25259
|
-
"example": "
|
25259
|
+
"example": "cbs",
|
25260
25260
|
"member": "string",
|
25261
25261
|
"name": "AddonName",
|
25262
25262
|
"required": true,
|
@@ -25264,8 +25264,8 @@
|
|
25264
25264
|
},
|
25265
25265
|
{
|
25266
25266
|
"disabled": false,
|
25267
|
-
"document": "addon
|
25268
|
-
"example": "
|
25267
|
+
"document": "addon版本(不传默认不更新,不传AddonVersion时RawValues必传)",
|
25268
|
+
"example": "1.1.14",
|
25269
25269
|
"member": "string",
|
25270
25270
|
"name": "AddonVersion",
|
25271
25271
|
"required": false,
|
@@ -25273,12 +25273,21 @@
|
|
25273
25273
|
},
|
25274
25274
|
{
|
25275
25275
|
"disabled": false,
|
25276
|
-
"document": "addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues
|
25277
|
-
"example": "
|
25276
|
+
"document": "addon的参数,是一个json格式的base64转码后的字符串(addon参数由DescribeAddonValues获取,不传RawValues时AddonVersion必传))",
|
25277
|
+
"example": "WyJyZWdpc3RyeS5hZGRyZXNzPWh0dHBzOi8vY2NyLmNjcy50ZW5jZW50eXVuLmNvbSIsImFnZW50LmRvd25sb2FkUmF0ZT0yMDk3MTUyMCIsImt1YmV2ZXJzaW9uPTEuMjYuMSIsInJlcGxpY2FzPTIiXQ==",
|
25278
25278
|
"member": "string",
|
25279
25279
|
"name": "RawValues",
|
25280
25280
|
"required": false,
|
25281
25281
|
"type": "string"
|
25282
|
+
},
|
25283
|
+
{
|
25284
|
+
"disabled": false,
|
25285
|
+
"document": "addon参数的更新策略,支持replace和merge两种策略,默认值为merge,兼容旧版本API。replace:使用新RawValues全量替换addon原RawValues,merge:根据新RawValues新增或更新addon原RawValues中对应参数。",
|
25286
|
+
"example": "merge",
|
25287
|
+
"member": "string",
|
25288
|
+
"name": "UpdateStrategy",
|
25289
|
+
"required": false,
|
25290
|
+
"type": "string"
|
25282
25291
|
}
|
25283
25292
|
],
|
25284
25293
|
"type": "object"
|
@@ -1904,7 +1904,7 @@
|
|
1904
1904
|
{
|
1905
1905
|
"document": "获取一个addon的版本和参数",
|
1906
1906
|
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: UpdateAddon\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-123deabc\",\n \"AddonName\": \"cbs\",\n \"AddonVersion\": \"1.1.0\"\n}",
|
1907
|
-
"output": "{\n \"Response\": {\n \"RequestId\": \"
|
1907
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"f55aaa93-c681-47c9-860a-59ae16ade268\"\n }\n}",
|
1908
1908
|
"title": "更新一个addon"
|
1909
1909
|
}
|
1910
1910
|
],
|
@@ -76,6 +76,27 @@
|
|
76
76
|
"name": "更新 TKE 节点池",
|
77
77
|
"output": "ModifyNodePoolResponse",
|
78
78
|
"status": "online"
|
79
|
+
},
|
80
|
+
"RebootMachines": {
|
81
|
+
"document": "重启原生节点实例",
|
82
|
+
"input": "RebootMachinesRequest",
|
83
|
+
"name": "重启原生节点实例",
|
84
|
+
"output": "RebootMachinesResponse",
|
85
|
+
"status": "online"
|
86
|
+
},
|
87
|
+
"StartMachines": {
|
88
|
+
"document": "本接口 (StartMachines) 用于启动一个或多个原生节点实例。\n\n只有状态为 Stopped 的实例才可以进行此操作。\n接口调用成功后,等待一分钟左右,实例会进入 Running 状态。\n支持批量操作。每次请求批量实例的上限为100。\n本接口为同步接口,启动实例请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 DescribeClusterInstances 接口查询,如果实例的最新状态为 Running,则代表启动实例操作成功。",
|
89
|
+
"input": "StartMachinesRequest",
|
90
|
+
"name": "启动原生节点实例",
|
91
|
+
"output": "StartMachinesResponse",
|
92
|
+
"status": "online"
|
93
|
+
},
|
94
|
+
"StopMachines": {
|
95
|
+
"document": "本接口 (StopMachines) 用于关闭一个或多个原生节点实例。\n\n只有状态为 Running 的实例才可以进行此操作。\n接口调用成功时,实例会进入 Stopping 状态;关闭实例成功时,实例会进入 Stopped 状态。\n支持强制关闭。强制关机的效果等同于关闭物理计算机的电源开关。强制关机可能会导致数据丢失或文件系统损坏,请仅在服务器不能正常关机时使用。\n支持批量操作。每次请求批量实例的上限为 100。\n本接口为同步接口,关闭实例请求发送成功后会返回一个RequestId,此时操作并未立即完成。实例操作结果可以通过调用 DescribeClusterInstances 接口查询,如果实例的最新状stopped_with_charging,则代表关闭实例操作成功。",
|
96
|
+
"input": "StopMachinesRequest",
|
97
|
+
"name": "关闭原生节点实例",
|
98
|
+
"output": "StopMachinesResponse",
|
99
|
+
"status": "online"
|
79
100
|
}
|
80
101
|
},
|
81
102
|
"metadata": {
|
@@ -421,6 +442,15 @@
|
|
421
442
|
"name": "KeyIds",
|
422
443
|
"required": false,
|
423
444
|
"type": "list"
|
445
|
+
},
|
446
|
+
{
|
447
|
+
"disabled": false,
|
448
|
+
"document": "节点池类型",
|
449
|
+
"example": "NativeCVM或者Native",
|
450
|
+
"member": "string",
|
451
|
+
"name": "MachineType",
|
452
|
+
"required": false,
|
453
|
+
"type": "string"
|
424
454
|
}
|
425
455
|
],
|
426
456
|
"usage": "in"
|
@@ -2313,6 +2343,16 @@
|
|
2313
2343
|
"output_required": true,
|
2314
2344
|
"type": "string",
|
2315
2345
|
"value_allowed_null": true
|
2346
|
+
},
|
2347
|
+
{
|
2348
|
+
"disabled": false,
|
2349
|
+
"document": "**原生节点对应的实例 ID**\n\n- ins-q47ofw6 表示这个实例是一个 CVM 的实例\n- eks-f8mvyaep 表示这个实例是一个 CXM 的实例\n注意:此字段可能返回 null,表示取不到有效值。",
|
2350
|
+
"example": "ins-q47ofw6r, eks-f8mvyaep",
|
2351
|
+
"member": "string",
|
2352
|
+
"name": "InstanceId",
|
2353
|
+
"output_required": false,
|
2354
|
+
"type": "string",
|
2355
|
+
"value_allowed_null": true
|
2316
2356
|
}
|
2317
2357
|
],
|
2318
2358
|
"usage": "out"
|
@@ -2529,6 +2569,16 @@
|
|
2529
2569
|
"output_required": false,
|
2530
2570
|
"type": "list",
|
2531
2571
|
"value_allowed_null": true
|
2572
|
+
},
|
2573
|
+
{
|
2574
|
+
"disabled": false,
|
2575
|
+
"document": "原生节点机型 Native, NativeCVM\n注意:此字段可能返回 null,表示取不到有效值。",
|
2576
|
+
"example": "Native",
|
2577
|
+
"member": "string",
|
2578
|
+
"name": "MachineType",
|
2579
|
+
"output_required": false,
|
2580
|
+
"type": "string",
|
2581
|
+
"value_allowed_null": true
|
2532
2582
|
}
|
2533
2583
|
],
|
2534
2584
|
"usage": "out"
|
@@ -2725,6 +2775,51 @@
|
|
2725
2775
|
],
|
2726
2776
|
"usage": "out"
|
2727
2777
|
},
|
2778
|
+
"RebootMachinesRequest": {
|
2779
|
+
"document": "RebootMachines请求参数结构体",
|
2780
|
+
"members": [
|
2781
|
+
{
|
2782
|
+
"disabled": false,
|
2783
|
+
"document": "集群 ID",
|
2784
|
+
"example": "cls-0dku0jec",
|
2785
|
+
"member": "string",
|
2786
|
+
"name": "ClusterId",
|
2787
|
+
"required": true,
|
2788
|
+
"type": "string"
|
2789
|
+
},
|
2790
|
+
{
|
2791
|
+
"disabled": false,
|
2792
|
+
"document": "节点名字列表,一次请求,传入节点数量上限为100个",
|
2793
|
+
"example": "[\"np-5tx2l4dc-4tzgqy\", \"np-5tx2l4dc-fb8jl\"]",
|
2794
|
+
"member": "string",
|
2795
|
+
"name": "MachineNames",
|
2796
|
+
"required": true,
|
2797
|
+
"type": "list"
|
2798
|
+
},
|
2799
|
+
{
|
2800
|
+
"disabled": false,
|
2801
|
+
"document": "实例的关闭模式。取值范围:\nsoft_first:表示在正常关闭失败后进行强制关闭\nhard:直接强制关闭\nsoft:仅软关机默认取值:soft。",
|
2802
|
+
"example": "soft",
|
2803
|
+
"member": "string",
|
2804
|
+
"name": "StopType",
|
2805
|
+
"required": false,
|
2806
|
+
"type": "string"
|
2807
|
+
}
|
2808
|
+
],
|
2809
|
+
"type": "object"
|
2810
|
+
},
|
2811
|
+
"RebootMachinesResponse": {
|
2812
|
+
"document": "RebootMachines返回参数结构体",
|
2813
|
+
"members": [
|
2814
|
+
{
|
2815
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
2816
|
+
"member": "string",
|
2817
|
+
"name": "RequestId",
|
2818
|
+
"type": "string"
|
2819
|
+
}
|
2820
|
+
],
|
2821
|
+
"type": "object"
|
2822
|
+
},
|
2728
2823
|
"RegularNodeInfo": {
|
2729
2824
|
"document": "普通节点信息",
|
2730
2825
|
"members": [
|
@@ -2907,6 +3002,87 @@
|
|
2907
3002
|
],
|
2908
3003
|
"usage": "in"
|
2909
3004
|
},
|
3005
|
+
"StartMachinesRequest": {
|
3006
|
+
"document": "StartMachines请求参数结构体",
|
3007
|
+
"members": [
|
3008
|
+
{
|
3009
|
+
"disabled": false,
|
3010
|
+
"document": "集群 ID",
|
3011
|
+
"example": "cls-0dku0jec",
|
3012
|
+
"member": "string",
|
3013
|
+
"name": "ClusterId",
|
3014
|
+
"required": true,
|
3015
|
+
"type": "string"
|
3016
|
+
},
|
3017
|
+
{
|
3018
|
+
"disabled": false,
|
3019
|
+
"document": "节点名字列表,一次请求,传入节点数量上限为100个",
|
3020
|
+
"example": "[\"np-5tx2l4dc-4tzgqy\", \"np-5tx2l4dc-fb8jl\"]",
|
3021
|
+
"member": "string",
|
3022
|
+
"name": "MachineNames",
|
3023
|
+
"required": true,
|
3024
|
+
"type": "list"
|
3025
|
+
}
|
3026
|
+
],
|
3027
|
+
"type": "object"
|
3028
|
+
},
|
3029
|
+
"StartMachinesResponse": {
|
3030
|
+
"document": "StartMachines返回参数结构体",
|
3031
|
+
"members": [
|
3032
|
+
{
|
3033
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3034
|
+
"member": "string",
|
3035
|
+
"name": "RequestId",
|
3036
|
+
"type": "string"
|
3037
|
+
}
|
3038
|
+
],
|
3039
|
+
"type": "object"
|
3040
|
+
},
|
3041
|
+
"StopMachinesRequest": {
|
3042
|
+
"document": "StopMachines请求参数结构体",
|
3043
|
+
"members": [
|
3044
|
+
{
|
3045
|
+
"disabled": false,
|
3046
|
+
"document": "集群 ID",
|
3047
|
+
"example": "cls-0dku0jec",
|
3048
|
+
"member": "string",
|
3049
|
+
"name": "ClusterId",
|
3050
|
+
"required": true,
|
3051
|
+
"type": "string"
|
3052
|
+
},
|
3053
|
+
{
|
3054
|
+
"disabled": false,
|
3055
|
+
"document": "节点名字列表,一次请求,传入节点数量上限为100个",
|
3056
|
+
"example": "[\"np-5tx2l4dc-4tzgqy\", \"np-5tx2l4dc-fb8jl\"]",
|
3057
|
+
"member": "string",
|
3058
|
+
"name": "MachineNames",
|
3059
|
+
"required": true,
|
3060
|
+
"type": "list"
|
3061
|
+
},
|
3062
|
+
{
|
3063
|
+
"disabled": false,
|
3064
|
+
"document": "实例的关闭模式。取值范围:\nsoft_first:表示在正常关闭失败后进行强制关闭\nhard:直接强制关闭\nsoft:仅软关机",
|
3065
|
+
"example": "soft",
|
3066
|
+
"member": "string",
|
3067
|
+
"name": "StopType",
|
3068
|
+
"required": false,
|
3069
|
+
"type": "string"
|
3070
|
+
}
|
3071
|
+
],
|
3072
|
+
"type": "object"
|
3073
|
+
},
|
3074
|
+
"StopMachinesResponse": {
|
3075
|
+
"document": "StopMachines返回参数结构体",
|
3076
|
+
"members": [
|
3077
|
+
{
|
3078
|
+
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
3079
|
+
"member": "string",
|
3080
|
+
"name": "RequestId",
|
3081
|
+
"type": "string"
|
3082
|
+
}
|
3083
|
+
],
|
3084
|
+
"type": "object"
|
3085
|
+
},
|
2910
3086
|
"SuperNodeInfo": {
|
2911
3087
|
"document": "超级节点信息",
|
2912
3088
|
"members": [
|
@@ -93,6 +93,30 @@
|
|
93
93
|
"output": "{\n \"Response\": {\n \"RequestId\": \"abc\"\n }\n}",
|
94
94
|
"title": "更新 TKE 节点池"
|
95
95
|
}
|
96
|
+
],
|
97
|
+
"RebootMachines": [
|
98
|
+
{
|
99
|
+
"document": "该接口支持原生节点重启,重启时限制一次重启的原生节点数量最多为100个",
|
100
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: RebootMachines\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-0dku0jec\",\n \"MachineNames\": [\n \"np-5tx2l4dc-4srqm\",\n \"np-5tx2l4dc-4srqn\"\n ],\n \"StopType\": \"soft\"\n}",
|
101
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"3c0b712f-28a8-42a7-a89a-b4448a01421f\"\n }\n}",
|
102
|
+
"title": "重启原生节点实例"
|
103
|
+
}
|
104
|
+
],
|
105
|
+
"StartMachines": [
|
106
|
+
{
|
107
|
+
"document": "启动原生节点实例",
|
108
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StartMachines\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-0dku0jec\",\n \"MachineNames\": [\n \"np-5tx2l4dc-4srqm\"\n ]\n}",
|
109
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"4f2b3354-ab65-4f1d-9a44-7b95a84f4ce3\"\n }\n}",
|
110
|
+
"title": "启动原生节点实例"
|
111
|
+
}
|
112
|
+
],
|
113
|
+
"StopMachines": [
|
114
|
+
{
|
115
|
+
"document": "关闭原生节点实例",
|
116
|
+
"input": "POST / HTTP/1.1\nHost: tke.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: StopMachines\n<公共请求参数>\n\n{\n \"ClusterId\": \"cls-0dku0jec\",\n \"MachineNames\": [\n \"np-5tx2l4dc-4srqm\"\n ],\n \"StopType\": \"soft\"\n}",
|
117
|
+
"output": "{\n \"Response\": {\n \"RequestId\": \"a27a0c33-fe13-4373-bc88-863791d68f61\"\n }\n}",
|
118
|
+
"title": "关闭原生节点实例"
|
119
|
+
}
|
96
120
|
]
|
97
121
|
},
|
98
122
|
"version": "1.0"
|
@@ -158,7 +158,7 @@
|
|
158
158
|
"type": "object"
|
159
159
|
},
|
160
160
|
"GetFileTranslateData": {
|
161
|
-
"document": "
|
161
|
+
"document": "文件翻译任务结果",
|
162
162
|
"members": [
|
163
163
|
{
|
164
164
|
"disabled": false,
|
@@ -172,8 +172,8 @@
|
|
172
172
|
},
|
173
173
|
{
|
174
174
|
"disabled": false,
|
175
|
-
"document": "
|
176
|
-
"example": "
|
175
|
+
"document": "任务状态\n\n- init:任务已初始化\n- wait:任务等待执行\n- success:任务执行成功\n- fail:任务执行失败",
|
176
|
+
"example": "success",
|
177
177
|
"member": "string",
|
178
178
|
"name": "Status",
|
179
179
|
"output_required": true,
|
@@ -202,13 +202,23 @@
|
|
202
202
|
},
|
203
203
|
{
|
204
204
|
"disabled": false,
|
205
|
-
"document": "
|
205
|
+
"document": "任务进度",
|
206
206
|
"example": "100",
|
207
207
|
"member": "int64",
|
208
208
|
"name": "Progress",
|
209
209
|
"output_required": true,
|
210
210
|
"type": "int",
|
211
211
|
"value_allowed_null": false
|
212
|
+
},
|
213
|
+
{
|
214
|
+
"disabled": false,
|
215
|
+
"document": "本次翻译消耗的字符数\t",
|
216
|
+
"example": "10",
|
217
|
+
"member": "int64",
|
218
|
+
"name": "UsedAmount",
|
219
|
+
"output_required": false,
|
220
|
+
"type": "int",
|
221
|
+
"value_allowed_null": false
|
212
222
|
}
|
213
223
|
],
|
214
224
|
"usage": "out"
|
@@ -736,7 +746,7 @@
|
|
736
746
|
{
|
737
747
|
"disabled": false,
|
738
748
|
"document": "需要使用的术语库列表",
|
739
|
-
"example": "[\"
|
749
|
+
"example": "[\"144aed******************fc7321d4\"]",
|
740
750
|
"member": "string",
|
741
751
|
"name": "TermRepoIDList",
|
742
752
|
"required": false,
|
@@ -745,7 +755,7 @@
|
|
745
755
|
{
|
746
756
|
"disabled": false,
|
747
757
|
"document": "需要使用的例句库列表",
|
748
|
-
"example": "[\"
|
758
|
+
"example": "[\"b77f64******************6d88df30\"]",
|
749
759
|
"member": "string",
|
750
760
|
"name": "SentRepoIDList",
|
751
761
|
"required": false,
|
@@ -787,6 +797,16 @@
|
|
787
797
|
"type": "list",
|
788
798
|
"value_allowed_null": false
|
789
799
|
},
|
800
|
+
{
|
801
|
+
"disabled": false,
|
802
|
+
"document": "本次翻译消耗的字符数",
|
803
|
+
"example": "10",
|
804
|
+
"member": "int64",
|
805
|
+
"name": "UsedAmount",
|
806
|
+
"output_required": false,
|
807
|
+
"type": "int",
|
808
|
+
"value_allowed_null": false
|
809
|
+
},
|
790
810
|
{
|
791
811
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
792
812
|
"member": "string",
|
@@ -847,7 +867,7 @@
|
|
847
867
|
{
|
848
868
|
"disabled": false,
|
849
869
|
"document": "需要使用的术语库列表",
|
850
|
-
"example": "[\"
|
870
|
+
"example": "[\"144aed******************fc7321d4\"]",
|
851
871
|
"member": "string",
|
852
872
|
"name": "TermRepoIDList",
|
853
873
|
"required": false,
|
@@ -856,7 +876,7 @@
|
|
856
876
|
{
|
857
877
|
"disabled": false,
|
858
878
|
"document": "需要使用的例句库列表",
|
859
|
-
"example": "[\"
|
879
|
+
"example": "[\"b77f64******************6d88df30\"]",
|
860
880
|
"member": "string",
|
861
881
|
"name": "SentRepoIDList",
|
862
882
|
"required": false,
|
@@ -898,6 +918,16 @@
|
|
898
918
|
"type": "string",
|
899
919
|
"value_allowed_null": false
|
900
920
|
},
|
921
|
+
{
|
922
|
+
"disabled": false,
|
923
|
+
"document": "本次翻译消耗的字符数",
|
924
|
+
"example": "10",
|
925
|
+
"member": "int64",
|
926
|
+
"name": "UsedAmount",
|
927
|
+
"output_required": false,
|
928
|
+
"type": "int",
|
929
|
+
"value_allowed_null": false
|
930
|
+
},
|
901
931
|
{
|
902
932
|
"document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
|
903
933
|
"member": "string",
|