tencentcloud-sdk-nodejs-tione 4.0.1054 → 4.1.8

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 (31) hide show
  1. package/README.md +27 -5
  2. package/es/index.js +1 -0
  3. package/es/services/index.js +1 -0
  4. package/es/services/tione/index.js +6 -0
  5. package/es/services/tione/v20191022/index.js +6 -0
  6. package/es/services/tione/v20191022/tione_client.js +72 -0
  7. package/es/services/tione/v20191022/tione_models.js +0 -0
  8. package/es/services/tione/v20211111/index.js +6 -0
  9. package/es/services/tione/v20211111/tione_client.js +135 -0
  10. package/es/services/tione/v20211111/tione_models.js +0 -0
  11. package/package.json +18 -5
  12. package/tencentcloud/services/tione/v20191022/index.js +2 -1
  13. package/tencentcloud/services/tione/v20191022/tione_client.js +2 -1
  14. package/tencentcloud/services/tione/v20211111/index.js +2 -1
  15. package/tencentcloud/services/tione/v20211111/tione_client.d.ts +21 -5
  16. package/tencentcloud/services/tione/v20211111/tione_client.js +32 -7
  17. package/tencentcloud/services/tione/v20211111/tione_models.d.ts +262 -71
  18. package/index.d.ts +0 -2
  19. package/index.js +0 -6
  20. package/prettier.config.js +0 -38
  21. package/src/index.ts +0 -1
  22. package/src/services/index.ts +0 -1
  23. package/src/services/tione/index.ts +0 -7
  24. package/src/services/tione/v20191022/index.ts +0 -6
  25. package/src/services/tione/v20191022/tione_client.ts +0 -315
  26. package/src/services/tione/v20191022/tione_models.ts +0 -1568
  27. package/src/services/tione/v20211111/index.ts +0 -6
  28. package/src/services/tione/v20211111/tione_client.ts +0 -581
  29. package/src/services/tione/v20211111/tione_models.ts +0 -5657
  30. package/tsconfig.json +0 -33
  31. package/typings/index.d.ts +0 -2
