tencentcloud-sdk-nodejs 4.0.443 → 4.0.445

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/CHANGELOG.md +226 -0
  2. package/SERVICE_CHANGELOG.md +229 -247
  3. package/package.json +1 -1
  4. package/products.md +14 -13
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/acp/v20220105/acp_models.ts +21 -1
  7. package/src/services/bma/v20210624/bma_models.ts +11 -11
  8. package/src/services/cdn/v20180606/cdn_client.ts +1 -0
  9. package/src/services/cdn/v20180606/cdn_models.ts +20 -0
  10. package/src/services/ckafka/v20190819/ckafka_client.ts +7 -2
  11. package/src/services/ckafka/v20190819/ckafka_models.ts +306 -62
  12. package/src/services/cloudstudio/index.ts +5 -0
  13. package/src/services/cloudstudio/v20210524/cloudstudio_client.ts +286 -0
  14. package/src/services/cloudstudio/v20210524/cloudstudio_models.ts +1404 -0
  15. package/src/services/cloudstudio/v20210524/index.ts +6 -0
  16. package/src/services/ess/v20201111/ess_client.ts +2 -2
  17. package/src/services/ess/v20201111/ess_models.ts +2 -2
  18. package/src/services/essbasic/v20210526/essbasic_models.ts +9 -9
  19. package/src/services/iai/v20180301/iai_models.ts +1 -1
  20. package/src/services/iai/v20200303/iai_models.ts +1 -1
  21. package/src/services/index.ts +1 -0
  22. package/src/services/mongodb/v20190725/mongodb_models.ts +6 -5
  23. package/src/services/ms/v20180408/ms_models.ts +1 -1
  24. package/src/services/privatedns/v20201028/privatedns_models.ts +6 -0
  25. package/src/services/pts/v20210728/pts_client.ts +1 -0
  26. package/src/services/pts/v20210728/pts_models.ts +173 -2
  27. package/src/services/redis/v20180412/redis_models.ts +3 -3
  28. package/tencentcloud/common/sdk_version.d.ts +1 -1
  29. package/tencentcloud/common/sdk_version.js +1 -1
  30. package/tencentcloud/services/acp/v20220105/acp_models.d.ts +17 -1
  31. package/tencentcloud/services/bma/v20210624/bma_models.d.ts +11 -11
  32. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +17 -0
  33. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +1 -1
  34. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +254 -49
  35. package/tencentcloud/services/cloudstudio/index.d.ts +6 -0
  36. package/tencentcloud/services/cloudstudio/index.js +7 -0
  37. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.d.ts +91 -0
  38. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_client.js +152 -0
  39. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.d.ts +1178 -0
  40. package/tencentcloud/services/cloudstudio/v20210524/cloudstudio_models.js +18 -0
  41. package/tencentcloud/services/cloudstudio/v20210524/index.d.ts +6 -0
  42. package/tencentcloud/services/cloudstudio/v20210524/index.js +9 -0
  43. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +2 -2
  44. package/tencentcloud/services/ess/v20201111/ess_client.js +2 -2
  45. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -2
  46. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +8 -8
  47. package/tencentcloud/services/iai/v20180301/iai_models.d.ts +1 -1
  48. package/tencentcloud/services/iai/v20200303/iai_models.d.ts +1 -1
  49. package/tencentcloud/services/index.d.ts +1 -0
  50. package/tencentcloud/services/index.js +2 -0
  51. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +5 -4
  52. package/tencentcloud/services/ms/v20180408/ms_models.d.ts +1 -1
  53. package/tencentcloud/services/privatedns/v20201028/privatedns_models.d.ts +5 -0
  54. package/tencentcloud/services/pts/v20210728/pts_models.d.ts +143 -0
  55. package/tencentcloud/services/redis/v20180412/redis_models.d.ts +3 -3
  56. package/test/cloudstudio.v20210524.test.js +221 -0
