tencentcloud-sdk-nodejs-cfs 4.0.433 → 4.0.438

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.
@@ -8,58 +8,61 @@ export interface DeleteCfsFileSystemResponse {
8
8
  RequestId?: string;
9
9
  }
10
10
  /**
11
- * 版本控制-可用区数组
11
+ * 快照信息
12
12
  */
13
- export interface AvailableZone {
13
+ export interface SnapshotInfo {
14
14
  /**
15
- * 可用区名称
15
+ * 创建快照时间
16
16
  */
17
- Zone: string;
17
+ CreationTime: string;
18
18
  /**
19
- * 可用区ID
19
+ * 快照名称
20
20
  */
21
- ZoneId: number;
21
+ SnapshotName: string;
22
22
  /**
23
- * 可用区中文名称
23
+ * 快照ID
24
24
  */
25
- ZoneCnName: string;
25
+ SnapshotId: string;
26
26
  /**
27
- * Type数组
27
+ * 快照状态
28
28
  */
29
- Types: Array<AvailableType>;
29
+ Status: string;
30
30
  /**
31
- * 可用区中英文名称
31
+ * 地域名称
32
32
  */
33
- ZoneName: string;
34
- }
35
- /**
36
- * UpdateCfsRule请求参数结构体
37
- */
38
- export interface UpdateCfsRuleRequest {
33
+ RegionName: string;
39
34
  /**
40
- * 权限组 ID
35
+ * 文件系统ID
41
36
  */
42
- PGroupId: string;
37
+ FileSystemId: string;
43
38
  /**
44
- * 规则 ID
39
+ * 快照大小
45
40
  */
46
- RuleId: string;
41
+ Size: number;
47
42
  /**
48
- * 可以填写单个 IP 或者单个网段,例如 10.1.10.11 或者 10.10.1.0/24。默认来访地址为*表示允许所有。同时需要注意,此处需填写 CVM 的内网 IP。
43
+ * 保留时长天
49
44
  */
50
- AuthClientIp?: string;
45
+ AliveDay: number;
51
46
  /**
52
- * 读写权限, 值为RO、RW;其中 RO 为只读,RW 为读写,不填默认为只读
47
+ * 快照进度
53
48
  */
54
- RWPermission?: string;
49
+ Percent: number;
55
50
  /**
56
- * 用户权限,值为all_squash、no_all_squash、root_squash、no_root_squash。其中all_squash为所有访问用户都会被映射为匿名用户或用户组;no_all_squash为访问用户会先与本机用户匹配,匹配失败后再映射为匿名用户或用户组;root_squash为将来访的root用户映射为匿名用户或用户组;no_root_squash为来访的root用户保持root帐号权限。不填默认为root_squash。
51
+ * 帐号ID
57
52
  */
58
- UserPermission?: string;
53
+ AppId: number;
59
54
  /**
60
- * 规则优先级,参数范围1-100。 其中 1 为最高,100为最低
55
+ * 快照删除时间
61
56
  */
62
- Priority?: number;
57
+ DeleteTime: string;
58
+ /**
59
+ * 文件系统名称
60
+ */
61
+ FsName: string;
62
+ /**
63
+ * 快照标签
64
+ */
65
+ Tags: Array<TagInfo>;
63
66
  }
64
67
  /**
65
68
  * DescribeCfsFileSystems请求参数结构体
@@ -116,6 +119,91 @@ export interface CreateCfsRuleRequest {
116
119
  */
117
120
  UserPermission?: string;
118
121
  }
122
+ /**
123
+ * 文件系统基本信息
124
+ */
125
+ export interface FileSystemInfo {
126
+ /**
127
+ * 创建时间
128
+ */
129
+ CreationTime: string;
130
+ /**
131
+ * 用户自定义名称
132
+ */
133
+ CreationToken: string;
134
+ /**
135
+ * 文件系统 ID
136
+ */
137
+ FileSystemId: string;
138
+ /**
139
+ * 文件系统状态
140
+ */
141
+ LifeCycleState: string;
142
+ /**
143
+ * 文件系统已使用容量
144
+ */
145
+ SizeByte: number;
146
+ /**
147
+ * 文件系统最大空间限制
148
+ */
149
+ SizeLimit: number;
150
+ /**
151
+ * 区域 ID
152
+ */
153
+ ZoneId: number;
154
+ /**
155
+ * 区域名称
156
+ */
157
+ Zone: string;
158
+ /**
159
+ * 文件系统协议类型
160
+ */
161
+ Protocol: string;
162
+ /**
163
+ * 文件系统存储类型
164
+ */
165
+ StorageType: string;
166
+ /**
167
+ * 文件系统绑定的预付费存储包
168
+ */
169
+ StorageResourcePkg: string;
170
+ /**
171
+ * 文件系统绑定的预付费带宽包(暂未支持)
172
+ */
173
+ BandwidthResourcePkg: string;
174
+ /**
175
+ * 文件系统绑定权限组信息
176
+ */
177
+ PGroup: PGroup;
178
+ /**
179
+ * 用户自定义名称
180
+ */
181
+ FsName: string;
182
+ /**
183
+ * 文件系统是否加密
184
+ */
185
+ Encrypted: boolean;
186
+ /**
187
+ * 加密所使用的密钥,可以为密钥的 ID 或者 ARN
188
+ */
189
+ KmsKeyId: string;
190
+ /**
191
+ * 应用ID
192
+ */
193
+ AppId: number;
194
+ /**
195
+ * 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定
196
+ */
197
+ BandwidthLimit: number;
198
+ /**
199
+ * 文件系统总容量
200
+ */
201
+ Capacity: number;
202
+ /**
203
+ * 文件系统标签列表
204
+ */
205
+ Tags: Array<TagInfo>;
206
+ }
119
207
  /**
120
208
  * 文件系统绑定权限组信息
121
209
  */
