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
tccli/__init__.py CHANGED
@@ -1 +1 @@
1
- __version__ = '3.0.1004.1'
1
+ __version__ = '3.0.1005.1'
@@ -1,6 +1,6 @@
1
1
  **Example 1: 使用最简单参数创建实例启动模板**
2
2
 
3
- 只传必传的Zone和镜像ID,其他均采用系统默认值,具体配置如下:实例所在位置为广州二区,镜像ID为:img-pmqg1cw7,实例启动模板名称:test
3
+ 只传必传的Zone、镜像ID和启动模板ID,其他均采用系统默认值,具体配置如下:实例所在位置为广州二区,镜像ID为:img-pmqg1cw7,实例启动模板名称:test
4
4
 
5
5
  Input:
6
6
 
@@ -6,9 +6,9 @@ Input:
6
6
 
7
7
  ```
8
8
  tccli cvm RenewInstances --cli-unfold-argument \
9
- --InstanceIds ins-r8hr2upy \
9
+ --InstanceChargePrepaid.RenewFlag NOTIFY_AND_MANUAL_RENEW \
10
10
  --InstanceChargePrepaid.Period 1 \
11
- --InstanceChargePrepaid.RenewFlag NOTIFY_AND_MANUAL_RENEW
11
+ --InstanceIds ins-r8hr2upy
12
12
  ```
13
13
 
14
14
  Output:
@@ -8,7 +8,7 @@ Input:
8
8
  tccli cvm ResetInstancesPassword --cli-unfold-argument \
9
9
  --InstanceIds ins-r8hr2upy ins-5d8a23rs \
10
10
  --Password abc123ABC!@# \
11
- --ForceStop TRUE
11
+ --ForceStop true
12
12
  ```
13
13
 
14
14
  Output:
@@ -7,7 +7,7 @@ Input:
7
7
  ```
8
8
  tccli cvm StopInstances --cli-unfold-argument \
9
9
  --InstanceIds ins-r8hr2upy ins-5d8a23rs \
10
- --ForceStop FALSE
10
+ --ForceStop false
11
11
  ```
12
12
 
13
13
  Output:
@@ -13,27 +13,27 @@ Output:
13
13
  ```
14
14
  {
15
15
  "Response": {
16
- "MachineIp": "abc",
17
- "ProtectDays": 1,
18
- "MachineOs": "abc",
19
- "MachineName": "abc",
20
- "MachineStatus": "abc",
21
- "InstanceId": "abc",
22
- "MachineWanIp": "abc",
23
- "Quuid": "abc",
24
- "Uuid": "abc",
16
+ "AgentVersion": "",
17
+ "FreeMalwaresLeft": 0,
18
+ "FreeVulsLeft": 0,
19
+ "HasAssetScan": 0,
20
+ "InstanceId": "ins-ivkx06mb",
25
21
  "IsProVersion": true,
26
- "ProVersionOpenDate": "abc",
27
- "MachineType": "abc",
28
- "MachineRegion": "abc",
29
- "PayMode": "abc",
30
- "FreeMalwaresLeft": 1,
31
- "FreeVulsLeft": 1,
32
- "AgentVersion": "abc",
33
- "ProVersionDeadline": "abc",
34
- "HasAssetScan": 1,
35
- "ProtectType": "abc",
36
- "RequestId": "abc"
22
+ "MachineIp": "172.16.255.2",
23
+ "MachineName": "tke_cls-kjg9r3fh_master_etcd1",
24
+ "MachineOs": "TencentOS Server 3.1 (TK4)",
25
+ "MachineRegion": "ap-shanghai",
26
+ "MachineStatus": "ONLINE",
27
+ "MachineType": "CVM",
28
+ "MachineWanIp": "124.222.61.130",
29
+ "PayMode": "PREPAY",
30
+ "ProVersionDeadline": "2024-01-10 10:51:11",
31
+ "ProVersionOpenDate": "2023-08-07 14:54:29",
32
+ "ProtectDays": 98,
33
+ "ProtectType": "Flagship",
34
+ "Quuid": "a081a69d-b7cb-4362-b456-59f381de839b",
35
+ "RequestId": "111",
36
+ "Uuid": "a081a69d-b7cb-4362-b456-59f381de839b"
37
37
  }
38
38
  }
