tencentcloud-sdk-nodejs 4.0.580 → 4.0.582

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 (47) hide show
  1. package/CHANGELOG.md +187 -0
  2. package/SERVICE_CHANGELOG.md +210 -246
  3. package/package.json +1 -1
  4. package/products.md +16 -16
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdn/v20180606/cdn_models.ts +2 -2
  7. package/src/services/cfs/v20190719/cfs_client.ts +72 -5
  8. package/src/services/cfs/v20190719/cfs_models.ts +461 -59
  9. package/src/services/cwp/v20180228/cwp_client.ts +4 -2
  10. package/src/services/ess/v20201111/ess_client.ts +25 -1
  11. package/src/services/ess/v20201111/ess_models.ts +91 -16
  12. package/src/services/faceid/v20180301/faceid_models.ts +34 -3
  13. package/src/services/ms/v20180408/ms_client.ts +4 -2
  14. package/src/services/rum/v20210622/rum_client.ts +86 -38
  15. package/src/services/rum/v20210622/rum_models.ts +283 -13
  16. package/src/services/trp/v20210515/trp_client.ts +67 -17
  17. package/src/services/trp/v20210515/trp_models.ts +187 -26
  18. package/src/services/waf/v20180125/waf_client.ts +39 -14
  19. package/src/services/waf/v20180125/waf_models.ts +197 -25
  20. package/tencentcloud/common/sdk_version.d.ts +1 -1
  21. package/tencentcloud/common/sdk_version.js +1 -1
  22. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +2 -2
  23. package/tencentcloud/services/cfs/v20190719/cfs_client.d.ts +26 -1
  24. package/tencentcloud/services/cfs/v20190719/cfs_client.js +35 -0
  25. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +391 -51
  26. package/tencentcloud/services/cwp/v20180228/cwp_client.d.ts +3 -1
  27. package/tencentcloud/services/cwp/v20180228/cwp_client.js +3 -1
  28. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +9 -1
  29. package/tencentcloud/services/ess/v20201111/ess_client.js +12 -0
  30. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +81 -16
  31. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +34 -5
  32. package/tencentcloud/services/ms/v20180408/ms_client.d.ts +3 -1
  33. package/tencentcloud/services/ms/v20180408/ms_client.js +3 -1
  34. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +29 -13
  35. package/tencentcloud/services/rum/v20210622/rum_client.js +42 -18
  36. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +236 -12
  37. package/tencentcloud/services/trp/v20210515/trp_client.d.ts +21 -5
  38. package/tencentcloud/services/trp/v20210515/trp_client.js +30 -6
  39. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +166 -26
  40. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +13 -5
  41. package/tencentcloud/services/waf/v20180125/waf_client.js +18 -6
  42. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +168 -23
  43. package/test/cfs.v20190719.test.js +50 -0
  44. package/test/ess.v20201111.test.js +20 -0
  45. package/test/rum.v20210622.test.js +52 -12
  46. package/test/trp.v20210515.test.js +44 -4
  47. package/test/waf.v20180125.test.js +24 -4