@@ -1,1568 +0,0 @@
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
- * 输出数据配置
20
- */
21
- export interface OutputDataConfig {
22
- /**
23
- * cos输出桶
24
- 注意:此字段可能返回 null,表示取不到有效值。
25
- */
26
- CosOutputBucket?: string
27
- /**
28
- * cos输出key前缀
29
- 注意:此字段可能返回 null,表示取不到有效值。
30
- */
31
- CosOutputKeyPrefix?: string
32
- /**
33
- * 文件系统输出,如果指定了文件系统,那么Cos输出会被忽略
34
- 注意:此字段可能返回 null,表示取不到有效值。
35
- */
36
- FileSystemDataSource?: FileSystemDataSource
37
- }
38
-
39
- /**
40
- * StopTrainingJob返回参数结构体
41
- */
42
- export interface StopTrainingJobResponse {
43
- /**
44
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
45
- */
46
- RequestId?: string
47
- }
48
-
49
- /**
50
- * 计费标签
51
- */
52
- export interface BillingLabel {
53
- /**
54
- * 计费项标识
55
- 注意:此字段可能返回 null,表示取不到有效值。
56
- */
57
- Label: string
58
- /**
59
- * 存储大小
60
- */
61
- VolumeSize: number
62
- /**
63
- * 计费状态
64
- None: 不计费
65
- StorageOnly: 仅存储计费
66
- Computing: 计算和存储都计费
67
- */
68
- Status: string
69
- }
70
-
71
- /**
72
- * 环境变量
73
- */
74
- export interface EnvConfig {
75
- /**
76
- * 名称
77
- */
78
- Name: string
79
- /**
80
- * 值
81
- */
82
- Value: string
83
- }
84
-
85
- /**
86
- * CreateNotebookInstance请求参数结构体
87
- */
88
- export interface CreateNotebookInstanceRequest {
89
- /**
90
- * Notebook实例名称,不能超过63个字符
91
- 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$”
92
- */
93
- NotebookInstanceName: string
94
- /**
95
- * Notebook算力类型
96
- 参考https://cloud.tencent.com/document/product/851/41239
97
- */
98
- InstanceType: string
99
- /**
100
- * 数据卷大小(GB)
101
- 用户持久化Notebook实例的数据
102
- */
103
- VolumeSizeInGB: number
104
- /**
105
- * 外网访问权限,可取值Enabled/Disabled
106
- 开启后,Notebook实例可以具有访问外网80,443端口的权限
107
- */
108
- DirectInternetAccess?: string
109
- /**
110
- * Root用户权限,可取值Enabled/Disabled
111
- 开启后,Notebook实例可以切换至root用户执行命令
112
- */
113
- RootAccess?: string
114
- /**
115
- * 子网ID
116
- 如果需要Notebook实例访问VPC内的资源,则需要选择对应的子网
117
- */
118
- SubnetId?: string
119
- /**
120
- * 生命周期脚本名称
121
- 必须是已存在的生命周期脚本,具体参考https://cloud.tencent.com/document/product/851/43140
122
- */
123
- LifecycleScriptsName?: string
124
- /**
125
- * 默认存储库名称
126
- 可以是已创建的存储库名称或者已https://开头的公共git库
127
- 参考https://cloud.tencent.com/document/product/851/43139
128
- */
129
- DefaultCodeRepository?: string
130
- /**
131
- * 其他存储库列表
132
- 每个元素可以是已创建的存储库名称或者已https://开头的公共git库
133
- 参考https://cloud.tencent.com/document/product/851/43139
134
- */
135
- AdditionalCodeRepositories?: Array<string>
136
- /**
137
- * 已弃用,请使用ClsConfig配置。
138
- 是否开启CLS日志服务,可取值Enabled/Disabled,默认为Disabled
139
- 开启后,Notebook运行的日志会收集到CLS中,CLS会产生费用,请根据需要选择
140
- */
141
- ClsAccess?: string
142
- /**
143
- * 自动停止配置
144
- 选择定时停止Notebook实例
145
- */
146
- StoppingCondition?: StoppingCondition
147
- /**
148
- * 自动停止,可取值Enabled/Disabled
149
- 取值为Disabled的时候StoppingCondition将被忽略
150
- 取值为Enabled的时候读取StoppingCondition作为自动停止的配置
151
- */
152
- AutoStopping?: string
153
- /**
154
- * 接入日志的配置,默认接入免费日志
155
- */
156
- ClsConfig?: ClsConfig
157
- }
158
-
159
- /**
160
- * DescribeNotebookSummary请求参数结构体
161
- */
162
- export type DescribeNotebookSummaryRequest = null
163
-
164
- /**
165
- * 二级状态流水
166
- */
167
- export interface SecondaryStatusTransition {
168
- /**
169
- * 状态开始时间
170
- 注意:此字段可能返回 null,表示取不到有效值。
171
- */
172
- StartTime: string
173
- /**
174
- * 状态结束时间
175
- 注意:此字段可能返回 null,表示取不到有效值。
176
- */
177
- EndTime: string
178
- /**
179
- * 状态名
180
- 注意:此字段可能返回 null,表示取不到有效值。
181
- */
182
- Status: string
183
- /**
184
- * 状态详情
185
- 注意:此字段可能返回 null,表示取不到有效值。
186
- */
187
- StatusMessage: string
188
- }
189
-
190
- /**
191
- * DescribeNotebookInstance请求参数结构体
192
- */
193
- export interface DescribeNotebookInstanceRequest {
194
- /**
195
- * Notebook实例名称
196
- 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$”
197
- */
198
- NotebookInstanceName: string
199
- }
200
-
201
- /**
202
- * DeleteNotebookInstance返回参数结构体
203
- */
204
- export interface DeleteNotebookInstanceResponse {
205
- /**
206
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
207
- */
208
- RequestId?: string
209
- }
210
-
211
- /**
212
- * notebook实例概览
213
- */
214
- export interface NotebookInstanceSummary {
215
- /**
216
- * 创建时间
217
- 注意:此字段可能返回 null,表示取不到有效值。
218
- */
219
- CreationTime: string
220
- /**
221
- * 最近修改时间
222
- 注意:此字段可能返回 null,表示取不到有效值。
223
- */
224
- LastModifiedTime: string
225
- /**
226
- * notebook实例名字
227
- 注意:此字段可能返回 null,表示取不到有效值。
228
- */
229
- NotebookInstanceName: string
230
- /**
231
- * notebook实例状态,取值范围:
232
- Pending: 创建中
233
- Inservice: 运行中
234
- Stopping: 停止中
235
- Stopped: 已停止
236
- Failed: 失败
237
- 注意:此字段可能返回 null,表示取不到有效值。
238
- */
239
- NotebookInstanceStatus: string
240
- /**
241
- * 算力类型
242
- 注意:此字段可能返回 null,表示取不到有效值。
243
- */
244
- InstanceType: string
245
- /**
246
- * 实例ID
247
- 注意:此字段可能返回 null,表示取不到有效值。
248
- */
249
- InstanceId: string
250
- /**
251
- * 启动时间
252
- 注意:此字段可能返回 null,表示取不到有效值。
253
- */
254
- StartupTime: string
255
- /**
256
- * 运行截止时间
257
- 注意:此字段可能返回 null,表示取不到有效值。
258
- */
259
- Deadline: string
260
- /**
261
- * 自动停止配置
262
- 注意:此字段可能返回 null,表示取不到有效值。
263
- */
264
- StoppingCondition: StoppingCondition
265
- /**
266
- * 是否是预付费实例
267
- 注意:此字段可能返回 null,表示取不到有效值。
268
- */
269
- Prepay: boolean
270
- /**
271
- * 计费标识
272
- 注意:此字段可能返回 null,表示取不到有效值。
273
- */
274
- BillingLabel: BillingLabel
275
- /**
276
- * 运行时长,秒
277
- 注意:此字段可能返回 null,表示取不到有效值。
278
- */
279
- RuntimeInSeconds: number
280
- /**
281
- * 剩余时长,秒
282
- 注意:此字段可能返回 null,表示取不到有效值。
283
- */
284
- RemainTimeInSeconds: number
285
- }
286
-
287
- /**
288
- * 存储库Git相关配置
289
- */
290
- export interface GitConfig {
291
- /**
292
- * git地址
293
- */
294
- RepositoryUrl: string
295
- /**
296
- * 代码分支
297
- 注意:此字段可能返回 null,表示取不到有效值。
298
- */
299
- Branch?: string
300
- }
301
-
302
- /**
303
- * 存储库列表
304
- */
305
- export interface CodeRepoSummary {
306
- /**
307
- * 创建时间
308
- */
309
- CreationTime: string
310
- /**
311
- * 更新时间
312
- */
313
- LastModifiedTime: string
314
- /**
315
- * 存储库名称
316
- */
317
- CodeRepositoryName: string
318
- /**
319
- * Git配置
320
- */
321
- GitConfig: GitConfig
322
- /**
323
- * 是否有Git凭证
324
- */
325
- NoSecret: boolean
326
- }
327
-
328
- /**
329
- * 计算资源配置
330
- */
331
- export interface ResourceConfig {
332
- /**
333
- * 计算实例数量
334
- 注意:此字段可能返回 null,表示取不到有效值。
335
- */
336
- InstanceCount: number
337
- /**
338
- * 计算实例类型
339
- 注意:此字段可能返回 null,表示取不到有效值。
340
- */
341
- InstanceType: string
342
- /**
343
- * 挂载CBS大小(GB)
344
- 注意:此字段可能返回 null,表示取不到有效值。
345
- */
346
- VolumeSizeInGB?: number
347
- }
348
-
349
- /**
350
- * DeleteNotebookLifecycleScript返回参数结构体
351
- */
352
- export interface DeleteNotebookLifecycleScriptResponse {
353
- /**
354
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
355
- */
356
- RequestId?: string
357
- }
358
-
359
- /**
360
- * DescribeNotebookLifecycleScripts请求参数结构体
361
- */
362
- export interface DescribeNotebookLifecycleScriptsRequest {
363
- /**
364
- * 偏移量,默认为0
365
- */
366
- Offset?: number
367
- /**
368
- * 返回数量,默认为20
369
- */
370
- Limit?: number
371
- /**
372
- * 过滤条件。
373
- instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。
374
- search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。
375
- */
376
- Filters?: Array<Filter>
377
- /**
378
- * 排序规则。默认取Descending
379
- Descending 按更新时间降序
380
- Ascending 按更新时间升序
381
- */
382
- SortOrder?: string
383
- }
384
-
385
- /**
386
- * Git凭证
387
- */
388
- export interface GitSecret {
389
- /**
390
- * 无密钥,默认选项
391
- */
392
- NoSecret?: boolean
393
- /**
394
- * Git用户名密码base64编码后的字符串
395
- 编码前的内容应为Json字符串,如
396
- {"UserName": "用户名", "Password":"密码"}
397
- */
398
- Secret?: string
399
- }
400
-
401
- /**
402
- * DeleteCodeRepository请求参数结构体
403
- */
404
- export interface DeleteCodeRepositoryRequest {
405
- /**
406
- * 存储库名称
407
- */
408
- CodeRepositoryName: string
409
- }
410
-
411
- /**
412
- * DescribeCodeRepository返回参数结构体
413
- */
414
- export interface DescribeCodeRepositoryResponse {
415
- /**
416
- * 创建时间
417
- */
418
- CreationTime?: string
419
- /**
420
- * 更新时间
421
- */
422
- LastModifiedTime?: string
423
- /**
424
- * 存储库名称
425
- */
426
- CodeRepositoryName?: string
427
- /**
428
- * Git存储配置
429
- */
430
- GitConfig?: GitConfig
431
- /**
432
- * 是否有Git凭证
433
- */
434
- NoSecret?: boolean
435
- /**
436
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
437
- */
438
- RequestId?: string
439
- }
440
-
441
- /**
442
- * 输入数据配置
443
- */
444
- export interface InputDataConfig {
445
- /**
446
- * 通道名
447
- 注意:此字段可能返回 null,表示取不到有效值。
448
- */
449
- ChannelName?: string
450
- /**
451
- * 数据源配置
452
- 注意:此字段可能返回 null,表示取不到有效值。
453
- */
454
- DataSource?: DataSource
455
- /**
456
- * 输入类型
457
- 注意:此字段可能返回 null,表示取不到有效值。
458
- */
459
- InputMode?: string
460
- /**
461
- * 文件类型
462
- 注意:此字段可能返回 null,表示取不到有效值。
463
- */
464
- ContentType?: string
465
- }
466
-
467
- /**
468
- * StartNotebookInstance返回参数结构体
469
- */
470
- export interface StartNotebookInstanceResponse {
471
- /**
472
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
473
- */
474
- RequestId?: string
475
- }
476
-
477
- /**
478
- * UpdateCodeRepository返回参数结构体
479
- */
480
- export interface UpdateCodeRepositoryResponse {
481
- /**
482
- * 存储库名称
483
- */
484
- CodeRepositoryName?: string
485
- /**
486
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
487
- */
488
- RequestId?: string
489
- }
490
-
491
- /**
492
- * CreateNotebookInstance返回参数结构体
493
- */
494
- export interface CreateNotebookInstanceResponse {
495
- /**
496
- * Notebook实例名字
497
- */
498
- NotebookInstanceName?: string
499
- /**
500
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
501
- */
502
- RequestId?: string
503
- }
504
-
505
- /**
506
- * 文件系统输入数据源
507
- */
508
- export interface FileSystemDataSource {
509
- /**
510
- * 文件系统目录
511
- 注意:此字段可能返回 null,表示取不到有效值。
512
- */
513
- DirectoryPath?: string
514
- /**
515
- * 文件系统类型
516
- 注意:此字段可能返回 null,表示取不到有效值。
517
- */
518
- FileSystemType?: string
519
- /**
520
- * 文件系统访问模式
521
- 注意:此字段可能返回 null,表示取不到有效值。
522
- */
523
- FileSystemAccessMode?: string
524
- /**
525
- * 文件系统ID
526
- 注意:此字段可能返回 null,表示取不到有效值。
527
- */
528
- FileSystemId?: string
529
- }
530
-
531
- /**
532
- * notebook生命周期脚本实例概览
533
- */
534
- export interface NotebookLifecycleScriptsSummary {
535
- /**
536
- * notebook生命周期脚本名称
537
- */
538
- NotebookLifecycleScriptsName: string
539
- /**
540
- * 创建时间
541
- */
542
- CreationTime: string
543
- /**
544
- * 修改时间
545
- */
546
- LastModifiedTime: string
547
- }
548
-
549
- /**
550
- * StopTrainingJob请求参数结构体
551
- */
552
- export interface StopTrainingJobRequest {
553
- /**
554
- * 训练任务名称
555
- */
556
- TrainingJobName: string
557
- }
558
-
559
- /**
560
- * UpdateNotebookInstance返回参数结构体
561
- */
562
- export interface UpdateNotebookInstanceResponse {
563
- /**
564
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
565
- */
566
- RequestId?: string
567
- }
568
-
569
- /**
570
- * 接入CLS服务的配置
571
- */
572
- export interface ClsConfig {
573
- /**
574
- * 接入类型,可选项为free、customer
575
- */
576
- Type: string
577
- /**
578
- * 自定义CLS的日志集ID,只有当Type为customer时生效
579
- */
580
- LogSetId?: string
581
- /**
582
- * 自定义CLS的日志主题ID,只有当Type为customer时生效
583
- */
584
- TopicId?: string
585
- }
586
-
587
- /**
588
- * UpdateNotebookInstance请求参数结构体
589
- */
590
- export interface UpdateNotebookInstanceRequest {
591
- /**
592
- * Notebook实例名称
593
- 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$”
594
- */
595
- NotebookInstanceName: string
596
- /**
597
- * 角色的资源描述
598
- */
599
- RoleArn?: string
600
- /**
601
- * Root访问权限
602
- */
603
- RootAccess?: string
604
- /**
605
- * 数据卷大小(GB)
606
- */
607
- VolumeSizeInGB?: number
608
- /**
609
- * 算力资源类型
610
- */
611
- InstanceType?: string
612
- /**
613
- * notebook生命周期脚本名称
614
- */
615
- LifecycleScriptsName?: string
616
- /**
617
- * 是否解绑生命周期脚本,默认 false。
618
- 该值为true时,LifecycleScriptsName将被忽略
619
- */
620
- DisassociateLifecycleScript?: boolean
621
- /**
622
- * 默认存储库名称
623
- 可以是已创建的存储库名称或者已https://开头的公共git库
624
- */
625
- DefaultCodeRepository?: string
626
- /**
627
- * 其他存储库列表
628
- 每个元素可以是已创建的存储库名称或者已https://开头的公共git库
629
- */
630
- AdditionalCodeRepositories?: Array<string>
631
- /**
632
- * 是否取消关联默认存储库,默认false
633
- 该值为true时,DefaultCodeRepository将被忽略
634
- */
635
- DisassociateDefaultCodeRepository?: boolean
636
- /**
637
- * 是否取消关联其他存储库,默认false
638
- 该值为true时,AdditionalCodeRepositories将被忽略
639
- */
640
- DisassociateAdditionalCodeRepositories?: boolean
641
- /**
642
- * 已弃用,请使用ClsConfig配置。是否开启CLS日志服务,可取值Enabled/Disabled
643
- */
644
- ClsAccess?: string
645
- /**
646
- * 自动停止,可取值Enabled/Disabled
647
- 取值为Disabled的时候StoppingCondition将被忽略
648
- 取值为Enabled的时候读取StoppingCondition作为自动停止的配置
649
- */
650
- AutoStopping?: string
651
- /**
652
- * 自动停止配置,只在AutoStopping为Enabled的时候生效
653
- */
654
- StoppingCondition?: StoppingCondition
655
- /**
656
- * 接入日志的配置,默认使用免费日志服务。
657
- */
658
- ClsConfig?: ClsConfig
659
- }
660
-
661
- /**
662
- * CreatePresignedNotebookInstanceUrl请求参数结构体
663
- */
664
- export interface CreatePresignedNotebookInstanceUrlRequest {
665
- /**
666
- * Notebook实例名称
667
- 规则:“^\[a-zA-Z0-9\](-\*\[a-zA-Z0-9\])\*$”
668
- */
669
- NotebookInstanceName: string
670
- /**
671
- * session有效时间,秒,取值范围[1800, 43200]
672
- */
673
- SessionExpirationDurationInSeconds?: number
674
- }
675
-
676
- /**
677
- * CreateNotebookLifecycleScript请求参数结构体
678
- */
679
- export interface CreateNotebookLifecycleScriptRequest {
680
- /**
681
- * Notebook生命周期脚本名称
682
- */
683
- NotebookLifecycleScriptsName: string
684
- /**
685
- * 创建脚本,base64编码
686
- base64后的脚本长度不能超过16384个字符
687
- */
688
- CreateScript?: string
689
- /**
690
- * 启动脚本,base64编码
691
- base64后的脚本长度不能超过16384个字符
692
- */
693
- StartScript?: string
694
- }
695
-
696
- /**
697
- * CreateCodeRepository请求参数结构体
698
- */
699
- export interface CreateCodeRepositoryRequest {
700
- /**
701
- * 存储库名称
702
- */
703
- CodeRepositoryName: string
704
- /**
705
- * Git相关配置
706
- */
707
- GitConfig: GitConfig
708
- /**
709
- * Git凭证
710
- */
711
- GitSecret: GitSecret
712
- }
713
-
714
- /**
715
- * DescribeNotebookInstances请求参数结构体
716
- */
717
- export interface DescribeNotebookInstancesRequest {
718
- /**
719
- * 偏移量
720
- */
721
- Offset?: number
722
- /**
723
- * 限制数目
724
- */
725
- Limit?: number
726
- /**
727
- * 排序规则。默认取Descending
728
- Descending 按更新时间降序
729
- Ascending 按更新时间升序
730
- */
731
- SortOrder?: string
732
- /**
733
- * 过滤条件。
734
- instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。
735
- search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。
736
- lifecycle-name - String - 是否必填:否 -(过滤条件)按照生命周期脚本名称过滤。
737
- default-code-repo-name - String - 是否必填:否 -(过滤条件)按照默认存储库名称过滤。
738
- additional-code-repo-name - String - 是否必填:否 -(过滤条件)按照其他存储库名称过滤。
739
- billing-status - String - 是否必填:否 - (过滤条件)按照计费状态过滤,可取以下值
740
- StorageOnly:仅存储计费的实例
741
- Computing:计算和存储都计费的实例
742
- */
743
- Filters?: Array<Filter>
744
- /**
745
- * 【废弃字段】排序字段
746
- */
747
- SortBy?: string
748
- }
749
-
750
- /**
751
- * DescribeTrainingJobs返回参数结构体
752
- */
753
- export interface DescribeTrainingJobsResponse {
754
- /**
755
- * 训练任务列表
756
- */
757
- TrainingJobSet?: Array<TrainingJobSummary>
758
- /**
759
- * 训练任务总数目
760
- */
761
- TotalCount?: number
762
- /**
763
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
764
- */
765
- RequestId?: string
766
- }
767
-
768
- /**
769
- * 终止条件
770
- */
771
- export interface StoppingCondition {
772
- /**
773
- * 最长运行运行时间(秒)
774
- 注意:此字段可能返回 null,表示取不到有效值。
775
- */
776
- MaxRuntimeInSeconds?: number
777
- /**
778
- * 最长等待运行时间(秒)
779
- 注意:此字段可能返回 null,表示取不到有效值。
780
- */
781
- MaxWaitTimeInSeconds?: number
782
- }
783
-
784
- /**
785
- * DescribeCodeRepositories返回参数结构体
786
- */
787
- export interface DescribeCodeRepositoriesResponse {
788
- /**
789
- * 存储库总数目
790
- */
791
- TotalCount?: number
792
- /**
793
- * 存储库列表
794
- 注意:此字段可能返回 null,表示取不到有效值。
795
- */
796
- CodeRepoSet?: Array<CodeRepoSummary>
797
- /**
798
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
799
- */
800
- RequestId?: string
801
- }
802
-
803
- /**
804
- * DescribeNotebookInstances返回参数结构体
805
- */
806
- export interface DescribeNotebookInstancesResponse {
807
- /**
808
- * Notebook实例列表
809
- */
810
- NotebookInstanceSet?: Array<NotebookInstanceSummary>
811
- /**
812
- * Notebook实例总数目
813
- */
814
- TotalCount?: number
815
- /**
816
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
817
- */
818
- RequestId?: string
819
- }
820
-
821
- /**
822
- * DescribeCodeRepository请求参数结构体
823
- */
824
- export interface DescribeCodeRepositoryRequest {
825
- /**
826
- * 存储库名称
827
- */
828
- CodeRepositoryName: string
829
- }
830
-
831
- /**
832
- * CreateTrainingJob返回参数结构体
833
- */
834
- export interface CreateTrainingJobResponse {
835
- /**
836
- * 训练任务名称
837
- */
838
- TrainingJobName?: string
839
- /**
840
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
841
- */
842
- RequestId?: string
843
- }
844
-
845
- /**
846
- * DescribeNotebookInstance返回参数结构体
847
- */
848
- export interface DescribeNotebookInstanceResponse {
849
- /**
850
- * Notebook实例名称
851
- */
852
- NotebookInstanceName?: string
853
- /**
854
- * Notebook算力资源类型
855
- 注意:此字段可能返回 null,表示取不到有效值。
856
- */
857
- InstanceType?: string
858
- /**
859
- * 角色的资源描述
860
- 注意:此字段可能返回 null,表示取不到有效值。
861
- */
862
- RoleArn?: string
863
- /**
864
- * 外网访问权限
865
- 注意:此字段可能返回 null,表示取不到有效值。
866
- */
867
- DirectInternetAccess?: string
868
- /**
869
- * Root用户权限
870
- 注意:此字段可能返回 null,表示取不到有效值。
871
- */
872
- RootAccess?: string
873
- /**
874
- * 子网ID
875
- 注意:此字段可能返回 null,表示取不到有效值。
876
- */
877
- SubnetId?: string
878
- /**
879
- * 数据卷大小(GB)
880
- 注意:此字段可能返回 null,表示取不到有效值。
881
- */
882
- VolumeSizeInGB?: number
883
- /**
884
- * 创建失败原因
885
- 注意:此字段可能返回 null,表示取不到有效值。
886
- */
887
- FailureReason?: string
888
- /**
889
- * Notebook实例创建时间
890
- 注意:此字段可能返回 null,表示取不到有效值。
891
- */
892
- CreationTime?: string
893
- /**
894
- * Notebook实例最近修改时间
895
- 注意:此字段可能返回 null,表示取不到有效值。
896
- */
897
- LastModifiedTime?: string
898
- /**
899
- * Notebook实例日志链接
900
- 注意:此字段可能返回 null,表示取不到有效值。
901
- */
902
- LogUrl?: string
903
- /**
904
- * Notebook实例状态
905
-
906
- Pending: 创建中
907
- Inservice: 运行中
908
- Stopping: 停止中
909
- Stopped: 已停止
910
- Failed: 失败
911
- 注意:此字段可能返回 null,表示取不到有效值。
912
- */
913
- NotebookInstanceStatus?: string
914
- /**
915
- * Notebook实例ID
916
- 注意:此字段可能返回 null,表示取不到有效值。
917
- */
918
- InstanceId?: string
919
- /**
920
- * notebook生命周期脚本名称
921
- 注意:此字段可能返回 null,表示取不到有效值。
922
- */
923
- LifecycleScriptsName?: string
924
- /**
925
- * 默认存储库名称
926
- 可以是已创建的存储库名称或者已https://开头的公共git库
927
- 注意:此字段可能返回 null,表示取不到有效值。
928
- */
929
- DefaultCodeRepository?: string
930
- /**
931
- * 其他存储库列表
932
- 每个元素可以是已创建的存储库名称或者已https://开头的公共git库
933
- 注意:此字段可能返回 null,表示取不到有效值。
934
- */
935
- AdditionalCodeRepositories?: Array<string>
936
- /**
937
- * 是否开启CLS日志服务
938
- 注意:此字段可能返回 null,表示取不到有效值。
939
- */
940
- ClsAccess?: string
941
- /**
942
- * 是否预付费实例
943
- 注意:此字段可能返回 null,表示取不到有效值。
944
- */
945
- Prepay?: boolean
946
- /**
947
- * 实例运行截止时间
948
- 注意:此字段可能返回 null,表示取不到有效值。
949
- */
950
- Deadline?: string
951
- /**
952
- * 自动停止配置
953
- 注意:此字段可能返回 null,表示取不到有效值。
954
- */
955
- StoppingCondition?: StoppingCondition
956
- /**
957
- * Cls配置
958
- 注意:此字段可能返回 null,表示取不到有效值。
959
- */
960
- ClsConfig?: ClsConfig
961
- /**
962
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
963
- */
964
- RequestId?: string
965
- }
966
-
967
- /**
968
- * DescribeTrainingJob请求参数结构体
969
- */
970
- export interface DescribeTrainingJobRequest {
971
- /**
972
- * 训练任务名称
973
- */
974
- TrainingJobName: string
975
- }
976
-
977
- /**
978
- * 训练任务概要
979
- */
980
- export interface TrainingJobSummary {
981
- /**
982
- * 任务创建时间
983
- 注意:此字段可能返回 null,表示取不到有效值。
984
- */
985
- CreationTime: string
986
- /**
987
- * 最近修改时间
988
- 注意:此字段可能返回 null,表示取不到有效值。
989
- */
990
- LastModifiedTime: string
991
- /**
992
- * 训练任务名
993
- 注意:此字段可能返回 null,表示取不到有效值。
994
- */
995
- TrainingJobName: string
996
- /**
997
- * 训练任务状态,取值范围
998
- InProgress:运行中
999
- Completed: 已完成
1000
- Failed: 失败
1001
- Stopping: 停止中
1002
- Stopped:已停止
1003
- 注意:此字段可能返回 null,表示取不到有效值。
1004
- */
1005
- TrainingJobStatus: string
1006
- /**
1007
- * 完成时间
1008
- 注意:此字段可能返回 null,表示取不到有效值。
1009
- */
1010
- TrainingEndTime: string
1011
- /**
1012
- * 算了实例Id
1013
- 注意:此字段可能返回 null,表示取不到有效值。
1014
- */
1015
- InstanceId: string
1016
- /**
1017
- * 资源配置
1018
- 注意:此字段可能返回 null,表示取不到有效值。
1019
- */
1020
- ResourceConfig: ResourceConfig
1021
- }
1022
-
1023
- /**
1024
- * 算法配置
1025
- */
1026
- export interface AlgorithmSpecification {
1027
- /**
1028
- * 镜像名字
1029
- 注意:此字段可能返回 null,表示取不到有效值。
1030
- */
1031
- TrainingImageName?: string
1032
- /**
1033
- * 输入模式File|Pipe
1034
- 注意:此字段可能返回 null,表示取不到有效值。
1035
- */
1036
- TrainingInputMode?: string
1037
- /**
1038
- * 算法名字
1039
- 注意:此字段可能返回 null,表示取不到有效值。
1040
- */
1041
- AlgorithmName?: string
1042
- }
1043
-
1044
- /**
1045
- * cos路径
1046
- */
1047
- export interface CosDataSource {
1048
- /**
1049
- * cos桶
1050
- 注意:此字段可能返回 null,表示取不到有效值。
1051
- */
1052
- Bucket: string
1053
- /**
1054
- * cos文件key
1055
- 注意:此字段可能返回 null,表示取不到有效值。
1056
- */
1057
- KeyPrefix: string
1058
- /**
1059
- * 分布式数据下载方式
1060
- 注意:此字段可能返回 null,表示取不到有效值。
1061
- */
1062
- DataDistributionType: string
1063
- /**
1064
- * 数据类型
1065
- 注意:此字段可能返回 null,表示取不到有效值。
1066
- */
1067
- DataType: string
1068
- }
1069
-
1070
- /**
1071
- * DescribeNotebookLifecycleScripts返回参数结构体
1072
- */
1073
- export interface DescribeNotebookLifecycleScriptsResponse {
1074
- /**
1075
- * Notebook生命周期脚本列表
1076
- */
1077
- NotebookLifecycleScriptsSet?: Array<NotebookLifecycleScriptsSummary>
1078
- /**
1079
- * Notebook生命周期脚本总数量
1080
- */
1081
- TotalCount?: number
1082
- /**
1083
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1084
- */
1085
- RequestId?: string
1086
- }
1087
-
1088
- /**
1089
- * DescribeNotebookSummary返回参数结构体
1090
- */
1091
- export interface DescribeNotebookSummaryResponse {
1092
- /**
1093
- * 实例总数
1094
- */
1095
- AllInstanceCnt?: number
1096
- /**
1097
- * 计费实例总数
1098
- */
1099
- BillingInstanceCnt?: number
1100
- /**
1101
- * 仅存储计费的实例总数
1102
- */
1103
- StorageOnlyBillingInstanceCnt?: number
1104
- /**
1105
- * 计算和存储都计费的实例总数
1106
- */
1107
- ComputingBillingInstanceCnt?: number
1108
- /**
1109
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1110
- */
1111
- RequestId?: string
1112
- }
1113
-
1114
- /**
1115
- * 过滤器
1116
- */
1117
- export interface Filter {
1118
- /**
1119
- * 过滤字段名称
1120
- */
1121
- Name?: string
1122
- /**
1123
- * 过滤字段取值
1124
- */
1125
- Values?: Array<string>
1126
- }
1127
-
1128
- /**
1129
- * StopNotebookInstance请求参数结构体
1130
- */
1131
- export interface StopNotebookInstanceRequest {
1132
- /**
1133
- * Notebook实例名称
1134
- */
1135
- NotebookInstanceName: string
1136
- }
1137
-
1138
- /**
1139
- * DeleteNotebookLifecycleScript请求参数结构体
1140
- */
1141
- export interface DeleteNotebookLifecycleScriptRequest {
1142
- /**
1143
- * 生命周期脚本名称
1144
- */
1145
- NotebookLifecycleScriptsName: string
1146
- /**
1147
- * 是否忽略已关联的 notebook 实例强行删除生命周期脚本,默认 false
1148
- */
1149
- Forcible?: boolean
1150
- }
1151
-
1152
- /**
1153
- * DescribeNotebookLifecycleScript返回参数结构体
1154
- */
1155
- export interface DescribeNotebookLifecycleScriptResponse {
1156
- /**
1157
- * 生命周期脚本名称
1158
- */
1159
- NotebookLifecycleScriptsName?: string
1160
- /**
1161
- * 创建脚本
1162
- 注意:此字段可能返回 null,表示取不到有效值。
1163
- */
1164
- CreateScript?: string
1165
- /**
1166
- * 启动脚本
1167
- 注意:此字段可能返回 null,表示取不到有效值。
1168
- */
1169
- StartScript?: string
1170
- /**
1171
- * 创建时间
1172
- */
1173
- CreationTime?: string
1174
- /**
1175
- * 最后修改时间
1176
- */
1177
- LastModifiedTime?: string
1178
- /**
1179
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1180
- */
1181
- RequestId?: string
1182
- }
1183
-
1184
- /**
1185
- * DescribeTrainingJob返回参数结构体
1186
- */
1187
- export interface DescribeTrainingJobResponse {
1188
- /**
1189
- * 算法镜像配置
1190
- */
1191
- AlgorithmSpecification?: AlgorithmSpecification
1192
- /**
1193
- * 任务名称
1194
- */
1195
- TrainingJobName?: string
1196
- /**
1197
- * 算法超级参数
1198
- 注意:此字段可能返回 null,表示取不到有效值。
1199
- */
1200
- HyperParameters?: string
1201
- /**
1202
- * 输入数据配置
1203
- */
1204
- InputDataConfig?: Array<InputDataConfig>
1205
- /**
1206
- * 输出数据配置
1207
- */
1208
- OutputDataConfig?: OutputDataConfig
1209
- /**
1210
- * 中止条件
1211
- 注意:此字段可能返回 null,表示取不到有效值。
1212
- */
1213
- StoppingCondition?: StoppingCondition
1214
- /**
1215
- * 计算实例配置
1216
- */
1217
- ResourceConfig?: ResourceConfig
1218
- /**
1219
- * 私有网络配置
1220
- 注意:此字段可能返回 null,表示取不到有效值。
1221
- */
1222
- VpcConfig?: VpcConfig
1223
- /**
1224
- * 失败原因
1225
- 注意:此字段可能返回 null,表示取不到有效值。
1226
- */
1227
- FailureReason?: string
1228
- /**
1229
- * 最近修改时间
1230
- */
1231
- LastModifiedTime?: string
1232
- /**
1233
- * 任务开始时间
1234
- 注意:此字段可能返回 null,表示取不到有效值。
1235
- */
1236
- TrainingStartTime?: string
1237
- /**
1238
- * 任务完成时间
1239
- 注意:此字段可能返回 null,表示取不到有效值。
1240
- */
1241
- TrainingEndTime?: string
1242
- /**
1243
- * 模型输出配置
1244
- 注意:此字段可能返回 null,表示取不到有效值。
1245
- */
1246
- ModelArtifacts?: ModelArtifacts
1247
- /**
1248
- * 详细状态,取值范围
1249
- Starting:启动中
1250
- Downloading: 准备训练数据
1251
- Training: 正在训练
1252
- Uploading: 上传训练结果
1253
- Completed:已完成
1254
- Failed: 失败
1255
- MaxRuntimeExceeded: 任务超过最大运行时间
1256
- Stopping: 停止中
1257
- Stopped:已停止
1258
- */
1259
- SecondaryStatus?: string
1260
- /**
1261
- * 详细状态事件记录
1262
- 注意:此字段可能返回 null,表示取不到有效值。
1263
- */
1264
- SecondaryStatusTransitions?: Array<SecondaryStatusTransition>
1265
- /**
1266
- * 角色名称
1267
- 注意:此字段可能返回 null,表示取不到有效值。
1268
- */
1269
- RoleName?: string
1270
- /**
1271
- * 训练任务状态,取值范围
1272
- InProgress:运行中
1273
- Completed: 已完成
1274
- Failed: 失败
1275
- Stopping: 停止中
1276
- Stopped:已停止
1277
- */
1278
- TrainingJobStatus?: string
1279
- /**
1280
- * 训练任务日志链接
1281
- 注意:此字段可能返回 null,表示取不到有效值。
1282
- */
1283
- LogUrl?: string
1284
- /**
1285
- * 训练任务实例ID
1286
- */
1287
- InstanceId?: string
1288
- /**
1289
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1290
- */
1291
- RequestId?: string
1292
- }
1293
-
1294
- /**
1295
- * StopNotebookInstance返回参数结构体
1296
- */
1297
- export interface StopNotebookInstanceResponse {
1298
- /**
1299
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1300
- */
1301
- RequestId?: string
1302
- }
1303
-
1304
- /**
1305
- * UpdateCodeRepository请求参数结构体
1306
- */
1307
- export interface UpdateCodeRepositoryRequest {
1308
- /**
1309
- * 查询存储库名称
1310
- */
1311
- CodeRepositoryName: string
1312
- /**
1313
- * Git凭证
1314
- */
1315
- GitSecret?: GitSecret
1316
- }
1317
-
1318
- /**
1319
- * CreateTrainingJob请求参数结构体
1320
- */
1321
- export interface CreateTrainingJobRequest {
1322
- /**
1323
- * 算法镜像配置
1324
- */
1325
- AlgorithmSpecification: AlgorithmSpecification
1326
- /**
1327
- * 输出数据配置
1328
- */
1329
- OutputDataConfig: OutputDataConfig
1330
- /**
1331
- * 资源实例配置
1332
- */
1333
- ResourceConfig: ResourceConfig
1334
- /**
1335
- * 训练任务名称
1336
- */
1337
- TrainingJobName: string
1338
- /**
1339
- * 输入数据配置
1340
- */
1341
- InputDataConfig?: Array<InputDataConfig>
1342
- /**
1343
- * 中止条件
1344
- */
1345
- StoppingCondition?: StoppingCondition
1346
- /**
1347
- * 私有网络配置
1348
- */
1349
- VpcConfig?: VpcConfig
1350
- /**
1351
- * 算法超级参数
1352
- */
1353
- HyperParameters?: string
1354
- /**
1355
- * 环境变量配置
1356
- */
1357
- EnvConfig?: Array<EnvConfig>
1358
- /**
1359
- * 角色名称
1360
- */
1361
- RoleName?: string
1362
- /**
1363
- * 在资源不足(ResourceInsufficient)时后台不定时尝试重新创建训练任务。可取值Enabled/Disabled
1364
- 默认值为Disabled即不重新尝试。设为Enabled时重新尝试有一定的时间期限,定义在 StoppingCondition 中 MaxWaitTimeInSecond中 ,默认值为1天,超过该期限创建失败。
1365
- */
1366
- RetryWhenResourceInsufficient?: string
1367
- }
1368
-
1369
- /**
1370
- * DeleteNotebookInstance请求参数结构体
1371
- */
1372
- export interface DeleteNotebookInstanceRequest {
1373
- /**
1374
- * Notebook实例名称
1375
- */
1376
- NotebookInstanceName: string
1377
- }
1378
-
1379
- /**
1380
- * DescribeNotebookLifecycleScript请求参数结构体
1381
- */
1382
- export interface DescribeNotebookLifecycleScriptRequest {
1383
- /**
1384
- * 生命周期脚本名称
1385
- */
1386
- NotebookLifecycleScriptsName: string
1387
- }
1388
-
1389
- /**
1390
- * VPC配置
1391
- */
1392
- export interface VpcConfig {
1393
- /**
1394
- * 安全组id
1395
- 注意:此字段可能返回 null,表示取不到有效值。
1396
- */
1397
- SecurityGroupIds: Array<string>
1398
- /**
1399
- * 子网id
1400
- 注意:此字段可能返回 null,表示取不到有效值。
1401
- */
1402
- SubnetId: string
1403
- }
1404
-
1405
- /**
1406
- * CreateNotebookLifecycleScript返回参数结构体
1407
- */
1408
- export interface CreateNotebookLifecycleScriptResponse {
1409
- /**
1410
- * 生命周期脚本名称
1411
- */
1412
- NotebookLifecycleScriptsName?: string
1413
- /**
1414
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1415
- */
1416
- RequestId?: string
1417
- }
1418
-
1419
- /**
1420
- * CreatePresignedNotebookInstanceUrl返回参数结构体
1421
- */
1422
- export interface CreatePresignedNotebookInstanceUrlResponse {
1423
- /**
1424
- * 授权url
1425
- */
1426
- AuthorizedUrl?: string
1427
- /**
1428
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1429
- */
1430
- RequestId?: string
1431
- }
1432
-
1433
- /**
1434
- * DescribeTrainingJobs请求参数结构体
1435
- */
1436
- export interface DescribeTrainingJobsRequest {
1437
- /**
1438
- * 偏移量
1439
- */
1440
- Offset?: number
1441
- /**
1442
- * 限制数目
1443
- */
1444
- Limit?: number
1445
- /**
1446
- * 创建时间晚于
1447
- */
1448
- CreationTimeAfter?: string
1449
- /**
1450
- * 创建时间早于
1451
- */
1452
- CreationTimeBefore?: string
1453
- /**
1454
- * 根据名称过滤
1455
- */
1456
- NameContains?: string
1457
- /**
1458
- * 根据状态过滤
1459
- */
1460
- StatusEquals?: string
1461
- /**
1462
- * 过滤条件。
1463
- instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。
1464
- search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。
1465
- */
1466
- Filters?: Array<Filter>
1467
- }
1468
-
1469
- /**
1470
- * StartNotebookInstance请求参数结构体
1471
- */
1472
- export interface StartNotebookInstanceRequest {
1473
- /**
1474
- * Notebook实例名称
1475
- */
1476
- NotebookInstanceName: string
1477
- /**
1478
- * 自动停止,可取值Enabled/Disabled
1479
- 取值为Disabled的时候StoppingCondition将被忽略
1480
- 取值为Enabled的时候读取StoppingCondition作为自动停止的配置
1481
- */
1482
- AutoStopping?: string
1483
- /**
1484
- * 自动停止配置,只在AutoStopping为Enabled的时候生效
1485
- */
1486
- StoppingCondition?: StoppingCondition
1487
- }
1488
-
1489
- /**
1490
- * CreateCodeRepository返回参数结构体
1491
- */
1492
- export interface CreateCodeRepositoryResponse {
1493
- /**
1494
- * 存储库名称
1495
- */
1496
- CodeRepositoryName?: string
1497
- /**
1498
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1499
- */
1500
- RequestId?: string
1501
- }
1502
-
1503
- /**
1504
- * DescribeCodeRepositories请求参数结构体
1505
- */
1506
- export interface DescribeCodeRepositoriesRequest {
1507
- /**
1508
- * 偏移量,默认为0
1509
- */
1510
- Offset?: number
1511
- /**
1512
- * 返回数量,默认为20
1513
- */
1514
- Limit?: number
1515
- /**
1516
- * 过滤条件。
1517
- instance-name - String - 是否必填:否 -(过滤条件)按照名称过滤。
1518
- search-by-name - String - 是否必填:否 -(过滤条件)按照名称检索,模糊匹配。
1519
- */
1520
- Filters?: Array<Filter>
1521
- /**
1522
- * 排序规则。默认取Descending
1523
- Descending 按更新时间降序
1524
- Ascending 按更新时间升序
1525
- */
1526
- SortOrder?: string
1527
- }
1528
-
1529
- /**
1530
- * 数据源
1531
- */
1532
- export interface DataSource {
1533
- /**
1534
- * cos数据源
1535
- 注意:此字段可能返回 null,表示取不到有效值。
1536
- */
1537
- CosDataSource?: CosDataSource
1538
- /**
1539
- * 文件系统输入源
1540
- 注意:此字段可能返回 null,表示取不到有效值。
1541
- */
1542
- FileSystemDataSource?: FileSystemDataSource
1543
- }
1544
-
1545
- /**
1546
- * 模型输出
1547
- */
1548
- export interface ModelArtifacts {
1549
- /**
1550
- * cos输出路径
1551
- 注意:此字段可能返回 null,表示取不到有效值。
1552
- */
1553
- CosModelArtifacts: string
1554
- }
1555
-
1556
- /**
1557
- * DeleteCodeRepository返回参数结构体
1558
- */
1559
- export interface DeleteCodeRepositoryResponse {
1560
- /**
1561
- * 存储库名称
1562
- */
1563
- CodeRepositoryName?: string
1564
- /**
1565
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1566
- */
1567
- RequestId?: string
1568
- }