39
39
  ```
@@ -1,19 +1,19 @@
1
1
  **Example 1: 创建数据库**
2
2
 
3
-
3
+ 创建数据库
4
4
 
5
5
  Input:
6
6
 
7
7
  ```
8
8
  tccli cynosdb CreateClusterDatabase --cli-unfold-argument \
9
- --UserHostPrivileges.0.DbUserName root \
10
- --UserHostPrivileges.0.DbHost % \
11
- --UserHostPrivileges.0.DbPrivilege xx \
12
- --CollateRule utf8_general_ci \
13
- --DbName test \
14
- --Description test-beizhu \
15
- --CharacterSet utf8 \
16
- --ClusterId cynosdbmysql-xxxxxx
9
+ --ClusterId abc \
10
+ --DbName abc \
11
+ --CharacterSet abc \
12
+ --CollateRule abc \
13
+ --UserHostPrivileges.0.DbUserName abc \
14
+ --UserHostPrivileges.0.DbHost abc \
15
+ --UserHostPrivileges.0.DbPrivilege abc \
16
+ --Description abc
17
17
  ```
18
18
 
19
19
  Output:
@@ -1,6 +1,6 @@
1
1
  **Example 1: 查询集群参数**
2
2
 
3
-
3
+ 查询集群参数
4
4
 
5
5
  Input:
6
6
 
@@ -13,39 +13,29 @@ Output:
13
13
  ```
14
14
  {
15
15
  "Response": {
16
+ "TotalCount": 0,
16
17
  "Items": [
17
18
  {
18
- "MatchValue": "",
19
- "CurrentValue": "4096",
20
- "Min": "1024",
21
- "Default": "4096",
22
- "Description": "xx",
23
- "Max": "65536",
24
- "ParamType": "integer",
25
- "EnumValue": null,
26
- "ParamName": "work_mem",
27
- "MatchType": "",
28
- "NeedReboot": 0
29
- },
30
- {
31
- "MatchValue": "",
32
- "CurrentValue": "base64",
33
- "Min": "",
34
- "Default": "base64",
35
- "Description": "xx",
36
- "Max": "",
37
- "ParamType": "enum",
19
+ "CurrentValue": "abc",
20
+ "Default": "abc",
38
21
  "EnumValue": [
39
- "base64",
40
- "hex"
22
+ "abc"
41
23
  ],
42
- "ParamName": "xmlbinary",
43
- "MatchType": "",
44
- "NeedReboot": 0
24
+ "Max": "abc",
25
+ "Min": "abc",
26
+ "ParamName": "abc",
27
+ "NeedReboot": 0,
28
+ "ParamType": "abc",
29
+ "MatchType": "abc",
30
+ "MatchValue": "abc",
31
+ "Description": "abc",
32
+ "IsGlobal": 0,
33
+ "ModifiableInfo": {},
34
+ "IsFunc": true,
35
+ "Func": "abc"
45
36
  }
46
37
  ],
47
- "RequestId": "117812",
48
- "TotalCount": 2
38
+ "RequestId": "abc"
49
39
  }
50
40
  }
51
41
  ```
@@ -1,6 +1,6 @@
1
1
  **Example 1: 查询集群列表**
2
2
 
3
-
3
+ 查询集群列表
4
4
 
5
5
  Input:
6
6
 
@@ -18,101 +18,94 @@ Output:
18
18
  ```
