tencentcloud-sdk-nodejs-cfs 4.1.266 → 4.1.278
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.
package/package.json
CHANGED
|
@@ -3,67 +3,67 @@
|
|
|
3
3
|
*/
|
|
4
4
|
export interface CreateMigrationTaskRequest {
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
6
|
+
* <p>迁移任务名称</p>
|
|
7
7
|
*/
|
|
8
8
|
TaskName: string;
|
|
9
9
|
/**
|
|
10
|
-
*
|
|
10
|
+
* <p>迁移方式标志位,默认为0。0:桶迁移;1:清单迁移</p>
|
|
11
11
|
*/
|
|
12
12
|
MigrationType: number;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* <p>迁移模式,默认为0。0: 全量迁移</p>
|
|
15
15
|
*/
|
|
16
16
|
MigrationMode: number;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* <p>数据源账号的 SecretId</p>
|
|
19
19
|
*/
|
|
20
20
|
SrcSecretId: string;
|
|
21
21
|
/**
|
|
22
|
-
*
|
|
22
|
+
* <p>数据源账号的 SecretKey</p>
|
|
23
23
|
*/
|
|
24
24
|
SrcSecretKey: string;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* <p>文件系统实例 ID,通过查询文件系统 <a href="https://cloud.tencent.com/document/product/582/38170">DescribeCfsFileSystems</a> 获取</p>
|
|
27
27
|
*/
|
|
28
28
|
FileSystemId: string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* <p>文件系统路径</p>
|
|
31
31
|
*/
|
|
32
32
|
FsPath: string;
|
|
33
33
|
/**
|
|
34
|
-
*
|
|
34
|
+
* <p>同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖</p>
|
|
35
35
|
*/
|
|
36
36
|
CoverType: number;
|
|
37
37
|
/**
|
|
38
|
-
*
|
|
38
|
+
* <p>数据源服务商</p><p>枚举值:</p><ul><li>COS: 腾讯云COS</li><li>OSS: 阿里云OSS</li><li>OBS: 华为云OBS</li><li>BOS: 百度云BOS</li><li>TOS: 火山引擎TOS</li></ul>
|
|
39
39
|
*/
|
|
40
40
|
SrcService: string;
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* <p>数据源桶名称;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数</p>
|
|
43
43
|
*/
|
|
44
44
|
BucketName?: string;
|
|
45
45
|
/**
|
|
46
|
-
*
|
|
46
|
+
* <p>数据源桶地域</p>
|
|
47
47
|
*/
|
|
48
48
|
BucketRegion?: string;
|
|
49
49
|
/**
|
|
50
|
-
*
|
|
50
|
+
* <p>数据源桶地址;桶迁移时,BucketName 和 BucketAddress 必填其一,清单迁移时无需填写此参数</p>
|
|
51
51
|
*/
|
|
52
52
|
BucketAddress?: string;
|
|
53
53
|
/**
|
|
54
|
-
*
|
|
54
|
+
* <p>清单地址,迁移方式为清单迁移时必填</p>
|
|
55
55
|
*/
|
|
56
56
|
ListAddress?: string;
|
|
57
57
|
/**
|
|
58
|
-
*
|
|
58
|
+
* <p>目标文件系统名称</p>
|
|
59
59
|
*/
|
|
60
60
|
FsName?: string;
|
|
61
61
|
/**
|
|
62
|
-
*
|
|
62
|
+
* <p>源桶路径,默认为 /</p>
|
|
63
63
|
*/
|
|
64
64
|
BucketPath?: string;
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* <p>迁移方向;0:对象存储迁移至文件系统,1:文件系统迁移至对象存储。默认为0</p>
|
|
67
67
|
*/
|
|
68
68
|
Direction?: number;
|
|
69
69
|
}
|
|
@@ -212,109 +212,113 @@ export interface CreateLifecyclePolicyDownloadTaskRequest {
|
|
|
212
212
|
*/
|
|
213
213
|
export interface MigrationTaskInfo {
|
|
214
214
|
/**
|
|
215
|
-
*
|
|
215
|
+
* <p>迁移任务名称</p>
|
|
216
216
|
*/
|
|
217
217
|
TaskName?: string;
|
|
218
218
|
/**
|
|
219
|
-
*
|
|
219
|
+
* <p>迁移任务id</p>
|
|
220
220
|
*/
|
|
221
221
|
TaskId?: string;
|
|
222
222
|
/**
|
|
223
|
-
*
|
|
223
|
+
* <p>迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移</p>
|
|
224
224
|
*/
|
|
225
225
|
MigrationType?: number;
|
|
226
226
|
/**
|
|
227
|
-
*
|
|
227
|
+
* <p>迁移模式,默认为0。0: 全量迁移</p>
|
|
228
228
|
*/
|
|
229
229
|
MigrationMode?: number;
|
|
230
230
|
/**
|
|
231
|
-
*
|
|
231
|
+
* <p>数据源桶名称</p>
|
|
232
232
|
*/
|
|
233
233
|
BucketName?: string;
|
|
234
234
|
/**
|
|
235
|
-
*
|
|
235
|
+
* <p>数据源桶地域</p>
|
|
236
236
|
*/
|
|
237
237
|
BucketRegion?: string;
|
|
238
238
|
/**
|
|
239
|
-
*
|
|
239
|
+
* <p>数据源桶地址</p>
|
|
240
240
|
*/
|
|
241
241
|
BucketAddress?: string;
|
|
242
242
|
/**
|
|
243
|
-
*
|
|
243
|
+
* <p>清单地址</p>
|
|
244
244
|
*/
|
|
245
245
|
ListAddress?: string;
|
|
246
246
|
/**
|
|
247
|
-
*
|
|
247
|
+
* <p>文件系统实例名称</p>
|
|
248
248
|
*/
|
|
249
249
|
FsName?: string;
|
|
250
250
|
/**
|
|
251
|
-
*
|
|
251
|
+
* <p>文件系统实例Id</p>
|
|
252
252
|
*/
|
|
253
253
|
FileSystemId?: string;
|
|
254
254
|
/**
|
|
255
|
-
*
|
|
255
|
+
* <p>文件系统路径</p>
|
|
256
256
|
*/
|
|
257
257
|
FsPath?: string;
|
|
258
258
|
/**
|
|
259
|
-
*
|
|
259
|
+
* <p>同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖</p>
|
|
260
260
|
*/
|
|
261
261
|
CoverType?: number;
|
|
262
262
|
/**
|
|
263
|
-
*
|
|
263
|
+
* <p>创建时间</p>
|
|
264
264
|
*/
|
|
265
265
|
CreateTime?: number;
|
|
266
266
|
/**
|
|
267
|
-
*
|
|
267
|
+
* <p>完成/终止时间</p>
|
|
268
268
|
*/
|
|
269
269
|
EndTime?: number;
|
|
270
270
|
/**
|
|
271
|
-
*
|
|
271
|
+
* <p>迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中</p>
|
|
272
272
|
*/
|
|
273
273
|
Status?: number;
|
|
274
274
|
/**
|
|
275
|
-
*
|
|
275
|
+
* <p>文件数量</p>
|
|
276
276
|
*/
|
|
277
277
|
FileTotalCount?: number;
|
|
278
278
|
/**
|
|
279
|
-
*
|
|
279
|
+
* <p>已迁移文件数量</p>
|
|
280
280
|
*/
|
|
281
281
|
FileMigratedCount?: number;
|
|
282
282
|
/**
|
|
283
|
-
*
|
|
283
|
+
* <p>迁移失败文件数量</p>
|
|
284
284
|
*/
|
|
285
285
|
FileFailedCount?: number;
|
|
286
286
|
/**
|
|
287
|
-
*
|
|
287
|
+
* <p>文件容量,单位Byte</p>
|
|
288
288
|
*/
|
|
289
289
|
FileTotalSize?: number;
|
|
290
290
|
/**
|
|
291
|
-
*
|
|
291
|
+
* <p>已迁移文件容量,单位Byte</p>
|
|
292
292
|
*/
|
|
293
293
|
FileMigratedSize?: number;
|
|
294
294
|
/**
|
|
295
|
-
*
|
|
295
|
+
* <p>迁移失败文件容量,单位Byte</p>
|
|
296
296
|
*/
|
|
297
297
|
FileFailedSize?: number;
|
|
298
298
|
/**
|
|
299
|
-
*
|
|
299
|
+
* <p>全部清单</p>
|
|
300
300
|
*/
|
|
301
301
|
FileTotalList?: string;
|
|
302
302
|
/**
|
|
303
|
-
*
|
|
303
|
+
* <p>已完成文件清单</p>
|
|
304
304
|
*/
|
|
305
305
|
FileCompletedList?: string;
|
|
306
306
|
/**
|
|
307
|
-
*
|
|
307
|
+
* <p>失败文件清单</p>
|
|
308
308
|
*/
|
|
309
309
|
FileFailedList?: string;
|
|
310
310
|
/**
|
|
311
|
-
*
|
|
311
|
+
* <p>源桶路径</p>
|
|
312
312
|
*/
|
|
313
313
|
BucketPath?: string;
|
|
314
314
|
/**
|
|
315
|
-
*
|
|
315
|
+
* <p>迁移方向。0: 对象存储迁移至文件系统,1: 文件系统迁移至对象存储。默认 0</p>
|
|
316
316
|
*/
|
|
317
317
|
Direction?: number;
|
|
318
|
+
/**
|
|
319
|
+
* <p>数据源服务商</p><p>枚举值:</p><ul><li>COS: 腾讯云COS</li><li>OSS: 阿里云OSS</li><li>OBS: 华为云OBS</li><li>BOS: 百度云BOS</li><li>TOS: 火山引擎TOS</li></ul>
|
|
320
|
+
*/
|
|
321
|
+
SrcService?: string;
|
|
318
322
|
}
|
|
319
323
|
/**
|
|
320
324
|
* StopLifecycleDataTask请求参数结构体
|
|
@@ -2962,7 +2966,7 @@ export interface UpdateCfsFileSystemPGroupRequest {
|
|
|
2962
2966
|
*/
|
|
2963
2967
|
export interface CreateMigrationTaskResponse {
|
|
2964
2968
|
/**
|
|
2965
|
-
*
|
|
2969
|
+
* <p>迁移任务 ID</p>
|
|
2966
2970
|
*/
|
|
2967
2971
|
TaskId?: string;
|
|
2968
2972
|
/**
|