@@ -0,0 +1,1404 @@
1
+ /*
2
+ * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing,
11
+ * software distributed under the License is distributed on an
12
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
13
+ * KIND, either express or implied. See the License for the
14
+ * specific language governing permissions and limitations
15
+ * under the License.
16
+ */
17
+
18
+ /**
19
+ * 用户自定义模板Patched参数
20
+ */
21
+ export interface UserDefinedTemplatePatchedParams {
22
+ /**
23
+ * 模板来源
24
+ 注意:此字段可能返回 null,表示取不到有效值。
25
+ */
26
+ Source: string
27
+
28
+ /**
29
+ * 模板名称
30
+ 注意:此字段可能返回 null,表示取不到有效值。
31
+ */
32
+ Name?: string
33
+
34
+ /**
35
+ * 模板图标地址
36
+ 注意:此字段可能返回 null,表示取不到有效值。
37
+ */
38
+ Icon?: string
39
+
40
+ /**
41
+ * 模板描述
42
+ 注意:此字段可能返回 null,表示取不到有效值。
43
+ */
44
+ Description?: string
45
+
46
+ /**
47
+ * 模板标签列表
48
+ 注意:此字段可能返回 null,表示取不到有效值。
49
+ */
50
+ Tags?: Array<string>
51
+ }
52
+
53
+ /**
54
+ * 工作空间基本信息描述
55
+ */
56
+ export interface WorkspaceInfoDTO {
57
+ /**
58
+ * 工作空间创建时间
59
+ */
60
+ CreateDate: string
61
+
62
+ /**
63
+ * 空间key
64
+ */
65
+ SpaceKey: string
66
+
67
+ /**
68
+ * 工作空间id
69
+ */
70
+ WorkspaceId: number
71
+ }
72
+
73
+ /**
74
+ * RecoverWorkspace返回参数结构体
75
+ */
76
+ export interface RecoverWorkspaceResponse {
77
+ /**
78
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
79
+ */
80
+ RequestId?: string
81
+ }
82
+
83
+ /**
84
+ * DescribeWorkspaceStatus请求参数结构体
85
+ */
86
+ export interface DescribeWorkspaceStatusRequest {
87
+ /**
88
+ * 用户所属组
89
+ */
90
+ CloudStudioSessionTeam: string
91
+
92
+ /**
93
+ * 空间标识
94
+ */
95
+ SpaceKey: string
96
+ }
97
+
98
+ /**
99
+ * CreateCustomizeTemplates请求参数结构体
100
+ */
101
+ export interface CreateCustomizeTemplatesRequest {
102
+ /**
103
+ * 用户所属组
104
+ */
105
+ CloudStudioSessionTeam: string
106
+
107
+ /**
108
+ * 无
109
+ */
110
+ UserDefinedTemplateParams: UserDefinedTemplateParams
111
+ }
112
+
113
+ /**
114
+ * RecoverWorkspace请求参数结构体
115
+ */
116
+ export interface RecoverWorkspaceRequest {
117
+ /**
118
+ * 无
119
+ */
120
+ CloudStudioSessionTeam: string
121
+
122
+ /**
123
+ * 无
124
+ */
125
+ SpaceKey: string
126
+ }
127
+
128
+ /**
129
+ * DescribeCustomizeTemplatesById请求参数结构体
130
+ */
131
+ export interface DescribeCustomizeTemplatesByIdRequest {
132
+ /**
133
+ * 用户所属组
134
+ */
135
+ CloudStudioSessionTeam: string
136
+
137
+ /**
138
+ * 模板ID
139
+ */
140
+ Id: number
141
+ }
142
+
143
+ /**
144
+ * CreateWorkspaceByVersionControl请求参数结构体
145
+ */
146
+ export interface CreateWorkspaceByVersionControlRequest {
147
+ /**
148
+ * 工作空间结构
149
+ */
150
+ WorkspaceDTO: WorkspaceDTO
151
+
152
+ /**
153
+ * 用户所属组
154
+ */
155
+ CloudStudioSessionTeam: string
156
+ }
157
+
158
+ /**
159
+ * ModifyCustomizeTemplateVersionControl请求参数结构体
160
+ */
161
+ export interface ModifyCustomizeTemplateVersionControlRequest {
162
+ /**
163
+ * 用户所属组
164
+ */
165
+ CloudStudioSessionTeam: string
166
+
167
+ /**
168
+ * 模版ID
169
+ */
170
+ TemplateId: number
171
+
172
+ /**
173
+ * 仓库地址
174
+ */
175
+ Url?: string
176
+
177
+ /**
178
+ * 代码仓库分支/标签
179
+ */
180
+ Ref?: string
181
+
182
+ /**
183
+ * 代码仓库 ref 类型
184
+ */
185
+ RefType?: string
186
+ }
187
+
188
+ /**
189
+ * 工作空间资源结构
190
+ */
191
+ export interface WorkspaceResourceDTO {
192
+ /**
193
+ * CPU核心数
194
+ */
195
+ CpuCoreNumber: number
196
+
197
+ /**
198
+ * 一般内存
199
+ */
200
+ NormalMemory: number
201
+
202
+ /**
203
+ * 系统存储
204
+ */
205
+ SystemStorage: number
206
+
207
+ /**
208
+ * 用户存储
209
+ */
210
+ UserStorage: number
211
+
212
+ /**
213
+ * GPU数
214
+ */
215
+ GpuNumber: number
216
+
217
+ /**
218
+ * GPU内存
219
+ */
220
+ GpuMemory: number
221
+ }
222
+
223
+ /**
224
+ * CreateCustomizeTemplates返回参数结构体
225
+ */
226
+ export interface CreateCustomizeTemplatesResponse {
227
+ /**
228
+ * 无
229
+ 注意:此字段可能返回 null,表示取不到有效值。
230
+ */
231
+ Data: WorkspaceTemplateInfo
232
+
233
+ /**
234
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
235
+ */
236
+ RequestId?: string
237
+ }
238
+
239
+ /**
240
+ * 可用镜像模板列表
241
+ */
242
+ export interface ImageUserDTO {
243
+ /**
244
+ * 镜像模板ID
245
+ */
246
+ Id: string
247
+
248
+ /**
249
+ * 镜像模板名称
250
+ */
251
+ Name: string
252
+
253
+ /**
254
+ * Tag时间
255
+ */
256
+ Tag: string
257
+
258
+ /**
259
+ * 描述
260
+ */
261
+ Description: string
262
+
263
+ /**
264
+ * 中文描述
265
+ */
266
+ DescriptionCN: string
267
+
268
+ /**
269
+ * 图标地址
270
+ */
271
+ IconUrl: string
272
+
273
+ /**
274
+ * 创建人
275
+ */
276
+ Author: string
277
+
278
+ /**
279
+ * 访问状态
280
+ */
281
+ Visible: string
282
+
283
+ /**
284
+ * 版本
285
+ */
286
+ WorkspaceVersion: number
287
+
288
+ /**
289
+ * 分类
290
+ */
291
+ Sort: number
292
+ }
293
+
294
+ /**
295
+ * RunWorkspace请求参数结构体
296
+ */
297
+ export interface RunWorkspaceRequest {
298
+ /**
299
+ * 空间标识
300
+ */
301
+ SpaceKey: string
302
+
303
+ /**
304
+ * 用户所属组
305
+ */
306
+ CloudStudioSessionTeam: string
307
+ }
308
+
309
+ /**
310
+ * DescribeWorkspaceStatus返回参数结构体
311
+ */
312
+ export interface DescribeWorkspaceStatusResponse {
313
+ /**
314
+ * 无
315
+ 注意:此字段可能返回 null,表示取不到有效值。
316
+ */
317
+ Data: WorkspaceStatusInfo
318
+
319
+ /**
320
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
321
+ */
322
+ RequestId?: string
323
+ }
324
+
325
+ /**
326
+ * CreateWorkspaceByAgent请求参数结构体
327
+ */
328
+ export interface CreateWorkspaceByAgentRequest {
329
+ /**
330
+ * 无
331
+ */
332
+ CloudStudioSessionTeam: string
333
+
334
+ /**
335
+ * 无
336
+ */
337
+ AgentSpaceDTO: AgentSpaceDTO
338
+ }
339
+
340
+ /**
341
+ * DeleteCustomizeTemplatesById请求参数结构体
342
+ */
343
+ export interface DeleteCustomizeTemplatesByIdRequest {
344
+ /**
345
+ * 用户所属组
346
+ */
347
+ CloudStudioSessionTeam: string
348
+
349
+ /**
350
+ * 模板ID
351
+ */
352
+ Id: number
353
+ }
354
+
355
+ /**
356
+ * StopWorkspace请求参数结构体
357
+ */
358
+ export interface StopWorkspaceRequest {
359
+ /**
360
+ * 空间标识
361
+ */
362
+ SpaceKey: string
363
+
364
+ /**
365
+ * 用户所属组
366
+ */
367
+ CloudStudioSessionTeam: string
368
+
369
+ /**
370
+ * 是否强制终止,true或者false
371
+ */
372
+ Force?: string
373
+ }
374
+
375
+ /**
376
+ * DescribeWorkspaceEnvList返回参数结构体
377
+ */
378
+ export interface DescribeWorkspaceEnvListResponse {
379
+ /**
380
+ * 无
381
+ 注意:此字段可能返回 null,表示取不到有效值。
382
+ */
383
+ Data: Array<ImageUserDTO>
384
+
385
+ /**
386
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
387
+ */
388
+ RequestId?: string
389
+ }
390
+
391
+ /**
392
+ * 用户空间共享信息
393
+ */
394
+ export interface WorkspaceShareInfo {
395
+ /**
396
+ * 共享或不共享状态
397
+ */
398
+ Status: boolean
399
+
400
+ /**
401
+ * 是否与我共享
402
+ 注意:此字段可能返回 null,表示取不到有效值。
403
+ */
404
+ WithMe: boolean
405
+
406
+ /**
407
+ * 开始共享的时间
408
+ 注意:此字段可能返回 null,表示取不到有效值。
409
+ */
410
+ BeginDate: string
411
+
412
+ /**
413
+ * 停止共享的时间
414
+ 注意:此字段可能返回 null,表示取不到有效值。
415
+ */
416
+ EndDate: string
417
+
418
+ /**
419
+ * 停止共享的时间
420
+ */
421
+ Users: Array<UserInfoRsp>
422
+ }
423
+
424
+ /**
425
+ * 工作空间模板信息
426
+ */
427
+ export interface WorkspaceTemplateInfo {
428
+ /**
429
+ * 模板ID
430
+ */
431
+ Id: number
432
+
433
+ /**
434
+ * 模板分类
435
+ */
436
+ Category: string
437
+
438
+ /**
439
+ * 模板名称
440
+ */
441
+ Name: string
442
+
443
+ /**
444
+ * 模板描述
445
+ 注意:此字段可能返回 null,表示取不到有效值。
446
+ */
447
+ Description: string
448
+
449
+ /**
450
+ * 中文描述
451
+ 注意:此字段可能返回 null,表示取不到有效值。
452
+ */
453
+ DescriptionEN: string
454
+
455
+ /**
456
+ * 模板标签
457
+ 注意:此字段可能返回 null,表示取不到有效值。
458
+ */
459
+ Tags: string
460
+
461
+ /**
462
+ * 模板图标地址
463
+ 注意:此字段可能返回 null,表示取不到有效值。
464
+ */
465
+ Icon: string
466
+
467
+ /**
468
+ * 默认仓库类型
469
+ 注意:此字段可能返回 null,表示取不到有效值。
470
+ */
471
+ VersionControlType: string
472
+
473
+ /**
474
+ * 默认仓库地址
475
+ 注意:此字段可能返回 null,表示取不到有效值。
476
+ */
477
+ VersionControlUrl: string
478
+
479
+ /**
480
+ * 默认仓库描述
481
+ 注意:此字段可能返回 null,表示取不到有效值。
482
+ */
483
+ VersionControlDesc: string
484
+
485
+ /**
486
+ * 默认仓库所属人
487
+ 注意:此字段可能返回 null,表示取不到有效值。
488
+ */
489
+ VersionControlOwner: string
490
+
491
+ /**
492
+ * 默认仓库引用地址
493
+ 注意:此字段可能返回 null,表示取不到有效值。
494
+ */
495
+ VersionControlRef: string
496
+
497
+ /**
498
+ * 默认仓库引用类型
499
+ 注意:此字段可能返回 null,表示取不到有效值。
500
+ */
501
+ VersionControlRefType: string
502
+
503
+ /**
504
+ * 用户自定义仓库地址
505
+ 注意:此字段可能返回 null,表示取不到有效值。
506
+ */
507
+ UserVersionControlUrl: string
508
+
509
+ /**
510
+ * 用户自定义仓库类型
511
+ 注意:此字段可能返回 null,表示取不到有效值。
512
+ */
513
+ UserVersionControlType: string
514
+
515
+ /**
516
+ * 用户自定义仓库引用
517
+ 注意:此字段可能返回 null,表示取不到有效值。
518
+ */
519
+ UserVersionControlRef: string
520
+
521
+ /**
522
+ * 用户自定义仓库引用类型
523
+ 注意:此字段可能返回 null,表示取不到有效值。
524
+ */
525
+ UserVersionControlRefType: string
526
+
527
+ /**
528
+ * xxx
529
+ 注意:此字段可能返回 null,表示取不到有效值。
530
+ */
531
+ DevFile: string
532
+
533
+ /**
534
+ * xxx
535
+ 注意:此字段可能返回 null,表示取不到有效值。
536
+ */
537
+ PluginFile: string
538
+
539
+ /**
540
+ * xxx
541
+ 注意:此字段可能返回 null,表示取不到有效值。
542
+ */
543
+ PrebuildFile: string
544
+
545
+ /**
546
+ * 是否标记
547
+ */
548
+ Marked: boolean
549
+
550
+ /**
551
+ * 标记状态
552
+ */
553
+ MarkAt: number
554
+
555
+ /**
556
+ * 创建时间
557
+ */
558
+ CreateDate: string
559
+
560
+ /**
561
+ * 最后修改时间
562
+ 注意:此字段可能返回 null,表示取不到有效值。
563
+ */
564
+ LastModified: string
565
+
566
+ /**
567
+ * 编号
568
+ */
569
+ Sort: number
570
+
571
+ /**
572
+ * xxx
573
+ 注意:此字段可能返回 null,表示取不到有效值。
574
+ */
575
+ SnapshotUid: string
576
+
577
+ /**
578
+ * 用户ID
579
+ 注意:此字段可能返回 null,表示取不到有效值。
580
+ */
581
+ UserId: number
582
+
583
+ /**
584
+ * 用户名
585
+ 注意:此字段可能返回 null,表示取不到有效值。
586
+ */
587
+ Author: string
588
+
589
+ /**
590
+ * 是否属于当前用户
591
+ */
592
+ Me: boolean
593
+
594
+ /**
595
+ * xxx
596
+ 注意:此字段可能返回 null,表示取不到有效值。
597
+ */
598
+ AuthorAvatar: string
599
+ }
600
+
601
+ /**
602
+ * 用户验证信息
603
+ */
604
+ export interface UserSubInfo {
605
+ /**
606
+ * 团队名称
607
+ */
608
+ Team: string
609
+
610
+ /**
611
+ * 用户名
612
+ */
613
+ UserName: string
614
+
615
+ /**
616
+ * 昵称
617
+ */
618
+ NickName: string
619
+
620
+ /**
621
+ * 是否为管理员
622
+ */
623
+ IsAdmin: boolean
624
+
625
+ /**
626
+ * xxx
627
+ 注意:此字段可能返回 null,表示取不到有效值。
628
+ */
629
+ IsTrial: boolean
630
+ }
631
+
632
+ /**
633
+ * DescribeWorkspaceStatusList返回参数结构体
634
+ */
635
+ export interface DescribeWorkspaceStatusListResponse {
636
+ /**
637
+ * xxx
638
+ 注意:此字段可能返回 null,表示取不到有效值。
639
+ */
640
+ Data: Array<WorkspaceStatusInfo>
641
+
642
+ /**
643
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
644
+ */
645
+ RequestId?: string
646
+ }
647
+
648
+ /**
649
+ * ModifyCustomizeTemplatesFullById请求参数结构体
650
+ */
651
+ export interface ModifyCustomizeTemplatesFullByIdRequest {
652
+ /**
653
+ * 用户所属组
654
+ */
655
+ CloudStudioSessionTeam: string
656
+
657
+ /**
658
+ * 模板ID
659
+ */
660
+ Id: number
661
+
662
+ /**
663
+ * 自定义模板参数
664
+ */
665
+ UserDefinedTemplateParams: UserDefinedTemplateParams
666
+ }
667
+
668
+ /**
669
+ * ModifyCustomizeTemplateVersionControl返回参数结构体
670
+ */
671
+ export interface ModifyCustomizeTemplateVersionControlResponse {
672
+ /**
673
+ * 无
674
+ 注意:此字段可能返回 null,表示取不到有效值。
675
+ */
676
+ Data: WorkspaceTemplateInfo
677
+
678
+ /**
679
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
680
+ */
681
+ RequestId?: string
682
+ }
683
+
684
+ /**
685
+ * 用户信息
686
+ */
687
+ export interface UserInfoRsp {
688
+ /**
689
+ * 用户ID
690
+ */
691
+ Id: number
692
+
693
+ /**
694
+ * 用户验证信息
695
+ */
696
+ AuthenticationUserInfo: UserSubInfo
697
+
698
+ /**
699
+ * 头像地址
700
+ 注意:此字段可能返回 null,表示取不到有效值。
701
+ */
702
+ Avatar: string
703
+
704
+ /**
705
+ * 介绍
706
+ 注意:此字段可能返回 null,表示取不到有效值。
707
+ */
708
+ Features: string
709
+
710
+ /**
711
+ * 状况
712
+ */
713
+ PreviewStatus: number
714
+ }
715
+
716
+ /**
717
+ * DescribeWorkspaceEnvList请求参数结构体
718
+ */
719
+ export interface DescribeWorkspaceEnvListRequest {
720
+ /**
721
+ * 用户所属组
722
+ */
723
+ CloudStudioSessionTeam: string
724
+ }
725
+
726
+ /**
727
+ * ModifyWorkspaceAttributes返回参数结构体
728
+ */
729
+ export interface ModifyWorkspaceAttributesResponse {
730
+ /**
731
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
732
+ */
733
+ RequestId?: string
734
+ }
735
+
736
+ /**
737
+ * DescribeCustomizeTemplatesPresets请求参数结构体
738
+ */
739
+ export interface DescribeCustomizeTemplatesPresetsRequest {
740
+ /**
741
+ * 用户所属组
742
+ */
743
+ CloudStudioSessionTeam: string
744
+
745
+ /**
746
+ * 空间标识
747
+ */
748
+ SpaceKey?: string
749
+ }
750
+
751
+ /**
752
+ * StopWorkspace返回参数结构体
753
+ */
754
+ export interface StopWorkspaceResponse {
755
+ /**
756
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
757
+ */
758
+ RequestId?: string
759
+ }
760
+
761
+ /**
762
+ * DescribeWorkspaceNameExist请求参数结构体
763
+ */
764
+ export interface DescribeWorkspaceNameExistRequest {
765
+ /**
766
+ * 用户所属组
767
+ */
768
+ CloudStudioSessionTeam: string
769
+
770
+ /**
771
+ * 工作空间名称
772
+ */
773
+ Name: string
774
+
775
+ /**
776
+ * 工作空间ID
777
+ */
778
+ WorkspaceId?: string
779
+ }
780
+
781
+ /**
782
+ * DescribeWorkspaceStatusList请求参数结构体
783
+ */
784
+ export interface DescribeWorkspaceStatusListRequest {
785
+ /**
786
+ * xxx
787
+ */
788
+ CloudStudioSessionTeam: string
789
+ }
790
+
791
+ /**
792
+ * RemoveWorkspace请求参数结构体
793
+ */
794
+ export interface RemoveWorkspaceRequest {
795
+ /**
796
+ * 无
797
+ */
798
+ CloudStudioSessionTeam: string
799
+
800
+ /**
801
+ * 无
802
+ */
803
+ SpaceKey: string
804
+
805
+ /**
806
+ * 是否强制,true或者false
807
+ */
808
+ Force?: boolean
809
+ }
810
+
811
+ /**
812
+ * DescribeCustomizeTemplates请求参数结构体
813
+ */
814
+ export interface DescribeCustomizeTemplatesRequest {
815
+ /**
816
+ * 用户所属组
817
+ */
818
+ CloudStudioSessionTeam: string
819
+ }
820
+
821
+ /**
822
+ * 模板的预置参数
823
+ */
824
+ export interface CustomizeTemplatesPresetsInfo {
825
+ /**
826
+ * 模板tag列表
827
+ 注意:此字段可能返回 null,表示取不到有效值。
828
+ */
829
+ Tags: Array<string>
830
+
831
+ /**
832
+ * 模板图标列表
833
+ 注意:此字段可能返回 null,表示取不到有效值。
834
+ */
835
+ Icons: Array<string>
836
+
837
+ /**
838
+ * 无
839
+ 注意:此字段可能返回 null,表示取不到有效值。
840
+ */
841
+ Templates: UserDefinedTemplateParams
842
+ }
843
+
844
+ /**
845
+ * RunWorkspace返回参数结构体
846
+ */
847
+ export interface RunWorkspaceResponse {
848
+ /**
849
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
850
+ */
851
+ RequestId?: string
852
+ }
853
+
854
+ /**
855
+ * DescribeCustomizeTemplatesById返回参数结构体
856
+ */
857
+ export interface DescribeCustomizeTemplatesByIdResponse {
858
+ /**
859
+ * 无
860
+ 注意:此字段可能返回 null,表示取不到有效值。
861
+ */
862
+ Data: WorkspaceTemplateInfo
863
+
864
+ /**
865
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
866
+ */
867
+ RequestId?: string
868
+ }
869
+
870
+ /**
871
+ * DescribeCustomizeTemplatesPresets返回参数结构体
872
+ */
873
+ export interface DescribeCustomizeTemplatesPresetsResponse {
874
+ /**
875
+ * 无
876
+ 注意:此字段可能返回 null,表示取不到有效值。
877
+ */
878
+ Data: CustomizeTemplatesPresetsInfo
879
+
880
+ /**
881
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
882
+ */
883
+ RequestId?: string
884
+ }
885
+
886
+ /**
887
+ * CreateWorkspaceByTemplate返回参数结构体
888
+ */
889
+ export interface CreateWorkspaceByTemplateResponse {
890
+ /**
891
+ * 创建工作空间返回的信息
892
+ */
893
+ Data: WorkspaceInfo
894
+
895
+ /**
896
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
897
+ */
898
+ RequestId?: string
899
+ }
900
+
901
+ /**
902
+ * CreateWorkspaceByAgent返回参数结构体
903
+ */
904
+ export interface CreateWorkspaceByAgentResponse {
905
+ /**
906
+ * 无
907
+ 注意:此字段可能返回 null,表示取不到有效值。
908
+ */
909
+ Data: WorkspaceInfoDTO
910
+
911
+ /**
912
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
913
+ */
914
+ RequestId?: string
915
+ }
916
+
917
+ /**
918
+ * 工作空间信息
919
+ */
920
+ export interface WorkspaceInfo {
921
+ /**
922
+ * 工作空间ID
923
+ 注意:此字段可能返回 null,表示取不到有效值。
924
+ */
925
+ WorkspaceId: number
926
+
927
+ /**
928
+ * 工作空间标识
929
+ 注意:此字段可能返回 null,表示取不到有效值。
930
+ */
931
+ SpaceKey: string
932
+ }
933
+
934
+ /**
935
+ * 工作空间结构
936
+ */
937
+ export interface WorkspaceDTO {
938
+ /**
939
+ * 工作空间名称
940
+ */
941
+ Name: string
942
+
943
+ /**
944
+ * 代码来源类型
945
+ */
946
+ VersionControlType: string
947
+
948
+ /**
949
+ * 镜像id
950
+ */
951
+ ImageId: number
952
+
953
+ /**
954
+ * 镜像名称
955
+ */
956
+ ImageName: string
957
+
958
+ /**
959
+ * 描述
960
+ */
961
+ Description: string
962
+
963
+ /**
964
+ * 工作空间版本
965
+ */
966
+ WorkspaceVersion: number
967
+
968
+ /**
969
+ * 工作空间资源结构
970
+ */
971
+ WorkspaceResourceDTO: WorkspaceResourceDTO
972
+
973
+ /**
974
+ * 代码仓库地址
975
+ */
976
+ VersionControlUrl?: string
977
+
978
+ /**
979
+ * 代码Ref是分支还是标签
980
+ */
981
+ VersionControlRef?: string
982
+
983
+ /**
984
+ * 代码Ref地址
985
+ */
986
+ VersionControlRefType?: string
987
+
988
+ /**
989
+ * 快照Uid
990
+ */
991
+ SnapshotUid?: string
992
+
993
+ /**
994
+ * 模板id
995
+ */
996
+ TemplateId?: number
997
+
998
+ /**
999
+ * 价格id
1000
+ */
1001
+ PriceId?: number
1002
+
1003
+ /**
1004
+ * 初始化状态
1005
+ */
1006
+ InitializeStatus?: number
1007
+
1008
+ /**
1009
+ * 描述
1010
+ */
1011
+ VersionControlDesc?: string
1012
+ }
1013
+
1014
+ /**
1015
+ * ModifyCustomizeTemplatesFullById返回参数结构体
1016
+ */
1017
+ export interface ModifyCustomizeTemplatesFullByIdResponse {
1018
+ /**
1019
+ * 自定义模板返回值
1020
+ */
1021
+ Data: WorkspaceTemplateInfo
1022
+
1023
+ /**
1024
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1025
+ */
1026
+ RequestId?: string
1027
+ }
1028
+
1029
+ /**
1030
+ * DescribeCustomizeTemplates返回参数结构体
1031
+ */
1032
+ export interface DescribeCustomizeTemplatesResponse {
1033
+ /**
1034
+ * 无
1035
+ 注意:此字段可能返回 null,表示取不到有效值。
1036
+ */
1037
+ Data: Array<WorkspaceTemplateInfo>
1038
+
1039
+ /**
1040
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1041
+ */
1042
+ RequestId?: string
1043
+ }
1044
+
1045
+ /**
1046
+ * CreateWorkspaceByVersionControl返回参数结构体
1047
+ */
1048
+ export interface CreateWorkspaceByVersionControlResponse {
1049
+ /**
1050
+ * 无
1051
+ 注意:此字段可能返回 null,表示取不到有效值。
1052
+ */
1053
+ Data: WorkspaceInfoDTO
1054
+
1055
+ /**
1056
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1057
+ */
1058
+ RequestId?: string
1059
+ }
1060
+
1061
+ /**
1062
+ * ModifyCustomizeTemplatesPartById请求参数结构体
1063
+ */
1064
+ export interface ModifyCustomizeTemplatesPartByIdRequest {
1065
+ /**
1066
+ * 用户所属组
1067
+ */
1068
+ CloudStudioSessionTeam: string
1069
+
1070
+ /**
1071
+ * 模板ID
1072
+ */
1073
+ Id: number
1074
+
1075
+ /**
1076
+ * 自定义模板Patched参数
1077
+ */
1078
+ UserDefinedTemplatePatchedParams: UserDefinedTemplatePatchedParams
1079
+ }
1080
+
1081
+ /**
1082
+ * 用户自定义模板参数
1083
+ */
1084
+ export interface UserDefinedTemplateParams {
1085
+ /**
1086
+ * 模板名称
1087
+ 注意:此字段可能返回 null,表示取不到有效值。
1088
+ */
1089
+ Name: string
1090
+
1091
+ /**
1092
+ * 模板图标地址
1093
+ 注意:此字段可能返回 null,表示取不到有效值。
1094
+ */
1095
+ Icon: string
1096
+
1097
+ /**
1098
+ * 模板标签列表
1099
+ 注意:此字段可能返回 null,表示取不到有效值。
1100
+ */
1101
+ Tags: Array<string>
1102
+
1103
+ /**
1104
+ * 模板来源
1105
+ 注意:此字段可能返回 null,表示取不到有效值。
1106
+ */
1107
+ Source: string
1108
+
1109
+ /**
1110
+ * 模板描述
1111
+ 注意:此字段可能返回 null,表示取不到有效值。
1112
+ */
1113
+ Description?: string
1114
+
1115
+ /**
1116
+ * 模板仓库类型
1117
+ 注意:此字段可能返回 null,表示取不到有效值。
1118
+ */
1119
+ VersionControlType?: string
1120
+
1121
+ /**
1122
+ * 模板地址
1123
+ 注意:此字段可能返回 null,表示取不到有效值。
1124
+ */
1125
+ VersionControlUrl?: string
1126
+ }
1127
+
1128
+ /**
1129
+ * DeleteCustomizeTemplatesById返回参数结构体
1130
+ */
1131
+ export interface DeleteCustomizeTemplatesByIdResponse {
1132
+ /**
1133
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1134
+ */
1135
+ RequestId?: string
1136
+ }
1137
+
1138
+ /**
1139
+ * 获取用户工作空间返回信息
1140
+ */
1141
+ export interface WorkspaceStatusInfo {
1142
+ /**
1143
+ * 空间ID
1144
+ */
1145
+ Id: number
1146
+
1147
+ /**
1148
+ * 空间名称
1149
+ */
1150
+ Name: string
1151
+
1152
+ /**
1153
+ * 所属人
1154
+ */
1155
+ Owner: UserInfoRsp
1156
+
1157
+ /**
1158
+ * 空间标识
1159
+ */
1160
+ SpaceKey: string
1161
+
1162
+ /**
1163
+ * 状态
1164
+ */
1165
+ Status: string
1166
+
1167
+ /**
1168
+ * 最后操作时间
1169
+ 注意:此字段可能返回 null,表示取不到有效值。
1170
+ */
1171
+ LastOpsDate: string
1172
+
1173
+ /**
1174
+ * 描述
1175
+ 注意:此字段可能返回 null,表示取不到有效值。
1176
+ */
1177
+ Description: string
1178
+
1179
+ /**
1180
+ * 共享状态
1181
+ */
1182
+ Share: WorkspaceShareInfo
1183
+
1184
+ /**
1185
+ * 空间类型
1186
+ */
1187
+ WorkspaceType: string
1188
+
1189
+ /**
1190
+ * 标签
1191
+ 注意:此字段可能返回 null,表示取不到有效值。
1192
+ */
1193
+ Label: string
1194
+
1195
+ /**
1196
+ * 空间版本
1197
+ */
1198
+ WorkspaceVersion: number
1199
+
1200
+ /**
1201
+ * 图标地址
1202
+ */
1203
+ ImageIcon: string
1204
+
1205
+ /**
1206
+ * 创建时间
1207
+ 注意:此字段可能返回 null,表示取不到有效值。
1208
+ */
1209
+ CreateDate: string
1210
+
1211
+ /**
1212
+ * 版本控制地址
1213
+ 注意:此字段可能返回 null,表示取不到有效值。
1214
+ */
1215
+ VersionControlUrl: string
1216
+
1217
+ /**
1218
+ * 版本控制描述
1219
+ 注意:此字段可能返回 null,表示取不到有效值。
1220
+ */
1221
+ VersionControlDesc: string
1222
+
1223
+ /**
1224
+ * 版本控制引用
1225
+ 注意:此字段可能返回 null,表示取不到有效值。
1226
+ */
1227
+ VersionControlRef: string
1228
+
1229
+ /**
1230
+ * 版本控制引用类型
1231
+ 注意:此字段可能返回 null,表示取不到有效值。
1232
+ */
1233
+ VersionControlRefType: string
1234
+
1235
+ /**
1236
+ * 版本控制类型
1237
+ */
1238
+ VersionControlType: string
1239
+
1240
+ /**
1241
+ * 模板ID
1242
+ 注意:此字段可能返回 null,表示取不到有效值。
1243
+ */
1244
+ TemplateId: number
1245
+
1246
+ /**
1247
+ * 快照ID
1248
+ 注意:此字段可能返回 null,表示取不到有效值。
1249
+ */
1250
+ SnapshotUid: string
1251
+
1252
+ /**
1253
+ * 类型
1254
+ 注意:此字段可能返回 null,表示取不到有效值。
1255
+ */
1256
+ SpecDesc: string
1257
+
1258
+ /**
1259
+ * CPU数量
1260
+ 注意:此字段可能返回 null,表示取不到有效值。
1261
+ */
1262
+ Cpu: number
1263
+
1264
+ /**
1265
+ * 内存
1266
+ 注意:此字段可能返回 null,表示取不到有效值。
1267
+ */
1268
+ Memory: number
1269
+ }
1270
+
1271
+ /**
1272
+ * RemoveWorkspace返回参数结构体
1273
+ */
1274
+ export interface RemoveWorkspaceResponse {
1275
+ /**
1276
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1277
+ */
1278
+ RequestId?: string
1279
+ }
1280
+
1281
+ /**
1282
+ * 云主机创建工作空间DTO
1283
+ */
1284
+ export interface AgentSpaceDTO {
1285
+ /**
1286
+ * 工作空间名称
1287
+ */
1288
+ Name: string
1289
+
1290
+ /**
1291
+ * 镜像id
1292
+ */
1293
+ ImageId: number
1294
+
1295
+ /**
1296
+ * 镜像名称
1297
+ */
1298
+ ImageName: string
1299
+
1300
+ /**
1301
+ * 云主机登录名称
1302
+ */
1303
+ RemoteUser: string
1304
+
1305
+ /**
1306
+ * 云主机登录地址
1307
+ */
1308
+ RemoteHost: string
1309
+
1310
+ /**
1311
+ * 云主机登录端口
1312
+ */
1313
+ RemotePort: string
1314
+
1315
+ /**
1316
+ * 工作空间类型
1317
+ */
1318
+ WorkspaceType: string
1319
+
1320
+ /**
1321
+ * 工作空间版本
1322
+ */
1323
+ WorkspaceVersion: number
1324
+
1325
+ /**
1326
+ * 工作空间资源结构
1327
+ */
1328
+ WorkspaceResourceDTO: WorkspaceResourceDTO
1329
+
1330
+ /**
1331
+ * 描述
1332
+ */
1333
+ Description?: string
1334
+ }
1335
+
1336
+ /**
1337
+ * DescribeWorkspaceNameExist返回参数结构体
1338
+ */
1339
+ export interface DescribeWorkspaceNameExistResponse {
1340
+ /**
1341
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1342
+ */
1343
+ RequestId?: string
1344
+ }
1345
+
1346
+ /**
1347
+ * CreateWorkspaceByTemplate请求参数结构体
1348
+ */
1349
+ export interface CreateWorkspaceByTemplateRequest {
1350
+ /**
1351
+ * 用户所属组
1352
+ */
1353
+ CloudStudioSessionTeam: string
1354
+
1355
+ /**
1356
+ * 模版ID
1357
+ */
1358
+ TemplateId: number
1359
+ }
1360
+
1361
+ /**
1362
+ * ModifyCustomizeTemplatesPartById返回参数结构体
1363
+ */
1364
+ export interface ModifyCustomizeTemplatesPartByIdResponse {
1365
+ /**
1366
+ * 自定义模板返回值
1367
+ */
1368
+ Data: WorkspaceTemplateInfo
1369
+
1370
+ /**
1371
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1372
+ */
1373
+ RequestId?: string
1374
+ }
1375
+
1376
+ /**
1377
+ * ModifyWorkspaceAttributes请求参数结构体
1378
+ */
1379
+ export interface ModifyWorkspaceAttributesRequest {
1380
+ /**
1381
+ * 用户所属组
1382
+ */
1383
+ CloudStudioSessionTeam: string
1384
+
1385
+ /**
1386
+ * 工作空间ID
1387
+ */
1388
+ WorkspaceId: number
1389
+
1390
+ /**
1391
+ * 工作空间名称
1392
+ */
1393
+ Name?: string
1394
+
1395
+ /**
1396
+ * 工作空间描述
1397
+ */
1398
+ Description?: string
1399
+
1400
+ /**
1401
+ * xxx
1402
+ */
1403
+ PriceId?: number
1404
+ }