@@ -576,11 +576,11 @@ export interface UpdateScdnDomainResponse {
576
576
  /**
577
577
  * 源站配置复杂类型,支持以下配置:
578
578
  + 源站指定为单个域名
579
- + 源站指定为多个 IP,可配置端口(1~65535),可配置权重(1~100),格式为 IP:端口:权重
579
+ + 源站指定为多个 IP,可配置端口(1\~65535),可配置权重(1\~100),格式为 IP:端口:权重
580
580
  + 回源域名配置
581
581
  + 对象存储(COS)作为源站
582
582
  + 热备源站指定为单个域名
583
- + 热备源站指定为多个 IP,可配置端口(1~65535),暂不支持权重配置
583
+ + 热备源站指定为多个 IP,可配置端口(1\~65535),暂不支持权重配置
584
584
  + 热备源站回源域名配置
585
585
  */
586
586
  export interface Origin {
@@ -1,6 +1,6 @@
1
1
  import { AbstractClient } from "../../../common/abstract_client";
2
2
  import { ClientConfig } from "../../../common/interface";
3
- import { DescribeCfsPGroupsResponse, DescribeMountTargetsResponse, DescribeSnapshotOperationLogsRequest, DescribeCfsFileSystemsResponse, CreateCfsFileSystemResponse, BindAutoSnapshotPolicyRequest, CreateCfsPGroupRequest, DescribeAutoSnapshotPoliciesRequest, DescribeAvailableZoneInfoRequest, DescribeMountTargetsRequest, BindAutoSnapshotPolicyResponse, SignUpCfsServiceRequest, SignUpCfsServiceResponse, DescribeCfsRulesRequest, DeleteCfsPGroupRequest, UpdateCfsPGroupResponse, DeleteAutoSnapshotPolicyRequest, DeleteCfsFileSystemResponse, UpdateCfsRuleRequest, DeleteUserQuotaRequest, DescribeAvailableZoneInfoResponse, DeleteCfsSnapshotResponse, DescribeCfsFileSystemClientsResponse, DeleteMountTargetResponse, CreateCfsSnapshotRequest, DeleteCfsRuleRequest, DescribeCfsRulesResponse, DescribeSnapshotOperationLogsResponse, UpdateCfsFileSystemPGroupResponse, DeleteCfsFileSystemRequest, CreateCfsPGroupResponse, DescribeCfsServiceStatusRequest, DeleteUserQuotaResponse, SetUserQuotaRequest, CreateAutoSnapshotPolicyResponse, CreateCfsSnapshotResponse, DeleteMountTargetRequest, CreateCfsRuleRequest, UpdateCfsFileSystemNameRequest, DescribeUserQuotaRequest, UpdateCfsFileSystemNameResponse, DescribeCfsSnapshotOverviewResponse, DeleteCfsSnapshotRequest, DescribeCfsFileSystemClientsRequest, DescribeCfsFileSystemsRequest, CreateCfsFileSystemRequest, UnbindAutoSnapshotPolicyRequest, UnbindAutoSnapshotPolicyResponse, DescribeCfsServiceStatusResponse, DescribeCfsSnapshotsRequest, UpdateCfsFileSystemSizeLimitResponse, UpdateAutoSnapshotPolicyRequest, UpdateCfsFileSystemSizeLimitRequest, UpdateCfsRuleResponse, UpdateCfsPGroupRequest, UpdateAutoSnapshotPolicyResponse, UpdateCfsFileSystemPGroupRequest, DeleteAutoSnapshotPolicyResponse, DeleteCfsRuleResponse, UpdateCfsSnapshotAttributeResponse, SetUserQuotaResponse, DescribeCfsPGroupsRequest, DeleteCfsPGroupResponse, UpdateCfsSnapshotAttributeRequest, DescribeUserQuotaResponse, CreateCfsRuleResponse, DescribeCfsSnapshotsResponse, DescribeAutoSnapshotPoliciesResponse, DescribeCfsSnapshotOverviewRequest, CreateAutoSnapshotPolicyRequest } from "./cfs_models";
3
+ 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";
4
4
  /**
5
5
  * cfs client
6
6
  * @class
@@ -51,6 +51,16 @@ export declare class Client extends AbstractClient {
51
51
  * 本接口(DescribeCfsServiceStatus)用于查询用户使用CFS的服务状态。
52
52
  */
53
53
  DescribeCfsServiceStatus(req?: DescribeCfsServiceStatusRequest, cb?: (error: string, rep: DescribeCfsServiceStatusResponse) => void): Promise<DescribeCfsServiceStatusResponse>;
54
+ /**
55
+ * 用于终止迁移任务。
56
+ 此接口需提交工单,开启白名单之后才能使用。
57
+ */
58
+ StopMigrationTask(req: StopMigrationTaskRequest, cb?: (error: string, rep: StopMigrationTaskResponse) => void): Promise<StopMigrationTaskResponse>;
59
+ /**
60
+ * 用于获取迁移任务列表。
61
+ 此接口需提交工单,开启白名单之后才能使用。
62
+ */
63
+ DescribeMigrationTasks(req: DescribeMigrationTasksRequest, cb?: (error: string, rep: DescribeMigrationTasksResponse) => void): Promise<DescribeMigrationTasksResponse>;
54
64
  /**
55
65
  * 本接口(DescribeAvailableZoneInfo)用于查询区域的可用情况。
56
66
  */
@@ -59,6 +69,11 @@ export declare class Client extends AbstractClient {
59
69
  * 本接口(UpdateCfsFileSystemName)用于更新文件系统名
60
70
  */
61
71
  UpdateCfsFileSystemName(req: UpdateCfsFileSystemNameRequest, cb?: (error: string, rep: UpdateCfsFileSystemNameResponse) => void): Promise<UpdateCfsFileSystemNameResponse>;
72
+ /**
73
+ * 用于删除迁移任务。
74
+ 此接口需提交工单,开启白名单之后才能使用。
75
+ */
76
+ DeleteMigrationTask(req: DeleteMigrationTaskRequest, cb?: (error: string, rep: DeleteMigrationTaskResponse) => void): Promise<DeleteMigrationTaskResponse>;
62
77
  /**
63
78
  * 本接口(UpdateCfsFileSystemSizeLimit)用于更新文件系统存储容量限制。
64
79
  */
@@ -107,6 +122,16 @@ export declare class Client extends AbstractClient {
107
122
  * 本接口(DeleteCfsRule)用于删除权限组规则。
108
123
  */
109
124
  DeleteCfsRule(req: DeleteCfsRuleRequest, cb?: (error: string, rep: DeleteCfsRuleResponse) => void): Promise<DeleteCfsRuleResponse>;
125
+ /**
126
+ * 用于获取数据源桶列表。
127
+ 此接口需提交工单,开启白名单之后才能使用。
128
+ */
129
+ DescribeBucketList(req: DescribeBucketListRequest, cb?: (error: string, rep: DescribeBucketListResponse) => void): Promise<DescribeBucketListResponse>;
130
+ /**
131
+ * 用于创建迁移任务。
132
+ 此接口需提交工单,开启白名单之后才能使用。
133
+ */
134
+ CreateMigrationTask(req: CreateMigrationTaskRequest, cb?: (error: string, rep: CreateMigrationTaskResponse) => void): Promise<CreateMigrationTaskResponse>;
110
135
  /**
111
136
  * 本接口(DeleteMountTarget)用于删除挂载点
112
137
  */
@@ -93,6 +93,20 @@ class Client extends abstract_client_1.AbstractClient {
93
93
  async DescribeCfsServiceStatus(req, cb) {
94
94
  return this.request("DescribeCfsServiceStatus", req, cb);
95
95
  }
96
+ /**
97
+ * 用于终止迁移任务。
98
+ 此接口需提交工单,开启白名单之后才能使用。
99
+ */
100
+ async StopMigrationTask(req, cb) {
101
+ return this.request("StopMigrationTask", req, cb);
102
+ }
103
+ /**
104
+ * 用于获取迁移任务列表。
105
+ 此接口需提交工单,开启白名单之后才能使用。
106
+ */
107
+ async DescribeMigrationTasks(req, cb) {
108
+ return this.request("DescribeMigrationTasks", req, cb);
109
+ }
96
110
  /**
97
111
  * 本接口(DescribeAvailableZoneInfo)用于查询区域的可用情况。
98
112
  */
@@ -105,6 +119,13 @@ class Client extends abstract_client_1.AbstractClient {
105
119
  async UpdateCfsFileSystemName(req, cb) {
106
120
  return this.request("UpdateCfsFileSystemName", req, cb);
107
121
  }
122
+ /**
123
+ * 用于删除迁移任务。
124
+ 此接口需提交工单,开启白名单之后才能使用。
125
+ */
126
+ async DeleteMigrationTask(req, cb) {
127
+ return this.request("DeleteMigrationTask", req, cb);
128
+ }
108
129
  /**
109
130
  * 本接口(UpdateCfsFileSystemSizeLimit)用于更新文件系统存储容量限制。
110
131
  */
@@ -177,6 +198,20 @@ class Client extends abstract_client_1.AbstractClient {
177
198
  async DeleteCfsRule(req, cb) {
178
199
  return this.request("DeleteCfsRule", req, cb);
179
200
  }
201
+ /**
202
+ * 用于获取数据源桶列表。
203
+ 此接口需提交工单,开启白名单之后才能使用。
204
+ */
205
+ async DescribeBucketList(req, cb) {
206
+ return this.request("DescribeBucketList", req, cb);
207
+ }
208
+ /**
209
+ * 用于创建迁移任务。
210
+ 此接口需提交工单,开启白名单之后才能使用。
211
+ */
212
+ async CreateMigrationTask(req, cb) {
213
+ return this.request("CreateMigrationTask", req, cb);
214
+ }
180
215
  /**
181
216
  * 本接口(DeleteMountTarget)用于删除挂载点
182
217
  */
@@ -1,3 +1,68 @@
1
+ /**
2
+ * CreateMigrationTask请求参数结构体
3
+ */
4
+ export interface CreateMigrationTaskRequest {
5
+ /**
6
+ * 迁移任务名称
7
+ */
8
+ TaskName: string;
9
+ /**
10
+ * 迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移
11
+ */
12
+ MigrationType: number;
13
+ /**
14
+ * 迁移模式,默认为0。0: 全量迁移
15
+ */
16
+ MigrationMode: number;
17
+ /**
18
+ * 数据源账号的SecretId
19
+ */
20
+ SrcSecretId: string;
21
+ /**
22
+ * 数据源账号的SecretKey
23
+ */
24
+ SrcSecretKey: string;
25
+ /**
26
+ * 文件系统实例Id
27
+ */
28
+ FileSystemId: string;
29
+ /**
30
+ * 文件系统路径
31
+ */
32
+ FsPath: string;
33
+ /**
34
+ * 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖
35
+ */
36
+ CoverType: number;
37
+ /**
38
+ * 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS
39
+ */
40
+ SrcService: string;
41
+ /**
42
+ * 数据源桶名称,名称和地址至少有一个
43
+ */
44
+ BucketName?: string;
45
+ /**
46
+ * 数据源桶地域
47
+ */
48
+ BucketRegion?: string;
49
+ /**
50
+ * 数据源桶地址,名称和地址至少有一个
51
+ */
52
+ BucketAddress?: string;
53
+ /**
54
+ * 清单地址,迁移方式为清单迁移时必填
55
+ */
56
+ ListAddress?: string;
57
+ /**
58
+ * 目标文件系统名称
59
+ */
60
+ FsName?: string;
61
+ /**
62
+ * 源桶路径,默认为/
63
+ */
64
+ BucketPath?: string;
65
+ }
1
66
  /**
2
67
  * 文件系统快照统计
3
68
  */
@@ -62,6 +127,127 @@ export interface DescribeSnapshotOperationLogsRequest {
62
127
  */
63
128
  EndTime: string;
64
129
  }
130
+ /**
131
+ * CFS数据迁移任务信息
132
+ */
133
+ export interface MigrationTaskInfo {
134
+ /**
135
+ * 迁移任务名称
136
+ */
137
+ TaskName: string;
138
+ /**
139
+ * 迁移任务id
140
+ */
141
+ TaskId: string;
142
+ /**
143
+ * 迁移方式标志位,默认为0。0: 桶迁移;1: 清单迁移
144
+ */
145
+ MigrationType: number;
146
+ /**
147
+ * 迁移模式,默认为0。0: 全量迁移
148
+ */
149
+ MigrationMode: number;
150
+ /**
151
+ * 数据源桶名称
152
+ 注意:此字段可能返回 null,表示取不到有效值。
153
+ */
154
+ BucketName: string;
155
+ /**
156
+ * 数据源桶地域
157
+ 注意:此字段可能返回 null,表示取不到有效值。
158
+ */
159
+ BucketRegion: string;
160
+ /**
161
+ * 数据源桶地址
162
+ 注意:此字段可能返回 null,表示取不到有效值。
163
+ */
164
+ BucketAddress: string;
165
+ /**
166
+ * 清单地址
167
+ 注意:此字段可能返回 null,表示取不到有效值。
168
+ */
169
+ ListAddress: string;
170
+ /**
171
+ * 文件系统实例名称
172
+ 注意:此字段可能返回 null,表示取不到有效值。
173
+ */
174
+ FsName: string;
175
+ /**
176
+ * 文件系统实例Id
177
+ */
178
+ FileSystemId: string;
179
+ /**
180
+ * 文件系统路径
181
+ */
182
+ FsPath: string;
183
+ /**
184
+ * 同名文件迁移时覆盖策略,默认为0。0: 最后修改时间优先;1: 全覆盖;2: 不覆盖
185
+ */
186
+ CoverType: number;
187
+ /**
188
+ * 创建时间
189
+ */
190
+ CreateTime: number;
191
+ /**
192
+ * 完成/终止时间
193
+ 注意:此字段可能返回 null,表示取不到有效值。
194
+ */
195
+ EndTime: number;
196
+ /**
197
+ * 迁移状态。0: 已完成;1: 进行中;2: 已终止
198
+ */
199
+ Status: number;
200
+ /**
201
+ * 文件数量
202
+ 注意:此字段可能返回 null,表示取不到有效值。
203
+ */
204
+ FileTotalCount: number;
205
+ /**
206
+ * 已迁移文件数量
207
+ 注意:此字段可能返回 null,表示取不到有效值。
208
+ */
209
+ FileMigratedCount: number;
210
+ /**
211
+ * 迁移失败文件数量
212
+ 注意:此字段可能返回 null,表示取不到有效值。
213
+ */
214
+ FileFailedCount: number;
215
+ /**
216
+ * 文件容量,单位Byte
217
+ 注意:此字段可能返回 null,表示取不到有效值。
218
+ */
219
+ FileTotalSize: number;
220
+ /**
221
+ * 已迁移文件容量,单位Byte
222
+ 注意:此字段可能返回 null,表示取不到有效值。
223
+ */
224
+ FileMigratedSize: number;
225
+ /**
226
+ * 迁移失败文件容量,单位Byte
227
+ 注意:此字段可能返回 null,表示取不到有效值。
228
+ */
229
+ FileFailedSize: number;
230
+ /**
231
+ * 全部清单
232
+ 注意:此字段可能返回 null,表示取不到有效值。
233
+ */
234
+ FileTotalList: string;
235
+ /**
236
+ * 已完成文件清单
237
+ 注意:此字段可能返回 null,表示取不到有效值。
238
+ */
239
+ FileCompletedList: string;
240
+ /**
241
+ * 失败文件清单
242
+ 注意:此字段可能返回 null,表示取不到有效值。
243
+ */
244
+ FileFailedList: string;
245
+ /**
246
+ * 源桶路径
247
+ 注意:此字段可能返回 null,表示取不到有效值。
248
+ */
249
+ BucketPath: string;
250
+ }
65
251
  /**
66
252
  * 文件系统客户端信息
67
253
  */
@@ -275,6 +461,23 @@ export interface CreateCfsPGroupRequest {
275
461
  */
276
462
  DescInfo?: string;
277
463
  }
464
+ /**
465
+ * DescribeMigrationTasks返回参数结构体
466
+ */
467
+ export interface DescribeMigrationTasksResponse {
468
+ /**
469
+ * 迁移任务的数量
470
+ */
471
+ TotalCount?: number;
472
+ /**
473
+ * 迁移任务详情
474
+ */
475
+ MigrationTasks?: Array<MigrationTaskInfo>;
476
+ /**
477
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
478
+ */
479
+ RequestId?: string;
480
+ }
278
481
  /**
279
482
  * DescribeAutoSnapshotPolicies请求参数结构体
280
483
  */
@@ -331,9 +534,22 @@ export interface BindAutoSnapshotPolicyResponse {
331
534
  RequestId?: string;
332
535
  }
333
536
  /**
334
- * SignUpCfsService请求参数结构体
537
+ * StopMigrationTask返回参数结构体
335
538
  */
336
- export declare type SignUpCfsServiceRequest = null;
539
+ export interface StopMigrationTaskResponse {
540
+ /**
541
+ * 迁移任务Id
542
+ */
543
+ TaskId?: string;
544
+ /**
545
+ * 迁移状态。0: 已完成;1: 进行中;2: 已终止
546
+ */
547
+ Status?: number;
548
+ /**
549
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
550
+ */
551
+ RequestId?: string;
552
+ }
337
553
  /**
338
554
  * SignUpCfsService返回参数结构体
339
555
  */
@@ -423,6 +639,19 @@ export interface DescribeCfsRulesRequest {
423
639
  */
424
640
  PGroupId: string;
425
641
  }
642
+ /**
643
+ * UpdateCfsFileSystemName请求参数结构体
644
+ */
645
+ export interface UpdateCfsFileSystemNameRequest {
646
+ /**
647
+ * 文件系统 ID
648
+ */
649
+ FileSystemId: string;
650
+ /**
651
+ * 用户自定义文件系统名称
652
+ */
653
+ FsName?: string;
654
+ }
426
655
  /**
427
656
  * DeleteCfsPGroup请求参数结构体
428
657
  */
@@ -582,6 +811,24 @@ export interface CreateCfsSnapshotRequest {
582
811
  */
583
812
  ResourceTags?: Array<TagInfo>;
584
813
  }
814
+ /**
815
+ * DescribeBucketList请求参数结构体
816
+ */
817
+ export interface DescribeBucketListRequest {
818
+ /**
819
+ * 数据源服务商。COS: 腾讯云COS,OSS: 阿里云OSS,OBS:华为云OBS
820
+ */
821
+ SrcService: string;
822
+ /**
823
+ * 数据源账号的SecretId
824
+
825
+ */
826
+ SrcSecretId: string;
827
+ /**
828
+ * 数据源账号的SecretKey
829
+ */
830
+ SrcSecretKey: string;
831
+ }
585
832
  /**
586
833
  * DeleteCfsRule请求参数结构体
587
834
  */
@@ -596,13 +843,42 @@ export interface DeleteCfsRuleRequest {
596
843
  RuleId: string;
597
844
  }
598
845
  /**
599
- * DescribeCfsRules返回参数结构体
846
+ * UpdateCfsRule返回参数结构体
600
847
  */
601
- export interface DescribeCfsRulesResponse {
848
+ export interface UpdateCfsRuleResponse {
602
849
  /**
603
- * 权限组规则列表
850
+ * 权限组 ID
604
851
  */
605
- RuleList: Array<PGroupRuleInfo>;
852
+ PGroupId: string;
853
+ /**
854
+ * 规则 ID
855
+ */
856
+ RuleId: string;
857
+ /**
858
+ * 允许访问的客户端 IP 或者 IP 段
859
+ */
860
+ AuthClientIp: string;
861
+ /**
862
+ * 读写权限
863
+ */
864
+ RWPermission: string;
865
+ /**
866
+ * 用户权限
867
+ */
868
+ UserPermission: string;
869
+ /**
870
+ * 优先级
871
+ */
872
+ Priority: number;
873
+ /**
874
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
875
+ */
876
+ RequestId?: string;
877
+ }
878
+ /**
879
+ * DeleteMigrationTask返回参数结构体
880
+ */
881
+ export interface DeleteMigrationTaskResponse {
606
882
  /**
607
883
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
608
884
  */
@@ -693,6 +969,15 @@ export interface DeleteUserQuotaResponse {
693
969
  */
694
970
  RequestId?: string;
695
971
  }
972
+ /**
973
+ * DeleteMigrationTask请求参数结构体
974
+ */
975
+ export interface DeleteMigrationTaskRequest {
976
+ /**
977
+ * 迁移任务ID
978
+ */
979
+ TaskId: string;
980
+ }
696
981
  /**
697
982
  * 文件系统绑定权限组信息
698
983
  */
@@ -848,17 +1133,18 @@ export interface CreateCfsRuleRequest {
848
1133
  UserPermission?: string;
849
1134
  }
850
1135
  /**
851
- * UpdateCfsFileSystemName请求参数结构体
1136
+ * 对象存储桶
852
1137
  */
853
- export interface UpdateCfsFileSystemNameRequest {
1138
+ export interface BucketInfo {
854
1139
  /**
855
- * 文件系统 ID
1140
+ * 桶名称
856
1141
  */
857
- FileSystemId: string;
1142
+ Name: string;
858
1143
  /**
859
- * 用户自定义文件系统名称
1144
+ * 桶所在地域
1145
+ 注意:此字段可能返回 null,表示取不到有效值。
860
1146
  */
861
- FsName?: string;
1147
+ Region: string;
862
1148
  }
863
1149
  /**
864
1150
  * 快照操作日志
@@ -908,6 +1194,23 @@ export interface DescribeUserQuotaRequest {
908
1194
  */
909
1195
  Limit?: number;
910
1196
  }
1197
+ /**
1198
+ * DescribeBucketList返回参数结构体
1199
+ */
1200
+ export interface DescribeBucketListResponse {
1201
+ /**
1202
+ * 桶的数量
1203
+ */
1204
+ TotalCount?: number;
1205
+ /**
1206
+ * 桶列表
1207
+ */
1208
+ BucketList?: Array<BucketInfo>;
1209
+ /**
1210
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1211
+ */
1212
+ RequestId?: string;
1213
+ }
911
1214
  /**
912
1215
  * UpdateCfsFileSystemName返回参数结构体
913
1216
  */
@@ -1106,6 +1409,37 @@ export interface AvailableZone {
1106
1409
  */
1107
1410
  ZoneName: string;
1108
1411
  }
1412
+ /**
1413
+ * DescribeMigrationTasks请求参数结构体
1414
+ */
1415
+ export interface DescribeMigrationTasksRequest {
1416
+ /**
1417
+ * 分页的偏移量,默认值为0。
1418
+ */
1419
+ Offset?: number;
1420
+ /**
1421
+ * 分页单页限制数目,默认值为20,最大值100。
1422
+ */
1423
+ Limit?: number;
1424
+ /**
1425
+ * <br><li> taskId
1426
+
1427
+ 按照【迁移任务id】进行过滤。
1428
+ 类型:String
1429
+
1430
+ 必选:否
1431
+
1432
+ <br><li> taskName
1433
+
1434
+ 按照【迁移任务名字】进行模糊搜索过滤。
1435
+ 类型:String
1436
+
1437
+ 必选:否
1438
+
1439
+ 每次请求的Filters的上限为10,Filter.Values的上限为100。
1440
+ */
1441
+ Filters?: Array<Filter>;
1442
+ }
1109
1443
  /**
1110
1444
  * 条件过滤
1111
1445
  */
@@ -1276,55 +1610,22 @@ export interface UpdateCfsFileSystemSizeLimitRequest {
1276
1610
  FileSystemId: string;
1277
1611
  }
1278
1612
  /**
1279
- * UpdateCfsRule返回参数结构体
1613
+ * DescribeCfsRules返回参数结构体
1280
1614
  */
1281
- export interface UpdateCfsRuleResponse {
1282
- /**
1283
- * 权限组 ID
1284
- */
1285
- PGroupId: string;
1286
- /**
1287
- * 规则 ID
1288
- */
1289
- RuleId: string;
1290
- /**
1291
- * 允许访问的客户端 IP 或者 IP 段
1292
- */
1293
- AuthClientIp: string;
1294
- /**
1295
- * 读写权限
1296
- */
1297
- RWPermission: string;
1298
- /**
1299
- * 用户权限
1300
- */
1301
- UserPermission: string;
1615
+ export interface DescribeCfsRulesResponse {
1302
1616
  /**
1303
- * 优先级
1617
+ * 权限组规则列表
1304
1618
  */
1305
- Priority: number;
1619
+ RuleList: Array<PGroupRuleInfo>;
1306
1620
  /**
1307
1621
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1308
1622
  */
1309
1623
  RequestId?: string;
1310
1624
  }
1311
1625
  /**
1312
- * UpdateCfsPGroup请求参数结构体
1626
+ * SignUpCfsService请求参数结构体
1313
1627
  */
1314
- export interface UpdateCfsPGroupRequest {
1315
- /**
1316
- * 权限组 ID
1317
- */
1318
- PGroupId: string;
1319
- /**
1320
- * 权限组名称,1-64个字符且只能为中文,字母,数字,下划线或横线
1321
- */
1322
- Name?: string;
1323
- /**
1324
- * 权限组描述信息,1-255个字符
1325
- */
1326
- DescInfo?: string;
1327
- }
1628
+ export declare type SignUpCfsServiceRequest = null;
1328
1629
  /**
1329
1630
  * UpdateAutoSnapshotPolicy返回参数结构体
1330
1631
  */
@@ -1494,6 +1795,19 @@ export interface UpdateCfsFileSystemPGroupRequest {
1494
1795
  */
1495
1796
  FileSystemId: string;
1496
1797
  }
1798
+ /**
1799
+ * CreateMigrationTask返回参数结构体
1800
+ */
1801
+ export interface CreateMigrationTaskResponse {
1802
+ /**
1803
+ * 迁移任务Id
1804
+ */
1805
+ TaskId?: string;
1806
+ /**
1807
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1808
+ */
1809
+ RequestId?: string;
1810
+ }
1497
1811
  /**
1498
1812
  * DeleteAutoSnapshotPolicy返回参数结构体
1499
1813
  */
@@ -1537,6 +1851,23 @@ export interface UpdateCfsSnapshotAttributeResponse {
1537
1851
  */
1538
1852
  RequestId?: string;
1539
1853
  }
1854
+ /**
1855
+ * UpdateCfsPGroup请求参数结构体
1856
+ */
1857
+ export interface UpdateCfsPGroupRequest {
1858
+ /**
1859
+ * 权限组 ID
1860
+ */
1861
+ PGroupId: string;
1862
+ /**
1863
+ * 权限组名称,1-64个字符且只能为中文,字母,数字,下划线或横线
1864
+ */
1865
+ Name?: string;
1866
+ /**
1867
+ * 权限组描述信息,1-255个字符
1868
+ */
1869
+ DescInfo?: string;
1870
+ }
1540
1871
  /**
1541
1872
  * SetUserQuota返回参数结构体
1542
1873
  */
@@ -1697,6 +2028,15 @@ export interface DescribeCfsSnapshotsResponse {
1697
2028
  */
1698
2029
  RequestId?: string;
1699
2030
  }
2031
+ /**
2032
+ * StopMigrationTask请求参数结构体
2033
+ */
2034
+ export interface StopMigrationTaskRequest {
2035
+ /**
2036
+ * 迁移任务名称
2037
+ */
2038
+ TaskId: string;
2039
+ }
1700
2040
  /**
1701
2041
  * DescribeAutoSnapshotPolicies返回参数结构体
1702
2042
  */
@@ -52,7 +52,9 @@ export declare class Client extends AbstractClient {
52
52
  */
53
53
  DescribeVulList(req: DescribeVulListRequest, cb?: (error: string, rep: DescribeVulListResponse) => void): Promise<DescribeVulListResponse>;
54
54
  /**
55
- * 导出ES查询文档列表
55
+ * 旧版日志下载接口下线
56
+
57
+ 导出ES查询文档列表
56
58
  */
57
59
  DescribeSearchExportList(req: DescribeSearchExportListRequest, cb?: (error: string, rep: DescribeSearchExportListResponse) => void): Promise<DescribeSearchExportListResponse>;
58
60
  /**