@@ -143,25 +231,21 @@ export interface DescribeAvailableZoneInfoResponse {
143
231
  RequestId?: string;
144
232
  }
145
233
  /**
146
- * UpdateCfsFileSystemName返回参数结构体
234
+ * 文件系统快照统计
147
235
  */
148
- export interface UpdateCfsFileSystemNameResponse {
149
- /**
150
- * 用户自定义文件系统名称
151
- */
152
- CreationToken: string;
236
+ export interface SnapshotStatistics {
153
237
  /**
154
- * 文件系统ID
238
+ * 地域
155
239
  */
156
- FileSystemId: string;
240
+ Region: string;
157
241
  /**
158
- * 用户自定义文件系统名称
242
+ * 快照总个数
159
243
  */
160
- FsName: string;
244
+ SnapshotNumber: number;
161
245
  /**
162
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
246
+ * 快照总容量
163
247
  */
164
- RequestId?: string;
248
+ SnapshotSize: number;
165
249
  }
166
250
  /**
167
251
  * UpdateCfsFileSystemName请求参数结构体
@@ -176,6 +260,19 @@ export interface UpdateCfsFileSystemNameRequest {
176
260
  */
177
261
  FsName?: string;
178
262
  }
263
+ /**
264
+ * DeleteCfsSnapshot返回参数结构体
265
+ */
266
+ export interface DeleteCfsSnapshotResponse {
267
+ /**
268
+ * 文件系统ID
269
+ */
270
+ SnapshotId: string;
271
+ /**
272
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
273
+ */
274
+ RequestId?: string;
275
+ }
179
276
  /**
180
277
  * DescribeCfsPGroups返回参数结构体
181
278
  */
@@ -203,31 +300,123 @@ export interface DescribeCfsFileSystemClientsResponse {
203
300
  RequestId?: string;
204
301
  }
205
302
  /**
206
- * DeleteMountTarget返回参数结构体
303
+ * 快照操作日志
207
304
  */
