tencentcloud-sdk-nodejs-cfs 4.0.580 → 4.0.583
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/CHANGELOG.md +576 -0
- package/SERVICE_CHANGELOG.md +810 -243
- package/package.json +1 -1
- package/products.md +32 -32
- package/src/services/cfs/v20190719/cfs_client.ts +72 -5
- package/src/services/cfs/v20190719/cfs_models.ts +461 -59
- package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +26 -1
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +35 -0
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +392 -52
|
@@ -15,6 +15,86 @@
|
|
|
15
15
|
* under the License.
|
|
16
16
|
*/
|
|
17
17
|
|
|
18
|
+
/**
|
|
19
|
+
* CreateMigrationTask请求参数结构体
|
|
20
|
+
*/
|
|
21
|
+
export interface CreateMigrationTaskRequest {
|
|
22
|
+
/**
|
|
23
|
+
* 迁移任务名称
|
|
24
|
+
*/
|
|
25
|
+
TaskName: string
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* 迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移
|
|
29
|
+
*/
|
|
30
|
+
MigrationType: number
|
|
31
|
+
|
|
32
|
+
/**
|
|
33
|
+
* 迁移模式,默认为0。0: 全量迁移
|
|
34
|
+
*/
|
|
35
|
+
MigrationMode: number
|
|
36
|
+
|
|
37
|
+
/**
|
|
38
|
+
* 数据源账号的SecretId
|
|
39
|
+
*/
|
|
40
|
+
SrcSecretId: string
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* 数据源账号的SecretKey
|
|
44
|
+
*/
|
|
45
|
+
SrcSecretKey: string
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* 文件系统实例Id
|
|
49
|
+
*/
|
|
50
|
+
FileSystemId: string
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* 文件系统路径
|
|
54
|
+
*/
|
|
55
|
+
FsPath: string
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖
|
|
59
|
+
*/
|
|
60
|
+
CoverType: number
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS
|
|
64
|
+
*/
|
|
65
|
+
SrcService: string
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* 数据源桶名称,名称和地址至少有一个
|
|
69
|
+
*/
|
|
70
|
+
BucketName?: string
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* 数据源桶地域
|
|
74
|
+
*/
|
|
75
|
+
BucketRegion?: string
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* 数据源桶地址,名称和地址至少有一个
|
|
79
|
+
*/
|
|
80
|
+
BucketAddress?: string
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* 清单地址,迁移方式为清单迁移时必填
|
|
84
|
+
*/
|
|
85
|
+
ListAddress?: string
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* 目标文件系统名称
|
|
89
|
+
*/
|
|
90
|
+
FsName?: string
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* 源桶路径,默认为/
|
|
94
|
+
*/
|
|
95
|
+
BucketPath?: string
|
|
96
|
+
}
|
|
97
|
+
|
|
18
98
|
/**
|
|
19
99
|
* 文件系统快照统计
|
|
20
100
|
*/
|
|
@@ -90,6 +170,152 @@ export interface DescribeSnapshotOperationLogsRequest {
|
|
|
90
170
|
EndTime: string
|
|
91
171
|
}
|
|
92
172
|
|
|
173
|
+
/**
|
|
174
|
+
* CFS数据迁移任务信息
|
|
175
|
+
*/
|
|
176
|
+
export interface MigrationTaskInfo {
|
|
177
|
+
/**
|
|
178
|
+
* 迁移任务名称
|
|
179
|
+
*/
|
|
180
|
+
TaskName: string
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* 迁移任务id
|
|
184
|
+
*/
|
|
185
|
+
TaskId: string
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* 迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移
|
|
189
|
+
*/
|
|
190
|
+
MigrationType: number
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* 迁移模式,默认为0。0: 全量迁移
|
|
194
|
+
*/
|
|
195
|
+
MigrationMode: number
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* 数据源桶名称
|
|
199
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
200
|
+
*/
|
|
201
|
+
BucketName: string
|
|
202
|
+
|
|
203
|
+
/**
|
|
204
|
+
* 数据源桶地域
|
|
205
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
206
|
+
*/
|
|
207
|
+
BucketRegion: string
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* 数据源桶地址
|
|
211
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
212
|
+
*/
|
|
213
|
+
BucketAddress: string
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* 清单地址
|
|
217
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
218
|
+
*/
|
|
219
|
+
ListAddress: string
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* 文件系统实例名称
|
|
223
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
224
|
+
*/
|
|
225
|
+
FsName: string
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* 文件系统实例Id
|
|
229
|
+
*/
|
|
230
|
+
FileSystemId: string
|
|
231
|
+
|
|
232
|
+
/**
|
|
233
|
+
* 文件系统路径
|
|
234
|
+
*/
|
|
235
|
+
FsPath: string
|
|
236
|
+
|
|
237
|
+
/**
|
|
238
|
+
* 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖
|
|
239
|
+
*/
|
|
240
|
+
CoverType: number
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* 创建时间
|
|
244
|
+
*/
|
|
245
|
+
CreateTime: number
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* 完成/终止时间
|
|
249
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
250
|
+
*/
|
|
251
|
+
EndTime: number
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* 迁移状态。0: 已完成;1: 进行中;2: 已终止
|
|
255
|
+
*/
|
|
256
|
+
Status: number
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* 文件数量
|
|
260
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
261
|
+
*/
|
|
262
|
+
FileTotalCount: number
|
|
263
|
+
|
|
264
|
+
/**
|
|
265
|
+
* 已迁移文件数量
|
|
266
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
267
|
+
*/
|
|
268
|
+
FileMigratedCount: number
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* 迁移失败文件数量
|
|
272
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
273
|
+
*/
|
|
274
|
+
FileFailedCount: number
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* 文件容量,单位Byte
|
|
278
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
279
|
+
*/
|
|
280
|
+
FileTotalSize: number
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* 已迁移文件容量,单位Byte
|
|
284
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
285
|
+
*/
|
|
286
|
+
FileMigratedSize: number
|
|
287
|
+
|
|
288
|
+
/**
|
|
289
|
+
* 迁移失败文件容量,单位Byte
|
|
290
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
291
|
+
*/
|
|
292
|
+
FileFailedSize: number
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* 全部清单
|
|
296
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
297
|
+
*/
|
|
298
|
+
FileTotalList: string
|
|
299
|
+
|
|
300
|
+
/**
|
|
301
|
+
* 已完成文件清单
|
|
302
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
303
|
+
*/
|
|
304
|
+
FileCompletedList: string
|
|
305
|
+
|
|
306
|
+
/**
|
|
307
|
+
* 失败文件清单
|
|
308
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
309
|
+
*/
|
|
310
|
+
FileFailedList: string
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* 源桶路径
|
|
314
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
315
|
+
*/
|
|
316
|
+
BucketPath: string
|
|
317
|
+
}
|
|
318
|
+
|
|
93
319
|
/**
|
|
94
320
|
* 文件系统客户端信息
|
|
95
321
|
*/
|
|
@@ -347,6 +573,26 @@ export interface CreateCfsPGroupRequest {
|
|
|
347
573
|
DescInfo?: string
|
|
348
574
|
}
|
|
349
575
|
|
|
576
|
+
/**
|
|
577
|
+
* DescribeMigrationTasks返回参数结构体
|
|
578
|
+
*/
|
|
579
|
+
export interface DescribeMigrationTasksResponse {
|
|
580
|
+
/**
|
|
581
|
+
* 迁移任务的数量
|
|
582
|
+
*/
|
|
583
|
+
TotalCount?: number
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* 迁移任务详情
|
|
587
|
+
*/
|
|
588
|
+
MigrationTasks?: Array<MigrationTaskInfo>
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
592
|
+
*/
|
|
593
|
+
RequestId?: string
|
|
594
|
+
}
|
|
595
|
+
|
|
350
596
|
/**
|
|
351
597
|
* DescribeAutoSnapshotPolicies请求参数结构体
|
|
352
598
|
*/
|
|
@@ -413,9 +659,24 @@ export interface BindAutoSnapshotPolicyResponse {
|
|
|
413
659
|
}
|
|
414
660
|
|
|
415
661
|
/**
|
|
416
|
-
*
|
|
662
|
+
* StopMigrationTask返回参数结构体
|
|
417
663
|
*/
|
|
418
|
-
export
|
|
664
|
+
export interface StopMigrationTaskResponse {
|
|
665
|
+
/**
|
|
666
|
+
* 迁移任务Id
|
|
667
|
+
*/
|
|
668
|
+
TaskId?: string
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* 迁移状态。0: 已完成;1: 进行中;2: 已终止
|
|
672
|
+
*/
|
|
673
|
+
Status?: number
|
|
674
|
+
|
|
675
|
+
/**
|
|
676
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
677
|
+
*/
|
|
678
|
+
RequestId?: string
|
|
679
|
+
}
|
|
419
680
|
|
|
420
681
|
/**
|
|
421
682
|
* SignUpCfsService返回参数结构体
|
|
@@ -524,6 +785,21 @@ export interface DescribeCfsRulesRequest {
|
|
|
524
785
|
PGroupId: string
|
|
525
786
|
}
|
|
526
787
|
|
|
788
|
+
/**
|
|
789
|
+
* UpdateCfsFileSystemName请求参数结构体
|
|
790
|
+
*/
|
|
791
|
+
export interface UpdateCfsFileSystemNameRequest {
|
|
792
|
+
/**
|
|
793
|
+
* 文件系统 ID
|
|
794
|
+
*/
|
|
795
|
+
FileSystemId: string
|
|
796
|
+
|
|
797
|
+
/**
|
|
798
|
+
* 用户自定义文件系统名称
|
|
799
|
+
*/
|
|
800
|
+
FsName?: string
|
|
801
|
+
}
|
|
802
|
+
|
|
527
803
|
/**
|
|
528
804
|
* DeleteCfsPGroup请求参数结构体
|
|
529
805
|
*/
|
|
@@ -709,6 +985,27 @@ export interface CreateCfsSnapshotRequest {
|
|
|
709
985
|
ResourceTags?: Array<TagInfo>
|
|
710
986
|
}
|
|
711
987
|
|
|
988
|
+
/**
|
|
989
|
+
* DescribeBucketList请求参数结构体
|
|
990
|
+
*/
|
|
991
|
+
export interface DescribeBucketListRequest {
|
|
992
|
+
/**
|
|
993
|
+
* 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS
|
|
994
|
+
*/
|
|
995
|
+
SrcService: string
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* 数据源账号的SecretId
|
|
999
|
+
|
|
1000
|
+
*/
|
|
1001
|
+
SrcSecretId: string
|
|
1002
|
+
|
|
1003
|
+
/**
|
|
1004
|
+
* 数据源账号的SecretKey
|
|
1005
|
+
*/
|
|
1006
|
+
SrcSecretKey: string
|
|
1007
|
+
}
|
|
1008
|
+
|
|
712
1009
|
/**
|
|
713
1010
|
* DeleteCfsRule请求参数结构体
|
|
714
1011
|
*/
|
|
@@ -725,14 +1022,49 @@ export interface DeleteCfsRuleRequest {
|
|
|
725
1022
|
}
|
|
726
1023
|
|
|
727
1024
|
/**
|
|
728
|
-
*
|
|
1025
|
+
* UpdateCfsRule返回参数结构体
|
|
729
1026
|
*/
|
|
730
|
-
export interface
|
|
1027
|
+
export interface UpdateCfsRuleResponse {
|
|
731
1028
|
/**
|
|
732
|
-
*
|
|
1029
|
+
* 权限组 ID
|
|
733
1030
|
*/
|
|
734
|
-
|
|
1031
|
+
PGroupId: string
|
|
1032
|
+
|
|
1033
|
+
/**
|
|
1034
|
+
* 规则 ID
|
|
1035
|
+
*/
|
|
1036
|
+
RuleId: string
|
|
1037
|
+
|
|
1038
|
+
/**
|
|
1039
|
+
* 允许访问的客户端 IP 或者 IP 段
|
|
1040
|
+
*/
|
|
1041
|
+
AuthClientIp: string
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* 读写权限
|
|
1045
|
+
*/
|
|
1046
|
+
RWPermission: string
|
|
1047
|
+
|
|
1048
|
+
/**
|
|
1049
|
+
* 用户权限
|
|
1050
|
+
*/
|
|
1051
|
+
UserPermission: string
|
|
1052
|
+
|
|
1053
|
+
/**
|
|
1054
|
+
* 优先级
|
|
1055
|
+
*/
|
|
1056
|
+
Priority: number
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1060
|
+
*/
|
|
1061
|
+
RequestId?: string
|
|
1062
|
+
}
|
|
735
1063
|
|
|
1064
|
+
/**
|
|
1065
|
+
* DeleteMigrationTask返回参数结构体
|
|
1066
|
+
*/
|
|
1067
|
+
export interface DeleteMigrationTaskResponse {
|
|
736
1068
|
/**
|
|
737
1069
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
738
1070
|
*/
|
|
@@ -839,6 +1171,16 @@ export interface DeleteUserQuotaResponse {
|
|
|
839
1171
|
RequestId?: string
|
|
840
1172
|
}
|
|
841
1173
|
|
|
1174
|
+
/**
|
|
1175
|
+
* DeleteMigrationTask请求参数结构体
|
|
1176
|
+
*/
|
|
1177
|
+
export interface DeleteMigrationTaskRequest {
|
|
1178
|
+
/**
|
|
1179
|
+
* 迁移任务ID
|
|
1180
|
+
*/
|
|
1181
|
+
TaskId: string
|
|
1182
|
+
}
|
|
1183
|
+
|
|
842
1184
|
/**
|
|
843
1185
|
* 文件系统绑定权限组信息
|
|
844
1186
|
*/
|
|
@@ -1022,18 +1364,19 @@ export interface CreateCfsRuleRequest {
|
|
|
1022
1364
|
}
|
|
1023
1365
|
|
|
1024
1366
|
/**
|
|
1025
|
-
*
|
|
1367
|
+
* 对象存储桶
|
|
1026
1368
|
*/
|
|
1027
|
-
export interface
|
|
1369
|
+
export interface BucketInfo {
|
|
1028
1370
|
/**
|
|
1029
|
-
*
|
|
1371
|
+
* 桶名称
|
|
1030
1372
|
*/
|
|
1031
|
-
|
|
1373
|
+
Name: string
|
|
1032
1374
|
|
|
1033
1375
|
/**
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
|
|
1376
|
+
* 桶所在地域
|
|
1377
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
1378
|
+
*/
|
|
1379
|
+
Region: string
|
|
1037
1380
|
}
|
|
1038
1381
|
|
|
1039
1382
|
/**
|
|
@@ -1093,6 +1436,26 @@ export interface DescribeUserQuotaRequest {
|
|
|
1093
1436
|
Limit?: number
|
|
1094
1437
|
}
|
|
1095
1438
|
|
|
1439
|
+
/**
|
|
1440
|
+
* DescribeBucketList返回参数结构体
|
|
1441
|
+
*/
|
|
1442
|
+
export interface DescribeBucketListResponse {
|
|
1443
|
+
/**
|
|
1444
|
+
* 桶的数量
|
|
1445
|
+
*/
|
|
1446
|
+
TotalCount?: number
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* 桶列表
|
|
1450
|
+
*/
|
|
1451
|
+
BucketList?: Array<BucketInfo>
|
|
1452
|
+
|
|
1453
|
+
/**
|
|
1454
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1455
|
+
*/
|
|
1456
|
+
RequestId?: string
|
|
1457
|
+
}
|
|
1458
|
+
|
|
1096
1459
|
/**
|
|
1097
1460
|
* UpdateCfsFileSystemName返回参数结构体
|
|
1098
1461
|
*/
|
|
@@ -1329,6 +1692,40 @@ export interface AvailableZone {
|
|
|
1329
1692
|
ZoneName: string
|
|
1330
1693
|
}
|
|
1331
1694
|
|
|
1695
|
+
/**
|
|
1696
|
+
* DescribeMigrationTasks请求参数结构体
|
|
1697
|
+
*/
|
|
1698
|
+
export interface DescribeMigrationTasksRequest {
|
|
1699
|
+
/**
|
|
1700
|
+
* 分页的偏移量,默认值为0。
|
|
1701
|
+
*/
|
|
1702
|
+
Offset?: number
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* 分页单页限制数目,默认值为20,最大值100。
|
|
1706
|
+
*/
|
|
1707
|
+
Limit?: number
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* <br><li> taskId
|
|
1711
|
+
|
|
1712
|
+
按照【迁移任务id】进行过滤。
|
|
1713
|
+
类型:String
|
|
1714
|
+
|
|
1715
|
+
必选:否
|
|
1716
|
+
|
|
1717
|
+
<br><li> taskName
|
|
1718
|
+
|
|
1719
|
+
按照【迁移任务名字】进行模糊搜索过滤。
|
|
1720
|
+
类型:String
|
|
1721
|
+
|
|
1722
|
+
必选:否
|
|
1723
|
+
|
|
1724
|
+
每次请求的Filters的上限为10,Filter.Values的上限为100。
|
|
1725
|
+
*/
|
|
1726
|
+
Filters?: Array<Filter>
|
|
1727
|
+
}
|
|
1728
|
+
|
|
1332
1729
|
/**
|
|
1333
1730
|
* 条件过滤
|
|
1334
1731
|
*/
|
|
@@ -1530,38 +1927,13 @@ export interface UpdateCfsFileSystemSizeLimitRequest {
|
|
|
1530
1927
|
}
|
|
1531
1928
|
|
|
1532
1929
|
/**
|
|
1533
|
-
*
|
|
1930
|
+
* DescribeCfsRules返回参数结构体
|
|
1534
1931
|
*/
|
|
1535
|
-
export interface
|
|
1536
|
-
/**
|
|
1537
|
-
* 权限组 ID
|
|
1538
|
-
*/
|
|
1539
|
-
PGroupId: string
|
|
1540
|
-
|
|
1541
|
-
/**
|
|
1542
|
-
* 规则 ID
|
|
1543
|
-
*/
|
|
1544
|
-
RuleId: string
|
|
1545
|
-
|
|
1546
|
-
/**
|
|
1547
|
-
* 允许访问的客户端 IP 或者 IP 段
|
|
1548
|
-
*/
|
|
1549
|
-
AuthClientIp: string
|
|
1550
|
-
|
|
1551
|
-
/**
|
|
1552
|
-
* 读写权限
|
|
1553
|
-
*/
|
|
1554
|
-
RWPermission: string
|
|
1555
|
-
|
|
1556
|
-
/**
|
|
1557
|
-
* 用户权限
|
|
1558
|
-
*/
|
|
1559
|
-
UserPermission: string
|
|
1560
|
-
|
|
1932
|
+
export interface DescribeCfsRulesResponse {
|
|
1561
1933
|
/**
|
|
1562
|
-
*
|
|
1934
|
+
* 权限组规则列表
|
|
1563
1935
|
*/
|
|
1564
|
-
|
|
1936
|
+
RuleList: Array<PGroupRuleInfo>
|
|
1565
1937
|
|
|
1566
1938
|
/**
|
|
1567
1939
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
@@ -1570,24 +1942,9 @@ export interface UpdateCfsRuleResponse {
|
|
|
1570
1942
|
}
|
|
1571
1943
|
|
|
1572
1944
|
/**
|
|
1573
|
-
*
|
|
1945
|
+
* SignUpCfsService请求参数结构体
|
|
1574
1946
|
*/
|
|
1575
|
-
export
|
|
1576
|
-
/**
|
|
1577
|
-
* 权限组 ID
|
|
1578
|
-
*/
|
|
1579
|
-
PGroupId: string
|
|
1580
|
-
|
|
1581
|
-
/**
|
|
1582
|
-
* 权限组名称,1-64个字符且只能为中文,字母,数字,下划线或横线
|
|
1583
|
-
*/
|
|
1584
|
-
Name?: string
|
|
1585
|
-
|
|
1586
|
-
/**
|
|
1587
|
-
* 权限组描述信息,1-255个字符
|
|
1588
|
-
*/
|
|
1589
|
-
DescInfo?: string
|
|
1590
|
-
}
|
|
1947
|
+
export type SignUpCfsServiceRequest = null
|
|
1591
1948
|
|
|
1592
1949
|
/**
|
|
1593
1950
|
* UpdateAutoSnapshotPolicy返回参数结构体
|
|
@@ -1794,6 +2151,21 @@ export interface UpdateCfsFileSystemPGroupRequest {
|
|
|
1794
2151
|
FileSystemId: string
|
|
1795
2152
|
}
|
|
1796
2153
|
|
|
2154
|
+
/**
|
|
2155
|
+
* CreateMigrationTask返回参数结构体
|
|
2156
|
+
*/
|
|
2157
|
+
export interface CreateMigrationTaskResponse {
|
|
2158
|
+
/**
|
|
2159
|
+
* 迁移任务Id
|
|
2160
|
+
*/
|
|
2161
|
+
TaskId?: string
|
|
2162
|
+
|
|
2163
|
+
/**
|
|
2164
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2165
|
+
*/
|
|
2166
|
+
RequestId?: string
|
|
2167
|
+
}
|
|
2168
|
+
|
|
1797
2169
|
/**
|
|
1798
2170
|
* DeleteAutoSnapshotPolicy返回参数结构体
|
|
1799
2171
|
*/
|
|
@@ -1844,6 +2216,26 @@ export interface UpdateCfsSnapshotAttributeResponse {
|
|
|
1844
2216
|
RequestId?: string
|
|
1845
2217
|
}
|
|
1846
2218
|
|
|
2219
|
+
/**
|
|
2220
|
+
* UpdateCfsPGroup请求参数结构体
|
|
2221
|
+
*/
|
|
2222
|
+
export interface UpdateCfsPGroupRequest {
|
|
2223
|
+
/**
|
|
2224
|
+
* 权限组 ID
|
|
2225
|
+
*/
|
|
2226
|
+
PGroupId: string
|
|
2227
|
+
|
|
2228
|
+
/**
|
|
2229
|
+
* 权限组名称,1-64个字符且只能为中文,字母,数字,下划线或横线
|
|
2230
|
+
*/
|
|
2231
|
+
Name?: string
|
|
2232
|
+
|
|
2233
|
+
/**
|
|
2234
|
+
* 权限组描述信息,1-255个字符
|
|
2235
|
+
*/
|
|
2236
|
+
DescInfo?: string
|
|
2237
|
+
}
|
|
2238
|
+
|
|
1847
2239
|
/**
|
|
1848
2240
|
* SetUserQuota返回参数结构体
|
|
1849
2241
|
*/
|
|
@@ -2034,6 +2426,16 @@ export interface DescribeCfsSnapshotsResponse {
|
|
|
2034
2426
|
RequestId?: string
|
|
2035
2427
|
}
|
|
2036
2428
|
|
|
2429
|
+
/**
|
|
2430
|
+
* StopMigrationTask请求参数结构体
|
|
2431
|
+
*/
|
|
2432
|
+
export interface StopMigrationTaskRequest {
|
|
2433
|
+
/**
|
|
2434
|
+
* 迁移任务名称
|
|
2435
|
+
*/
|
|
2436
|
+
TaskId: string
|
|
2437
|
+
}
|
|
2438
|
+
|
|
2037
2439
|
/**
|
|
2038
2440
|
* DescribeAutoSnapshotPolicies返回参数结构体
|
|
2039
2441
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
|
|
2
|
-
import { DescribeCfsPGroupsResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, DescribeCfsFileSystemsResponse, CreateCfsFileSystemResponse, BindAutoSnapshotPolicyRequest, CreateCfsPGroupRequest, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, BindAutoSnapshotPolicyResponse,
|
|
2
|
+
import { CreateMigrationTaskRequest, DescribeCfsPGroupsResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, DescribeCfsFileSystemsResponse, CreateCfsFileSystemResponse, BindAutoSnapshotPolicyRequest, CreateCfsPGroupRequest, DescribeMigrationTasksResponse, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, BindAutoSnapshotPolicyResponse, StopMigrationTaskResponse, SignUpCfsServiceResponse, DescribeCfsRulesRequest, UpdateCfsFileSystemNameRequest, DeleteCfsPGroupRequest, UpdateCfsPGroupResponse, DeleteAutoSnapshotPolicyRequest, DeleteCfsFileSystemResponse, UpdateCfsRuleRequest, DeleteUserQuotaRequest, DescribeAvailableZoneInfoResponse, DeleteCfsSnapshotResponse, DescribeCfsFileSystemClientsResponse, DeleteMountTargetResponse, CreateCfsSnapshotRequest, DescribeBucketListRequest, DeleteCfsRuleRequest, UpdateCfsRuleResponse, DeleteMigrationTaskResponse, DescribeSnapshotOperationLogsResponse, UpdateCfsFileSystemPGroupResponse, DeleteCfsFileSystemRequest, CreateCfsPGroupResponse, DescribeCfsServiceStatusRequest, DeleteUserQuotaResponse, DeleteMigrationTaskRequest, SetUserQuotaRequest, CreateAutoSnapshotPolicyResponse, CreateCfsSnapshotResponse, DeleteMountTargetRequest, CreateCfsRuleRequest, DescribeUserQuotaRequest, DescribeBucketListResponse, UpdateCfsFileSystemNameResponse, DescribeCfsSnapshotOverviewResponse, DeleteCfsSnapshotRequest, DescribeCfsFileSystemClientsRequest, DescribeCfsFileSystemsRequest, CreateCfsFileSystemRequest, DescribeMigrationTasksRequest, UnbindAutoSnapshotPolicyRequest, UnbindAutoSnapshotPolicyResponse, DescribeCfsServiceStatusResponse, DescribeCfsSnapshotsRequest, UpdateCfsFileSystemSizeLimitResponse, UpdateAutoSnapshotPolicyRequest, UpdateCfsFileSystemSizeLimitRequest, DescribeCfsRulesResponse, SignUpCfsServiceRequest, UpdateAutoSnapshotPolicyResponse, UpdateCfsFileSystemPGroupRequest, CreateMigrationTaskResponse, DeleteAutoSnapshotPolicyResponse, DeleteCfsRuleResponse, UpdateCfsSnapshotAttributeResponse, UpdateCfsPGroupRequest, SetUserQuotaResponse, DescribeCfsPGroupsRequest, DeleteCfsPGroupResponse, UpdateCfsSnapshotAttributeRequest, DescribeUserQuotaResponse, CreateCfsRuleResponse, DescribeCfsSnapshotsResponse, StopMigrationTaskRequest, DescribeAutoSnapshotPoliciesResponse, DescribeCfsSnapshotOverviewRequest, CreateAutoSnapshotPolicyRequest } from "./cfs_models";
|
|
3
3
|
/**
|
|
4
4
|
* cfs client
|
|
5
5
|
* @class
|
|
@@ -50,6 +50,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
50
50
|
* 本接口(DescribeCfsServiceStatus)用于查询用户使用CFS的服务状态。
|
|
51
51
|
*/
|
|
52
52
|
DescribeCfsServiceStatus(req?: DescribeCfsServiceStatusRequest, cb?: (error: string, rep: DescribeCfsServiceStatusResponse) => void): Promise<DescribeCfsServiceStatusResponse>;
|
|
53
|
+
/**
|
|
54
|
+
* 用于终止迁移任务。
|
|
55
|
+
此接口需提交工单,开启白名单之后才能使用。
|
|
56
|
+
*/
|
|
57
|
+
StopMigrationTask(req: StopMigrationTaskRequest, cb?: (error: string, rep: StopMigrationTaskResponse) => void): Promise<StopMigrationTaskResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* 用于获取迁移任务列表。
|
|
60
|
+
此接口需提交工单,开启白名单之后才能使用。
|
|
61
|
+
*/
|
|
62
|
+
DescribeMigrationTasks(req: DescribeMigrationTasksRequest, cb?: (error: string, rep: DescribeMigrationTasksResponse) => void): Promise<DescribeMigrationTasksResponse>;
|
|
53
63
|
/**
|
|
54
64
|
* 本接口(DescribeAvailableZoneInfo)用于查询区域的可用情况。
|
|
55
65
|
*/
|
|
@@ -58,6 +68,11 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
58
68
|
* 本接口(UpdateCfsFileSystemName)用于更新文件系统名
|
|
59
69
|
*/
|
|
60
70
|
UpdateCfsFileSystemName(req: UpdateCfsFileSystemNameRequest, cb?: (error: string, rep: UpdateCfsFileSystemNameResponse) => void): Promise<UpdateCfsFileSystemNameResponse>;
|
|
71
|
+
/**
|
|
72
|
+
* 用于删除迁移任务。
|
|
73
|
+
此接口需提交工单,开启白名单之后才能使用。
|
|
74
|
+
*/
|
|
75
|
+
DeleteMigrationTask(req: DeleteMigrationTaskRequest, cb?: (error: string, rep: DeleteMigrationTaskResponse) => void): Promise<DeleteMigrationTaskResponse>;
|
|
61
76
|
/**
|
|
62
77
|
* 本接口(UpdateCfsFileSystemSizeLimit)用于更新文件系统存储容量限制。
|
|
63
78
|
*/
|
|
@@ -106,6 +121,16 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
|
|
|
106
121
|
* 本接口(DeleteCfsRule)用于删除权限组规则。
|
|
107
122
|
*/
|
|
108
123
|
DeleteCfsRule(req: DeleteCfsRuleRequest, cb?: (error: string, rep: DeleteCfsRuleResponse) => void): Promise<DeleteCfsRuleResponse>;
|
|
124
|
+
/**
|
|
125
|
+
* 用于获取数据源桶列表。
|
|
126
|
+
此接口需提交工单,开启白名单之后才能使用。
|
|
127
|
+
*/
|
|
128
|
+
DescribeBucketList(req: DescribeBucketListRequest, cb?: (error: string, rep: DescribeBucketListResponse) => void): Promise<DescribeBucketListResponse>;
|
|
129
|
+
/**
|
|
130
|
+
* 用于创建迁移任务。
|
|
131
|
+
此接口需提交工单,开启白名单之后才能使用。
|
|
132
|
+
*/
|
|
133
|
+
CreateMigrationTask(req: CreateMigrationTaskRequest, cb?: (error: string, rep: CreateMigrationTaskResponse) => void): Promise<CreateMigrationTaskResponse>;
|
|
109
134
|
/**
|
|
110
135
|
* 本接口(DeleteMountTarget)用于删除挂载点
|
|
111
136
|
*/
|