19
19
  {
20
20
  "Response": {
21
- "TotalCount": 597,
21
+ "TotalCount": 0,
22
22
  "ClusterSet": [
23
23
  {
24
- "ServerlessStatus": "xx",
24
+ "Status": "abc",
25
+ "UpdateTime": "abc",
26
+ "Zone": "abc",
27
+ "ClusterName": "abc",
28
+ "Region": "abc",
29
+ "DbVersion": "abc",
30
+ "ClusterId": "abc",
31
+ "InstanceNum": 0,
32
+ "Uin": "abc",
33
+ "DbType": "abc",
34
+ "AppId": 0,
35
+ "StatusDesc": "abc",
36
+ "CreateTime": "abc",
37
+ "PayMode": 0,
38
+ "PeriodEndTime": "abc",
39
+ "Vip": "abc",
40
+ "Vport": 0,
41
+ "ProjectID": 0,
42
+ "VpcId": "abc",
43
+ "SubnetId": "abc",
44
+ "CynosVersion": "abc",
45
+ "StorageLimit": 0,
25
46
  "RenewFlag": 0,
26
- "Zone": "xx",
27
- "InstanceNum": 1,
28
- "ClusterId": "xx",
29
- "DbVersion": "xx",
30
- "Storage": 0,
31
- "StorageId": "xx",
32
- "ProcessingTask": "xx",
33
- "Status": "xx",
34
- "PhysicalZone": "xx",
35
- "UpdateTime": "xx",
36
- "VpcId": "xx",
37
- "Ability": [
47
+ "ProcessingTask": "abc",
48
+ "Tasks": [
38
49
  {
39
- "NonsupportSlaveZoneReason": "xx",
40
- "IsSupportSlaveZone": "xx",
41
- "IsSupportRo": "xx",
42
- "NonsupportRoReason": "xx"
50
+ "TaskId": 0,
51
+ "TaskType": "abc",
52
+ "TaskStatus": "abc",
53
+ "ObjectId": "abc",
54
+ "ObjectType": "abc"
43
55
  }
44
56
  ],
45
- "StorageLimit": 30000,
46
- "SlaveZones": [
47
- "xx"
48
- ],
49
- "DbMode": "xx",
50
- "SubnetId": "xx",
51
- "MinStorageSize": 10,
52
- "MaxStorageSize": 30000,
53
- "IsFreeze": "xx",
54
- "Region": "xx",
55
- "MasterZone": "xx",
56
- "PayMode": 1,
57
- "PeriodEndTime": "xx",
58
57
  "ResourceTags": [
59
58
  {
60
- "TagKey": "xx",
61
- "TagValue": "xx"
59
+ "TagKey": "abc",
60
+ "TagValue": "abc"
62
61
  }
63
62
  ],
64
- "CynosVersion": "xx",
65
- "StatusDesc": "xx",
63
+ "DbMode": "abc",
64
+ "ServerlessStatus": "abc",
65
+ "Storage": 0,
66
+ "StorageId": "abc",
66
67
  "StoragePayMode": 0,
67
- "BusinessType": "xx",
68
- "Tasks": [
69
- {
70
- "ObjectType": "xx",
71
- "TaskStatus": "xx",
72
- "ObjectId": "xx",
73
- "TaskId": 0,
74
- "TaskType": "xx"
75
- }
76
- ],
77
- "HasSlaveZone": "xx",
78
- "ClusterName": "xx",
79
- "ProjectID": 0,
80
- "Uin": "xx",
81
- "DbType": "xx",
82
- "Vip": "xx",
83
- "AppId": 251007582,
84
- "OrderSource": "xx",
85
- "Vport": 3306,
86
- "CreateTime": "xx",
68
+ "MinStorageSize": 0,
69
+ "MaxStorageSize": 0,
87
70
  "NetAddrs": [
88
71
  {
89
- "WanStatus": "xx",
90
- "Description": "xx",
91
- "UniqVpcId": "xx",
92
- "WanDomain": "xx",
72
+ "Vip": "abc",
73
+ "Vport": 0,
74
+ "WanDomain": "abc",
93
75
  "WanPort": 0,
94
- "Vip": "xx",
95
- "UniqSubnetId": "xx",
96
- "NetType": "xx",
97
- "WanIP": "xx",
98
- "Vport": 3306
99
- },
76
+ "NetType": "abc",
77
+ "UniqSubnetId": "abc",
78
+ "UniqVpcId": "abc",
79
+ "Description": "abc",
80
+ "WanIP": "abc",
81
+ "WanStatus": "abc",
82
+ "InstanceGroupId": "abc"
83
+ }
84
+ ],
85
+ "PhysicalZone": "abc",
86
+ "MasterZone": "abc",
87
+ "HasSlaveZone": "abc",
88
+ "SlaveZones": [
89
+ "abc"
90
+ ],
91
+ "BusinessType": "abc",
92
+ "IsFreeze": "abc",
93
+ "OrderSource": "abc",
94
+ "Ability": {
95
+ "IsSupportSlaveZone": "abc",
96
+ "NonsupportSlaveZoneReason": "abc",
97
+ "IsSupportRo": "abc",
98
+ "NonsupportRoReason": "abc"
99
+ },
100
+ "ResourcePackages": [
100
101
  {
101
- "WanStatus": "xx",
102
- "Description": "xx",
103
- "UniqVpcId": "xx",
104
- "WanDomain": "xx",
105
- "WanPort": 0,
106
- "Vip": "xx",
107
- "UniqSubnetId": "xx",
108
- "NetType": "xx",
109
- "WanIP": "xx",
110
- "Vport": 3306
102
+ "PackageId": "abc",
103
+ "PackageType": "abc"
111
104
  }
112
105
  ]
113
106
  }
114
107
  ],
115
- "RequestId": "xx"
108
+ "RequestId": "abc"
116
109
  }
117
110
  }
