tccli 3.0.1004.1__py2.py3-none-any.whl → 3.0.1005.1__py2.py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (102) hide show
  1. tccli/__init__.py +1 -1
  2. tccli/examples/cvm/v20170312/CreateLaunchTemplate.md +1 -1
  3. tccli/examples/cvm/v20170312/RenewInstances.md +2 -2
  4. tccli/examples/cvm/v20170312/ResetInstancesPassword.md +1 -1
  5. tccli/examples/cvm/v20170312/StopInstances.md +1 -1
  6. tccli/examples/cwp/v20180228/DescribeMachineInfo.md +20 -20
  7. tccli/examples/cynosdb/v20190107/CreateClusterDatabase.md +9 -9
  8. tccli/examples/cynosdb/v20190107/DescribeClusterParams.md +18 -28
  9. tccli/examples/cynosdb/v20190107/DescribeClusters.md +70 -77
  10. tccli/examples/cynosdb/v20190107/DescribeZones.md +27 -29
  11. tccli/examples/cynosdb/v20190107/ModifyAccountHost.md +5 -5
  12. tccli/examples/cynosdb/v20190107/ModifyProxyDesc.md +4 -4
  13. tccli/examples/cynosdb/v20190107/ReloadBalanceProxyNode.md +5 -5
  14. tccli/examples/essbasic/v20210526/OperateChannelTemplate.md +22 -22
  15. tccli/examples/hai/v20230812/DescribeApplications.md +2 -1
  16. tccli/examples/sqlserver/v20180328/BalanceReadOnlyGroup.md +21 -0
  17. tccli/examples/sqlserver/v20180328/DeleteRestoreTask.md +21 -0
  18. tccli/examples/sqlserver/v20180328/DescribeAccountPrivilegeByDB.md +31 -0
  19. tccli/examples/sqlserver/v20180328/DescribeCollationTimeZone.md +24 -0
  20. tccli/examples/sqlserver/v20180328/DescribeCrossRegions.md +27 -0
  21. tccli/examples/sqlserver/v20180328/DescribeDBPrivilegeByAccount.md +46 -0
  22. tccli/examples/sqlserver/v20180328/DescribeDBRestoreTime.md +31 -0
  23. tccli/examples/sqlserver/v20180328/DescribeDatabaseNames.md +27 -0
  24. tccli/examples/sqlserver/v20180328/DescribeInquiryPriceParameter.md +30 -0
  25. tccli/examples/sqlserver/v20180328/DescribeInstanceTasks.md +36 -0
  26. tccli/examples/sqlserver/v20180328/DescribeInstanceTradeParameter.md +37 -0
  27. tccli/examples/sqlserver/v20180328/DescribeProductSpec.md +81 -0
  28. tccli/examples/sqlserver/v20180328/DescribeReadOnlyGroupAutoWeight.md +60 -0
  29. tccli/examples/sqlserver/v20180328/DescribeRestoreTask.md +46 -0
  30. tccli/examples/sqlserver/v20180328/DescribeSpecSellStatus.md +124 -0
  31. tccli/examples/sqlserver/v20180328/DescribeUpgradeInstanceCheck.md +71 -0
  32. tccli/examples/sqlserver/v20180328/ModifyCloseWanIp.md +21 -0
  33. tccli/examples/sqlserver/v20180328/ModifyDBInstanceNote.md +21 -0
  34. tccli/examples/sqlserver/v20180328/ModifyOpenWanIp.md +21 -0
  35. tccli/examples/sqlserver/v20180328/ModifyPublishSubscribe.md +51 -0
  36. tccli/examples/tbaas/v20180416/DescribeFabricBlock.md +37 -0
  37. tccli/examples/tbaas/v20180416/DescribeFabricTransaction.md +33 -0
  38. tccli/examples/tbaas/v20180416/InvokeFabricChaincode.md +28 -0
  39. tccli/examples/tbaas/v20180416/QueryFabricChaincode.md +27 -0
  40. tccli/examples/tcss/v20201101/AddEditImageAutoAuthorizedRule.md +1 -1
  41. tccli/examples/tcss/v20201101/CreateAssetImageScanSetting.md +4 -4
  42. tccli/examples/tcss/v20201101/DescribeAssetImageDetail.md +28 -27
  43. tccli/examples/tcss/v20201101/DescribeImageAutoAuthorizedRule.md +2 -2
  44. tccli/examples/tcss/v20201101/RenewImageAuthorizeState.md +2 -2
  45. tccli/examples/tke/v20180525/DescribeClusterEndpoints.md +1 -0
  46. tccli/examples/tke/v20180525/DescribeClusterExtraArgs.md +31 -0
  47. tccli/examples/tke/v20180525/DescribeExternalNodeSupportConfig.md +81 -0
  48. tccli/examples/tke/v20180525/DescribeIPAMD.md +26 -0
  49. tccli/examples/trocket/v20230308/ImportSourceClusterConsumerGroups.md +23 -0
  50. tccli/examples/trocket/v20230308/ImportSourceClusterTopics.md +25 -0
  51. tccli/examples/wedata/v20210820/DescribeApproveList.md +43 -161
  52. tccli/examples/wedata/v20210820/DescribeApproveTypeList.md +64 -0
  53. tccli/services/__init__.py +1 -5
  54. tccli/services/billing/v20180709/api.json +10 -10
  55. tccli/services/cdb/v20170320/api.json +10 -1
  56. tccli/services/cloudstudio/cloudstudio_client.py +30 -1042
  57. tccli/services/cvm/v20170312/api.json +68 -68
  58. tccli/services/cvm/v20170312/examples.json +4 -4
  59. tccli/services/cwp/v20180228/api.json +20 -0
  60. tccli/services/cwp/v20180228/examples.json +1 -1
  61. tccli/services/cynosdb/v20190107/api.json +10 -11
  62. tccli/services/cynosdb/v20190107/examples.json +14 -14
  63. tccli/services/dsgc/v20190723/api.json +48 -41
  64. tccli/services/ess/v20201111/api.json +9 -9
  65. tccli/services/essbasic/v20210526/api.json +10 -10
  66. tccli/services/essbasic/v20210526/examples.json +6 -6
  67. tccli/services/hai/v20230812/api.json +69 -69
  68. tccli/services/hai/v20230812/examples.json +1 -1
  69. tccli/services/sqlserver/sqlserver_client.py +1418 -358
  70. tccli/services/sqlserver/v20180328/api.json +2426 -172
  71. tccli/services/sqlserver/v20180328/examples.json +166 -0
  72. tccli/services/tbaas/tbaas_client.py +273 -61
  73. tccli/services/tbaas/v20180416/api.json +539 -0
  74. tccli/services/tbaas/v20180416/examples.json +32 -0
  75. tccli/services/tchd/v20230306/api.json +1 -1
  76. tccli/services/tcss/v20201101/api.json +443 -87
  77. tccli/services/tcss/v20201101/examples.json +7 -7
  78. tccli/services/tdmq/v20200217/api.json +9 -9
  79. tccli/services/tke/tke_client.py +159 -0
  80. tccli/services/tke/v20180525/api.json +375 -0
  81. tccli/services/tke/v20180525/examples.json +25 -1
  82. tccli/services/trocket/trocket_client.py +171 -65
  83. tccli/services/trocket/v20230308/api.json +230 -0
  84. tccli/services/trocket/v20230308/examples.json +16 -0
  85. tccli/services/tse/v20201207/api.json +57 -35
  86. tccli/services/vrs/v20200824/api.json +10 -0
  87. tccli/services/waf/v20180125/api.json +201 -54
  88. tccli/services/wedata/v20210820/api.json +144 -14
  89. tccli/services/wedata/v20210820/examples.json +16 -2
  90. tccli/services/wedata/wedata_client.py +53 -0
  91. tccli/services/weilingwith/v20230427/api.json +13 -13
  92. {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/METADATA +2 -2
  93. {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/RECORD +96 -72
  94. tccli/services/casb/__init__.py +0 -4
  95. tccli/services/casb/casb_client.py +0 -194
  96. tccli/services/casb/v20200507/api.json +0 -110
  97. tccli/services/casb/v20200507/examples.json +0 -19
  98. tccli/services/cloudstudio/v20210524/api.json +0 -2604
  99. tccli/services/cloudstudio/v20210524/examples.json +0 -205
  100. {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/WHEEL +0 -0
  101. {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/entry_points.txt +0 -0
  102. {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/license_files/LICENSE +0 -0
@@ -0,0 +1,71 @@
1
+ **Example 1: 检查实例变配**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeUpgradeInstanceCheck --cli-unfold-argument \
9
+ --InstanceId mssql-30vft2ix \
10
+ --Cpu 2 \
11
+ --Memory 16 \
12
+ --Storage 256 \
13
+ --DBVersion 2017 \
14
+ --HAType CLUSTER \
15
+ --MultiZones SameZones
16
+ ```
17
+
18
+ Output:
19
+ ```
20
+ {
21
+ "Response": {
22
+ "CheckItems": [
23
+ {
24
+ "CheckName": "CK_CPU",
25
+ "CurrentValue": "0",
26
+ "IsAffect": 0,
27
+ "Msg": "",
28
+ "MsgCode": 0,
29
+ "Passed": 1
30
+ },
31
+ {
32
+ "CheckName": "CK_MASTER_STORAGE",
33
+ "CurrentValue": "",
34
+ "IsAffect": 0,
35
+ "Msg": "",
36
+ "MsgCode": 0,
37
+ "Passed": 1
38
+ },
39
+ {
40
+ "CheckName": "CK_MEMORY",
41
+ "CurrentValue": "0",
42
+ "IsAffect": 0,
43
+ "Msg": "",
44
+ "MsgCode": 0,
45
+ "Passed": 1
46
+ },
47
+ {
48
+ "CheckName": "CK_STORAGE",
49
+ "CurrentValue": "0",
50
+ "IsAffect": 0,
51
+ "Msg": "",
52
+ "MsgCode": 0,
53
+ "Passed": 1
54
+ },
55
+ {
56
+ "CheckName": "CK_UPGRATE",
57
+ "CurrentValue": "MIGRATE",
58
+ "IsAffect": 1,
59
+ "Msg": "version 2008 -> 2017 upgrade requires data migration",
60
+ "MsgCode": 5,
61
+ "Passed": 1
62
+ }
63
+ ],
64
+ "IsAffect": 1,
65
+ "ModifyMode": "up",
66
+ "Passed": 1,
67
+ "RequestId": "44416ab3-794e-47e2-840c-f645efc3481c"
68
+ }
69
+ }
70
+ ```
71
+
@@ -0,0 +1,21 @@
1
+ **Example 1: 关闭实例外网**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver ModifyCloseWanIp --cli-unfold-argument \
9
+ --InstanceId mssql-6upluvd5
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "RequestId": "1fed8472-f117-11ec-be47-525400853186",
17
+ "FlowId": 1012152
18
+ }
19
+ }
20
+ ```
21
+
@@ -0,0 +1,21 @@
1
+ **Example 1: 将实例mssql-njj2mtpl备注修改为noteMsg**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver ModifyDBInstanceNote --cli-unfold-argument \
9
+ --InstanceId mssql-njj2mtpl \
10
+ --InstanceNote noteMsg
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "RequestId": "8a61e500-aa33-454c-9ec2-da2a368c39ab"
18
+ }
19
+ }
20
+ ```
21
+
@@ -0,0 +1,21 @@
1
+ **Example 1: 开通实例外网**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver ModifyOpenWanIp --cli-unfold-argument \
9
+ --InstanceId mssql-6upluvd5
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "RequestId": "1fed8472-f117-11ec-be47-525400853186",
17
+ "FlowId": 1012152
18
+ }
19
+ }
20
+ ```
21
+
@@ -0,0 +1,51 @@
1
+ **Example 1: 修改实例的发布订阅关系**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver ModifyPublishSubscribe --cli-unfold-argument \
9
+ --InstanceId mssql-2cwisu23 \
10
+ --PublishSubscribeId 5 \
11
+ --DatabaseTupleSet.0.DatabaseTuple.PublishDatabase db1 \
12
+ --DatabaseTupleSet.0.DatabaseTuple.SubscribeDatabase db1 \
13
+ --DatabaseTupleSet.0.NewDatabaseTuple.PublishDatabase db2 \
14
+ --DatabaseTupleSet.0.NewDatabaseTuple.SubscribeDatabase db2
15
+ ```
16
+
17
+ Output:
18
+ ```
19
+ {
20
+ "Response": {
21
+ "FlowId": 110,
22
+ "RequestId": "133c6f22-f562-4107-8458-c3b25c901918"
23
+ }
24
+ }
25
+ ```
26
+
27
+ **Example 2: 删除实例的发布订阅关系**
28
+
29
+
30
+
31
+ Input:
32
+
33
+ ```
34
+ tccli sqlserver ModifyPublishSubscribe --cli-unfold-argument \
35
+ --InstanceId mssql-2cwisu23 \
36
+ --PublishSubscribeId 5 \
37
+ --DatabaseTupleSet.0.DatabaseTuple.PublishDatabase db1 \
38
+ --DatabaseTupleSet.0.DatabaseTuple.SubscribeDatabase db1 \
39
+ --DatabaseTupleSet.0.DeleteDataBasesTuple true
40
+ ```
41
+
42
+ Output:
43
+ ```
44
+ {
45
+ "Response": {
46
+ "FlowId": 111,
47
+ "RequestId": "133c6f22-f562-4107-8458-c3b25c901918"
48
+ }
49
+ }
50
+ ```
51
+
@@ -0,0 +1,37 @@
1
+ **Example 1: DescribeFabricBlock**
2
+
3
+ DescribeFabricBlock
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tbaas DescribeFabricBlock --cli-unfold-argument \
9
+ --ClusterId fabric-65z42qi150 \
10
+ --ChannelId channel-9xej4d \
11
+ --BlockHeight 4
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "BlockHash": "e0421ecc20340425a2cf01808469b2523651f8100da92a0287b3769115e57370",
19
+ "BlockHeight": 4,
20
+ "CreateTimestamp": "2023-08-05 07:44:04",
21
+ "PreBlockHash": "f69b2b5a1884e5bbb077a3025378e2210b83bbada23b5c17045b0bf537a53bd0",
22
+ "ProposerOrg": "区块链测试机构pettychen",
23
+ "RequestId": "a6288649-01c0-4d8f-bdd4-ba02163d0721",
24
+ "TransactionList": [
25
+ {
26
+ "BlockHeight": 4,
27
+ "ChaincodeName": "_lifecycle",
28
+ "CreateTime": "2023-08-05 15:44:04",
29
+ "Sender": "区块链测试机构pettychen",
30
+ "TxId": "03389f4a5af1883347ecdb15471e70abf3a8e6cf5b6648dc789674af7930e229"
31
+ }
32
+ ],
33
+ "TxCount": 1
34
+ }
35
+ }
36
+ ```
37
+
@@ -0,0 +1,33 @@
1
+ **Example 1: DescribeFabricTransaction**
2
+
3
+ DescribeFabricTransaction
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tbaas DescribeFabricTransaction --cli-unfold-argument \
9
+ --ClusterId fabric-65z42qi150 \
10
+ --ChannelId channel-9xej4d \
11
+ --TxId 03389f4a5af1883347ecdb15471e70abf3a8e6cf5b6648dc789674af7930e229
12
+ ```
13
+
14
+ Output:
15
+ ```
16
+ {
17
+ "Response": {
18
+ "BlockHeight": 4,
19
+ "ChaincodeName": "_lifecycle",
20
+ "CreateTime": "2023-08-05 15:44:04",
21
+ "JoinOrgList": [
22
+ "org-xxxx.fabric-ian2bqtylk"
23
+ ],
24
+ "RequestId": "b5221353-8f20-4547-8260-c550b4b0175c",
25
+ "Sender": "org-xxxx.fabric-ian2bqtylk",
26
+ "TransactionData": "eyJjaGFpbmNvZGVfc3BlYyI6eyJjaGFpbmNvZGVfaWQiOnsibmFtZSI6Il9saWZlY3ljbGUiLCJwYXRoIjoiIiwidmVyc2lvbiI6IiJ9LCJpbnB1dCI6eyJhcmdzIjpbIkNvbW1pdENoYWluY29kZURlZmluaXRpb24iLCJcdTAwMDhcdTAwMDFcdTAwMTJcdTAwMDNteWNcdTAwMWFcdTAwMDR2MS4wXCJcdTAwMDRlc2NjKlx1MDAwNHZzY2MyMVxuL1x1MDAxMlx1MDAwOFx1MDAxMlx1MDAwNlx1MDAwOFx1MDAwMVx1MDAxMlx1MDAwMlx1MDAwOFx1MDAwMFx1MDAxYSNcdTAwMTIhXG5cdTAwMWZvcmctMjUxMDA1NzQ2LmZhYnJpYy02NXo0MnFpMTUwOlx1MDAwMCJdLCJkZWNvcmF0aW9ucyI6e30sImlzX2luaXQiOmZhbHNlfSwidGltZW91dCI6MCwidHlwZSI6IlVOREVGSU5FRCJ9fQ==",
27
+ "TxHash": "8e5b978d33cfbc0510b4e60406f8481f8ec00e390131d5b6ea6d38604e1bcb46",
28
+ "TxId": "03389f4a5af1883347ecdb15471e70abf3a8e6cf5b6648dc789674af7930e229",
29
+ "TxStatus": "VALID"
30
+ }
31
+ }
32
+ ```
33
+
@@ -0,0 +1,28 @@
1
+ **Example 1: InvokeFabricChaincode**
2
+
3
+ InvokeFabricChaincode
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tbaas InvokeFabricChaincode --cli-unfold-argument \
9
+ --ClusterId fabric-65z42qi150 \
10
+ --ChannelId channel-9xej4d \
11
+ --ChaincodeName mytest \
12
+ --FuncName Set \
13
+ --FuncParam D 40 \
14
+ --WithAsyncResult False
15
+ ```
16
+
17
+ Output:
18
+ ```
19
+ {
20
+ "Response": {
21
+ "RequestId": "bab100f3-be40-415c-b29b-3a44c77b25fe",
22
+ "TxId": "0595a33e308170b035e0d97c1a79274ac55badf048c0c8fc569719e14a2990c5",
23
+ "TxResult": "",
24
+ "TxStatus": "VALID"
25
+ }
26
+ }
27
+ ```
28
+
@@ -0,0 +1,27 @@
1
+ **Example 1: QueryFabricChaincode**
2
+
3
+ QueryFabricChaincode
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tbaas QueryFabricChaincode --cli-unfold-argument \
9
+ --ClusterId fabric-65z42qi150 \
10
+ --ChannelId channel-9xej4d \
11
+ --ChaincodeName mytest \
12
+ --FuncName Get \
13
+ --FuncParam A
14
+ ```
15
+
16
+ Output:
17
+ ```
18
+ {
19
+ "Response": {
20
+ "RequestId": "e431d04c-2a5c-43b4-a480-f127b3f46eb6",
21
+ "TxId": "030acb112f9f2aa2ce537fea9d94d2f3c9ec6cf8e05aa62f5d3746167825dbe8",
22
+ "TxResult": "10",
23
+ "TxStatus": "VALID"
24
+ }
25
+ }
26
+ ```
27
+
@@ -17,7 +17,7 @@ Output:
17
17
  ```
18
18
  {
19
19
  "Response": {
20
- "RequestId": "xx"
20
+ "RequestId": "aaa"
21
21
  }
22
22
  }
23
23
  ```
@@ -7,19 +7,19 @@ Input:
7
7
  ```
8
8
  tccli tcss CreateAssetImageScanSetting --cli-unfold-argument \
9
9
  --Enable True \
10
- --ScanTime 2020-12-28 15:53:26 \
11
- --ScanPeriod 3600 \
10
+ --ScanTime 00:00 \
11
+ --ScanPeriod 1 \
12
12
  --ScanVirus True \
13
13
  --ScanRisk True \
14
14
  --ScanVul True \
15
- --All True
15
+ --ScanEndTime 02:00
16
16
  ```
17
17
 
18
18
  Output:
19
19
  ```
20
20
  {
21
21
  "Response": {
22
- "RequestId": "af170769-a009-4c51-879a-8fe182ace76e"
22
+ "RequestId": "e3526ac5-6a37-46c4-8f65-c722973f4f65"
23
23
  }
24
24
  }
25
25
  ```
@@ -13,35 +13,36 @@ Output:
13
13
  ```
14
14
  {
15
15
  "Response": {
16
- "AgentError": "",
17
- "Architecture": "",
18
- "Author": "",
19
- "BuildHistory": "file:c92c248239f8c7b9b3c067650954815f391b7bcb09023f984972c082ace2a8d0 in ",
20
- "ContainerCnt": 0,
21
- "CreateTime": "2021-01-29T04:03:11Z",
16
+ "ImageID": "abc",
17
+ "ImageName": "abc",
18
+ "CreateTime": "abc",
19
+ "Size": 1,
22
20
  "HostCnt": 1,
23
- "ImageID": "sha256:1c19ee40bfafd313400cde57a50b38b16ed4751c6b62a64141f18629a0e9d430",
24
- "ImageName": "<none>:<none>",
21
+ "ContainerCnt": 1,
22
+ "ScanTime": "abc",
23
+ "VulCnt": 1,
24
+ "RiskCnt": 1,
25
+ "SensitiveInfoCnt": 1,
25
26
  "IsTrustImage": true,
26
- "OsName": "alpine:v3.12",
27
- "RemainScanTime": 0,
28
- "RequestId": "1d1ca0b5-f2ca-40bb-8797-39132bdbf35e",
29
- "RiskCnt": 7,
30
- "ScanError": "",
31
- "ScanRiskError": "",
32
- "ScanRiskProgress": 100,
33
- "ScanStatus": "SCAN_ERR",
34
- "ScanTime": "2021-01-29T05:26:18.07Z",
35
- "ScanVirusError": " 失败",
36
- "ScanVirusProgress": 100,
37
- "ScanVulError": "",
38
- "ScanVulProgress": 100,
39
- "SensitiveInfoCnt": 0,
40
- "Size": 16159906,
41
- "Status": 3,
42
- "VirusCnt": 11,
43
- "VulCnt": 5,
44
- "IsAuthorized": 0
27
+ "OsName": "abc",
28
+ "AgentError": "abc",
29
+ "ScanError": "abc",
30
+ "Architecture": "abc",
31
+ "Author": "abc",
32
+ "BuildHistory": "abc",
33
+ "ScanVirusProgress": 1,
34
+ "ScanVulProgress": 1,
35
+ "ScanRiskProgress": 1,
36
+ "ScanVirusError": "abc",
37
+ "ScanVulError": "abc",
38
+ "ScanRiskError": "abc",
39
+ "ScanStatus": "abc",
40
+ "VirusCnt": 1,
41
+ "Status": 1,
42
+ "RemainScanTime": 1,
43
+ "IsAuthorized": 0,
44
+ "ImageDigest": "abc",
45
+ "RequestId": "abc"
45
46
  }
46
47
  }
47
48
  ```
@@ -12,10 +12,10 @@ Output:
12
12
  {
13
13
  "Response": {
14
14
  "MaxDailyCount": 0,
15
- "RangeType": "xx",
15
+ "RangeType": "ALL",
16
16
  "RuleId": 1,
17
17
  "HostCount": 0,
18
- "RequestId": "xx",
18
+ "RequestId": "abc",
19
19
  "IsEnabled": 0
20
20
  }
21
21
  }
@@ -7,14 +7,14 @@ Input:
7
7
  ```
8
8
  tccli tcss RenewImageAuthorizeState --cli-unfold-argument \
9
9
  --AllImages false \
10
- --ImageIds xx
10
+ --ImageIds aaa
11
11
  ```
12
12
 
13
13
  Output:
14
14
  ```
15
15
  {
16
16
  "Response": {
17
- "RequestId": "xx"
17
+ "RequestId": "aaa"
18
18
  }
19
19
  }
20
20
  ```
@@ -23,6 +23,7 @@ Output:
23
23
  "ClusterExternalACL": [
24
24
  "10.0.0.0/24"
25
25
  ],
26
+ "ClusterIntranetSubnetId": "subnet-xxxxx",
26
27
  "RequestId": "33483fde-efec-4d3c-8ff6-340d9dbc2d01"
27
28
  }
28
29
  }
@@ -0,0 +1,31 @@
1
+ **Example 1: 查询集群自定义参数**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tke DescribeClusterExtraArgs --cli-unfold-argument \
9
+ --ClusterId cls-xxxxxx
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "ClusterExtraArgs": {
17
+ "KubeAPIServer": [
18
+ "max-mutating-requests-inflight=500"
19
+ ],
20
+ "KubeControllerManager": [
21
+ "kube-api-burst=500"
22
+ ],
23
+ "KubeScheduler": [
24
+ "kube-api-burst=500"
25
+ ]
26
+ },
27
+ "RequestId": "5a489220-1730-43ee-9a59-7d3a752ac750"
28
+ }
29
+ }
30
+ ```
31
+
@@ -0,0 +1,81 @@
1
+ **Example 1: 查看开启第三方节点池配置信息**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tke DescribeExternalNodeSupportConfig --cli-unfold-argument \
9
+ --ClusterId cls-lm91rql0
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "RequestId": "4c6c63c7-b23e-4896-bf3b-6bc44dxxxxxx",
17
+ "ClusterCIDR": "172.22.0.0/16",
18
+ "NetworkType": "CiliumVXLan",
19
+ "SubnetId": "subnet-drsvvxxx",
20
+ "Enabled": true,
21
+ "AS": "1001",
22
+ "SwitchIP": "1.1.1.1",
23
+ "Status": "Initializing",
24
+ "Proxy": "1.1.1.1",
25
+ "Master": "1.1.1.1",
26
+ "Progress": [
27
+ {
28
+ "EndAt": "2021-11-05T12:40:51Z",
29
+ "Message": "",
30
+ "Name": "EnsureNodeMasterCommunicate",
31
+ "StartAt": "2021-11-05T12:40:45Z",
32
+ "Status": "success"
33
+ },
34
+ {
35
+ "EndAt": "2021-11-05T12:40:52Z",
36
+ "Message": "",
37
+ "Name": "EnsureInClusterAccess",
38
+ "StartAt": "2021-11-05T12:40:51Z",
39
+ "Status": "success"
40
+ },
41
+ {
42
+ "EndAt": "2021-11-05T12:40:57Z",
43
+ "Message": "",
44
+ "Name": "EnsureExternalNodeProxy",
45
+ "StartAt": "2021-11-05T12:40:52Z",
46
+ "Status": "success"
47
+ },
48
+ {
49
+ "EndAt": "2021-11-05T12:40:57Z",
50
+ "Message": "",
51
+ "Name": "EnsureBootStrap",
52
+ "StartAt": "2021-11-05T12:40:57Z",
53
+ "Status": "success"
54
+ },
55
+ {
56
+ "EndAt": "2021-11-05T12:40:57Z",
57
+ "Message": "",
58
+ "Name": "EnsureAdmissionController",
59
+ "StartAt": "2021-11-05T12:40:57Z",
60
+ "Status": "success"
61
+ },
62
+ {
63
+ "EndAt": "2021-11-05T12:41:00Z",
64
+ "Message": "",
65
+ "Name": "InstallUnderlayCilium",
66
+ "StartAt": "2021-11-05T12:40:57Z",
67
+ "Status": "success"
68
+ },
69
+ {
70
+ "EndAt": "2021-11-05T12:41:00Z",
71
+ "Message": "",
72
+ "Name": "CompleteEnable",
73
+ "StartAt": "2021-11-05T12:41:00Z",
74
+ "Status": "success"
75
+ }
76
+ ],
77
+ "FailedReason": "fail"
78
+ }
79
+ }
80
+ ```
81
+
@@ -0,0 +1,26 @@
1
+ **Example 1: 获取eniipamd组件信息**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli tke DescribeIPAMD --cli-unfold-argument \
9
+ --ClusterId xx
10
+ ```
11
+
12
+ Output:
13
+ ```
14
+ {
15
+ "Response": {
16
+ "DisableVpcCniMode": false,
17
+ "EnableCustomizedPodCidr": false,
18
+ "EnableIPAMD": false,
19
+ "Phase": "running",
20
+ "Reason": "",
21
+ "RequestId": "xxxxx",
22
+ "SubnetIds": null
23
+ }
24
+ }
25
+ ```
26
+
@@ -0,0 +1,23 @@
1
+ **Example 1: 导入源集群消费组**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli trocket ImportSourceClusterConsumerGroups --cli-unfold-argument \
9
+ --TaskId abc \
10
+ --GroupList.0.GroupName Test \
11
+ --GroupList.0.Remark abc \
12
+ --GroupList.0.Namespace
13
+ ```
14
+
15
+ Output:
16
+ ```
17
+ {
18
+ "Response": {
19
+ "RequestId": "abc"
20
+ }
21
+ }
22
+ ```
23
+
@@ -0,0 +1,25 @@
1
+ **Example 1: 导入源集群主题列表**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli trocket ImportSourceClusterTopics --cli-unfold-argument \
9
+ --TaskId abc \
10
+ --TopicList.0.TopicName Test \
11
+ --TopicList.0.TopicType Normal \
12
+ --TopicList.0.QueueNum 10 \
13
+ --TopicList.0.Remark abc \
14
+ --TopicList.0.Namespace
15
+ ```
16
+
17
+ Output:
18
+ ```
19
+ {
20
+ "Response": {
21
+ "RequestId": "abc"
22
+ }
23
+ }
24
+ ```
25
+