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.
- tccli/__init__.py +1 -1
- tccli/examples/cvm/v20170312/CreateLaunchTemplate.md +1 -1
- tccli/examples/cvm/v20170312/RenewInstances.md +2 -2
- tccli/examples/cvm/v20170312/ResetInstancesPassword.md +1 -1
- tccli/examples/cvm/v20170312/StopInstances.md +1 -1
- tccli/examples/cwp/v20180228/DescribeMachineInfo.md +20 -20
- tccli/examples/cynosdb/v20190107/CreateClusterDatabase.md +9 -9
- tccli/examples/cynosdb/v20190107/DescribeClusterParams.md +18 -28
- tccli/examples/cynosdb/v20190107/DescribeClusters.md +70 -77
- tccli/examples/cynosdb/v20190107/DescribeZones.md +27 -29
- tccli/examples/cynosdb/v20190107/ModifyAccountHost.md +5 -5
- tccli/examples/cynosdb/v20190107/ModifyProxyDesc.md +4 -4
- tccli/examples/cynosdb/v20190107/ReloadBalanceProxyNode.md +5 -5
- tccli/examples/essbasic/v20210526/OperateChannelTemplate.md +22 -22
- tccli/examples/hai/v20230812/DescribeApplications.md +2 -1
- tccli/examples/sqlserver/v20180328/BalanceReadOnlyGroup.md +21 -0
- tccli/examples/sqlserver/v20180328/DeleteRestoreTask.md +21 -0
- tccli/examples/sqlserver/v20180328/DescribeAccountPrivilegeByDB.md +31 -0
- tccli/examples/sqlserver/v20180328/DescribeCollationTimeZone.md +24 -0
- tccli/examples/sqlserver/v20180328/DescribeCrossRegions.md +27 -0
- tccli/examples/sqlserver/v20180328/DescribeDBPrivilegeByAccount.md +46 -0
- tccli/examples/sqlserver/v20180328/DescribeDBRestoreTime.md +31 -0
- tccli/examples/sqlserver/v20180328/DescribeDatabaseNames.md +27 -0
- tccli/examples/sqlserver/v20180328/DescribeInquiryPriceParameter.md +30 -0
- tccli/examples/sqlserver/v20180328/DescribeInstanceTasks.md +36 -0
- tccli/examples/sqlserver/v20180328/DescribeInstanceTradeParameter.md +37 -0
- tccli/examples/sqlserver/v20180328/DescribeProductSpec.md +81 -0
- tccli/examples/sqlserver/v20180328/DescribeReadOnlyGroupAutoWeight.md +60 -0
- tccli/examples/sqlserver/v20180328/DescribeRestoreTask.md +46 -0
- tccli/examples/sqlserver/v20180328/DescribeSpecSellStatus.md +124 -0
- tccli/examples/sqlserver/v20180328/DescribeUpgradeInstanceCheck.md +71 -0
- tccli/examples/sqlserver/v20180328/ModifyCloseWanIp.md +21 -0
- tccli/examples/sqlserver/v20180328/ModifyDBInstanceNote.md +21 -0
- tccli/examples/sqlserver/v20180328/ModifyOpenWanIp.md +21 -0
- tccli/examples/sqlserver/v20180328/ModifyPublishSubscribe.md +51 -0
- tccli/examples/tbaas/v20180416/DescribeFabricBlock.md +37 -0
- tccli/examples/tbaas/v20180416/DescribeFabricTransaction.md +33 -0
- tccli/examples/tbaas/v20180416/InvokeFabricChaincode.md +28 -0
- tccli/examples/tbaas/v20180416/QueryFabricChaincode.md +27 -0
- tccli/examples/tcss/v20201101/AddEditImageAutoAuthorizedRule.md +1 -1
- tccli/examples/tcss/v20201101/CreateAssetImageScanSetting.md +4 -4
- tccli/examples/tcss/v20201101/DescribeAssetImageDetail.md +28 -27
- tccli/examples/tcss/v20201101/DescribeImageAutoAuthorizedRule.md +2 -2
- tccli/examples/tcss/v20201101/RenewImageAuthorizeState.md +2 -2
- tccli/examples/tke/v20180525/DescribeClusterEndpoints.md +1 -0
- tccli/examples/tke/v20180525/DescribeClusterExtraArgs.md +31 -0
- tccli/examples/tke/v20180525/DescribeExternalNodeSupportConfig.md +81 -0
- tccli/examples/tke/v20180525/DescribeIPAMD.md +26 -0
- tccli/examples/trocket/v20230308/ImportSourceClusterConsumerGroups.md +23 -0
- tccli/examples/trocket/v20230308/ImportSourceClusterTopics.md +25 -0
- tccli/examples/wedata/v20210820/DescribeApproveList.md +43 -161
- tccli/examples/wedata/v20210820/DescribeApproveTypeList.md +64 -0
- tccli/services/__init__.py +1 -5
- tccli/services/billing/v20180709/api.json +10 -10
- tccli/services/cdb/v20170320/api.json +10 -1
- tccli/services/cloudstudio/cloudstudio_client.py +30 -1042
- tccli/services/cvm/v20170312/api.json +68 -68
- tccli/services/cvm/v20170312/examples.json +4 -4
- tccli/services/cwp/v20180228/api.json +20 -0
- tccli/services/cwp/v20180228/examples.json +1 -1
- tccli/services/cynosdb/v20190107/api.json +10 -11
- tccli/services/cynosdb/v20190107/examples.json +14 -14
- tccli/services/dsgc/v20190723/api.json +48 -41
- tccli/services/ess/v20201111/api.json +9 -9
- tccli/services/essbasic/v20210526/api.json +10 -10
- tccli/services/essbasic/v20210526/examples.json +6 -6
- tccli/services/hai/v20230812/api.json +69 -69
- tccli/services/hai/v20230812/examples.json +1 -1
- tccli/services/sqlserver/sqlserver_client.py +1418 -358
- tccli/services/sqlserver/v20180328/api.json +2426 -172
- tccli/services/sqlserver/v20180328/examples.json +166 -0
- tccli/services/tbaas/tbaas_client.py +273 -61
- tccli/services/tbaas/v20180416/api.json +539 -0
- tccli/services/tbaas/v20180416/examples.json +32 -0
- tccli/services/tchd/v20230306/api.json +1 -1
- tccli/services/tcss/v20201101/api.json +443 -87
- tccli/services/tcss/v20201101/examples.json +7 -7
- tccli/services/tdmq/v20200217/api.json +9 -9
- tccli/services/tke/tke_client.py +159 -0
- tccli/services/tke/v20180525/api.json +375 -0
- tccli/services/tke/v20180525/examples.json +25 -1
- tccli/services/trocket/trocket_client.py +171 -65
- tccli/services/trocket/v20230308/api.json +230 -0
- tccli/services/trocket/v20230308/examples.json +16 -0
- tccli/services/tse/v20201207/api.json +57 -35
- tccli/services/vrs/v20200824/api.json +10 -0
- tccli/services/waf/v20180125/api.json +201 -54
- tccli/services/wedata/v20210820/api.json +144 -14
- tccli/services/wedata/v20210820/examples.json +16 -2
- tccli/services/wedata/wedata_client.py +53 -0
- tccli/services/weilingwith/v20230427/api.json +13 -13
- {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/METADATA +2 -2
- {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/RECORD +96 -72
- tccli/services/casb/__init__.py +0 -4
- tccli/services/casb/casb_client.py +0 -194
- tccli/services/casb/v20200507/api.json +0 -110
- tccli/services/casb/v20200507/examples.json +0 -19
- tccli/services/cloudstudio/v20210524/api.json +0 -2604
- tccli/services/cloudstudio/v20210524/examples.json +0 -205
- {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/WHEEL +0 -0
- {tccli-3.0.1004.1.dist-info → tccli-3.0.1005.1.dist-info}/entry_points.txt +0 -0
- {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.
|
1
|
+
__version__ = '3.0.1005.1'
|
@@ -6,9 +6,9 @@ Input:
|
|
6
6
|
|
7
7
|
```
|
8
8
|
tccli cvm RenewInstances --cli-unfold-argument \
|
9
|
-
--
|
9
|
+
--InstanceChargePrepaid.RenewFlag NOTIFY_AND_MANUAL_RENEW \
|
10
10
|
--InstanceChargePrepaid.Period 1 \
|
11
|
-
--
|
11
|
+
--InstanceIds ins-r8hr2upy
|
12
12
|
```
|
13
13
|
|
14
14
|
Output:
|
@@ -13,27 +13,27 @@ Output:
|
|
13
13
|
```
|
14
14
|
{
|
15
15
|
"Response": {
|
16
|
-
"
|
17
|
-
"
|
18
|
-
"
|
19
|
-
"
|
20
|
-
"
|
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
|
-
"
|
27
|
-
"
|
28
|
-
"
|
29
|
-
"
|
30
|
-
"
|
31
|
-
"
|
32
|
-
"
|
33
|
-
"
|
34
|
-
"
|
35
|
-
"
|
36
|
-
"
|
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
|
-
--
|
10
|
-
--
|
11
|
-
--
|
12
|
-
--CollateRule
|
13
|
-
--
|
14
|
-
--
|
15
|
-
--
|
16
|
-
--
|
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
|
-
"
|
19
|
-
"
|
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
|
-
"
|
40
|
-
"hex"
|
22
|
+
"abc"
|
41
23
|
],
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
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": "
|
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":
|
21
|
+
"TotalCount": 0,
|
22
22
|
"ClusterSet": [
|
23
23
|
{
|
24
|
-
"
|
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
|
-
"
|
27
|
-
"
|
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
|
-
"
|
40
|
-
"
|
41
|
-
"
|
42
|
-
"
|
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": "
|
61
|
-
"TagValue": "
|
59
|
+
"TagKey": "abc",
|
60
|
+
"TagValue": "abc"
|
62
61
|
}
|
63
62
|
],
|
64
|
-
"
|
65
|
-
"
|
63
|
+
"DbMode": "abc",
|
64
|
+
"ServerlessStatus": "abc",
|
65
|
+
"Storage": 0,
|
66
|
+
"StorageId": "abc",
|
66
67
|
"StoragePayMode": 0,
|
67
|
-
"
|
68
|
-
"
|
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
|
-
"
|
90
|
-
"
|
91
|
-
"
|
92
|
-
"WanDomain": "xx",
|
72
|
+
"Vip": "abc",
|
73
|
+
"Vport": 0,
|
74
|
+
"WanDomain": "abc",
|
93
75
|
"WanPort": 0,
|
94
|
-
"
|
95
|
-
"UniqSubnetId": "
|
96
|
-
"
|
97
|
-
"
|
98
|
-
"
|
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
|
-
"
|
102
|
-
"
|
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": "
|
108
|
+
"RequestId": "abc"
|
116
109
|
}
|
117
110
|
}
|
118
111
|
```
|
@@ -13,67 +13,65 @@ Output:
|
|
13
13
|
"Response": {
|
14
14
|
"RegionSet": [
|
15
15
|
{
|
16
|
-
"DbType": "
|
17
|
-
"Region": "
|
18
|
-
"RegionId":
|
16
|
+
"DbType": "MYSQL",
|
17
|
+
"Region": "ap-guangzhou",
|
18
|
+
"RegionId": 100001,
|
19
19
|
"Modules": [
|
20
20
|
{
|
21
|
-
"ModuleName": "
|
22
|
-
"IsDisable": "
|
21
|
+
"ModuleName": "is.disable.wan",
|
22
|
+
"IsDisable": "yes"
|
23
23
|
}
|
24
24
|
],
|
25
|
-
"RegionZh": "
|
25
|
+
"RegionZh": "广州",
|
26
26
|
"ZoneSet": [
|
27
27
|
{
|
28
|
-
"PhysicalZone": "
|
29
|
-
"Zone": "
|
28
|
+
"PhysicalZone": "ap-guangzhou-2",
|
29
|
+
"Zone": "ap-guangzhou-2",
|
30
30
|
"IsSupportServerless": 0,
|
31
31
|
"ZoneId": 100003,
|
32
32
|
"IsSupportNormal": 0,
|
33
|
-
"ZoneZh": "
|
33
|
+
"ZoneZh": "广州二区",
|
34
|
+
"HasPermission": true,
|
35
|
+
"IsWholeRdmaZone": "abc"
|
34
36
|
},
|
35
37
|
{
|
36
|
-
"PhysicalZone": "
|
37
|
-
"Zone": "
|
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": "
|
43
|
+
"ZoneZh": "广州五区",
|
44
|
+
"HasPermission": true,
|
45
|
+
"IsWholeRdmaZone": "abc"
|
50
46
|
}
|
51
47
|
]
|
52
48
|
},
|
53
49
|
{
|
54
|
-
"DbType": "
|
55
|
-
"Region": "
|
50
|
+
"DbType": "MYSQL",
|
51
|
+
"Region": "ap-beijing",
|
56
52
|
"RegionId": 8,
|
57
53
|
"Modules": [
|
58
54
|
{
|
59
|
-
"ModuleName": "
|
60
|
-
"IsDisable": "
|
55
|
+
"ModuleName": "is.disable.wan",
|
56
|
+
"IsDisable": "no"
|
61
57
|
}
|
62
58
|
],
|
63
|
-
"RegionZh": "
|
59
|
+
"RegionZh": "北京",
|
64
60
|
"ZoneSet": [
|
65
61
|
{
|
66
|
-
"PhysicalZone": "
|
67
|
-
"Zone": "
|
62
|
+
"PhysicalZone": "ap-beijing-5",
|
63
|
+
"Zone": "ap-beijing-5",
|
68
64
|
"IsSupportServerless": 0,
|
69
65
|
"ZoneId": 800001,
|
70
66
|
"IsSupportNormal": 0,
|
71
|
-
"ZoneZh": "
|
67
|
+
"ZoneZh": "北京五区",
|
68
|
+
"HasPermission": true,
|
69
|
+
"IsWholeRdmaZone": "abc"
|
72
70
|
}
|
73
71
|
]
|
74
72
|
}
|
75
73
|
],
|
76
|
-
"RequestId": "
|
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
|
10
|
-
--
|
11
|
-
--Account.
|
12
|
-
--
|
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-
|
10
|
-
--ProxyGroupId cynosdbmysql-proxy-
|
11
|
-
--Description
|
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
|
10
|
-
--ProxyGroupId
|
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":
|
19
|
-
"TaskId":
|
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
|
-
|
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,
|
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": "
|
101
|
+
"OperateResult": "part-success",
|
104
102
|
"AuthTag": "part",
|
105
103
|
"ProxyOrganizationOpenIds": [
|
106
|
-
"org_dianziqian",
|
107
104
|
"org_zhangsan",
|
108
105
|
"org_lisi",
|
109
|
-
"
|
106
|
+
"org_dianziqian"
|
110
107
|
],
|
111
|
-
"FailMessageList": [
|
112
|
-
|
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
|
-
|
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,
|
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": "
|
145
|
+
"OperateResult": "all-success",
|
142
146
|
"AuthTag": "part",
|
143
147
|
"ProxyOrganizationOpenIds": [
|
148
|
+
"org_dianziqian",
|
144
149
|
"org_zhangsan",
|
145
150
|
"org_lisi",
|
146
|
-
"
|
147
|
-
],
|
148
|
-
"FailMessageList": [
|
149
|
-
{
|
150
|
-
"ProxyOrganizationOpenId": "org_fffffffffff",
|
151
|
-
"Message": "非渠道合作企业openId"
|
152
|
-
}
|
151
|
+
"org_wangwu"
|
153
152
|
],
|
154
|
-
"
|
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":
|
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
|
+
|