208
- export interface DeleteMountTargetResponse {
305
+ export interface SnapshotOperateLog {
306
+ /**
307
+ * 操作类型
308
+ */
309
+ Action: string;
310
+ /**
311
+ * 操作时间
312
+ */
313
+ ActionTime: string;
314
+ /**
315
+ * 操作名称
316
+ */
317
+ ActionName: string;
318
+ /**
319
+ * 操作者
320
+ */
321
+ Operator: string;
322
+ /**
323
+ * 结果
324
+ */
325
+ Result: number;
326
+ }
327
+ /**
328
+ * DescribeSnapshotOperationLogs返回参数结构体
329
+ */
330
+ export interface DescribeSnapshotOperationLogsResponse {
331
+ /**
332
+ * 快照ID
333
+ */
334
+ SnapshotId: string;
335
+ /**
336
+ * 操作日志
337
+ */
338
+ SnapshotOperates: Array<SnapshotOperateLog>;
209
339
  /**
210
340
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
211
341
  */
212
342
  RequestId?: string;
213
343
  }
214
344
  /**
215
- * DescribeMountTargets返回参数结构体
345
+ * UpdateCfsRule请求参数结构体
216
346
  */
217
- export interface DescribeMountTargetsResponse {
347
+ export interface UpdateCfsRuleRequest {
218
348
  /**
219
- * 挂载点详情
349
+ * 权限组 ID
220
350
  */
221
- MountTargets: Array<MountInfo>;
351
+ PGroupId: string;
222
352
  /**
223
- * 挂载点数量
353
+ * 规则 ID
224
354
  */
225
- NumberOfMountTargets: number;
355
+ RuleId: string;
356
+ /**
357
+ * 可以填写单个 IP 或者单个网段,例如 10.1.10.11 或者 10.10.1.0/24。默认来访地址为*表示允许所有。同时需要注意,此处需填写 CVM 的内网 IP。
358
+ */
359
+ AuthClientIp?: string;
360
+ /**
361
+ * 读写权限, 值为RO、RW;其中 RO 为只读,RW 为读写,不填默认为只读
362
+ */
363
+ RWPermission?: string;
364
+ /**
365
+ * 用户权限,值为all_squash、no_all_squash、root_squash、no_root_squash。其中all_squash为所有访问用户都会被映射为匿名用户或用户组;no_all_squash为访问用户会先与本机用户匹配,匹配失败后再映射为匿名用户或用户组;root_squash为将来访的root用户映射为匿名用户或用户组;no_root_squash为来访的root用户保持root帐号权限。不填默认为root_squash。
366
+ */
367
+ UserPermission?: string;
368
+ /**
369
+ * 规则优先级,参数范围1-100。 其中 1 为最高,100为最低
370
+ */
371
+ Priority?: number;
372
+ }
373
+ /**
374
+ * DeleteAutoSnapshotPolicy返回参数结构体
375
+ */
376
+ export interface DeleteAutoSnapshotPolicyResponse {
377
+ /**
378
+ * 快照策略ID
379
+ */
380
+ AutoSnapshotPolicyId: string;
226
381
  /**
227
382
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
228
383
  */
229
384
  RequestId?: string;
230
385
  }
386
+ /**
387
+ * CreateCfsSnapshot请求参数结构体
388
+ */
389
+ export interface CreateCfsSnapshotRequest {
390
+ /**
391
+ * 文件系统id
392
+ */
393
+ FileSystemId: string;
394
+ /**
395
+ * 快照名称
396
+ */
397
+ SnapshotName?: string;
398
+ /**
399
+ * 快照标签
400
+ */
401
+ ResourceTags?: Array<TagInfo>;
402
+ }
403
+ /**
404
+ * DescribeSnapshotOperationLogs请求参数结构体
405
+ */
406
+ export interface DescribeSnapshotOperationLogsRequest {
407
+ /**
408
+ * 文件系统快照ID
409
+ */
410
+ SnapshotId: string;
411
+ /**
412
+ * 起始时间
413
+ */
414
+ StartTime: string;
415
+ /**
416
+ * 结束时间
417
+ */
418
+ EndTime: string;
419
+ }
231
420
  /**
232
421
  * DeleteCfsRule返回参数结构体
233
422
  */
@@ -245,6 +434,19 @@ export interface DeleteCfsRuleResponse {
245
434
  */
246
435
  RequestId?: string;
247
436
  }
437
+ /**
438
+ * DescribeCfsSnapshotOverview返回参数结构体
439
+ */
440
+ export interface DescribeCfsSnapshotOverviewResponse {
441
+ /**
442
+ * 统计信息
443
+ */
444
+ StatisticsList: Array<SnapshotStatistics>;
445
+ /**
446
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
447
+ */
448
+ RequestId?: string;
449
+ }
248
450
  /**
249
451
  * DeleteCfsRule请求参数结构体
250
452
  */
@@ -258,6 +460,15 @@ export interface DeleteCfsRuleRequest {
258
460
  */
259
461
  RuleId: string;
260
462
  }
463
+ /**
464
+ * DeleteMountTarget返回参数结构体
465
+ */
466
+ export interface DeleteMountTargetResponse {
467
+ /**
468
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
469
+ */
470
+ RequestId?: string;
471
+ }
261
472
  /**
262
473
  * UpdateCfsPGroup请求参数结构体
263
474
  */
@@ -407,6 +618,23 @@ export interface DescribeCfsFileSystemsResponse {
407
618
  */
408
619
  RequestId?: string;
409
620
  }
621
+ /**
622
+ * DescribeAutoSnapshotPolicies返回参数结构体
623
+ */
624
+ export interface DescribeAutoSnapshotPoliciesResponse {
625
+ /**
626
+ * 快照策略总个数
627
+ */
628
+ TotalCount: number;
629
+ /**
630
+ * 快照策略信息
631
+ */
632
+ AutoSnapshotPolicies: Array<AutoSnapshotPolicyInfo>;
633
+ /**
634
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
635
+ */
636
+ RequestId?: string;
637
+ }
410
638
  /**
411
639
  * CreateCfsFileSystem返回参数结构体
412
640
  */
@@ -449,115 +677,81 @@ export interface CreateCfsFileSystemResponse {
449
677
  RequestId?: string;
450
678
  }
451
679
  /**
452
- * 文件系统基本信息
680
+ * DescribeMountTargets返回参数结构体
453
681
  */
454
- export interface FileSystemInfo {
682
+ export interface DescribeMountTargetsResponse {
455
683
  /**
456
- * 创建时间
684
+ * 挂载点详情
457
685
  */
458
- CreationTime: string;
459
- /**
460
- * 用户自定义名称
461
- */
462
- CreationToken: string;
463
- /**
464
- * 文件系统 ID
465
- */
466
- FileSystemId: string;
467
- /**
468
- * 文件系统状态
469
- */
470
- LifeCycleState: string;
471
- /**
472
- * 文件系统已使用容量
473
- */
474
- SizeByte: number;
475
- /**
476
- * 文件系统最大空间限制
477
- */
478
- SizeLimit: number;
479
- /**
480
- * 区域 ID
481
- */
482
- ZoneId: number;
483
- /**
484
- * 区域名称
485
- */
486
- Zone: string;
487
- /**
488
- * 文件系统协议类型
489
- */
490
- Protocol: string;
491
- /**
492
- * 文件系统存储类型
493
- */
494
- StorageType: string;
495
- /**
496
- * 文件系统绑定的预付费存储包
497
- */
498
- StorageResourcePkg: string;
499
- /**
500
- * 文件系统绑定的预付费带宽包(暂未支持)
501
- */
502
- BandwidthResourcePkg: string;
503
- /**
504
- * 文件系统绑定权限组信息
505
- */
506
- PGroup: PGroup;
507
- /**
508
- * 用户自定义名称
509
- */
510
- FsName: string;
511
- /**
512
- * 文件系统是否加密
513
- */
514
- Encrypted: boolean;
515
- /**
516
- * 加密所使用的密钥,可以为密钥的 ID 或者 ARN
517
- */
518
- KmsKeyId: string;
686
+ MountTargets: Array<MountInfo>;
519
687
  /**
520
- * 应用ID
688
+ * 挂载点数量
521
689
  */
522
- AppId: number;
690
+ NumberOfMountTargets: number;
523
691
  /**
524
- * 文件系统吞吐上限,吞吐上限是根据文件系统当前已使用存储量、绑定的存储资源包以及吞吐资源包一同确定
692
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
525
693
  */
526
- BandwidthLimit: number;
694
+ RequestId?: string;
695
+ }
696
+ /**
697
+ * BindAutoSnapshotPolicy请求参数结构体
698
+ */
699
+ export interface BindAutoSnapshotPolicyRequest {
527
700
  /**
528
- * 文件系统总容量
701
+ * 快照策略ID
529
702
  */
530
- Capacity: number;
703
+ AutoSnapshotPolicyId: string;
531
704
  /**
532
- * 文件系统标签列表
705
+ * 文件系统列表
533
706
  */
534
- Tags: Array<TagInfo>;
707
+ FileSystemIds: string;
535
708
  }
536
709
  /**
537
- * Tag信息单元
710
+ * DescribeCfsFileSystemClients请求参数结构体
538
711
  */
539
- export interface TagInfo {
712
+ export interface DescribeCfsFileSystemClientsRequest {
540
713
  /**
541
- * 标签键
714
+ * 文件系统 ID。
542
715
  */
543
- TagKey: string;
716
+ FileSystemId: string;
717
+ }
718
+ /**
719
+ * DeleteCfsSnapshot请求参数结构体
720
+ */
721
+ export interface DeleteCfsSnapshotRequest {
544
722
  /**
545
- * 标签值
723
+ * 文件系统快照id
546
724
  */
547
- TagValue: string;
725
+ SnapshotId: string;
548
726
  }
549
727
  /**
550
728
  * DescribeCfsPGroups请求参数结构体
551
729
  */
552
730
  export declare type DescribeCfsPGroupsRequest = null;
553
731
  /**
554
- * DescribeCfsFileSystemClients请求参数结构体
732
+ * 版本控制-可用区数组
555
733
  */
556
- export interface DescribeCfsFileSystemClientsRequest {
734
+ export interface AvailableZone {
557
735
  /**
558
- * 文件系统 ID。
736
+ * 可用区名称
559
737
  */
560
- FileSystemId: string;
738
+ Zone: string;
739
+ /**
740
+ * 可用区ID
741
+ */
742
+ ZoneId: number;
743
+ /**
744
+ * 可用区中文名称
745
+ */
746
+ ZoneCnName: string;
747
+ /**
748
+ * Type数组
749
+ */
750
+ Types: Array<AvailableType>;
751
+ /**
752
+ * 可用区中英文名称
753
+ */
754
+ ZoneName: string;
561
755
  }
562
756
  /**
563
757
  * CreateCfsPGroup请求参数结构体
@@ -590,18 +784,64 @@ export interface DeleteCfsPGroupResponse {
590
784
  RequestId?: string;
591
785
  }
592
786
  /**
593
- * UpdateCfsFileSystemSizeLimit返回参数结构体
787
+ * DescribeCfsSnapshots返回参数结构体
594
788
  */
595
- export interface UpdateCfsFileSystemSizeLimitResponse {
789
+ export interface DescribeCfsSnapshotsResponse {
790
+ /**
791
+ * 总个数
792
+ */
793
+ TotalCount: number;
794
+ /**
795
+ * 快照信息描述
796
+ */
797
+ Snapshots: Array<SnapshotInfo>;
798
+ /**
799
+ * 快照列表快照汇总
800
+ */
801
+ TotalSize: number;
596
802
  /**
597
803
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
598
804
  */
599
805
  RequestId?: string;
600
806
  }
601
807
  /**
602
- * DescribeAvailableZoneInfo请求参数结构体
808
+ * DescribeAutoSnapshotPolicies请求参数结构体
603
809
  */
604
- export declare type DescribeAvailableZoneInfoRequest = null;
810
+ export interface DescribeAutoSnapshotPoliciesRequest {
811
+ /**
812
+ * 快照策略ID
813
+ */
814
+ AutoSnapshotPolicyId?: string;
815
+ /**
816
+ * 分页码
817
+ */
818
+ Offset?: number;
819
+ /**
820
+ * 页面长
821
+ */
822
+ Limit?: number;
823
+ /**
824
+ * 过滤条件
825
+ */
826
+ Filters?: Array<Filter>;
827
+ /**
828
+ * 升序,降序
829
+ */
830
+ Order?: string;
831
+ /**
832
+ * 排序字段
833
+ */
834
+ OrderField?: string;
835
+ }
836
+ /**
837
+ * DeleteCfsFileSystem请求参数结构体
838
+ */
839
+ export interface DeleteCfsFileSystemRequest {
840
+ /**
841
+ * 文件系统 ID。说明,进行删除文件系统操作前需要先调用 DeleteMountTarget 接口删除该文件系统的挂载点,否则会删除失败。
842
+ */
843
+ FileSystemId: string;
844
+ }
605
845
  /**
606
846
  * 版本控制-区域数组
607
847
  */
@@ -627,6 +867,23 @@ export interface AvailableRegion {
627
867
  */
628
868
  RegionCnName: string;
629
869
  }
870
+ /**
871
+ * UpdateCfsSnapshotAttribute请求参数结构体
872
+ */
873
+ export interface UpdateCfsSnapshotAttributeRequest {
874
+ /**
875
+ * 文件系统快照ID
876
+ */
877
+ SnapshotId: string;
878
+ /**
879
+ * 文件系统快照名称
880
+ */
881
+ SnapshotName?: string;
882
+ /**
883
+ * 文件系统快照保留天数
884
+ */
885
+ AliveDays?: number;
886
+ }
630
887
  /**
631
888
  * CreateCfsFileSystem请求参数结构体
632
889
  */
@@ -727,13 +984,114 @@ export interface CreateCfsPGroupResponse {
727
984
  RequestId?: string;
728
985
  }
729
986
  /**
730
- * SignUpCfsService请求参数结构体
987
+ * UpdateCfsFileSystemPGroup请求参数结构体
731
988
  */
732
- export declare type SignUpCfsServiceRequest = null;
989
+ export interface UpdateCfsFileSystemPGroupRequest {
990
+ /**
991
+ * 权限组 ID
992
+ */
993
+ PGroupId: string;
994
+ /**
995
+ * 文件系统 ID
996
+ */
997
+ FileSystemId: string;
998
+ }
999
+ /**
1000
+ * 权限组规则列表
1001
+ */
1002
+ export interface PGroupRuleInfo {
1003
+ /**
1004
+ * 规则ID
1005
+ */
1006
+ RuleId: string;
1007
+ /**
1008
+ * 允许访问的客户端IP
1009
+ */
1010
+ AuthClientIp: string;
1011
+ /**
1012
+ * 读写权限, ro为只读,rw为读写
1013
+ */
1014
+ RWPermission: string;
1015
+ /**
1016
+ * 用户权限。其中all_squash为所有访问用户都会被映射为匿名用户或用户组;no_all_squash为访问用户会先与本机用户匹配,匹配失败后再映射为匿名用户或用户组;root_squash为将来访的root用户映射为匿名用户或用户组;no_root_squash为来访的root用户保持root帐号权限。
1017
+ */
1018
+ UserPermission: string;
1019
+ /**
1020
+ * 规则优先级,1-100。 其中 1 为最高,100为最低
1021
+ */
1022
+ Priority: number;
1023
+ }
1024
+ /**
1025
+ * UpdateCfsFileSystemName返回参数结构体
1026
+ */
1027
+ export interface UpdateCfsFileSystemNameResponse {
1028
+ /**
1029
+ * 用户自定义文件系统名称
1030
+ */
1031
+ CreationToken: string;
1032
+ /**
1033
+ * 文件系统ID
1034
+ */
1035
+ FileSystemId: string;
1036
+ /**
1037
+ * 用户自定义文件系统名称
1038
+ */
1039
+ FsName: string;
1040
+ /**
1041
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1042
+ */
1043
+ RequestId?: string;
1044
+ }
733
1045
  /**
734
1046
  * DescribeCfsServiceStatus请求参数结构体
735
1047
  */
736
1048
  export declare type DescribeCfsServiceStatusRequest = null;
1049
+ /**
1050
+ * UpdateCfsSnapshotAttribute返回参数结构体
1051
+ */
1052
+ export interface UpdateCfsSnapshotAttributeResponse {
1053
+ /**
1054
+ * 文件系统快照ID
1055
+ */
1056
+ SnapshotId: string;
1057
+ /**
1058
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1059
+ */
1060
+ RequestId?: string;
1061
+ }
1062
+ /**
1063
+ * 绑定快照策略的文件系统信息
1064
+ */
1065
+ export interface FileSystemByPolicy {
1066
+ /**
1067
+ * 文件系统名称
1068
+ */
1069
+ CreationToken: string;
1070
+ /**
1071
+ * 文件系统ID
1072
+ */
1073
+ FileSystemId: string;
1074
+ /**
1075
+ * 文件系统大小
1076
+ */
1077
+ SizeByte: number;
1078
+ /**
1079
+ * 存储类型
1080
+ */
1081
+ StorageType: string;
1082
+ /**
1083
+ * 快照总大小
1084
+ */
1085
+ TotalSnapshotSize: number;
1086
+ /**
1087
+ * 文件系统创建时间
1088
+ */
1089
+ CreationTime: string;
1090
+ /**
1091
+ * 文件系统所在区ID
1092
+ */
1093
+ ZoneId: number;
1094
+ }
737
1095
  /**
738
1096
  * 权限组数组
739
1097
  */
@@ -759,6 +1117,32 @@ export interface PGroupInfo {
759
1117
  */
760
1118
  BindCfsNum: number;
761
1119
  }
1120
+ /**
1121
+ * 条件过滤
1122
+ */
1123
+ export interface Filter {
1124
+ /**
1125
+ * 值
1126
+ */
1127
+ Values: Array<string>;
1128
+ /**
1129
+ * 名称
1130
+ */
1131
+ Name: string;
1132
+ }
1133
+ /**
1134
+ * UnbindAutoSnapshotPolicy请求参数结构体
1135
+ */
1136
+ export interface UnbindAutoSnapshotPolicyRequest {
1137
+ /**
1138
+ * 需要解绑的文件系统ID列表,用"," 分割
1139
+ */
1140
+ FileSystemIds: string;
1141
+ /**
1142
+ * 解绑的快照ID
1143
+ */
1144
+ AutoSnapshotPolicyId: string;
1145
+ }
762
1146
  /**
763
1147
  * SignUpCfsService返回参数结构体
764
1148
  */
@@ -773,17 +1157,61 @@ export interface SignUpCfsServiceResponse {
773
1157
  RequestId?: string;
774
1158
  }
775
1159
  /**
776
- * UpdateCfsFileSystemPGroup请求参数结构体
1160
+ * 快照策略信息
777
1161
  */
778
- export interface UpdateCfsFileSystemPGroupRequest {
1162
+ export interface AutoSnapshotPolicyInfo {
779
1163
  /**
780
- * 权限组 ID
1164
+ * 快照策略ID
781
1165
  */
782
- PGroupId: string;
1166
+ AutoSnapshotPolicyId: string;
783
1167
  /**
784
- * 文件系统 ID
1168
+ * 快照策略ID
785
1169
  */
786
- FileSystemId: string;
1170
+ PolicyName: string;
1171
+ /**
1172
+ * 快照策略创建时间
1173
+ */
1174
+ CreationTime: string;
1175
+ /**
1176
+ * 关联的文件系统个数
1177
+ */
1178
+ FileSystemNums: number;
1179
+ /**
1180
+ * 快照定期备份在一星期哪一天
1181
+ */
1182
+ DayOfWeek: string;
1183
+ /**
1184
+ * 快照定期备份在一天的哪一小时
1185
+ */
1186
+ Hour: string;
1187
+ /**
1188
+ * 是否激活定期快照功能
1189
+ */
1190
+ IsActivated: number;
1191
+ /**
1192
+ * 下一次触发快照时间
1193
+ */
1194
+ NextActiveTime: string;
1195
+ /**
1196
+ * 快照策略状态
1197
+ */
1198
+ Status: string;
1199
+ /**
1200
+ * 帐号ID
1201
+ */
1202
+ AppId: number;
1203
+ /**
1204
+ * 保留时间
1205
+ */
1206
+ AliveDays: number;
1207
+ /**
1208
+ * 地域
1209
+ */
1210
+ RegionName: string;
1211
+ /**
1212
+ * 文件系统信息
1213
+ */
1214
+ FileSystems: Array<FileSystemByPolicy>;
787
1215
  }
788
1216
  /**
789
1217
  * DescribeCfsServiceStatus返回参数结构体
@@ -831,6 +1259,49 @@ export interface CreateCfsRuleResponse {
831
1259
  */
832
1260
  RequestId?: string;
833
1261
  }
1262
+ /**
1263
+ * CreateAutoSnapshotPolicy返回参数结构体
1264
+ */
1265
+ export interface CreateAutoSnapshotPolicyResponse {
1266
+ /**
1267
+ * 快照策略ID
1268
+ */
1269
+ AutoSnapshotPolicyId: string;
1270
+ /**
1271
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1272
+ */
1273
+ RequestId?: string;
1274
+ }
1275
+ /**
1276
+ * UpdateCfsFileSystemPGroup返回参数结构体
1277
+ */
1278
+ export interface UpdateCfsFileSystemPGroupResponse {
1279
+ /**
1280
+ * 权限组 ID
1281
+ */
1282
+ PGroupId: string;
1283
+ /**
1284
+ * 文件系统 ID
1285
+ */
1286
+ FileSystemId: string;
1287
+ /**
1288
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1289
+ */
1290
+ RequestId?: string;
1291
+ }
1292
+ /**
1293
+ * Tag信息单元
1294
+ */
1295
+ export interface TagInfo {
1296
+ /**
1297
+ * 标签键
1298
+ */
1299
+ TagKey: string;
1300
+ /**
1301
+ * 标签值
1302
+ */
1303
+ TagValue: string;
1304
+ }
834
1305
  /**
835
1306
  * 版本控制-协议详情
836
1307
 
@@ -855,29 +1326,59 @@ export interface DescribeCfsRulesRequest {
855
1326
  PGroupId: string;
856
1327
  }
857
1328
  /**
858
- * 权限组规则列表
1329
+ * BindAutoSnapshotPolicy返回参数结构体
859
1330
  */
860
- export interface PGroupRuleInfo {
1331
+ export interface BindAutoSnapshotPolicyResponse {
861
1332
  /**
862
- * 规则ID
1333
+ * 快照策略ID
863
1334
  */
864
- RuleId: string;
1335
+ AutoSnapshotPolicyId: string;
865
1336
  /**
866
- * 允许访问的客户端IP
1337
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
867
1338
  */
868
- AuthClientIp: string;
1339
+ RequestId?: string;
1340
+ }
1341
+ /**
1342
+ * DescribeCfsSnapshots请求参数结构体
1343
+ */
1344
+ export interface DescribeCfsSnapshotsRequest {
869
1345
  /**
870
- * 读写权限, ro为只读,rw为读写
1346
+ * 文件系统ID
871
1347
  */
872
- RWPermission: string;
1348
+ FileSystemId?: string;
873
1349
  /**
874
- * 用户权限。其中all_squash为所有访问用户都会被映射为匿名用户或用户组;no_all_squash为访问用户会先与本机用户匹配,匹配失败后再映射为匿名用户或用户组;root_squash为将来访的root用户映射为匿名用户或用户组;no_root_squash为来访的root用户保持root帐号权限。
1350
+ * 快照ID
875
1351
  */
876
- UserPermission: string;
1352
+ SnapshotId?: string;
877
1353
  /**
878
- * 规则优先级,1-100。 其中 1 为最高,100为最低
1354
+ * 分页起始位置
879
1355
  */
880
- Priority: number;
1356
+ Offset?: number;
1357
+ /**
1358
+ * 页面长度
1359
+ */
1360
+ Limit?: number;
1361
+ /**
1362
+ * 过滤条件
1363
+ */
1364
+ Filters?: Array<Filter>;
1365
+ /**
1366
+ * 排序取值
1367
+ */
1368
+ OrderField?: string;
1369
+ /**
1370
+ * 排序 升序或者降序
1371
+ */
1372
+ Order?: string;
1373
+ }
1374
+ /**
1375
+ * UpdateCfsFileSystemSizeLimit返回参数结构体
1376
+ */
1377
+ export interface UpdateCfsFileSystemSizeLimitResponse {
1378
+ /**
1379
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1380
+ */
1381
+ RequestId?: string;
881
1382
  }
882
1383
  /**
883
1384
  * DeleteCfsPGroup请求参数结构体
@@ -888,6 +1389,39 @@ export interface DeleteCfsPGroupRequest {
888
1389
  */
889
1390
  PGroupId: string;
890
1391
  }
1392
+ /**
1393
+ * UpdateAutoSnapshotPolicy请求参数结构体
1394
+ */
1395
+ export interface UpdateAutoSnapshotPolicyRequest {
1396
+ /**
1397
+ * 快照策略ID
1398
+ */
1399
+ AutoSnapshotPolicyId: string;
1400
+ /**
1401
+ * 快照策略名称
1402
+ */
1403
+ PolicyName?: string;
1404
+ /**
1405
+ * 快照定期备份在一星期哪一天
1406
+ */
1407
+ DayOfWeek?: string;
1408
+ /**
1409
+ * 快照定期备份在一天的哪一小时
1410
+ */
1411
+ Hour?: string;
1412
+ /**
1413
+ * 快照保留日期
1414
+ */
1415
+ AliveDays?: number;
1416
+ /**
1417
+ * 是否激活定期快照功能
1418
+ */
1419
+ IsActivated?: number;
1420
+ }
1421
+ /**
1422
+ * DescribeCfsSnapshotOverview请求参数结构体
1423
+ */
1424
+ export declare type DescribeCfsSnapshotOverviewRequest = null;
891
1425
  /**
892
1426
  * 版本控制-类型数组
893
1427
  */
@@ -905,6 +1439,19 @@ export interface AvailableType {
905
1439
  */
906
1440
  Prepayment: boolean;
907
1441
  }
1442
+ /**
1443
+ * UnbindAutoSnapshotPolicy返回参数结构体
1444
+ */
1445
+ export interface UnbindAutoSnapshotPolicyResponse {
1446
+ /**
1447
+ * 快照策略ID
1448
+ */
1449
+ AutoSnapshotPolicyId: string;
1450
+ /**
1451
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1452
+ */
1453
+ RequestId?: string;
1454
+ }
908
1455
  /**
909
1456
  * UpdateCfsFileSystemSizeLimit请求参数结构体
910
1457
  */
@@ -919,14 +1466,9 @@ export interface UpdateCfsFileSystemSizeLimitRequest {
919
1466
  FileSystemId: string;
920
1467
  }
921
1468
  /**
922
- * DeleteCfsFileSystem请求参数结构体
1469
+ * DescribeAvailableZoneInfo请求参数结构体
923
1470
  */
924
- export interface DeleteCfsFileSystemRequest {
925
- /**
926
- * 文件系统 ID。说明,进行删除文件系统操作前需要先调用 DeleteMountTarget 接口删除该文件系统的挂载点,否则会删除失败。
927
- */
928
- FileSystemId: string;
929
- }
1471
+ export declare type DescribeAvailableZoneInfoRequest = null;
930
1472
  /**
931
1473
  * UpdateCfsPGroup返回参数结构体
932
1474
  */
@@ -962,17 +1504,60 @@ export interface DescribeCfsRulesResponse {
962
1504
  RequestId?: string;
963
1505
  }
964
1506
  /**
965
- * UpdateCfsFileSystemPGroup返回参数结构体
1507
+ * SignUpCfsService请求参数结构体
966
1508
  */
967
- export interface UpdateCfsFileSystemPGroupResponse {
1509
+ export declare type SignUpCfsServiceRequest = null;
1510
+ /**
1511
+ * DeleteAutoSnapshotPolicy请求参数结构体
1512
+ */
1513
+ export interface DeleteAutoSnapshotPolicyRequest {
968
1514
  /**
969
- * 权限组 ID
1515
+ * 快照策略ID
970
1516
  */
971
- PGroupId: string;
1517
+ AutoSnapshotPolicyId: string;
1518
+ }
1519
+ /**
1520
+ * CreateAutoSnapshotPolicy请求参数结构体
1521
+ */
1522
+ export interface CreateAutoSnapshotPolicyRequest {
972
1523
  /**
973
- * 文件系统 ID
1524
+ * 快照重复日期,星期一到星期日
974
1525
  */
975
- FileSystemId: string;
1526
+ DayOfWeek: string;
1527
+ /**
1528
+ * 快照重复时间点
1529
+ */
1530
+ Hour: string;
1531
+ /**
1532
+ * 策略名称
1533
+ */
1534
+ PolicyName?: string;
1535
+ /**
1536
+ * 快照保留时长
1537
+ */
1538
+ AliveDays?: number;
1539
+ }
1540
+ /**
1541
+ * UpdateAutoSnapshotPolicy返回参数结构体
1542
+ */
1543
+ export interface UpdateAutoSnapshotPolicyResponse {
1544
+ /**
1545
+ * 快照策略ID
1546
+ */
1547
+ AutoSnapshotPolicyId: string;
1548
+ /**
1549
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1550
+ */
1551
+ RequestId?: string;
1552
+ }
1553
+ /**
1554
+ * CreateCfsSnapshot返回参数结构体
1555
+ */
1556
+ export interface CreateCfsSnapshotResponse {
1557
+ /**
1558
+ * 文件系统快照id
1559
+ */
1560
+ SnapshotId: string;
976
1561
  /**
977
1562
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
978
1563
  */