118
111
  ```
@@ -13,67 +13,65 @@ Output:
13
13
  "Response": {
14
14
  "RegionSet": [
15
15
  {
16
- "DbType": "xx",
17
- "Region": "xx",
18
- "RegionId": 1,
16
+ "DbType": "MYSQL",
17
+ "Region": "ap-guangzhou",
18
+ "RegionId": 100001,
19
19
  "Modules": [
20
20
  {
21
- "ModuleName": "xx",
22
- "IsDisable": "xx"
21
+ "ModuleName": "is.disable.wan",
22
+ "IsDisable": "yes"
23
23
  }
24
24
  ],
25
- "RegionZh": "xx",
25
+ "RegionZh": "广州",
26
26
  "ZoneSet": [
27
27
  {
28
- "PhysicalZone": "xx",
29
- "Zone": "xx",
28
+ "PhysicalZone": "ap-guangzhou-2",
29
+ "Zone": "ap-guangzhou-2",
30
30
  "IsSupportServerless": 0,
31
31
  "ZoneId": 100003,
32
32
  "IsSupportNormal": 0,
33
- "ZoneZh": "xx"
33
+ "ZoneZh": "广州二区",
34
+ "HasPermission": true,
35
+ "IsWholeRdmaZone": "abc"
34
36
  },
35
37
  {
36
- "PhysicalZone": "xx",
37
- "Zone": "xx",
38
- "IsSupportServerless": 0,
39
- "ZoneId": 100003,
40
- "IsSupportNormal": 0,
41
- "ZoneZh": "xx"
42
- },
43
- {
44
- "PhysicalZone": "xx",
45
- "Zone": "xx",
38
+ "PhysicalZone": "ao-guangzhou-5",
39
+ "Zone": "ap-guangzhou-5",
46
40
  "IsSupportServerless": 0,
47
41
  "ZoneId": 100004,
48
42
  "IsSupportNormal": 0,
49
- "ZoneZh": "xx"
43
+ "ZoneZh": "广州五区",
44
+ "HasPermission": true,
45
+ "IsWholeRdmaZone": "abc"
50
46
  }
51
47
  ]
52
48
  },
53
49
  {
54
- "DbType": "xx",
55
- "Region": "xx",
50
+ "DbType": "MYSQL",
51
+ "Region": "ap-beijing",
56
52
  "RegionId": 8,
57
53
  "Modules": [
58
54
  {
59
- "ModuleName": "xx",
60
- "IsDisable": "xx"
55
+ "ModuleName": "is.disable.wan",
56
+ "IsDisable": "no"
61
57
  }
62
58
  ],
63
- "RegionZh": "xx",
59
+ "RegionZh": "北京",
64
60
  "ZoneSet": [
65
61
  {
66
- "PhysicalZone": "xx",
67
- "Zone": "xx",
62
+ "PhysicalZone": "ap-beijing-5",
63
+ "Zone": "ap-beijing-5",
68
64
  "IsSupportServerless": 0,
69
65
  "ZoneId": 800001,
70
66
  "IsSupportNormal": 0,
71
- "ZoneZh": "xx"
67
+ "ZoneZh": "北京五区",
68
+ "HasPermission": true,
69
+ "IsWholeRdmaZone": "abc"
72
70
  }
73
71
  ]
74
72
  }
75
73
  ],
76
- "RequestId": "xx"
74
+ "RequestId": "1qwert-123-asbc"
77
75
  }
78
76
  }
79
77
  ```
