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,21 @@
1
+ **Example 1: 删除回档任务记录**
2
+
3
+ 删除回档任务记录
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DeleteRestoreTask --cli-unfold-argument \
9
+ --InstanceId mssql-jsuij219 \
10
+ --RestoreIds 0
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "RequestId": "863b2797-858b-49f3-88e9-50159e564cbc"
18
+ }
19
+ }
20
+ ```
21
+
@@ -0,0 +1,31 @@
1
+ **Example 1: 查询数据库关联的账号和权限信息**
2
+
3
+ 查询数据库关联的账号和权限信息
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeAccountPrivilegeByDB --cli-unfold-argument \
9
+ --Limit 20 \
10
+ --Offset 0 \
11
+ --InstanceId mssql-mz23h8n7 \
12
+ --DBName test_db
13
+ ```
14
+
15
+ Output:
16
+ ```
17
+ {
18
+ "Response": {
19
+ "Accounts": [
20
+ {
21
+ "AccountType": "L1",
22
+ "Privilege": "DBOwner",
23
+ "UserName": "L1"
24
+ }
25
+ ],
26
+ "RequestId": "33046d34-f461-11ed-9950-525400853186",
27
+ "TotalCount": 1
28
+ }
29
+ }
30
+ ```
31
+
@@ -0,0 +1,24 @@
1
+ **Example 1: 查询实例支持的字符集和时区**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeCollationTimeZone --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "RequestId": "863b2797-858b-49f3-88e9-50159e564cbc",
15
+ "Collation": [
16
+ "Chinese_PRC_CI_AS"
17
+ ],
18
+ "TimeZone": [
19
+ "China Standard Time"
20
+ ]
21
+ }
22
+ }
23
+ ```
24
+
@@ -0,0 +1,27 @@
1
+ **Example 1: 查询跨地域备份的目标地域**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeCrossRegions --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "Regions": [
15
+ "ap-beijing",
16
+ "ap-shanghai",
17
+ "ap-taipei",
18
+ "ap-hongkong",
19
+ "ap-beijing-fsi",
20
+ "ap-shanghai-fsi",
21
+ "ap-shenzhen-fsi"
22
+ ],
23
+ "RequestId": "1373db1a-efd7-11ec-a46f-525400853186"
24
+ }
25
+ }
26
+ ```
27
+
@@ -0,0 +1,46 @@
1
+ **Example 1: 查询账号关联的数据库和权限信息**
2
+
3
+ 查询账号关联的数据库和权限信息
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeDBPrivilegeByAccount --cli-unfold-argument \
9
+ --Limit 20 \
10
+ --Offset 0 \
11
+ --InstanceId mssql-mz23h8n7 \
12
+ --AccountName acc_test
13
+ ```
14
+
15
+ Output:
16
+ ```
17
+ {
18
+ "Response": {
19
+ "DBList": [
20
+ {
21
+ "DBName": "db6_new",
22
+ "Privilege": "DBOwner"
23
+ },
24
+ {
25
+ "DBName": "db5_new",
26
+ "Privilege": "ReadOnly"
27
+ },
28
+ {
29
+ "DBName": "db4_new",
30
+ "Privilege": "ReadWrite"
31
+ },
32
+ {
33
+ "DBName": "db2_new",
34
+ "Privilege": "ReadOnly"
35
+ },
36
+ {
37
+ "DBName": "bigData",
38
+ "Privilege": "DBOwner"
39
+ }
40
+ ],
41
+ "RequestId": "0d8e4888-f464-11ed-8347-525400853186",
42
+ "TotalCount": 5
43
+ }
44
+ }
45
+ ```
46
+
@@ -0,0 +1,31 @@
1
+ **Example 1: 查询可回档的数据库**
2
+
3
+ 查询可回档的数据库
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeDBRestoreTime --cli-unfold-argument \
9
+ --InstanceId mssql-quw892ks \
10
+ --TargetInstanceId mssql-quw892ks \
11
+ --Time 2023-04-11 12:00:00 \
12
+ --BackupId 0 \
13
+ --DBName test_db
14
+ ```
15
+
16
+ Output:
17
+ ```
18
+ {
19
+ "Response": {
20
+ "Details": [
21
+ {
22
+ "NewName": "new_db_test",
23
+ "OldName": "db_test"
24
+ }
25
+ ],
26
+ "RequestId": "424e1df0-9253-11ed-8d88-ffd89b85f329",
27
+ "TotalCount": 1
28
+ }
29
+ }
30
+ ```
31
+
@@ -0,0 +1,27 @@
1
+ **Example 1: 查询账户关联的数据库名称**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeDatabaseNames --cli-unfold-argument \
9
+ --InstanceId mssql-njj2mtpl \
10
+ --AccountName account11
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "DatabaseNameSet": [
18
+ "dbtest2",
19
+ "dbtest1",
20
+ "db2234"
21
+ ],
22
+ "RequestId": "ba3f44bd-6006-495d-a83c-42b166bdad21",
23
+ "TotalCount": 3
24
+ }
25
+ }
26
+ ```
27
+
@@ -0,0 +1,30 @@
1
+ **Example 1: 查询OnCvm双节点的新购询价计费参数**
2
+
3
+ 查询OnCvm双节点的新购询价计费参数
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeInquiryPriceParameter --cli-unfold-argument \
9
+ --Zone ap-guangzhou-6 \
10
+ --InstanceChargeType PREPAID \
11
+ --Memory 4 \
12
+ --Storage 200 \
13
+ --Period 1 \
14
+ --GoodsNum 1 \
15
+ --DBVersion 2008R2 \
16
+ --Cpu 2 \
17
+ --InstanceType cvmHA \
18
+ --MachineType CLOUD_BSSD
19
+ ```
20
+
21
+ Output:
22
+ ```
23
+ {
24
+ "Response": {
25
+ "Parameter": "{\"uin\":\"2919041563\",\"ownerUin\":\"2919041563\",\"resInfo\":[{\"goodsCategoryId\":1025890,\"goodsNum\":1,\"payMode\":1,\"regionId\":1,\"zoneId\":100006,\"goodsDetail\":{\"pid\":1019180,\"productCode\":\"p_sqlserver\",\"subProductCode\":\"sp_sqlserver_dual_exclusive_cloud\",\"timeSpan\":1,\"timeUnit\":\"m\",\"goodsSubType\":\"sp_sqlserver_dual_exclusive_cloud\",\"sv_sqlserver_cpu_dual_exclusive_cloud_enterprise\":2,\"sv_sqlserver_cpu_dual_exclusive_cloud_standard\":0,\"sv_sqlserver_mem_dual_exclusive_cloud_enterprise\":4,\"sv_sqlserver_mem_dual_exclusive_cloud_standard\":0,\"sv_sqlserver_disk_dual_enhancedssd\":0,\"sv_sqlserver_disk_dual_fastssd\":0,\"sv_sqlserver_disk_dual_universalssd\":200},\"platform\":1}]}\n",
26
+ "RequestId": "9102a1ed-1062-4c50-98ab-d585a4586852"
27
+ }
28
+ }
29
+ ```
30
+
@@ -0,0 +1,36 @@
1
+ **Example 1: 查询异步任务列表**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeInstanceTasks --cli-unfold-argument \
9
+ --InstanceId mssql-njj2mtpl \
10
+ --Status 2 \
11
+ --Limit 10 \
12
+ --Offset 0
13
+ ```
14
+
15
+ Output:
16
+ ```
17
+ {
18
+ "Response": {
19
+ "InstanceTaskSet": [
20
+ {
21
+ "EndTime": "2019-08-15 14:26:22",
22
+ "ErrorCode": 0,
23
+ "Id": 23517,
24
+ "Message": "",
25
+ "Progress": 100,
26
+ "StartTime": "2019-08-15 14:25:20",
27
+ "Status": 2,
28
+ "Type": 62
29
+ }
30
+ ],
31
+ "RequestId": "c736ff8a-5e23-4549-b9fb-6d79d11586ac",
32
+ "TotalCount": 21
33
+ }
34
+ }
35
+ ```
36
+
@@ -0,0 +1,37 @@
1
+ **Example 1: 查询OnCvm双节点的新购计费参数**
2
+
3
+ 查询OnCvm双节点的新购计费参数
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeInstanceTradeParameter --cli-unfold-argument \
9
+ --Zone ap-guangzhou-6 \
10
+ --InstanceChargeType PREPAID \
11
+ --InstanceType cvmHA \
12
+ --Memory 4 \
13
+ --Storage 200 \
14
+ --GoodsNum 1 \
15
+ --SubnetId subnet-15y3y4eo \
16
+ --VpcId vpc-hqxhp43z \
17
+ --Period 1 \
18
+ --DBVersion 2008R2 \
19
+ --AutoRenewFlag 1 \
20
+ --Weekly 1 3 5 \
21
+ --StartTime 01:00 \
22
+ --Span 3 \
23
+ --MultiZones true \
24
+ --Cpu 2 \
25
+ --MachineType CLOUD_BSSD
26
+ ```
27
+
28
+ Output:
29
+ ```
30
+ {
31
+ "Response": {
32
+ "Parameter": "{\"uin\":\"2919041563\",\"ownerUin\":\"2919041563\",\"appId\":251000111,\"goods\":[{\"goodsCategoryId\":1025890,\"goodsNum\":1,\"payMode\":1,\"regionId\":1,\"zoneId\":100006,\"goodsDetail\":{\"pid\":1019180,\"productCode\":\"p_sqlserver\",\"subProductCode\":\"sp_sqlserver_dual_exclusive_cloud\",\"timeSpan\":1,\"timeUnit\":\"m\",\"productInfo\":[{\"name\":\"项目\",\"value\":\"default project\"},{\"name\":\"配置\",\"value\":\"4GB内存,200GB存储空间,0次每秒,SQL Server 2008R2\"},{\"name\":\"实例版本\",\"value\":\"双机高可用\"},{\"name\":\"地域\",\"value\":\"广州\"},{\"name\":\"所属网络\",\"value\":\"三区专属\"},{\"name\":\"可用区\",\"value\":\"广州六区\"},{\"name\":\"RequestSource\",\"value\":\"API\"}],\"autoRenewFlag\":1,\"goodsNum\":1,\"type\":\"CLOUD_BSSD\",\"version\":\"2008R2\",\"subnetId\":1604224,\"vpcId\":74483,\"model\":3,\"weekly\":[1,3,5],\"startTime\":\"01:00\",\"span\":3,\"RoGroupForcedUpgrade\":0,\"ResourceTags\":null,\"waitSwitch\":1,\"ExtParam\":{\"token\":\"\",\"useragent\":\"\",\"referer\":\"\",\"from\":\"\"},\"collation\":\"Chinese_PRC_CI_AS\",\"timeZone\":\"China Standard Time\",\"sv_sqlserver_cpu_dual_exclusive_cloud_enterprise\":2,\"sv_sqlserver_cpu_dual_exclusive_cloud_standard\":0,\"sv_sqlserver_mem_dual_exclusive_cloud_enterprise\":4,\"sv_sqlserver_mem_dual_exclusive_cloud_standard\":0,\"sv_sqlserver_disk_dual_enhancedssd\":0,\"sv_sqlserver_disk_dual_fastssd\":0,\"sv_sqlserver_disk_dual_universalssd\":200},\"platform\":1,\"projectId\":0}]}\n",
33
+ "RequestId": "2a2c00b5-77a8-4eda-be01-3f58230da22e"
34
+ }
35
+ }
36
+ ```
37
+
@@ -0,0 +1,81 @@
1
+ **Example 1: 查询全地域售卖规格配置**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeProductSpec --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "RequestId": "eaf9efa1-3d73-45f9-97f5-f0ea26040b93",
15
+ "SpecInfoList": [
16
+ {
17
+ "Info": [
18
+ {
19
+ "CPU": 1,
20
+ "MachineType": "TS85",
21
+ "MachineTypeName": "高IO",
22
+ "MaxStorage": 3000,
23
+ "Memory": 2000000,
24
+ "MinStorage": 10,
25
+ "PayModeStatus": "ALL",
26
+ "Pid": 10908,
27
+ "PostPid": [
28
+ 10908
29
+ ],
30
+ "QPS": 2100,
31
+ "SpecId": 15,
32
+ "SuitInfo": "独立用户数上百人的小型应用",
33
+ "Version": "2008R2",
34
+ "VersionName": "SQL Server 2008 Enterprise"
35
+ },
36
+ {
37
+ "CPU": 1,
38
+ "MachineType": "TS85",
39
+ "MachineTypeName": "高IO",
40
+ "MaxStorage": 3000,
41
+ "Memory": 2000000,
42
+ "MinStorage": 10,
43
+ "PayModeStatus": "ALL",
44
+ "Pid": 10908,
45
+ "PostPid": [
46
+ 10908
47
+ ],
48
+ "QPS": 2100,
49
+ "SpecId": 15,
50
+ "SuitInfo": "独立用户数上百人的小型应用",
51
+ "Version": "2012SP3",
52
+ "VersionName": "SQL Server 2012 Enterprise"
53
+ },
54
+ {
55
+ "CPU": 1,
56
+ "MachineType": "TS85",
57
+ "MachineTypeName": "高IO",
58
+ "MaxStorage": 3000,
59
+ "Memory": 2000000,
60
+ "MinStorage": 10,
61
+ "PayModeStatus": "ALL",
62
+ "Pid": 10908,
63
+ "PostPid": [
64
+ 10908
65
+ ],
66
+ "QPS": 2100,
67
+ "SpecId": 15,
68
+ "SuitInfo": "独立用户数上百人的小型应用",
69
+ "Version": "2016SP1",
70
+ "VersionName": "SQL Server 2016 Enterprise"
71
+ }
72
+ ],
73
+ "RegionId": 1,
74
+ "ZoneId": 100002
75
+ }
76
+ ],
77
+ "TotalCount": 1
78
+ }
79
+ }
80
+ ```
81
+
@@ -0,0 +1,60 @@
1
+ **Example 1: 查询只读组中只读部分的默认权重**
2
+
3
+
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeReadOnlyGroupAutoWeight --cli-unfold-argument \
9
+ --InstanceId mssql-2cwisu23 \
10
+ --ReadOnlyGroupId mssqlrg-itaunotj
11
+ ```
12
+
13
+ Output:
14
+ ```
15
+ {
16
+ "Response": {
17
+ "IsOfflineDelay": 1,
18
+ "MasterInstanceId": "mssql-2cwisu23",
19
+ "MinReadOnlyInGroup": 2,
20
+ "ReadOnlyGroupId": "mssqlrg-itaunotj",
21
+ "ReadOnlyGroupName": "",
22
+ "ReadOnlyInstanceSet": [
23
+ {
24
+ "AccountDifference": "",
25
+ "Cpu": 1,
26
+ "CreateTime": "2019-12-20 10:11:37",
27
+ "DatabaseDifference": "",
28
+ "DelayTime": "",
29
+ "EndTime": "",
30
+ "InstanceId": "mssqlro-otx9r1gr",
31
+ "IsolateTime": "",
32
+ "Memory": 2,
33
+ "Model": 2,
34
+ "Name": "66c5d5b3-bf78-4f3c-b4e5-047d8d6aad49",
35
+ "PayMode": 1,
36
+ "ProjectId": 0,
37
+ "StartTime": "",
38
+ "Status": 2,
39
+ "Storage": 20,
40
+ "SynStatus": "",
41
+ "Type": "TS85",
42
+ "Uid": "",
43
+ "UpdateTime": "2021-10-20 17:31:48",
44
+ "Version": "2008R2",
45
+ "Weight": 1
46
+ }
47
+ ],
48
+ "ReadOnlyMaxDelayTime": 3,
49
+ "RegionId": "",
50
+ "RequestId": "1055ece1-7c6d-4442-aa20-1e8b588f8444",
51
+ "Status": 5,
52
+ "SubnetId": "",
53
+ "Vip": "10.0.0.198",
54
+ "VpcId": "",
55
+ "Vport": 1433,
56
+ "ZoneId": ""
57
+ }
58
+ }
59
+ ```
60
+
@@ -0,0 +1,46 @@
1
+ **Example 1: 查询回档任务列表**
2
+
3
+ 查询回档任务列表
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeRestoreTask --cli-unfold-argument \
9
+ --InstanceId mssql-aju981jo \
10
+ --RestoreType 0 \
11
+ --TargetRegion ap-shanghai \
12
+ --TargetType 2 \
13
+ --Status 1 \
14
+ --StartTime 2023-04-12: 00:00:00 \
15
+ --EndTime 2023-04-12: 00:00:00 \
16
+ --Offset 0 \
17
+ --Limit 10 \
18
+ --OrderBy startTime \
19
+ --OrderByType desc
20
+ ```
21
+
22
+ Output:
23
+ ```
24
+ {
25
+ "Response": {
26
+ "RequestId": "88310080-925d-11ed-981b-c7bf72df626c",
27
+ "Tasks": [
28
+ {
29
+ "TargetInstanceId": "mssql-892932uiu",
30
+ "TargetInstanceName": "test",
31
+ "TargetInstanceStatus": 2,
32
+ "TargetRegion": "ap-guangzhou",
33
+ "TargetType": 0,
34
+ "EndTime": "0000-00-00 00:00:00",
35
+ "RestoreId": 1012,
36
+ "RestoreTime": "2023-01-12 16:22:48",
37
+ "RestoreType": 0,
38
+ "StartTime": "2023-01-12 16:22:55",
39
+ "Status": 0
40
+ }
41
+ ],
42
+ "TotalCount": 1
43
+ }
44
+ }
45
+ ```
46
+
@@ -0,0 +1,124 @@
1
+ **Example 1: 查询规格的参考价格**
2
+
3
+ 查询规格的参考价格
4
+
5
+ Input:
6
+
7
+ ```
8
+ tccli sqlserver DescribeSpecSellStatus --cli-unfold-argument ```
9
+
10
+ Output:
11
+ ```
12
+ {
13
+ "Response": {
14
+ "DescribeSpecSellStatusSet": [
15
+ {
16
+ "Architecture": "SINGLE",
17
+ "Id": "11000036233",
18
+ "InstanceType": "SI",
19
+ "MultiZonesStatus": "Invalid",
20
+ "PayModeStatus": "ALL",
21
+ "Price": {
22
+ "PostpaidPrice": 47,
23
+ "PostpaidPriceUnit": "H",
24
+ "PrepaidPrice": 26000,
25
+ "PrepaidPriceUnit": "M"
26
+ },
27
+ "SpecId": 62,
28
+ "Status": 1,
29
+ "Style": "EXCLUSIVE",
30
+ "Version": "2016SP1",
31
+ "ZoneStatusSet": [
32
+ {
33
+ "Region": "ap-guangzhou",
34
+ "Status": 1,
35
+ "Zone": "ap-guangzhou-3"
36
+ },
37
+ {
38
+ "Region": "ap-guangzhou",
39
+ "Status": 3,
40
+ "Zone": "ap-guangzhou-4"
41
+ },
42
+ {
43
+ "Region": "ap-guangzhou",
44
+ "Status": 1,
45
+ "Zone": "ap-guangzhou-6"
46
+ },
47
+ {
48
+ "Region": "ap-singapore",
49
+ "Status": 1,
50
+ "Zone": "ap-singapore-2"
51
+ },
52
+ {
53
+ "Region": "ap-singapore",
54
+ "Status": 1,
55
+ "Zone": "ap-singapore-1"
56
+ },
57
+ {
58
+ "Region": "ap-hongkong",
59
+ "Status": 1,
60
+ "Zone": "ap-hongkong-2"
61
+ },
62
+ {
63
+ "Region": "ap-shanghai",
64
+ "Status": 1,
65
+ "Zone": "ap-shanghai-2"
66
+ },
67
+ {
68
+ "Region": "ap-shanghai",
69
+ "Status": 1,
70
+ "Zone": "ap-shanghai-3"
71
+ },
72
+ {
73
+ "Region": "ap-shanghai",
74
+ "Status": 1,
75
+ "Zone": "ap-shanghai-4"
76
+ },
77
+ {
78
+ "Region": "ap-shanghai",
79
+ "Status": 1,
80
+ "Zone": "ap-shanghai-5"
81
+ },
82
+ {
83
+ "Region": "ap-beijing",
84
+ "Status": 1,
85
+ "Zone": "ap-beijing-2"
86
+ },
87
+ {
88
+ "Region": "ap-beijing",
89
+ "Status": 1,
90
+ "Zone": "ap-beijing-3"
91
+ },
92
+ {
93
+ "Region": "ap-beijing",
94
+ "Status": 1,
95
+ "Zone": "ap-beijing-5"
96
+ },
97
+ {
98
+ "Region": "ap-beijing",
99
+ "Status": 1,
100
+ "Zone": "ap-beijing-6"
101
+ },
102
+ {
103
+ "Region": "ap-beijing",
104
+ "Status": 1,
105
+ "Zone": "ap-beijing-7"
106
+ },
107
+ {
108
+ "Region": "ap-nanjing",
109
+ "Status": 1,
110
+ "Zone": "ap-nanjing-1"
111
+ },
112
+ {
113
+ "Region": "ap-nanjing",
114
+ "Status": 1,
115
+ "Zone": "ap-nanjing-2"
116
+ }
117
+ ]
118
+ }
119
+ ],
120
+ "RequestId": "df9508b2-db7c-43ac-91dc-3ba19433ae09"
121
+ }
122
+ }
123
+ ```
124
+