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
@@ -1,2604 +0,0 @@
1
- {
2
- "actions": {
3
- "CreateCustomizeTemplates": {
4
- "document": "添加自定义模板",
5
- "input": "CreateCustomizeTemplatesRequest",
6
- "name": "添加自定义模板",
7
- "output": "CreateCustomizeTemplatesResponse",
8
- "status": "online"
9
- },
10
- "CreateWorkspaceByAgent": {
11
- "document": "云服务器方式创建工作空间",
12
- "input": "CreateWorkspaceByAgentRequest",
13
- "name": "云服务器方式创建工作空间",
14
- "output": "CreateWorkspaceByAgentResponse",
15
- "status": "online"
16
- },
17
- "CreateWorkspaceByTemplate": {
18
- "document": "快速开始, 基于模板创建工作空间",
19
- "input": "CreateWorkspaceByTemplateRequest",
20
- "name": "基于模板创建工作空间",
21
- "output": "CreateWorkspaceByTemplateResponse",
22
- "status": "online"
23
- },
24
- "CreateWorkspaceByVersionControl": {
25
- "document": "根据模板创建工作空间",
26
- "input": "CreateWorkspaceByVersionControlRequest",
27
- "name": "根据模板创建工作空间",
28
- "output": "CreateWorkspaceByVersionControlResponse",
29
- "status": "online"
30
- },
31
- "CreateWorkspaceTemporaryToken": {
32
- "document": "为工作空间创建临时访问凭证,重复调用会创建新的 Token,旧的 Token 将会自动失效",
33
- "input": "CreateWorkspaceTemporaryTokenRequest",
34
- "name": "为工作空间创建临时访问凭证",
35
- "output": "CreateWorkspaceTemporaryTokenResponse",
36
- "status": "online"
37
- },
38
- "DeleteCustomizeTemplatesById": {
39
- "document": "删除自定义模板",
40
- "input": "DeleteCustomizeTemplatesByIdRequest",
41
- "name": "删除自定义模板",
42
- "output": "DeleteCustomizeTemplatesByIdResponse",
43
- "status": "online"
44
- },
45
- "DescribeCustomizeTemplates": {
46
- "document": "获取所有模板列表",
47
- "input": "DescribeCustomizeTemplatesRequest",
48
- "name": "获取所有模板列表",
49
- "output": "DescribeCustomizeTemplatesResponse",
50
- "status": "online"
51
- },
52
- "DescribeCustomizeTemplatesById": {
53
- "document": "获取特定模板信息",
54
- "input": "DescribeCustomizeTemplatesByIdRequest",
55
- "name": "获取特定模板信息",
56
- "output": "DescribeCustomizeTemplatesByIdResponse",
57
- "status": "online"
58
- },
59
- "DescribeCustomizeTemplatesPresets": {
60
- "document": "获取创建模板的预置参数",
61
- "input": "DescribeCustomizeTemplatesPresetsRequest",
62
- "name": "获取创建模板的预置参数",
63
- "output": "DescribeCustomizeTemplatesPresetsResponse",
64
- "status": "online"
65
- },
66
- "DescribeWorkspaceEnvList": {
67
- "document": "环境列表接口返回信息",
68
- "input": "DescribeWorkspaceEnvListRequest",
69
- "name": "环境列表接口",
70
- "output": "DescribeWorkspaceEnvListResponse",
71
- "status": "online"
72
- },
73
- "DescribeWorkspaceIsReady": {
74
- "document": "获取工作空间是否已经启动就绪",
75
- "input": "DescribeWorkspaceIsReadyRequest",
76
- "name": "获取工作空间是否已经启动就绪",
77
- "output": "DescribeWorkspaceIsReadyResponse",
78
- "status": "online"
79
- },
80
- "DescribeWorkspaceNameExist": {
81
- "document": "检查工作空间是否存在",
82
- "input": "DescribeWorkspaceNameExistRequest",
83
- "name": "检查工作空间是否存在",
84
- "output": "DescribeWorkspaceNameExistResponse",
85
- "status": "online"
86
- },
87
- "DescribeWorkspaceStatus": {
88
- "document": "获取工作空间元信息",
89
- "input": "DescribeWorkspaceStatusRequest",
90
- "name": "获取工作空间元信息",
91
- "output": "DescribeWorkspaceStatusResponse",
92
- "status": "online"
93
- },
94
- "DescribeWorkspaceStatusList": {
95
- "document": "获取用户工作空间列表",
96
- "input": "DescribeWorkspaceStatusListRequest",
97
- "name": "获取用户工作空间列表",
98
- "output": "DescribeWorkspaceStatusListResponse",
99
- "status": "online"
100
- },
101
- "ModifyCustomizeTemplateVersionControl": {
102
- "document": "修改模板默认代码仓库",
103
- "input": "ModifyCustomizeTemplateVersionControlRequest",
104
- "name": "修改模板默认代码仓库",
105
- "output": "ModifyCustomizeTemplateVersionControlResponse",
106
- "status": "online"
107
- },
108
- "ModifyCustomizeTemplatesFullById": {
109
- "document": "全量修改自定义模板,不忽略空",
110
- "input": "ModifyCustomizeTemplatesFullByIdRequest",
111
- "name": "全量修改自定义模板,不忽略空",
112
- "output": "ModifyCustomizeTemplatesFullByIdResponse",
113
- "status": "online"
114
- },
115
- "ModifyCustomizeTemplatesPartById": {
116
- "document": "全量修改自定义模板,忽略空",
117
- "input": "ModifyCustomizeTemplatesPartByIdRequest",
118
- "name": "全量修改自定义模板,忽略空",
119
- "output": "ModifyCustomizeTemplatesPartByIdResponse",
120
- "status": "online"
121
- },
122
- "ModifyWorkspaceAttributes": {
123
- "document": "修改工作空间的名称和描述",
124
- "input": "ModifyWorkspaceAttributesRequest",
125
- "name": "修改工作空间的名称和描述",
126
- "output": "ModifyWorkspaceAttributesResponse",
127
- "status": "online"
128
- },
129
- "RecoverWorkspace": {
130
- "document": "恢复工作空间\n",
131
- "input": "RecoverWorkspaceRequest",
132
- "name": "恢复工作空间",
133
- "output": "RecoverWorkspaceResponse",
134
- "status": "online"
135
- },
136
- "RemoveWorkspace": {
137
- "document": "删除工作空间",
138
- "input": "RemoveWorkspaceRequest",
139
- "name": "删除工作空间",
140
- "output": "RemoveWorkspaceResponse",
141
- "status": "online"
142
- },
143
- "RunWorkspace": {
144
- "document": "运行空间",
145
- "input": "RunWorkspaceRequest",
146
- "name": "运行空间",
147
- "output": "RunWorkspaceResponse",
148
- "status": "online"
149
- },
150
- "StopWorkspace": {
151
- "document": "停止运行空间",
152
- "input": "StopWorkspaceRequest",
153
- "name": "停止运行空间",
154
- "output": "StopWorkspaceResponse",
155
- "status": "online"
156
- }
157
- },
158
- "metadata": {
159
- "apiVersion": "2021-05-24",
160
- "api_brief": "提供对 云端 IDE 工作空间和空间模板相关的操作,包括创建工作空间、启动工作空间、停止工作空间、删除工作空间、拉取工作空间模板列表、置顶工作空间模板等。",
161
- "serviceNameCN": "Cloud Studio(云端 IDE)",
162
- "serviceShortName": "cloudstudio"
163
- },
164
- "objects": {
165
- "AgentSpaceDTO": {
166
- "document": "云服务器创建工作空间 DTO",
167
- "members": [
168
- {
169
- "disabled": false,
170
- "document": "工作空间名称",
171
- "example": "xxx",
172
- "member": "string",
173
- "name": "Name",
174
- "required": true,
175
- "type": "string",
176
- "value_allowed_null": false
177
- },
178
- {
179
- "disabled": false,
180
- "document": "镜像id",
181
- "example": "xxx",
182
- "member": "int64",
183
- "name": "ImageId",
184
- "required": true,
185
- "type": "int",
186
- "value_allowed_null": false
187
- },
188
- {
189
- "disabled": false,
190
- "document": "镜像名称",
191
- "example": "xxx",
192
- "member": "string",
193
- "name": "ImageName",
194
- "required": true,
195
- "type": "string",
196
- "value_allowed_null": false
197
- },
198
- {
199
- "disabled": false,
200
- "document": "云服务器登录名称",
201
- "example": "xxx",
202
- "member": "string",
203
- "name": "RemoteUser",
204
- "required": true,
205
- "type": "string",
206
- "value_allowed_null": false
207
- },
208
- {
209
- "disabled": false,
210
- "document": "云服务器登录地址",
211
- "example": "xxx",
212
- "member": "string",
213
- "name": "RemoteHost",
214
- "required": true,
215
- "type": "string",
216
- "value_allowed_null": false
217
- },
218
- {
219
- "disabled": false,
220
- "document": "云服务器登录端口",
221
- "example": "xxx",
222
- "member": "string",
223
- "name": "RemotePort",
224
- "required": true,
225
- "type": "string",
226
- "value_allowed_null": false
227
- },
228
- {
229
- "disabled": false,
230
- "document": "工作空间类型",
231
- "example": "xxx",
232
- "member": "string",
233
- "name": "WorkspaceType",
234
- "required": true,
235
- "type": "string",
236
- "value_allowed_null": false
237
- },
238
- {
239
- "disabled": false,
240
- "document": "工作空间版本",
241
- "example": "xxx",
242
- "member": "int64",
243
- "name": "WorkspaceVersion",
244
- "required": true,
245
- "type": "int",
246
- "value_allowed_null": false
247
- },
248
- {
249
- "disabled": false,
250
- "document": "工作空间资源结构",
251
- "example": "xxx",
252
- "member": "WorkspaceResourceDTO",
253
- "name": "WorkspaceResourceDTO",
254
- "required": true,
255
- "type": "object",
256
- "value_allowed_null": false
257
- },
258
- {
259
- "disabled": false,
260
- "document": "描述",
261
- "example": "xxx",
262
- "member": "string",
263
- "name": "Description",
264
- "required": false,
265
- "type": "string",
266
- "value_allowed_null": false
267
- }
268
- ],
269
- "usage": "in"
270
- },
271
- "CreateCustomizeTemplatesRequest": {
272
- "document": "CreateCustomizeTemplates请求参数结构体",
273
- "members": [
274
- {
275
- "disabled": false,
276
- "document": "用户所属组",
277
- "example": "cloudstudio-devops",
278
- "member": "string",
279
- "name": "CloudStudioSessionTeam",
280
- "required": true,
281
- "type": "string"
282
- },
283
- {
284
- "disabled": false,
285
- "document": "无",
286
- "example": "无",
287
- "member": "UserDefinedTemplateParams",
288
- "name": "UserDefinedTemplateParams",
289
- "required": true,
290
- "type": "object"
291
- }
292
- ],
293
- "type": "object"
294
- },
295
- "CreateCustomizeTemplatesResponse": {
296
- "document": "CreateCustomizeTemplates返回参数结构体",
297
- "members": [
298
- {
299
- "disabled": false,
300
- "document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
301
- "example": "无",
302
- "member": "WorkspaceTemplateInfo",
303
- "name": "Data",
304
- "required": true,
305
- "type": "object",
306
- "value_allowed_null": true
307
- },
308
- {
309
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
310
- "member": "string",
311
- "name": "RequestId",
312
- "type": "string"
313
- }
314
- ],
315
- "type": "object"
316
- },
317
- "CreateWorkspaceByAgentRequest": {
318
- "document": "CreateWorkspaceByAgent请求参数结构体",
319
- "members": [
320
- {
321
- "disabled": false,
322
- "document": "无",
323
- "example": "cloudstudio-devops",
324
- "member": "string",
325
- "name": "CloudStudioSessionTeam",
326
- "required": true,
327
- "type": "string"
328
- },
329
- {
330
- "disabled": false,
331
- "document": "无",
332
- "example": "无",
333
- "member": "AgentSpaceDTO",
334
- "name": "AgentSpaceDTO",
335
- "required": true,
336
- "type": "object"
337
- }
338
- ],
339
- "type": "object"
340
- },
341
- "CreateWorkspaceByAgentResponse": {
342
- "document": "CreateWorkspaceByAgent返回参数结构体",
343
- "members": [
344
- {
345
- "disabled": false,
346
- "document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
347
- "example": "无",
348
- "member": "WorkspaceInfoDTO",
349
- "name": "Data",
350
- "required": true,
351
- "type": "object",
352
- "value_allowed_null": true
353
- },
354
- {
355
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
356
- "member": "string",
357
- "name": "RequestId",
358
- "type": "string"
359
- }
360
- ],
361
- "type": "object"
362
- },
363
- "CreateWorkspaceByTemplateRequest": {
364
- "document": "CreateWorkspaceByTemplate请求参数结构体",
365
- "members": [
366
- {
367
- "disabled": false,
368
- "document": "用户所属组",
369
- "example": "cloudstudio-devops",
370
- "member": "string",
371
- "name": "CloudStudioSessionTeam",
372
- "required": true,
373
- "type": "string"
374
- },
375
- {
376
- "disabled": false,
377
- "document": "模板ID",
378
- "example": "xxx",
379
- "member": "int64",
380
- "name": "TemplateId",
381
- "required": true,
382
- "type": "int"
383
- },
384
- {
385
- "disabled": false,
386
- "document": "工作空间名称",
387
- "example": "workspace_name",
388
- "member": "string",
389
- "name": "Name",
390
- "required": false,
391
- "type": "string"
392
- }
393
- ],
394
- "type": "object"
395
- },
396
- "CreateWorkspaceByTemplateResponse": {
397
- "document": "CreateWorkspaceByTemplate返回参数结构体",
398
- "members": [
399
- {
400
- "disabled": false,
401
- "document": "创建工作空间返回的信息",
402
- "example": "无",
403
- "member": "WorkspaceInfo",
404
- "name": "Data",
405
- "type": "object",
406
- "value_allowed_null": false
407
- },
408
- {
409
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
410
- "member": "string",
411
- "name": "RequestId",
412
- "type": "string"
413
- }
414
- ],
415
- "type": "object"
416
- },
417
- "CreateWorkspaceByVersionControlRequest": {
418
- "document": "CreateWorkspaceByVersionControl请求参数结构体",
419
- "members": [
420
- {
421
- "disabled": false,
422
- "document": "工作空间结构",
423
- "example": "xxx",
424
- "member": "WorkspaceDTO",
425
- "name": "WorkspaceDTO",
426
- "required": true,
427
- "type": "object"
428
- },
429
- {
430
- "disabled": false,
431
- "document": "用户所属组",
432
- "example": "xxx",
433
- "member": "string",
434
- "name": "CloudStudioSessionTeam",
435
- "required": true,
436
- "type": "string"
437
- }
438
- ],
439
- "type": "object"
440
- },
441
- "CreateWorkspaceByVersionControlResponse": {
442
- "document": "CreateWorkspaceByVersionControl返回参数结构体",
443
- "members": [
444
- {
445
- "disabled": false,
446
- "document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
447
- "example": "无",
448
- "member": "WorkspaceInfoDTO",
449
- "name": "Data",
450
- "required": true,
451
- "type": "object",
452
- "value_allowed_null": true
453
- },
454
- {
455
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
456
- "member": "string",
457
- "name": "RequestId",
458
- "type": "string"
459
- }
460
- ],
461
- "type": "object"
462
- },
463
- "CreateWorkspaceTemporaryTokenRequest": {
464
- "document": "CreateWorkspaceTemporaryToken请求参数结构体",
465
- "members": [
466
- {
467
- "disabled": false,
468
- "document": "创建工作空间凭证 DTO",
469
- "example": "无",
470
- "member": "WorkspaceTokenDTO",
471
- "name": "WorkspaceTokenDTO",
472
- "required": true,
473
- "type": "object"
474
- }
475
- ],
476
- "type": "object"
477
- },
478
- "CreateWorkspaceTemporaryTokenResponse": {
479
- "document": "CreateWorkspaceTemporaryToken返回参数结构体",
480
- "members": [
481
- {
482
- "disabled": false,
483
- "document": "工作空间临时访问 token 信息",
484
- "example": "无",
485
- "member": "WorkspaceTokenInfoV0",
486
- "name": "Data",
487
- "type": "object",
488
- "value_allowed_null": false
489
- },
490
- {
491
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
492
- "member": "string",
493
- "name": "RequestId",
494
- "type": "string"
495
- }
496
- ],
497
- "type": "object"
498
- },
499
- "CustomizeTemplatesPresetsInfo": {
500
- "document": "模板的预置参数",
501
- "members": [
502
- {
503
- "disabled": false,
504
- "document": "模板tag列表\n注意:此字段可能返回 null,表示取不到有效值。",
505
- "example": "xxx",
506
- "member": "string",
507
- "name": "Tags",
508
- "required": true,
509
- "type": "list",
510
- "value_allowed_null": true
511
- },
512
- {
513
- "disabled": false,
514
- "document": "模板图标列表\n注意:此字段可能返回 null,表示取不到有效值。",
515
- "example": "xxx",
516
- "member": "string",
517
- "name": "Icons",
518
- "required": true,
519
- "type": "list",
520
- "value_allowed_null": true
521
- },
522
- {
523
- "disabled": false,
524
- "document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
525
- "example": "无",
526
- "member": "UserDefinedTemplateParams",
527
- "name": "Templates",
528
- "required": true,
529
- "type": "object",
530
- "value_allowed_null": true
531
- }
532
- ],
533
- "usage": "out"
534
- },
535
- "DeleteCustomizeTemplatesByIdRequest": {
536
- "document": "DeleteCustomizeTemplatesById请求参数结构体",
537
- "members": [
538
- {
539
- "disabled": false,
540
- "document": "用户所属组",
541
- "example": "cloudstudio-devops",
542
- "member": "string",
543
- "name": "CloudStudioSessionTeam",
544
- "required": true,
545
- "type": "string"
546
- },
547
- {
548
- "disabled": false,
549
- "document": "模板ID",
550
- "example": "xxx",
551
- "member": "int64",
552
- "name": "Id",
553
- "required": true,
554
- "type": "int"
555
- }
556
- ],
557
- "type": "object"
558
- },
559
- "DeleteCustomizeTemplatesByIdResponse": {
560
- "document": "DeleteCustomizeTemplatesById返回参数结构体",
561
- "members": [
562
- {
563
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
564
- "member": "string",
565
- "name": "RequestId",
566
- "type": "string"
567
- }
568
- ],
569
- "type": "object"
570
- },
571
- "DescribeCustomizeTemplatesByIdRequest": {
572
- "document": "DescribeCustomizeTemplatesById请求参数结构体",
573
- "members": [
574
- {
575
- "disabled": false,
576
- "document": "用户所属组",
577
- "example": "cloudstudio-devops",
578
- "member": "string",
579
- "name": "CloudStudioSessionTeam",
580
- "required": true,
581
- "type": "string"
582
- },
583
- {
584
- "disabled": false,
585
- "document": "模板ID",
586
- "example": "xxx",
587
- "member": "int64",
588
- "name": "Id",
589
- "required": true,
590
- "type": "int"
591
- }
592
- ],
593
- "type": "object"
594
- },
595
- "DescribeCustomizeTemplatesByIdResponse": {
596
- "document": "DescribeCustomizeTemplatesById返回参数结构体",
597
- "members": [
598
- {
599
- "disabled": false,
600
- "document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
601
- "example": "无",
602
- "member": "WorkspaceTemplateInfo",
603
- "name": "Data",
604
- "required": true,
605
- "type": "object",
606
- "value_allowed_null": true
607
- },
608
- {
609
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
610
- "member": "string",
611
- "name": "RequestId",
612
- "type": "string"
613
- }
614
- ],
615
- "type": "object"
616
- },
617
- "DescribeCustomizeTemplatesPresetsRequest": {
618
- "document": "DescribeCustomizeTemplatesPresets请求参数结构体",
619
- "members": [
620
- {
621
- "disabled": false,
622
- "document": "用户所属组",
623
- "example": "cloudstudio-devops",
624
- "member": "string",
625
- "name": "CloudStudioSessionTeam",
626
- "required": true,
627
- "type": "string"
628
- },
629
- {
630
- "disabled": false,
631
- "document": "空间标识",
632
- "example": "xxx",
633
- "member": "string",
634
- "name": "SpaceKey",
635
- "required": false,
636
- "type": "string"
637
- }
638
- ],
639
- "type": "object"
640
- },
641
- "DescribeCustomizeTemplatesPresetsResponse": {
642
- "document": "DescribeCustomizeTemplatesPresets返回参数结构体",
643
- "members": [
644
- {
645
- "disabled": false,
646
- "document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
647
- "example": "无",
648
- "member": "CustomizeTemplatesPresetsInfo",
649
- "name": "Data",
650
- "required": true,
651
- "type": "object",
652
- "value_allowed_null": true
653
- },
654
- {
655
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
656
- "member": "string",
657
- "name": "RequestId",
658
- "type": "string"
659
- }
660
- ],
661
- "type": "object"
662
- },
663
- "DescribeCustomizeTemplatesRequest": {
664
- "document": "DescribeCustomizeTemplates请求参数结构体",
665
- "members": [
666
- {
667
- "disabled": false,
668
- "document": "用户所属组",
669
- "example": "cloudstudio-devops",
670
- "member": "string",
671
- "name": "CloudStudioSessionTeam",
672
- "required": true,
673
- "type": "string"
674
- }
675
- ],
676
- "type": "object"
677
- },
678
- "DescribeCustomizeTemplatesResponse": {
679
- "document": "DescribeCustomizeTemplates返回参数结构体",
680
- "members": [
681
- {
682
- "disabled": false,
683
- "document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
684
- "example": "无",
685
- "member": "WorkspaceTemplateInfo",
686
- "name": "Data",
687
- "required": true,
688
- "type": "list",
689
- "value_allowed_null": true
690
- },
691
- {
692
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
693
- "member": "string",
694
- "name": "RequestId",
695
- "type": "string"
696
- }
697
- ],
698
- "type": "object"
699
- },
700
- "DescribeWorkspaceEnvListRequest": {
701
- "document": "DescribeWorkspaceEnvList请求参数结构体",
702
- "members": [
703
- {
704
- "disabled": false,
705
- "document": "用户所属组",
706
- "example": "xxx",
707
- "member": "string",
708
- "name": "CloudStudioSessionTeam",
709
- "required": true,
710
- "type": "string"
711
- }
712
- ],
713
- "type": "object"
714
- },
715
- "DescribeWorkspaceEnvListResponse": {
716
- "document": "DescribeWorkspaceEnvList返回参数结构体",
717
- "members": [
718
- {
719
- "disabled": false,
720
- "document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
721
- "example": "无",
722
- "member": "ImageUserDTO",
723
- "name": "Data",
724
- "required": true,
725
- "type": "list",
726
- "value_allowed_null": true
727
- },
728
- {
729
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
730
- "member": "string",
731
- "name": "RequestId",
732
- "type": "string"
733
- }
734
- ],
735
- "type": "object"
736
- },
737
- "DescribeWorkspaceIsReadyRequest": {
738
- "document": "DescribeWorkspaceIsReady请求参数结构体",
739
- "members": [
740
- {
741
- "disabled": false,
742
- "document": "工作空间 spaceKey",
743
- "example": "无",
744
- "member": "string",
745
- "name": "SpaceKey",
746
- "required": true,
747
- "type": "string"
748
- }
749
- ],
750
- "type": "object"
751
- },
752
- "DescribeWorkspaceIsReadyResponse": {
753
- "document": "DescribeWorkspaceIsReady返回参数结构体",
754
- "members": [
755
- {
756
- "disabled": false,
757
- "document": "工作空间是否就绪\n注意:此字段可能返回 null,表示取不到有效值。",
758
- "example": "false",
759
- "member": "bool",
760
- "name": "Data",
761
- "type": "bool",
762
- "value_allowed_null": true
763
- },
764
- {
765
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
766
- "member": "string",
767
- "name": "RequestId",
768
- "type": "string"
769
- }
770
- ],
771
- "type": "object"
772
- },
773
- "DescribeWorkspaceNameExistRequest": {
774
- "document": "DescribeWorkspaceNameExist请求参数结构体",
775
- "members": [
776
- {
777
- "disabled": false,
778
- "document": "用户所属组",
779
- "example": "cloudstudio-devops",
780
- "member": "string",
781
- "name": "CloudStudioSessionTeam",
782
- "required": true,
783
- "type": "string"
784
- },
785
- {
786
- "disabled": false,
787
- "document": "工作空间名称",
788
- "example": "Go2-kubsff",
789
- "member": "string",
790
- "name": "Name",
791
- "required": true,
792
- "type": "string"
793
- },
794
- {
795
- "disabled": false,
796
- "document": "工作空间ID",
797
- "example": "xxx",
798
- "member": "string",
799
- "name": "WorkspaceId",
800
- "required": false,
801
- "type": "string"
802
- }
803
- ],
804
- "type": "object"
805
- },
806
- "DescribeWorkspaceNameExistResponse": {
807
- "document": "DescribeWorkspaceNameExist返回参数结构体",
808
- "members": [
809
- {
810
- "disabled": false,
811
- "document": "工作空间信息\n注意:此字段可能返回 null,表示取不到有效值。",
812
- "example": "无",
813
- "member": "WorkspaceInfoDTO",
814
- "name": "Data",
815
- "type": "object",
816
- "value_allowed_null": true
817
- },
818
- {
819
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
820
- "member": "string",
821
- "name": "RequestId",
822
- "type": "string"
823
- }
824
- ],
825
- "type": "object"
826
- },
827
- "DescribeWorkspaceStatusListRequest": {
828
- "document": "DescribeWorkspaceStatusList请求参数结构体",
829
- "members": [
830
- {
831
- "disabled": false,
832
- "document": "xxx",
833
- "example": "xxx",
834
- "member": "string",
835
- "name": "CloudStudioSessionTeam",
836
- "required": true,
837
- "type": "string"
838
- }
839
- ],
840
- "type": "object"
841
- },
842
- "DescribeWorkspaceStatusListResponse": {
843
- "document": "DescribeWorkspaceStatusList返回参数结构体",
844
- "members": [
845
- {
846
- "disabled": false,
847
- "document": "xxx\n注意:此字段可能返回 null,表示取不到有效值。",
848
- "example": "xxx",
849
- "member": "WorkspaceStatusInfo",
850
- "name": "Data",
851
- "required": true,
852
- "type": "list",
853
- "value_allowed_null": true
854
- },
855
- {
856
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
857
- "member": "string",
858
- "name": "RequestId",
859
- "type": "string"
860
- }
861
- ],
862
- "type": "object"
863
- },
864
- "DescribeWorkspaceStatusRequest": {
865
- "document": "DescribeWorkspaceStatus请求参数结构体",
866
- "members": [
867
- {
868
- "disabled": false,
869
- "document": "用户所属组",
870
- "example": "cloudstudio-devops",
871
- "member": "string",
872
- "name": "CloudStudioSessionTeam",
873
- "required": true,
874
- "type": "string"
875
- },
876
- {
877
- "disabled": false,
878
- "document": "空间标识",
879
- "example": "xxx",
880
- "member": "string",
881
- "name": "SpaceKey",
882
- "required": true,
883
- "type": "string"
884
- }
885
- ],
886
- "type": "object"
887
- },
888
- "DescribeWorkspaceStatusResponse": {
889
- "document": "DescribeWorkspaceStatus返回参数结构体",
890
- "members": [
891
- {
892
- "disabled": false,
893
- "document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
894
- "example": "无",
895
- "member": "WorkspaceStatusInfo",
896
- "name": "Data",
897
- "required": true,
898
- "type": "object",
899
- "value_allowed_null": true
900
- },
901
- {
902
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
903
- "member": "string",
904
- "name": "RequestId",
905
- "type": "string"
906
- }
907
- ],
908
- "type": "object"
909
- },
910
- "ImageUserDTO": {
911
- "document": "可用镜像模板列表",
912
- "members": [
913
- {
914
- "disabled": false,
915
- "document": "镜像模板ID",
916
- "example": "46749",
917
- "member": "string",
918
- "name": "Id",
919
- "required": true,
920
- "type": "string",
921
- "value_allowed_null": false
922
- },
923
- {
924
- "disabled": false,
925
- "document": "镜像模板名称",
926
- "example": "All in One",
927
- "member": "string",
928
- "name": "Name",
929
- "required": true,
930
- "type": "string",
931
- "value_allowed_null": false
932
- },
933
- {
934
- "disabled": false,
935
- "document": "Tag时间",
936
- "example": "2022.2.1",
937
- "member": "string",
938
- "name": "Tag",
939
- "required": true,
940
- "type": "string",
941
- "value_allowed_null": false
942
- },
943
- {
944
- "disabled": false,
945
- "document": "描述",
946
- "example": "支持 Java、Go、Python 等多种语言",
947
- "member": "string",
948
- "name": "Description",
949
- "required": true,
950
- "type": "string",
951
- "value_allowed_null": false
952
- },
953
- {
954
- "disabled": false,
955
- "document": "中文描述",
956
- "example": "支持 Java、Go、Python 等多种语言",
957
- "member": "string",
958
- "name": "DescriptionCN",
959
- "required": true,
960
- "type": "string",
961
- "value_allowed_null": false
962
- },
963
- {
964
- "disabled": false,
965
- "document": "图标地址",
966
- "example": "https://cs-res.codehub.cn/workspace/assets/icons/all-in-one.svg",
967
- "member": "string",
968
- "name": "IconUrl",
969
- "required": true,
970
- "type": "string",
971
- "value_allowed_null": false
972
- },
973
- {
974
- "disabled": false,
975
- "document": "创建人",
976
- "example": "admin",
977
- "member": "string",
978
- "name": "Author",
979
- "required": true,
980
- "type": "string",
981
- "value_allowed_null": false
982
- },
983
- {
984
- "disabled": false,
985
- "document": "访问状态",
986
- "example": "PUBLIC",
987
- "member": "string",
988
- "name": "Visible",
989
- "required": true,
990
- "type": "string",
991
- "value_allowed_null": false
992
- },
993
- {
994
- "disabled": false,
995
- "document": "版本",
996
- "example": "2",
997
- "member": "int64",
998
- "name": "WorkspaceVersion",
999
- "required": true,
1000
- "type": "int",
1001
- "value_allowed_null": false
1002
- },
1003
- {
1004
- "disabled": false,
1005
- "document": "分类",
1006
- "example": "99999",
1007
- "member": "int64",
1008
- "name": "Sort",
1009
- "required": true,
1010
- "type": "int",
1011
- "value_allowed_null": false
1012
- }
1013
- ],
1014
- "usage": "out"
1015
- },
1016
- "ModifyCustomizeTemplateVersionControlRequest": {
1017
- "document": "ModifyCustomizeTemplateVersionControl请求参数结构体",
1018
- "members": [
1019
- {
1020
- "disabled": false,
1021
- "document": "用户所属组",
1022
- "example": "cloudstudio-devops",
1023
- "member": "string",
1024
- "name": "CloudStudioSessionTeam",
1025
- "required": true,
1026
- "type": "string"
1027
- },
1028
- {
1029
- "disabled": false,
1030
- "document": "模板ID",
1031
- "example": "1",
1032
- "member": "int64",
1033
- "name": "TemplateId",
1034
- "required": true,
1035
- "type": "int"
1036
- },
1037
- {
1038
- "disabled": false,
1039
- "document": "仓库地址",
1040
- "example": "xxx",
1041
- "member": "string",
1042
- "name": "Url",
1043
- "required": false,
1044
- "type": "string"
1045
- },
1046
- {
1047
- "disabled": false,
1048
- "document": "代码仓库分支/标签",
1049
- "example": "xxx",
1050
- "member": "string",
1051
- "name": "Ref",
1052
- "required": false,
1053
- "type": "string"
1054
- },
1055
- {
1056
- "disabled": false,
1057
- "document": "代码仓库 ref 类型",
1058
- "example": "xxx",
1059
- "member": "string",
1060
- "name": "RefType",
1061
- "required": false,
1062
- "type": "string"
1063
- }
1064
- ],
1065
- "type": "object"
1066
- },
1067
- "ModifyCustomizeTemplateVersionControlResponse": {
1068
- "document": "ModifyCustomizeTemplateVersionControl返回参数结构体",
1069
- "members": [
1070
- {
1071
- "disabled": false,
1072
- "document": "无\n注意:此字段可能返回 null,表示取不到有效值。",
1073
- "example": "无",
1074
- "member": "WorkspaceTemplateInfo",
1075
- "name": "Data",
1076
- "required": true,
1077
- "type": "object",
1078
- "value_allowed_null": true
1079
- },
1080
- {
1081
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
1082
- "member": "string",
1083
- "name": "RequestId",
1084
- "type": "string"
1085
- }
1086
- ],
1087
- "type": "object"
1088
- },
1089
- "ModifyCustomizeTemplatesFullByIdRequest": {
1090
- "document": "ModifyCustomizeTemplatesFullById请求参数结构体",
1091
- "members": [
1092
- {
1093
- "disabled": false,
1094
- "document": "用户所属组",
1095
- "example": "cloudstudio-devops",
1096
- "member": "string",
1097
- "name": "CloudStudioSessionTeam",
1098
- "required": true,
1099
- "type": "string"
1100
- },
1101
- {
1102
- "disabled": false,
1103
- "document": "模板ID",
1104
- "example": "xxx",
1105
- "member": "int64",
1106
- "name": "Id",
1107
- "required": true,
1108
- "type": "int"
1109
- },
1110
- {
1111
- "disabled": false,
1112
- "document": "自定义模板参数",
1113
- "example": "无",
1114
- "member": "UserDefinedTemplateParams",
1115
- "name": "UserDefinedTemplateParams",
1116
- "required": true,
1117
- "type": "object"
1118
- }
1119
- ],
1120
- "type": "object"
1121
- },
1122
- "ModifyCustomizeTemplatesFullByIdResponse": {
1123
- "document": "ModifyCustomizeTemplatesFullById返回参数结构体",
1124
- "members": [
1125
- {
1126
- "disabled": false,
1127
- "document": "自定义模板返回值",
1128
- "example": "无",
1129
- "member": "WorkspaceTemplateInfo",
1130
- "name": "Data",
1131
- "required": true,
1132
- "type": "object",
1133
- "value_allowed_null": false
1134
- },
1135
- {
1136
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
1137
- "member": "string",
1138
- "name": "RequestId",
1139
- "type": "string"
1140
- }
1141
- ],
1142
- "type": "object"
1143
- },
1144
- "ModifyCustomizeTemplatesPartByIdRequest": {
1145
- "document": "ModifyCustomizeTemplatesPartById请求参数结构体",
1146
- "members": [
1147
- {
1148
- "disabled": false,
1149
- "document": "用户所属组",
1150
- "example": "cloudstudio-devops",
1151
- "member": "string",
1152
- "name": "CloudStudioSessionTeam",
1153
- "required": true,
1154
- "type": "string"
1155
- },
1156
- {
1157
- "disabled": false,
1158
- "document": "模板ID",
1159
- "example": "xxx",
1160
- "member": "int64",
1161
- "name": "Id",
1162
- "required": true,
1163
- "type": "int"
1164
- },
1165
- {
1166
- "disabled": false,
1167
- "document": "自定义模板Patched参数",
1168
- "example": "无",
1169
- "member": "UserDefinedTemplatePatchedParams",
1170
- "name": "UserDefinedTemplatePatchedParams",
1171
- "required": true,
1172
- "type": "object"
1173
- }
1174
- ],
1175
- "type": "object"
1176
- },
1177
- "ModifyCustomizeTemplatesPartByIdResponse": {
1178
- "document": "ModifyCustomizeTemplatesPartById返回参数结构体",
1179
- "members": [
1180
- {
1181
- "disabled": false,
1182
- "document": "自定义模板返回值",
1183
- "example": "无",
1184
- "member": "WorkspaceTemplateInfo",
1185
- "name": "Data",
1186
- "required": true,
1187
- "type": "object",
1188
- "value_allowed_null": false
1189
- },
1190
- {
1191
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
1192
- "member": "string",
1193
- "name": "RequestId",
1194
- "type": "string"
1195
- }
1196
- ],
1197
- "type": "object"
1198
- },
1199
- "ModifyWorkspaceAttributesRequest": {
1200
- "document": "ModifyWorkspaceAttributes请求参数结构体",
1201
- "members": [
1202
- {
1203
- "disabled": false,
1204
- "document": "用户所属组",
1205
- "example": "cloudstudio-devops",
1206
- "member": "string",
1207
- "name": "CloudStudioSessionTeam",
1208
- "required": true,
1209
- "type": "string"
1210
- },
1211
- {
1212
- "disabled": false,
1213
- "document": "工作空间ID",
1214
- "example": "xxx",
1215
- "member": "int64",
1216
- "name": "WorkspaceId",
1217
- "required": true,
1218
- "type": "int"
1219
- },
1220
- {
1221
- "disabled": false,
1222
- "document": "工作空间名称",
1223
- "example": "xxx",
1224
- "member": "string",
1225
- "name": "Name",
1226
- "required": false,
1227
- "type": "string"
1228
- },
1229
- {
1230
- "disabled": false,
1231
- "document": "工作空间描述",
1232
- "example": "xxx",
1233
- "member": "string",
1234
- "name": "Description",
1235
- "required": false,
1236
- "type": "string"
1237
- },
1238
- {
1239
- "disabled": false,
1240
- "document": "xxx",
1241
- "example": "xxx",
1242
- "member": "int64",
1243
- "name": "PriceId",
1244
- "required": false,
1245
- "type": "int"
1246
- }
1247
- ],
1248
- "type": "object"
1249
- },
1250
- "ModifyWorkspaceAttributesResponse": {
1251
- "document": "ModifyWorkspaceAttributes返回参数结构体",
1252
- "members": [
1253
- {
1254
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
1255
- "member": "string",
1256
- "name": "RequestId",
1257
- "type": "string"
1258
- }
1259
- ],
1260
- "type": "object"
1261
- },
1262
- "RecoverWorkspaceRequest": {
1263
- "document": "RecoverWorkspace请求参数结构体",
1264
- "members": [
1265
- {
1266
- "disabled": false,
1267
- "document": "无",
1268
- "example": "cloudstudio-devops",
1269
- "member": "string",
1270
- "name": "CloudStudioSessionTeam",
1271
- "required": true,
1272
- "type": "string"
1273
- },
1274
- {
1275
- "disabled": false,
1276
- "document": "无",
1277
- "example": "xxx",
1278
- "member": "string",
1279
- "name": "SpaceKey",
1280
- "required": true,
1281
- "type": "string"
1282
- }
1283
- ],
1284
- "type": "object"
1285
- },
1286
- "RecoverWorkspaceResponse": {
1287
- "document": "RecoverWorkspace返回参数结构体",
1288
- "members": [
1289
- {
1290
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
1291
- "member": "string",
1292
- "name": "RequestId",
1293
- "type": "string"
1294
- }
1295
- ],
1296
- "type": "object"
1297
- },
1298
- "RemoveWorkspaceRequest": {
1299
- "document": "RemoveWorkspace请求参数结构体",
1300
- "members": [
1301
- {
1302
- "disabled": false,
1303
- "document": "无",
1304
- "example": "cloudstudio-devops",
1305
- "member": "string",
1306
- "name": "CloudStudioSessionTeam",
1307
- "required": true,
1308
- "type": "string"
1309
- },
1310
- {
1311
- "disabled": false,
1312
- "document": "无",
1313
- "example": "xxx",
1314
- "member": "string",
1315
- "name": "SpaceKey",
1316
- "required": true,
1317
- "type": "string"
1318
- },
1319
- {
1320
- "disabled": false,
1321
- "document": "是否强制,true或者false",
1322
- "example": "xxx",
1323
- "member": "bool",
1324
- "name": "Force",
1325
- "required": false,
1326
- "type": "bool"
1327
- }
1328
- ],
1329
- "type": "object"
1330
- },
1331
- "RemoveWorkspaceResponse": {
1332
- "document": "RemoveWorkspace返回参数结构体",
1333
- "members": [
1334
- {
1335
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
1336
- "member": "string",
1337
- "name": "RequestId",
1338
- "type": "string"
1339
- }
1340
- ],
1341
- "type": "object"
1342
- },
1343
- "RunWorkspaceRequest": {
1344
- "document": "RunWorkspace请求参数结构体",
1345
- "members": [
1346
- {
1347
- "disabled": false,
1348
- "document": "空间标识",
1349
- "example": "xx",
1350
- "member": "string",
1351
- "name": "SpaceKey",
1352
- "required": true,
1353
- "type": "string"
1354
- },
1355
- {
1356
- "disabled": false,
1357
- "document": "用户所属组",
1358
- "example": "xxx",
1359
- "member": "string",
1360
- "name": "CloudStudioSessionTeam",
1361
- "required": true,
1362
- "type": "string"
1363
- }
1364
- ],
1365
- "type": "object"
1366
- },
1367
- "RunWorkspaceResponse": {
1368
- "document": "RunWorkspace返回参数结构体",
1369
- "members": [
1370
- {
1371
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
1372
- "member": "string",
1373
- "name": "RequestId",
1374
- "type": "string"
1375
- }
1376
- ],
1377
- "type": "object"
1378
- },
1379
- "StopWorkspaceRequest": {
1380
- "document": "StopWorkspace请求参数结构体",
1381
- "members": [
1382
- {
1383
- "disabled": false,
1384
- "document": "空间标识",
1385
- "example": "xxx",
1386
- "member": "string",
1387
- "name": "SpaceKey",
1388
- "required": true,
1389
- "type": "string"
1390
- },
1391
- {
1392
- "disabled": false,
1393
- "document": "用户所属组",
1394
- "example": "xxxx",
1395
- "member": "string",
1396
- "name": "CloudStudioSessionTeam",
1397
- "required": true,
1398
- "type": "string"
1399
- },
1400
- {
1401
- "disabled": false,
1402
- "document": "是否强制终止,true或者false",
1403
- "example": "true",
1404
- "member": "string",
1405
- "name": "Force",
1406
- "required": false,
1407
- "type": "string"
1408
- }
1409
- ],
1410
- "type": "object"
1411
- },
1412
- "StopWorkspaceResponse": {
1413
- "document": "StopWorkspace返回参数结构体",
1414
- "members": [
1415
- {
1416
- "document": "唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。",
1417
- "member": "string",
1418
- "name": "RequestId",
1419
- "type": "string"
1420
- }
1421
- ],
1422
- "type": "object"
1423
- },
1424
- "UserDefinedTemplateParams": {
1425
- "document": "用户自定义模板参数",
1426
- "members": [
1427
- {
1428
- "disabled": false,
1429
- "document": "模板名称\n注意:此字段可能返回 null,表示取不到有效值。",
1430
- "example": "https://cs-res.codehub.cn/vscode/go.svg",
1431
- "member": "string",
1432
- "name": "Name",
1433
- "required": true,
1434
- "type": "string",
1435
- "value_allowed_null": true
1436
- },
1437
- {
1438
- "disabled": false,
1439
- "document": "模板图标地址\n注意:此字段可能返回 null,表示取不到有效值。",
1440
- "example": "Go 1.16.7",
1441
- "member": "string",
1442
- "name": "Icon",
1443
- "required": true,
1444
- "type": "string",
1445
- "value_allowed_null": true
1446
- },
1447
- {
1448
- "disabled": false,
1449
- "document": "模板标签列表\n注意:此字段可能返回 null,表示取不到有效值。",
1450
- "example": "Go",
1451
- "member": "string",
1452
- "name": "Tags",
1453
- "required": true,
1454
- "type": "list",
1455
- "value_allowed_null": true
1456
- },
1457
- {
1458
- "disabled": false,
1459
- "document": "模板来源\n注意:此字段可能返回 null,表示取不到有效值。",
1460
- "example": "jqfcxx",
1461
- "member": "string",
1462
- "name": "Source",
1463
- "required": true,
1464
- "type": "string",
1465
- "value_allowed_null": true
1466
- },
1467
- {
1468
- "disabled": false,
1469
- "document": "模板描述\n注意:此字段可能返回 null,表示取不到有效值。",
1470
- "example": "123",
1471
- "member": "string",
1472
- "name": "Description",
1473
- "required": false,
1474
- "type": "string",
1475
- "value_allowed_null": true
1476
- },
1477
- {
1478
- "disabled": false,
1479
- "document": "模板仓库类型\n注意:此字段可能返回 null,表示取不到有效值。",
1480
- "example": "CUSTOM",
1481
- "member": "string",
1482
- "name": "VersionControlType",
1483
- "required": false,
1484
- "type": "string",
1485
- "value_allowed_null": true
1486
- },
1487
- {
1488
- "disabled": false,
1489
- "document": "模板地址\n注意:此字段可能返回 null,表示取不到有效值。",
1490
- "example": "null",
1491
- "member": "string",
1492
- "name": "VersionControlUrl",
1493
- "required": false,
1494
- "type": "string",
1495
- "value_allowed_null": true
1496
- }
1497
- ],
1498
- "usage": "both"
1499
- },
1500
- "UserDefinedTemplatePatchedParams": {
1501
- "document": "用户自定义模板Patched参数",
1502
- "members": [
1503
- {
1504
- "disabled": false,
1505
- "document": "模板来源\n注意:此字段可能返回 null,表示取不到有效值。",
1506
- "example": "jqfcxx",
1507
- "member": "string",
1508
- "name": "Source",
1509
- "required": true,
1510
- "type": "string",
1511
- "value_allowed_null": true
1512
- },
1513
- {
1514
- "disabled": false,
1515
- "document": "模板名称\n注意:此字段可能返回 null,表示取不到有效值。",
1516
- "example": "https://cs-res.codehub.cn/vscode/go.svg",
1517
- "member": "string",
1518
- "name": "Name",
1519
- "required": false,
1520
- "type": "string",
1521
- "value_allowed_null": true
1522
- },
1523
- {
1524
- "disabled": false,
1525
- "document": "模板图标地址\n注意:此字段可能返回 null,表示取不到有效值。",
1526
- "example": "Go 1.16.7",
1527
- "member": "string",
1528
- "name": "Icon",
1529
- "required": false,
1530
- "type": "string",
1531
- "value_allowed_null": true
1532
- },
1533
- {
1534
- "disabled": false,
1535
- "document": "模板描述\n注意:此字段可能返回 null,表示取不到有效值。",
1536
- "example": "123",
1537
- "member": "string",
1538
- "name": "Description",
1539
- "required": false,
1540
- "type": "string",
1541
- "value_allowed_null": true
1542
- },
1543
- {
1544
- "disabled": false,
1545
- "document": "模板标签列表\n注意:此字段可能返回 null,表示取不到有效值。",
1546
- "example": "Go",
1547
- "member": "string",
1548
- "name": "Tags",
1549
- "required": false,
1550
- "type": "list",
1551
- "value_allowed_null": true
1552
- }
1553
- ],
1554
- "usage": "both"
1555
- },
1556
- "UserInfoRsp": {
1557
- "document": "用户信息",
1558
- "members": [
1559
- {
1560
- "disabled": false,
1561
- "document": "用户ID",
1562
- "example": "xxx",
1563
- "member": "int64",
1564
- "name": "Id",
1565
- "required": true,
1566
- "type": "int",
1567
- "value_allowed_null": false
1568
- },
1569
- {
1570
- "disabled": false,
1571
- "document": "用户验证信息",
1572
- "example": "xxx",
1573
- "member": "UserSubInfo",
1574
- "name": "AuthenticationUserInfo",
1575
- "required": true,
1576
- "type": "object",
1577
- "value_allowed_null": false
1578
- },
1579
- {
1580
- "disabled": false,
1581
- "document": "头像地址\n注意:此字段可能返回 null,表示取不到有效值。",
1582
- "example": "xxx",
1583
- "member": "string",
1584
- "name": "Avatar",
1585
- "required": true,
1586
- "type": "string",
1587
- "value_allowed_null": true
1588
- },
1589
- {
1590
- "disabled": false,
1591
- "document": "介绍\n注意:此字段可能返回 null,表示取不到有效值。",
1592
- "example": "xxx",
1593
- "member": "string",
1594
- "name": "Features",
1595
- "required": true,
1596
- "type": "string",
1597
- "value_allowed_null": true
1598
- },
1599
- {
1600
- "disabled": false,
1601
- "document": "状况",
1602
- "example": "0",
1603
- "member": "int64",
1604
- "name": "PreviewStatus",
1605
- "required": true,
1606
- "type": "int",
1607
- "value_allowed_null": false
1608
- }
1609
- ],
1610
- "usage": "out"
1611
- },
1612
- "UserSubInfo": {
1613
- "document": "用户验证信息",
1614
- "members": [
1615
- {
1616
- "disabled": false,
1617
- "document": "团队名称",
1618
- "example": "programmer-frank",
1619
- "member": "string",
1620
- "name": "Team",
1621
- "required": true,
1622
- "type": "string",
1623
- "value_allowed_null": false
1624
- },
1625
- {
1626
- "disabled": false,
1627
- "document": "用户名",
1628
- "example": "cEbpeXHnQI",
1629
- "member": "string",
1630
- "name": "UserName",
1631
- "required": true,
1632
- "type": "string",
1633
- "value_allowed_null": false
1634
- },
1635
- {
1636
- "disabled": false,
1637
- "document": "昵称",
1638
- "example": "Programmer_frank",
1639
- "member": "string",
1640
- "name": "NickName",
1641
- "required": true,
1642
- "type": "string",
1643
- "value_allowed_null": false
1644
- },
1645
- {
1646
- "disabled": false,
1647
- "document": "是否为管理员",
1648
- "example": "false",
1649
- "member": "bool",
1650
- "name": "IsAdmin",
1651
- "required": true,
1652
- "type": "bool",
1653
- "value_allowed_null": false
1654
- },
1655
- {
1656
- "disabled": false,
1657
- "document": "xxx\n注意:此字段可能返回 null,表示取不到有效值。",
1658
- "example": "null",
1659
- "member": "bool",
1660
- "name": "IsTrial",
1661
- "required": true,
1662
- "type": "bool",
1663
- "value_allowed_null": true
1664
- }
1665
- ],
1666
- "usage": "out"
1667
- },
1668
- "WorkspaceDTO": {
1669
- "document": "工作空间结构",
1670
- "members": [
1671
- {
1672
- "disabled": false,
1673
- "document": "工作空间名称",
1674
- "example": "xxx",
1675
- "member": "string",
1676
- "name": "Name",
1677
- "required": true,
1678
- "type": "string",
1679
- "value_allowed_null": false
1680
- },
1681
- {
1682
- "disabled": false,
1683
- "document": "代码来源类型",
1684
- "example": "xxx",
1685
- "member": "string",
1686
- "name": "VersionControlType",
1687
- "required": true,
1688
- "type": "string",
1689
- "value_allowed_null": false
1690
- },
1691
- {
1692
- "disabled": false,
1693
- "document": "镜像id",
1694
- "example": "xxx",
1695
- "member": "int64",
1696
- "name": "ImageId",
1697
- "required": true,
1698
- "type": "int",
1699
- "value_allowed_null": false
1700
- },
1701
- {
1702
- "disabled": false,
1703
- "document": "镜像名称",
1704
- "example": "xxx",
1705
- "member": "string",
1706
- "name": "ImageName",
1707
- "required": true,
1708
- "type": "string",
1709
- "value_allowed_null": false
1710
- },
1711
- {
1712
- "disabled": false,
1713
- "document": "描述",
1714
- "example": "xxx",
1715
- "member": "string",
1716
- "name": "Description",
1717
- "required": true,
1718
- "type": "string",
1719
- "value_allowed_null": false
1720
- },
1721
- {
1722
- "disabled": false,
1723
- "document": "工作空间版本",
1724
- "example": "xxx",
1725
- "member": "int64",
1726
- "name": "WorkspaceVersion",
1727
- "required": true,
1728
- "type": "int",
1729
- "value_allowed_null": false
1730
- },
1731
- {
1732
- "disabled": false,
1733
- "document": "工作空间资源结构",
1734
- "example": "xxx",
1735
- "member": "WorkspaceResourceDTO",
1736
- "name": "WorkspaceResourceDTO",
1737
- "required": true,
1738
- "type": "object",
1739
- "value_allowed_null": false
1740
- },
1741
- {
1742
- "disabled": false,
1743
- "document": "代码仓库地址",
1744
- "example": "xxx",
1745
- "member": "string",
1746
- "name": "VersionControlUrl",
1747
- "required": false,
1748
- "type": "string",
1749
- "value_allowed_null": false
1750
- },
1751
- {
1752
- "disabled": false,
1753
- "document": "代码Ref是分支还是标签",
1754
- "example": "xxx",
1755
- "member": "string",
1756
- "name": "VersionControlRef",
1757
- "required": false,
1758
- "type": "string",
1759
- "value_allowed_null": false
1760
- },
1761
- {
1762
- "disabled": false,
1763
- "document": "代码Ref地址",
1764
- "example": "xxx",
1765
- "member": "string",
1766
- "name": "VersionControlRefType",
1767
- "required": false,
1768
- "type": "string",
1769
- "value_allowed_null": false
1770
- },
1771
- {
1772
- "disabled": false,
1773
- "document": "快照Uid",
1774
- "example": "xxx",
1775
- "member": "string",
1776
- "name": "SnapshotUid",
1777
- "required": false,
1778
- "type": "string",
1779
- "value_allowed_null": false
1780
- },
1781
- {
1782
- "disabled": false,
1783
- "document": "模板id",
1784
- "example": "xxx",
1785
- "member": "int64",
1786
- "name": "TemplateId",
1787
- "required": false,
1788
- "type": "int",
1789
- "value_allowed_null": false
1790
- },
1791
- {
1792
- "disabled": false,
1793
- "document": "价格id",
1794
- "example": "xxx",
1795
- "member": "int64",
1796
- "name": "PriceId",
1797
- "required": false,
1798
- "type": "int",
1799
- "value_allowed_null": false
1800
- },
1801
- {
1802
- "disabled": false,
1803
- "document": "初始化状态",
1804
- "example": "xxx",
1805
- "member": "int64",
1806
- "name": "InitializeStatus",
1807
- "required": false,
1808
- "type": "int",
1809
- "value_allowed_null": false
1810
- },
1811
- {
1812
- "disabled": false,
1813
- "document": "描述",
1814
- "example": "xxx",
1815
- "member": "string",
1816
- "name": "VersionControlDesc",
1817
- "required": false,
1818
- "type": "string",
1819
- "value_allowed_null": false
1820
- }
1821
- ],
1822
- "usage": "in"
1823
- },
1824
- "WorkspaceInfo": {
1825
- "document": "工作空间信息",
1826
- "members": [
1827
- {
1828
- "disabled": false,
1829
- "document": "工作空间ID\n注意:此字段可能返回 null,表示取不到有效值。",
1830
- "example": "xxx",
1831
- "member": "int64",
1832
- "name": "WorkspaceId",
1833
- "required": true,
1834
- "type": "int",
1835
- "value_allowed_null": true
1836
- },
1837
- {
1838
- "disabled": false,
1839
- "document": "工作空间标识\n注意:此字段可能返回 null,表示取不到有效值。",
1840
- "example": "xxx",
1841
- "member": "string",
1842
- "name": "SpaceKey",
1843
- "required": true,
1844
- "type": "string",
1845
- "value_allowed_null": true
1846
- },
1847
- {
1848
- "disabled": false,
1849
- "document": "工作空间名称\n注意:此字段可能返回 null,表示取不到有效值。",
1850
- "example": "workspace_name",
1851
- "member": "string",
1852
- "name": "Name",
1853
- "required": false,
1854
- "type": "string",
1855
- "value_allowed_null": true
1856
- }
1857
- ],
1858
- "usage": "out"
1859
- },
1860
- "WorkspaceInfoDTO": {
1861
- "document": "工作空间基本信息描述",
1862
- "members": [
1863
- {
1864
- "disabled": false,
1865
- "document": "工作空间创建时间",
1866
- "example": "null",
1867
- "member": "string",
1868
- "name": "CreateDate",
1869
- "required": true,
1870
- "type": "string",
1871
- "value_allowed_null": false
1872
- },
1873
- {
1874
- "disabled": false,
1875
- "document": "空间key",
1876
- "example": "null",
1877
- "member": "string",
1878
- "name": "SpaceKey",
1879
- "required": true,
1880
- "type": "string",
1881
- "value_allowed_null": false
1882
- },
1883
- {
1884
- "disabled": false,
1885
- "document": "工作空间id",
1886
- "example": "null",
1887
- "member": "int64",
1888
- "name": "WorkspaceId",
1889
- "required": true,
1890
- "type": "int",
1891
- "value_allowed_null": false
1892
- }
1893
- ],
1894
- "usage": "out"
1895
- },
1896
- "WorkspaceResourceDTO": {
1897
- "document": "工作空间资源结构",
1898
- "members": [
1899
- {
1900
- "disabled": false,
1901
- "document": "CPU核心数",
1902
- "example": "0",
1903
- "member": "uint64",
1904
- "name": "CpuCoreNumber",
1905
- "required": true,
1906
- "type": "int",
1907
- "value_allowed_null": false
1908
- },
1909
- {
1910
- "disabled": false,
1911
- "document": "一般内存",
1912
- "example": "0",
1913
- "member": "uint64",
1914
- "name": "NormalMemory",
1915
- "required": true,
1916
- "type": "int",
1917
- "value_allowed_null": false
1918
- },
1919
- {
1920
- "disabled": false,
1921
- "document": "系统存储",
1922
- "example": "0",
1923
- "member": "uint64",
1924
- "name": "SystemStorage",
1925
- "required": true,
1926
- "type": "int",
1927
- "value_allowed_null": false
1928
- },
1929
- {
1930
- "disabled": false,
1931
- "document": "用户存储",
1932
- "example": "0",
1933
- "member": "uint64",
1934
- "name": "UserStorage",
1935
- "required": true,
1936
- "type": "int",
1937
- "value_allowed_null": false
1938
- },
1939
- {
1940
- "disabled": false,
1941
- "document": "GPU数",
1942
- "example": "0",
1943
- "member": "uint64",
1944
- "name": "GpuNumber",
1945
- "required": true,
1946
- "type": "int",
1947
- "value_allowed_null": false
1948
- },
1949
- {
1950
- "disabled": false,
1951
- "document": "GPU内存",
1952
- "example": "0",
1953
- "member": "uint64",
1954
- "name": "GpuMemory",
1955
- "required": true,
1956
- "type": "int",
1957
- "value_allowed_null": false
1958
- }
1959
- ],
1960
- "usage": "in"
1961
- },
1962
- "WorkspaceShareInfo": {
1963
- "document": "用户空间共享信息",
1964
- "members": [
1965
- {
1966
- "disabled": false,
1967
- "document": "共享或不共享状态",
1968
- "example": "false",
1969
- "member": "bool",
1970
- "name": "Status",
1971
- "required": true,
1972
- "type": "bool",
1973
- "value_allowed_null": false
1974
- },
1975
- {
1976
- "disabled": false,
1977
- "document": "是否与我共享\n注意:此字段可能返回 null,表示取不到有效值。",
1978
- "example": "false",
1979
- "member": "bool",
1980
- "name": "WithMe",
1981
- "required": true,
1982
- "type": "bool",
1983
- "value_allowed_null": true
1984
- },
1985
- {
1986
- "disabled": false,
1987
- "document": "开始共享的时间\n注意:此字段可能返回 null,表示取不到有效值。",
1988
- "example": "null",
1989
- "member": "string",
1990
- "name": "BeginDate",
1991
- "required": true,
1992
- "type": "string",
1993
- "value_allowed_null": true
1994
- },
1995
- {
1996
- "disabled": false,
1997
- "document": "停止共享的时间\n注意:此字段可能返回 null,表示取不到有效值。",
1998
- "example": "null",
1999
- "member": "string",
2000
- "name": "EndDate",
2001
- "required": true,
2002
- "type": "string",
2003
- "value_allowed_null": true
2004
- },
2005
- {
2006
- "disabled": false,
2007
- "document": "停止共享的时间",
2008
- "example": "[]",
2009
- "member": "UserInfoRsp",
2010
- "name": "Users",
2011
- "required": true,
2012
- "type": "list",
2013
- "value_allowed_null": false
2014
- }
2015
- ],
2016
- "usage": "out"
2017
- },
2018
- "WorkspaceStatusInfo": {
2019
- "document": "获取用户工作空间返回信息",
2020
- "members": [
2021
- {
2022
- "disabled": false,
2023
- "document": "空间ID",
2024
- "example": "xxx",
2025
- "member": "int64",
2026
- "name": "Id",
2027
- "required": true,
2028
- "type": "int",
2029
- "value_allowed_null": false
2030
- },
2031
- {
2032
- "disabled": false,
2033
- "document": "空间名称",
2034
- "example": "xxx",
2035
- "member": "string",
2036
- "name": "Name",
2037
- "required": true,
2038
- "type": "string",
2039
- "value_allowed_null": false
2040
- },
2041
- {
2042
- "disabled": false,
2043
- "document": "所属人",
2044
- "example": "xxx",
2045
- "member": "UserInfoRsp",
2046
- "name": "Owner",
2047
- "required": true,
2048
- "type": "object",
2049
- "value_allowed_null": false
2050
- },
2051
- {
2052
- "disabled": false,
2053
- "document": "空间标识",
2054
- "example": "xxx",
2055
- "member": "string",
2056
- "name": "SpaceKey",
2057
- "required": true,
2058
- "type": "string",
2059
- "value_allowed_null": false
2060
- },
2061
- {
2062
- "disabled": false,
2063
- "document": "状态",
2064
- "example": "xxx",
2065
- "member": "string",
2066
- "name": "Status",
2067
- "required": true,
2068
- "type": "string",
2069
- "value_allowed_null": false
2070
- },
2071
- {
2072
- "disabled": false,
2073
- "document": "最后操作时间\n注意:此字段可能返回 null,表示取不到有效值。",
2074
- "example": "xxx",
2075
- "member": "string",
2076
- "name": "LastOpsDate",
2077
- "required": true,
2078
- "type": "string",
2079
- "value_allowed_null": true
2080
- },
2081
- {
2082
- "disabled": false,
2083
- "document": "描述\n注意:此字段可能返回 null,表示取不到有效值。",
2084
- "example": "xxx",
2085
- "member": "string",
2086
- "name": "Description",
2087
- "required": true,
2088
- "type": "string",
2089
- "value_allowed_null": true
2090
- },
2091
- {
2092
- "disabled": false,
2093
- "document": "共享状态",
2094
- "example": "xxx",
2095
- "member": "WorkspaceShareInfo",
2096
- "name": "Share",
2097
- "required": true,
2098
- "type": "object",
2099
- "value_allowed_null": false
2100
- },
2101
- {
2102
- "disabled": false,
2103
- "document": "空间类型",
2104
- "example": "xxx",
2105
- "member": "string",
2106
- "name": "WorkspaceType",
2107
- "required": true,
2108
- "type": "string",
2109
- "value_allowed_null": false
2110
- },
2111
- {
2112
- "disabled": false,
2113
- "document": "标签\n注意:此字段可能返回 null,表示取不到有效值。",
2114
- "example": "xxx",
2115
- "member": "string",
2116
- "name": "Label",
2117
- "required": true,
2118
- "type": "string",
2119
- "value_allowed_null": true
2120
- },
2121
- {
2122
- "disabled": false,
2123
- "document": "空间版本",
2124
- "example": "xxx",
2125
- "member": "int64",
2126
- "name": "WorkspaceVersion",
2127
- "required": true,
2128
- "type": "int",
2129
- "value_allowed_null": false
2130
- },
2131
- {
2132
- "disabled": false,
2133
- "document": "图标地址",
2134
- "example": "xxx",
2135
- "member": "string",
2136
- "name": "ImageIcon",
2137
- "required": true,
2138
- "type": "string",
2139
- "value_allowed_null": false
2140
- },
2141
- {
2142
- "disabled": false,
2143
- "document": "创建时间\n注意:此字段可能返回 null,表示取不到有效值。",
2144
- "example": "xxx",
2145
- "member": "string",
2146
- "name": "CreateDate",
2147
- "required": true,
2148
- "type": "string",
2149
- "value_allowed_null": true
2150
- },
2151
- {
2152
- "disabled": false,
2153
- "document": "版本控制地址\n注意:此字段可能返回 null,表示取不到有效值。",
2154
- "example": "xxx",
2155
- "member": "string",
2156
- "name": "VersionControlUrl",
2157
- "required": true,
2158
- "type": "string",
2159
- "value_allowed_null": true
2160
- },
2161
- {
2162
- "disabled": false,
2163
- "document": "版本控制描述\n注意:此字段可能返回 null,表示取不到有效值。",
2164
- "example": "xxx",
2165
- "member": "string",
2166
- "name": "VersionControlDesc",
2167
- "required": true,
2168
- "type": "string",
2169
- "value_allowed_null": true
2170
- },
2171
- {
2172
- "disabled": false,
2173
- "document": "版本控制引用\n注意:此字段可能返回 null,表示取不到有效值。",
2174
- "example": "xxx",
2175
- "member": "string",
2176
- "name": "VersionControlRef",
2177
- "required": true,
2178
- "type": "string",
2179
- "value_allowed_null": true
2180
- },
2181
- {
2182
- "disabled": false,
2183
- "document": "版本控制引用类型\n注意:此字段可能返回 null,表示取不到有效值。",
2184
- "example": "xxx",
2185
- "member": "string",
2186
- "name": "VersionControlRefType",
2187
- "required": true,
2188
- "type": "string",
2189
- "value_allowed_null": true
2190
- },
2191
- {
2192
- "disabled": false,
2193
- "document": "版本控制类型",
2194
- "example": "xxx",
2195
- "member": "string",
2196
- "name": "VersionControlType",
2197
- "required": true,
2198
- "type": "string",
2199
- "value_allowed_null": false
2200
- },
2201
- {
2202
- "disabled": false,
2203
- "document": "模板ID\n注意:此字段可能返回 null,表示取不到有效值。",
2204
- "example": "xxx",
2205
- "member": "int64",
2206
- "name": "TemplateId",
2207
- "required": true,
2208
- "type": "int",
2209
- "value_allowed_null": true
2210
- },
2211
- {
2212
- "disabled": false,
2213
- "document": "快照ID\n注意:此字段可能返回 null,表示取不到有效值。",
2214
- "example": "xxx",
2215
- "member": "string",
2216
- "name": "SnapshotUid",
2217
- "required": true,
2218
- "type": "string",
2219
- "value_allowed_null": true
2220
- },
2221
- {
2222
- "disabled": false,
2223
- "document": "类型\n注意:此字段可能返回 null,表示取不到有效值。",
2224
- "example": "xxx",
2225
- "member": "string",
2226
- "name": "SpecDesc",
2227
- "required": true,
2228
- "type": "string",
2229
- "value_allowed_null": true
2230
- },
2231
- {
2232
- "disabled": false,
2233
- "document": "CPU数量\n注意:此字段可能返回 null,表示取不到有效值。",
2234
- "example": "xxx",
2235
- "member": "int64",
2236
- "name": "Cpu",
2237
- "required": true,
2238
- "type": "int",
2239
- "value_allowed_null": true
2240
- },
2241
- {
2242
- "disabled": false,
2243
- "document": "内存\n注意:此字段可能返回 null,表示取不到有效值。",
2244
- "example": "xxx",
2245
- "member": "int64",
2246
- "name": "Memory",
2247
- "required": true,
2248
- "type": "int",
2249
- "value_allowed_null": true
2250
- }
2251
- ],
2252
- "usage": "out"
2253
- },
2254
- "WorkspaceTemplateInfo": {
2255
- "document": "工作空间模板信息",
2256
- "members": [
2257
- {
2258
- "disabled": false,
2259
- "document": "模板ID",
2260
- "example": "xxx",
2261
- "member": "int64",
2262
- "name": "Id",
2263
- "required": true,
2264
- "type": "int",
2265
- "value_allowed_null": false
2266
- },
2267
- {
2268
- "disabled": false,
2269
- "document": "模板分类",
2270
- "example": "xxx",
2271
- "member": "string",
2272
- "name": "Category",
2273
- "required": true,
2274
- "type": "string",
2275
- "value_allowed_null": false
2276
- },
2277
- {
2278
- "disabled": false,
2279
- "document": "模板名称",
2280
- "example": "xxx",
2281
- "member": "string",
2282
- "name": "Name",
2283
- "required": true,
2284
- "type": "string",
2285
- "value_allowed_null": false
2286
- },
2287
- {
2288
- "disabled": false,
2289
- "document": "模板描述\n注意:此字段可能返回 null,表示取不到有效值。",
2290
- "example": "xxx",
2291
- "member": "string",
2292
- "name": "Description",
2293
- "required": true,
2294
- "type": "string",
2295
- "value_allowed_null": true
2296
- },
2297
- {
2298
- "disabled": false,
2299
- "document": "中文描述\n注意:此字段可能返回 null,表示取不到有效值。",
2300
- "example": "xxx",
2301
- "member": "string",
2302
- "name": "DescriptionEN",
2303
- "required": true,
2304
- "type": "string",
2305
- "value_allowed_null": true
2306
- },
2307
- {
2308
- "disabled": false,
2309
- "document": "模板标签\n注意:此字段可能返回 null,表示取不到有效值。",
2310
- "example": "xxx",
2311
- "member": "string",
2312
- "name": "Tags",
2313
- "required": true,
2314
- "type": "string",
2315
- "value_allowed_null": true
2316
- },
2317
- {
2318
- "disabled": false,
2319
- "document": "模板图标地址\n注意:此字段可能返回 null,表示取不到有效值。",
2320
- "example": "xxx",
2321
- "member": "string",
2322
- "name": "Icon",
2323
- "required": true,
2324
- "type": "string",
2325
- "value_allowed_null": true
2326
- },
2327
- {
2328
- "disabled": false,
2329
- "document": "默认仓库类型\n注意:此字段可能返回 null,表示取不到有效值。",
2330
- "example": "xxx",
2331
- "member": "string",
2332
- "name": "VersionControlType",
2333
- "required": true,
2334
- "type": "string",
2335
- "value_allowed_null": true
2336
- },
2337
- {
2338
- "disabled": false,
2339
- "document": "默认仓库地址\n注意:此字段可能返回 null,表示取不到有效值。",
2340
- "example": "xxx",
2341
- "member": "string",
2342
- "name": "VersionControlUrl",
2343
- "required": true,
2344
- "type": "string",
2345
- "value_allowed_null": true
2346
- },
2347
- {
2348
- "disabled": false,
2349
- "document": "默认仓库描述\n注意:此字段可能返回 null,表示取不到有效值。",
2350
- "example": "xxx",
2351
- "member": "string",
2352
- "name": "VersionControlDesc",
2353
- "required": true,
2354
- "type": "string",
2355
- "value_allowed_null": true
2356
- },
2357
- {
2358
- "disabled": false,
2359
- "document": "默认仓库所属人\n注意:此字段可能返回 null,表示取不到有效值。",
2360
- "example": "xxx",
2361
- "member": "string",
2362
- "name": "VersionControlOwner",
2363
- "required": true,
2364
- "type": "string",
2365
- "value_allowed_null": true
2366
- },
2367
- {
2368
- "disabled": false,
2369
- "document": "默认仓库引用地址\n注意:此字段可能返回 null,表示取不到有效值。",
2370
- "example": "xxx",
2371
- "member": "string",
2372
- "name": "VersionControlRef",
2373
- "required": true,
2374
- "type": "string",
2375
- "value_allowed_null": true
2376
- },
2377
- {
2378
- "disabled": false,
2379
- "document": "默认仓库引用类型\n注意:此字段可能返回 null,表示取不到有效值。",
2380
- "example": "xxx",
2381
- "member": "string",
2382
- "name": "VersionControlRefType",
2383
- "required": true,
2384
- "type": "string",
2385
- "value_allowed_null": true
2386
- },
2387
- {
2388
- "disabled": false,
2389
- "document": "用户自定义仓库地址\n注意:此字段可能返回 null,表示取不到有效值。",
2390
- "example": "xxx",
2391
- "member": "string",
2392
- "name": "UserVersionControlUrl",
2393
- "required": true,
2394
- "type": "string",
2395
- "value_allowed_null": true
2396
- },
2397
- {
2398
- "disabled": false,
2399
- "document": "用户自定义仓库类型\n注意:此字段可能返回 null,表示取不到有效值。",
2400
- "example": "xxx",
2401
- "member": "string",
2402
- "name": "UserVersionControlType",
2403
- "required": true,
2404
- "type": "string",
2405
- "value_allowed_null": true
2406
- },
2407
- {
2408
- "disabled": false,
2409
- "document": "用户自定义仓库引用\n注意:此字段可能返回 null,表示取不到有效值。",
2410
- "example": "xxx",
2411
- "member": "string",
2412
- "name": "UserVersionControlRef",
2413
- "required": true,
2414
- "type": "string",
2415
- "value_allowed_null": true
2416
- },
2417
- {
2418
- "disabled": false,
2419
- "document": "用户自定义仓库引用类型\n注意:此字段可能返回 null,表示取不到有效值。",
2420
- "example": "xxx",
2421
- "member": "string",
2422
- "name": "UserVersionControlRefType",
2423
- "required": true,
2424
- "type": "string",
2425
- "value_allowed_null": true
2426
- },
2427
- {
2428
- "disabled": false,
2429
- "document": "xxx\n注意:此字段可能返回 null,表示取不到有效值。",
2430
- "example": "xxx",
2431
- "member": "string",
2432
- "name": "DevFile",
2433
- "required": true,
2434
- "type": "string",
2435
- "value_allowed_null": true
2436
- },
2437
- {
2438
- "disabled": false,
2439
- "document": "xxx\n注意:此字段可能返回 null,表示取不到有效值。",
2440
- "example": "xxx",
2441
- "member": "string",
2442
- "name": "PluginFile",
2443
- "required": true,
2444
- "type": "string",
2445
- "value_allowed_null": true
2446
- },
2447
- {
2448
- "disabled": false,
2449
- "document": "是否标记",
2450
- "example": "xxx",
2451
- "member": "bool",
2452
- "name": "Marked",
2453
- "required": true,
2454
- "type": "bool",
2455
- "value_allowed_null": false
2456
- },
2457
- {
2458
- "disabled": false,
2459
- "document": "标记状态",
2460
- "example": "xxx",
2461
- "member": "int64",
2462
- "name": "MarkAt",
2463
- "required": true,
2464
- "type": "int",
2465
- "value_allowed_null": false
2466
- },
2467
- {
2468
- "disabled": false,
2469
- "document": "创建时间",
2470
- "example": "xxx",
2471
- "member": "string",
2472
- "name": "CreateDate",
2473
- "required": true,
2474
- "type": "string",
2475
- "value_allowed_null": false
2476
- },
2477
- {
2478
- "disabled": false,
2479
- "document": "最后修改时间\n注意:此字段可能返回 null,表示取不到有效值。",
2480
- "example": "xxx",
2481
- "member": "string",
2482
- "name": "LastModified",
2483
- "required": true,
2484
- "type": "string",
2485
- "value_allowed_null": true
2486
- },
2487
- {
2488
- "disabled": false,
2489
- "document": "编号",
2490
- "example": "xxx",
2491
- "member": "int64",
2492
- "name": "Sort",
2493
- "required": true,
2494
- "type": "int",
2495
- "value_allowed_null": false
2496
- },
2497
- {
2498
- "disabled": false,
2499
- "document": "xxx\n注意:此字段可能返回 null,表示取不到有效值。",
2500
- "example": "xxx",
2501
- "member": "string",
2502
- "name": "SnapshotUid",
2503
- "required": true,
2504
- "type": "string",
2505
- "value_allowed_null": true
2506
- },
2507
- {
2508
- "disabled": false,
2509
- "document": "用户ID\n注意:此字段可能返回 null,表示取不到有效值。",
2510
- "example": "xxx",
2511
- "member": "int64",
2512
- "name": "UserId",
2513
- "required": true,
2514
- "type": "int",
2515
- "value_allowed_null": true
2516
- },
2517
- {
2518
- "disabled": false,
2519
- "document": "用户名\n注意:此字段可能返回 null,表示取不到有效值。",
2520
- "example": "xxx",
2521
- "member": "string",
2522
- "name": "Author",
2523
- "required": true,
2524
- "type": "string",
2525
- "value_allowed_null": true
2526
- },
2527
- {
2528
- "disabled": false,
2529
- "document": "是否属于当前用户",
2530
- "example": "xxx",
2531
- "member": "bool",
2532
- "name": "Me",
2533
- "required": true,
2534
- "type": "bool",
2535
- "value_allowed_null": false
2536
- },
2537
- {
2538
- "disabled": false,
2539
- "document": "xxx\n注意:此字段可能返回 null,表示取不到有效值。",
2540
- "example": "xxx",
2541
- "member": "string",
2542
- "name": "AuthorAvatar",
2543
- "required": true,
2544
- "type": "string",
2545
- "value_allowed_null": true
2546
- }
2547
- ],
2548
- "usage": "out"
2549
- },
2550
- "WorkspaceTokenDTO": {
2551
- "document": "创建临时工作空间凭证 DTO",
2552
- "members": [
2553
- {
2554
- "disabled": false,
2555
- "document": "工作空间 SpaceKey",
2556
- "example": "knhwex",
2557
- "member": "string",
2558
- "name": "SpaceKey",
2559
- "required": false,
2560
- "type": "string",
2561
- "value_allowed_null": true
2562
- },
2563
- {
2564
- "disabled": false,
2565
- "document": "token过期时间,单位是秒,默认 3600",
2566
- "example": "3600",
2567
- "member": "uint64",
2568
- "name": "TokenExpiredLimitSec",
2569
- "required": false,
2570
- "type": "int",
2571
- "value_allowed_null": true
2572
- }
2573
- ],
2574
- "usage": "in"
2575
- },
2576
- "WorkspaceTokenInfoV0": {
2577
- "document": "获取工作空间临时访问 token 出参",
2578
- "members": [
2579
- {
2580
- "disabled": false,
2581
- "document": "访问工作空间临时凭证",
2582
- "example": "83c99d6a03aa94f5e7bbfb4eded0de0b1153f44d05126d34b5f36e8343eca973",
2583
- "member": "string",
2584
- "name": "Token",
2585
- "required": true,
2586
- "type": "string",
2587
- "value_allowed_null": false
2588
- },
2589
- {
2590
- "disabled": false,
2591
- "document": "token 过期时间\n注意:此字段可能返回 null,表示取不到有效值。",
2592
- "example": "2023-02-13T12:33:48 GMT+08:00",
2593
- "member": "string",
2594
- "name": "ExpiredTime",
2595
- "required": true,
2596
- "type": "string",
2597
- "value_allowed_null": true
2598
- }
2599
- ],
2600
- "usage": "out"
2601
- }
2602
- },
2603
- "version": "1.0"
2604
- }