@@ -1,15 +1,15 @@
1
1
  **Example 1: 修改账号主机**
2
2
 
3
-
3
+ 修改账号主机
4
4
 
5
5
  Input:
6
6
 
7
7
  ```
8
8
  tccli cynosdb ModifyAccountHost --cli-unfold-argument \
9
- --ClusterId cynosdbpg-on5xw0ni \
10
- --Account.AccountName admin \
11
- --Account.Host myHost \
12
- --NewHost xx
9
+ --ClusterId abc \
10
+ --NewHost abc \
11
+ --Account.AccountName abc \
12
+ --Account.Host abc
13
13
  ```
14
14
 
15
15
  Output:
@@ -1,14 +1,14 @@
1
1
  **Example 1: 修改数据库代理描述**
2
2
 
3
-
3
+ 修改数据库代理描述
4
4
 
5
5
  Input:
6
6
 
7
7
  ```
8
8
  tccli cynosdb ModifyProxyDesc --cli-unfold-argument \
9
- --ClusterId cynosdbmysql-xxxxxxx \
10
- --ProxyGroupId cynosdbmysql-proxy-xxxxxxx \
11
- --Description xx
9
+ --ClusterId cynosdbmysql-12qwasdf \
10
+ --ProxyGroupId cynosdbmysql-proxy-1qasdfre \
11
+ --Description proxy for test
12
12
  ```
13
13
 
14
14
  Output:
@@ -1,13 +1,13 @@
1
1
  **Example 1: 负载均衡数据库代理**
2
2
 
3
-
3
+ 负载均衡数据库代理
4
4
 
5
5
  Input:
6
6
 
7
7
  ```
8
8
  tccli cynosdb ReloadBalanceProxyNode --cli-unfold-argument \
9
- --ClusterId xx \
10
- --ProxyGroupId xx
9
+ --ClusterId cynosdbmysql-1234qwer \
10
+ --ProxyGroupId cynosdbmysql-proxy-a13fcqwe
11
11
  ```
12
12
 
13
13
  Output:
@@ -15,8 +15,8 @@ Output:
15
15
  {
16
16
  "Response": {
17
17
  "RequestId": "128046",
18
- "FlowId": "123",
19
- "TaskId": "123"
18
+ "FlowId": 123,
19
+ "TaskId": 123
20
20
  }
21
21
  }
22
22
  ```
@@ -74,11 +74,9 @@ Output:
74
74
  }
75
75
  ```
76
76
 
77
- **Example 3: 增加部分可见的模版授权子企业列表**
77
+ **Example 3: 授权部分失败的情况**
78
78
 
79
- 1.ProxyOrganizationOpenIds为新增的子企业的标识列表
80
-
81
- 2.因为本模板是部分可见的AuthTag设置为part
79
+ 因为org_fffffffffff不存在导致这个企业授权失败(其他的授权成功)
82
80
 
83
81
  Input:
84
82
 
@@ -90,7 +88,7 @@ tccli essbasic OperateChannelTemplate --cli-unfold-argument \
90
88
  --Agent.ProxyAppId \
91
89
  --OperateType UPDATE \
92
90
  --TemplateId yDwivUUckpo2g6ugUu4sxH2i15SY0OZY \
93
- --ProxyOrganizationOpenIds org_zhangsan,org_lisi,org_wangwu \
91
+ --ProxyOrganizationOpenIds org_zhangsan,org_lisi,org_fffffffffff \
94
92
  --AuthTag part
95
93
  ```
96
94
 
@@ -100,23 +98,29 @@ Output:
100
98
  "Response": {
101
99
  "AppId": "yDwhxUUckp3gl8j5UuFX33LSNozpRsbi",
102
100
  "TemplateId": "yDwivUUckpo2g6ugUu4sxH2i15SY0OZY",
103
- "OperateResult": "all-success",
101
+ "OperateResult": "part-success",
104
102
  "AuthTag": "part",
105
103
  "ProxyOrganizationOpenIds": [
106
- "org_dianziqian",
107
104
  "org_zhangsan",
108
105
  "org_lisi",
109
- "org_wangwu"
106
+ "org_dianziqian"
110
107
  ],
111
- "FailMessageList": [],
112
- "RequestId": "7ca39d89-2b6c-4fd9-9f32-735137d5a6e9"
108
+ "FailMessageList": [
109
+ {
110
+ "ProxyOrganizationOpenId": "org_fffffffffff",
111
+ "Message": "非渠道合作企业openId"
112
+ }
113
+ ],
114
+ "RequestId": "8b9e9a6b-2730-4971-8c4d-7c12d3905cd7"
113
115
  }
114
116
  }
115
117
  ```
116
118
 
117
- **Example 4: 授权部分失败的情况**
119
+ **Example 4: 增加部分可见的模板授权子企业列表**
118
120
 
119
- 因为org_fffffffffff不存在导致这个企业授权失败(其他的授权成功)
121
+ 1.ProxyOrganizationOpenIds为新增的子企业的标识列表
122
+
123
+ 2.因为本模板是部分可见的AuthTag设置为part
120
124
 
121
125
  Input:
122
126
 
@@ -128,7 +132,7 @@ tccli essbasic OperateChannelTemplate --cli-unfold-argument \
128
132
  --Agent.ProxyAppId \
129
133
  --OperateType UPDATE \
130
134
  --TemplateId yDwivUUckpo2g6ugUu4sxH2i15SY0OZY \
131
- --ProxyOrganizationOpenIds org_zhangsan,org_lisi,org_fffffffffff \
135
+ --ProxyOrganizationOpenIds org_zhangsan,org_lisi,org_wangwu \
132
136
  --AuthTag part
133
137
  ```
134
138
 
@@ -138,20 +142,16 @@ Output:
138
142
  "Response": {
139
143
  "AppId": "yDwhxUUckp3gl8j5UuFX33LSNozpRsbi",
140
144
  "TemplateId": "yDwivUUckpo2g6ugUu4sxH2i15SY0OZY",
141
- "OperateResult": "part-success",
145
+ "OperateResult": "all-success",
142
146
  "AuthTag": "part",
143
147
  "ProxyOrganizationOpenIds": [
148
+ "org_dianziqian",
144
149
  "org_zhangsan",
145
150
  "org_lisi",
146
- "org_dianziqian"
147
- ],
148
- "FailMessageList": [
149
- {
150
- "ProxyOrganizationOpenId": "org_fffffffffff",
151
- "Message": "非渠道合作企业openId"
152
- }
151
+ "org_wangwu"
153
152
  ],
154
- "RequestId": "8b9e9a6b-2730-4971-8c4d-7c12d3905cd7"
153
+ "FailMessageList": [],
154
+ "RequestId": "7ca39d89-2b6c-4fd9-9f32-735137d5a6e9"
155
155
  }
156
156
  }
157
157
  ```
@@ -20,11 +20,12 @@ Output:
20
20
  "ApplicationId": "app-jxnaqazx",
21
21
  "ApplicationName": "应用名称",
22
22
  "Description": "应用描述",
23
+ "ConfigEnvironment": "Ubuntu20.04, Python 3.8, ChatGLM2-6b, CUDA 11.7, cuDNN 8, pytorch 2, JupyteLab",
23
24
  "MinSystemDiskSize": 80
24
25
  }
25
26
  ],
26
27
  "RequestId": "2b1fae52-8004-4a13-a20a-26ea1149f9df",
27
- "TotalCount": 3
28
+ "TotalCount": 1
28
29
  }
29
30
  }
30
31
  ```
@@ -0,0 +1,21 @@
1
+ **Example 1: 按照默认权重平衡只读组中的只读副本**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver BalanceReadOnlyGroup --cli-unfold-argument \
9
+ --InstanceId mssql-2cwisu23 \
10
+ --ReadOnlyGroupId mssqlrg-itaunotj
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "RequestId": "9b3c49f5-0e04-4b1a-98eb-43d464424354"
18
+ }
19
+ }
20
+ ```
21
+