tencentcloud-sdk-nodejs-goosefs 4.1.307 → 4.1.325

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.
@@ -9,6 +9,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
9
9
  async ExpandCapacity(req, cb) {
10
10
  return this.request("ExpandCapacity", req, cb);
11
11
  }
12
+ async CancelPolicyRuleExecuteRecord(req, cb) {
13
+ return this.request("CancelPolicyRuleExecuteRecord", req, cb);
14
+ }
12
15
  async DeleteCustomerCluster(req, cb) {
13
16
  return this.request("DeleteCustomerCluster", req, cb);
14
17
  }
@@ -33,12 +36,21 @@ export class Client extends TencentCloudCommon.AbstractClient {
33
36
  async ModifyDataRepositoryTaskStatus(req, cb) {
34
37
  return this.request("ModifyDataRepositoryTaskStatus", req, cb);
35
38
  }
39
+ async DisablePolicyRule(req, cb) {
40
+ return this.request("DisablePolicyRule", req, cb);
41
+ }
36
42
  async BatchDeleteClientNodes(req, cb) {
37
43
  return this.request("BatchDeleteClientNodes", req, cb);
38
44
  }
45
+ async DescribePolicyRuleExecuteRecord(req, cb) {
46
+ return this.request("DescribePolicyRuleExecuteRecord", req, cb);
47
+ }
39
48
  async DescribeFilesetGeneralConfig(req, cb) {
40
49
  return this.request("DescribeFilesetGeneralConfig", req, cb);
41
50
  }
51
+ async DescribePolicyRule(req, cb) {
52
+ return this.request("DescribePolicyRule", req, cb);
53
+ }
42
54
  async ListLoadTasks(req, cb) {
43
55
  return this.request("ListLoadTasks", req, cb);
44
56
  }
@@ -75,9 +87,15 @@ export class Client extends TencentCloudCommon.AbstractClient {
75
87
  async DescribeFilesets(req, cb) {
76
88
  return this.request("DescribeFilesets", req, cb);
77
89
  }
90
+ async DeletePolicyRule(req, cb) {
91
+ return this.request("DeletePolicyRule", req, cb);
92
+ }
78
93
  async BuildCustomerCluster(req, cb) {
79
94
  return this.request("BuildCustomerCluster", req, cb);
80
95
  }
96
+ async EnablePolicyRule(req, cb) {
97
+ return this.request("EnablePolicyRule", req, cb);
98
+ }
81
99
  async DescribeClusterRoleToken(req, cb) {
82
100
  return this.request("DescribeClusterRoleToken", req, cb);
83
101
  }
@@ -108,6 +126,9 @@ export class Client extends TencentCloudCommon.AbstractClient {
108
126
  async QueryDataRepositoryBandwidth(req, cb) {
109
127
  return this.request("QueryDataRepositoryBandwidth", req, cb);
110
128
  }
129
+ async CreatePolicyRule(req, cb) {
130
+ return this.request("CreatePolicyRule", req, cb);
131
+ }
111
132
  async CreateFileSystem(req, cb) {
112
133
  return this.request("CreateFileSystem", req, cb);
113
134
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-goosefs",
3
- "version": "4.1.307",
3
+ "version": "4.1.325",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1,5 +1,5 @@
1
1
  import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common";
2
- import { UpdateFilesetGeneralConfigResponse, CreateDataRepositoryTaskResponse, DeleteFileSystemRequest, DeleteFilesetResponse, ListLoadTasksResponse, UpdateLoadTaskPriorityResponse, DescribeFilesetGeneralConfigRequest, UpdateLoadTaskPriorityRequest, DescribeFilesetsResponse, ExpandCapacityRequest, CancelLoadTaskRequest, BatchDeleteClientNodesRequest, UpdateFilesetResponse, DescribeFileSystemsRequest, AttachFileSystemBucketRequest, MountMultipleStorageFileSystemResponse, CreateDataRepositoryTaskRequest, CreateFilesetRequest, DescribeClusterRoleTokenRequest, MountMultipleStorageFileSystemRequest, DescribeLoadTaskRequest, DescribeFileSystemBucketsRequest, DescribeDataRepositoryTaskStatusResponse, CreateFileSystemRequest, DescribeLoadTaskResponse, DetachFileSystemBucketRequest, ModifyDataRepositoryBandwidthRequest, UpdateFilesetRequest, DescribeCustomerClusterRequest, DescribeFilesetGeneralConfigResponse, CreateFilesetResponse, QueryCrossVpcSubnetSupportForClientNodeResponse, DeleteCrossVpcSubnetSupportForClientNodeResponse, BatchAddClientNodesRequest, BuildClientNodeMountCommandResponse, CreateLoadTaskRequest, ModifyDataRepositoryBandwidthResponse, ModifyDataRepositoryTaskStatusResponse, ExpandCapacityResponse, DeleteFilesetRequest, AddCrossVpcSubnetSupportForClientNodeResponse, QueryClientNodeMountCommandRequest, DescribeClusterRoleTokenResponse, CancelLoadTaskResponse, BatchAddClientNodesResponse, QueryClientNodeMountCommandResponse, DeleteFileSystemResponse, QueryDataRepositoryBandwidthResponse, QueryDataRepositoryBandwidthRequest, DescribeClientNodesResponse, DescribeDataRepositoryTaskStatusRequest, DescribeCustomerClusterResponse, DetachFileSystemBucketResponse, DescribeFileSystemBucketsResponse, DescribeClientNodesRequest, DescribeClusterClientTokenRequest, ListLoadTasksRequest, DescribeClusterClientTokenResponse, CreateFileSystemResponse, DescribeFilesetsRequest, CreateLoadTaskResponse, DescribeFileSystemsResponse, BatchDeleteClientNodesResponse, QueryCrossVpcSubnetSupportForClientNodeRequest, DeleteCrossVpcSubnetSupportForClientNodeRequest, AttachFileSystemBucketResponse, BuildClientNodeMountCommandRequest, BuildCustomerClusterRequest, UpdateFilesetGeneralConfigRequest, BuildCustomerClusterResponse, DeleteCustomerClusterResponse, AddCrossVpcSubnetSupportForClientNodeRequest, ModifyDataRepositoryTaskStatusRequest, DeleteCustomerClusterRequest } from "./goosefs_models";
2
+ import { EnablePolicyRuleResponse, EnablePolicyRuleRequest, CreatePolicyRuleRequest, UpdateFilesetGeneralConfigResponse, AttachFileSystemBucketRequest, DeleteFileSystemRequest, DeleteFilesetResponse, ListLoadTasksResponse, UpdateLoadTaskPriorityResponse, DescribeFilesetGeneralConfigRequest, UpdateLoadTaskPriorityRequest, DescribeFilesetsResponse, ExpandCapacityRequest, CancelLoadTaskRequest, BatchDeleteClientNodesRequest, DescribePolicyRuleExecuteRecordResponse, UpdateFilesetResponse, DeletePolicyRuleRequest, DescribeFileSystemsRequest, CreateDataRepositoryTaskResponse, UpdateFilesetRequest, ModifyDataRepositoryBandwidthRequest, CreateDataRepositoryTaskRequest, CreateFilesetRequest, DescribeClusterRoleTokenRequest, MountMultipleStorageFileSystemRequest, DescribeLoadTaskRequest, DescribeFileSystemBucketsRequest, CreatePolicyRuleResponse, DescribePolicyRuleRequest, CreateFileSystemRequest, DescribeLoadTaskResponse, DisablePolicyRuleRequest, DetachFileSystemBucketRequest, MountMultipleStorageFileSystemResponse, DescribeCustomerClusterRequest, DescribeFilesetGeneralConfigResponse, CreateFilesetResponse, QueryCrossVpcSubnetSupportForClientNodeResponse, DeleteCrossVpcSubnetSupportForClientNodeResponse, BatchAddClientNodesRequest, BuildClientNodeMountCommandResponse, CreateLoadTaskRequest, CancelPolicyRuleExecuteRecordRequest, ModifyDataRepositoryBandwidthResponse, ModifyDataRepositoryTaskStatusResponse, ExpandCapacityResponse, DeleteFilesetRequest, AddCrossVpcSubnetSupportForClientNodeResponse, QueryClientNodeMountCommandRequest, DescribeClusterRoleTokenResponse, AddCrossVpcSubnetSupportForClientNodeRequest, CancelPolicyRuleExecuteRecordResponse, CancelLoadTaskResponse, BatchAddClientNodesResponse, QueryClientNodeMountCommandResponse, DeleteFileSystemResponse, QueryDataRepositoryBandwidthResponse, QueryDataRepositoryBandwidthRequest, DescribeClientNodesResponse, DescribeDataRepositoryTaskStatusRequest, DescribeCustomerClusterResponse, DetachFileSystemBucketResponse, DescribeFileSystemBucketsResponse, DescribeClientNodesRequest, DescribeClusterClientTokenRequest, ListLoadTasksRequest, DescribeClusterClientTokenResponse, CreateFileSystemResponse, DescribeFilesetsRequest, CreateLoadTaskResponse, DisablePolicyRuleResponse, DescribeFileSystemsResponse, BatchDeleteClientNodesResponse, QueryCrossVpcSubnetSupportForClientNodeRequest, DeleteCrossVpcSubnetSupportForClientNodeRequest, DeletePolicyRuleResponse, AttachFileSystemBucketResponse, BuildClientNodeMountCommandRequest, BuildCustomerClusterRequest, DescribePolicyRuleResponse, DescribePolicyRuleExecuteRecordRequest, UpdateFilesetGeneralConfigRequest, BuildCustomerClusterResponse, DeleteCustomerClusterResponse, DescribeDataRepositoryTaskStatusResponse, ModifyDataRepositoryTaskStatusRequest, DeleteCustomerClusterRequest } from "./goosefs_models";
3
3
  /**
4
4
  * goosefs client
5
5
  * @class
@@ -14,6 +14,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
14
14
  * 扩展文件系统容量
15
15
  */
16
16
  ExpandCapacity(req: ExpandCapacityRequest, cb?: (error: string, rep: ExpandCapacityResponse) => void): Promise<ExpandCapacityResponse>;
17
+ /**
18
+ * 取消正在执行的扫描任务,正在扫描的任务取消后没有结果
19
+ */
20
+ CancelPolicyRuleExecuteRecord(req: CancelPolicyRuleExecuteRecordRequest, cb?: (error: string, rep: CancelPolicyRuleExecuteRecordResponse) => void): Promise<CancelPolicyRuleExecuteRecordResponse>;
17
21
  /**
18
22
  * 删除客户端集群
19
23
  */
@@ -46,14 +50,26 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
46
50
  * 修改数据流动任务状态,目前支持任务暂停/恢复
47
51
  */
48
52
  ModifyDataRepositoryTaskStatus(req: ModifyDataRepositoryTaskStatusRequest, cb?: (error: string, rep: ModifyDataRepositoryTaskStatusResponse) => void): Promise<ModifyDataRepositoryTaskStatusResponse>;
53
+ /**
54
+ * 禁用扫描任务
55
+ */
56
+ DisablePolicyRule(req: DisablePolicyRuleRequest, cb?: (error: string, rep: DisablePolicyRuleResponse) => void): Promise<DisablePolicyRuleResponse>;
49
57
  /**
50
58
  * 批量删除客户端节点
51
59
  */
52
60
  BatchDeleteClientNodes(req: BatchDeleteClientNodesRequest, cb?: (error: string, rep: BatchDeleteClientNodesResponse) => void): Promise<BatchDeleteClientNodesResponse>;
61
+ /**
62
+ * 列出指定扫描规则的执行记录
63
+ */
64
+ DescribePolicyRuleExecuteRecord(req: DescribePolicyRuleExecuteRecordRequest, cb?: (error: string, rep: DescribePolicyRuleExecuteRecordResponse) => void): Promise<DescribePolicyRuleExecuteRecordResponse>;
53
65
  /**
54
66
  * 查询Fileset通用配置
55
67
  */
56
68
  DescribeFilesetGeneralConfig(req: DescribeFilesetGeneralConfigRequest, cb?: (error: string, rep: DescribeFilesetGeneralConfigResponse) => void): Promise<DescribeFilesetGeneralConfigResponse>;
69
+ /**
70
+ * 列出所有的扫描规则
71
+ */
72
+ DescribePolicyRule(req: DescribePolicyRuleRequest, cb?: (error: string, rep: DescribePolicyRuleResponse) => void): Promise<DescribePolicyRuleResponse>;
57
73
  /**
58
74
  * 列出该集群下所有预热任务。注意,该接口需要 GooseFS 集群版本 ≥ 1.5.1。
59
75
  */
@@ -102,10 +118,18 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
102
118
  * 查询Fileset列表
103
119
  */
104
120
  DescribeFilesets(req: DescribeFilesetsRequest, cb?: (error: string, rep: DescribeFilesetsResponse) => void): Promise<DescribeFilesetsResponse>;
121
+ /**
122
+ * 删除扫描规则
123
+ */
124
+ DeletePolicyRule(req: DeletePolicyRuleRequest, cb?: (error: string, rep: DeletePolicyRuleResponse) => void): Promise<DeletePolicyRuleResponse>;
105
125
  /**
106
126
  * 构建客户端集群
107
127
  */
108
128
  BuildCustomerCluster(req: BuildCustomerClusterRequest, cb?: (error: string, rep: BuildCustomerClusterResponse) => void): Promise<BuildCustomerClusterResponse>;
129
+ /**
130
+ * 启用扫描任务
131
+ */
132
+ EnablePolicyRule(req: EnablePolicyRuleRequest, cb?: (error: string, rep: EnablePolicyRuleResponse) => void): Promise<EnablePolicyRuleResponse>;
109
133
  /**
110
134
  * 查询GooseFS集群角色凭证
111
135
  */
@@ -146,6 +170,10 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
146
170
  * 查询数据流动带宽
147
171
  */
148
172
  QueryDataRepositoryBandwidth(req: QueryDataRepositoryBandwidthRequest, cb?: (error: string, rep: QueryDataRepositoryBandwidthResponse) => void): Promise<QueryDataRepositoryBandwidthResponse>;
173
+ /**
174
+ * 创建数据洞察任务
175
+ */
176
+ CreatePolicyRule(req: CreatePolicyRuleRequest, cb?: (error: string, rep: CreatePolicyRuleResponse) => void): Promise<CreatePolicyRuleResponse>;
149
177
  /**
150
178
  * 创建文件系统
151
179
  */
@@ -40,6 +40,12 @@ class Client extends TencentCloudCommon.AbstractClient {
40
40
  async ExpandCapacity(req, cb) {
41
41
  return this.request("ExpandCapacity", req, cb);
42
42
  }
43
+ /**
44
+ * 取消正在执行的扫描任务,正在扫描的任务取消后没有结果
45
+ */
46
+ async CancelPolicyRuleExecuteRecord(req, cb) {
47
+ return this.request("CancelPolicyRuleExecuteRecord", req, cb);
48
+ }
43
49
  /**
44
50
  * 删除客户端集群
45
51
  */
@@ -88,18 +94,36 @@ class Client extends TencentCloudCommon.AbstractClient {
88
94
  async ModifyDataRepositoryTaskStatus(req, cb) {
89
95
  return this.request("ModifyDataRepositoryTaskStatus", req, cb);
90
96
  }
97
+ /**
98
+ * 禁用扫描任务
99
+ */
100
+ async DisablePolicyRule(req, cb) {
101
+ return this.request("DisablePolicyRule", req, cb);
102
+ }
91
103
  /**
92
104
  * 批量删除客户端节点
93
105
  */
94
106
  async BatchDeleteClientNodes(req, cb) {
95
107
  return this.request("BatchDeleteClientNodes", req, cb);
96
108
  }
109
+ /**
110
+ * 列出指定扫描规则的执行记录
111
+ */
112
+ async DescribePolicyRuleExecuteRecord(req, cb) {
113
+ return this.request("DescribePolicyRuleExecuteRecord", req, cb);
114
+ }
97
115
  /**
98
116
  * 查询Fileset通用配置
99
117
  */
100
118
  async DescribeFilesetGeneralConfig(req, cb) {
101
119
  return this.request("DescribeFilesetGeneralConfig", req, cb);
102
120
  }
121
+ /**
122
+ * 列出所有的扫描规则
123
+ */
124
+ async DescribePolicyRule(req, cb) {
125
+ return this.request("DescribePolicyRule", req, cb);
126
+ }
103
127
  /**
104
128
  * 列出该集群下所有预热任务。注意,该接口需要 GooseFS 集群版本 ≥ 1.5.1。
105
129
  */
@@ -172,12 +196,24 @@ class Client extends TencentCloudCommon.AbstractClient {
172
196
  async DescribeFilesets(req, cb) {
173
197
  return this.request("DescribeFilesets", req, cb);
174
198
  }
199
+ /**
200
+ * 删除扫描规则
201
+ */
202
+ async DeletePolicyRule(req, cb) {
203
+ return this.request("DeletePolicyRule", req, cb);
204
+ }
175
205
  /**
176
206
  * 构建客户端集群
177
207
  */
178
208
  async BuildCustomerCluster(req, cb) {
179
209
  return this.request("BuildCustomerCluster", req, cb);
180
210
  }
211
+ /**
212
+ * 启用扫描任务
213
+ */
214
+ async EnablePolicyRule(req, cb) {
215
+ return this.request("EnablePolicyRule", req, cb);
216
+ }
181
217
  /**
182
218
  * 查询GooseFS集群角色凭证
183
219
  */
@@ -238,6 +274,12 @@ class Client extends TencentCloudCommon.AbstractClient {
238
274
  async QueryDataRepositoryBandwidth(req, cb) {
239
275
  return this.request("QueryDataRepositoryBandwidth", req, cb);
240
276
  }
277
+ /**
278
+ * 创建数据洞察任务
279
+ */
280
+ async CreatePolicyRule(req, cb) {
281
+ return this.request("CreatePolicyRule", req, cb);
282
+ }
241
283
  /**
242
284
  * 创建文件系统
243
285
  */
@@ -27,6 +27,15 @@ export interface DistributedLoadAttrs {
27
27
  */
28
28
  MetadataSync?: boolean;
29
29
  }
30
+ /**
31
+ * EnablePolicyRule返回参数结构体
32
+ */
33
+ export interface EnablePolicyRuleResponse {
34
+ /**
35
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
36
+ */
37
+ RequestId?: string;
38
+ }
30
39
  /**
31
40
  * 预热任务参数
32
41
  */
@@ -84,6 +93,52 @@ export interface LoadTaskAttrs {
84
93
  */
85
94
  Requester?: string;
86
95
  }
96
+ /**
97
+ * EnablePolicyRule请求参数结构体
98
+ */
99
+ export interface EnablePolicyRuleRequest {
100
+ /**
101
+ * <p>规则ID</p>
102
+ */
103
+ RuleId: string;
104
+ /**
105
+ * <p>文件系统ID</p>
106
+ */
107
+ FileSystemId: string;
108
+ }
109
+ /**
110
+ * CreatePolicyRule请求参数结构体
111
+ */
112
+ export interface CreatePolicyRuleRequest {
113
+ /**
114
+ * <p>文件系统id</p>
115
+ */
116
+ FileSystemId: string;
117
+ /**
118
+ * <p>扫描目录</p>
119
+ */
120
+ ScanDir: string;
121
+ /**
122
+ * <p>规则名称</p>
123
+ */
124
+ Name: string;
125
+ /**
126
+ * <p>执行计划</p>
127
+ */
128
+ Execution: ExecutionPlan;
129
+ /**
130
+ * <p>过滤规则</p>
131
+ */
132
+ PolicyRuleSet?: Array<PolicyRuleOperator>;
133
+ /**
134
+ * <p>是否输出清单</p>
135
+ */
136
+ EnableManifest?: boolean;
137
+ /**
138
+ * <p>清单配置</p>
139
+ */
140
+ Manifest?: ManifestAttr;
141
+ }
87
142
  /**
88
143
  * 付费信息详情
89
144
  */
@@ -115,17 +170,17 @@ export interface UpdateFilesetGeneralConfigResponse {
115
170
  RequestId?: string;
116
171
  }
117
172
  /**
118
- * CreateDataRepositoryTask返回参数结构体
173
+ * AttachFileSystemBucket请求参数结构体
119
174
  */
120
- export interface CreateDataRepositoryTaskResponse {
175
+ export interface AttachFileSystemBucketRequest {
121
176
  /**
122
- * <p>任务ID</p>
177
+ * 无
123
178
  */
124
- TaskId?: string;
179
+ FileSystemId: string;
125
180
  /**
126
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
181
+ * 关联新Bucket
127
182
  */
128
- RequestId?: string;
183
+ Bucket: MappedBucket;
129
184
  }
130
185
  /**
131
186
  * DeleteFileSystem请求参数结构体
@@ -289,13 +344,17 @@ export interface ExpandCapacityRequest {
289
344
  */
290
345
  FileSystemId: string;
291
346
  /**
292
- * 新增扩容的系统容量
347
+ * 新增扩容的系统容量(单位 GiB)
293
348
  */
294
349
  ExpandedCapacity: number;
295
350
  /**
296
351
  * 容量修改类型:add/sub
297
352
  */
298
353
  ModifyType?: string;
354
+ /**
355
+ * 是否是快速扩容,只针对部分model有效
356
+ */
357
+ RapidExpansion?: boolean;
299
358
  }
300
359
  /**
301
360
  * 客户端集群挂载信息
@@ -346,29 +405,38 @@ export interface BatchDeleteClientNodesRequest {
346
405
  ClusterId?: string;
347
406
  }
348
407
  /**
349
- * vpc子网信息
408
+ * DescribePolicyRuleExecuteRecord返回参数结构体
350
409
  */
351
- export interface SubnetInfo {
410
+ export interface DescribePolicyRuleExecuteRecordResponse {
352
411
  /**
353
- * vpc id
412
+ * <p>执行记录详情</p>
354
413
  */
355
- VpcId: string;
414
+ RuleExecuteList?: Array<RuleExecuteAttribute>;
356
415
  /**
357
- * 子网ID
416
+ * <p>任务总数</p>
358
417
  */
359
- SubnetId?: string;
418
+ TotalCount?: number;
360
419
  /**
361
- * 应用的集群;可以是集群id,也可以是All
420
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
362
421
  */
363
- UsedCluster?: string;
422
+ RequestId?: string;
423
+ }
424
+ /**
425
+ * Policy扫描规则
426
+ */
427
+ export interface PolicyRuleOperator {
364
428
  /**
365
- * cidr,只有当IsDirectConnect为true时才生效
429
+ * <p>规则名</p><p>枚举值:</p><ul><li>CREATION_TIME_DAYS: 创建时间,比较的value 是days,数字整数。判断条件均为与“今天”相差。例如 CREATION_TIME &gt; 5,指的是创建时间-今天大于5天,即5天前(以及更早)创建的文件</li><li>CHANGE_TIME_DAYS: 元数据修改时间,比较的value 是days,数字整数。判断条件均为与“今天”相差。例如 CHANGE_TIME &gt; 5,指的是元数据修改时间-今天大于5天,即5天前以及更早修改元数据的文件</li><li>MODIFICATION_TIME_DAYS: 数据修改时间,比较的value 是days,数字整数。判断条件均为与“今天”相差。例如 MODIFICATION_TIME &gt; 5,指的是数据修改时间-今天大于5天,即5天前(以及更早)修改的文件</li><li>ACCESS_TIME_DAYS: 访问时间,比较的value 是days,数字整数。判断条件均为与“今天”相差。例如 ACCESS_TIME &gt; 5,指的是访问时间-今天大于5天,即5天前(以及更早)访问的文件</li><li>CREATION_TIME_DATE: 创建时间,比较的value 是date,日期,格式为YYYY-MM-DD。判断条件均为与value对应的日期的对比。例如 CREATION_TIME &gt; 2026-06-01,指的是创建时间晚于2026年6月1日</li><li>CHANGE_TIME_DATE: 元数据修改时间,比较的value 是date,日期,格式为YYYY-MM-DD。判断条件均为与value对应的日期的对比。例如 CHANGE_TIME &gt; 2026-06-01,指的是元数据修改晚于2026年6月1日</li><li>MODIFICATION_TIME_DATE: 数据修改时间,比较的value 是date,日期,格式为YYYY-MM-DD。判断条件均为与value对应的日期的对比。例如 MODIFICATION_TIME &gt; 2026-06-01,指的是数据修改时间晚于2026年6月1日</li><li>ACCESS_TIME_DATE: 访问时间,比较的value 是date,日期,格式为YYYY-MM-DD。判断条件均为与value对应的日期的对比。例如 ACCESS_TIME &gt; 2026-06-01,指的是访问时间晚于2026年6月1日</li><li>FILE_SIZE: 文件大小,数字,单位byte,整数,0 ~ 64位整数最大值</li></ul>
366
430
  */
367
- CIDR?: string;
431
+ Key?: string;
368
432
  /**
369
- * 是否为专线接入场景
433
+ * <p>比较关系</p><p>枚举值:</p><ul><li>&gt;: 大于</li><li>&gt;=: 大于等于</li><li>=: 相等</li><li>&lt;: 小于</li><li>&lt;=: 小于等于</li></ul>
370
434
  */
371
- IsDirectConnect?: boolean;
435
+ Operator?: string;
436
+ /**
437
+ * <p>比较值</p><p>如果Key是CREATION_TIME_DAYS、CHANGE_TIME_DAYS、MODIFICATION_TIME_DAYS、ACCESS_TIME_DAYS时,值是整数;<br>如果Key是CREATION_TIME_DATE、CHANGE_TIME_DATE、MODIFICATION_TIME_DATE、ACCESS_TIME_DATE时,值是日期,格式是YYYY-MM-DD;<br>如果Key是FILE_SIZE,值是整数,单位是byte</p>
438
+ */
439
+ Value?: string;
372
440
  }
373
441
  /**
374
442
  * UpdateFileset返回参数结构体
@@ -404,6 +472,19 @@ export interface LinuxNodeAttribute {
404
472
  */
405
473
  MountPoint?: string;
406
474
  }
475
+ /**
476
+ * DeletePolicyRule请求参数结构体
477
+ */
478
+ export interface DeletePolicyRuleRequest {
479
+ /**
480
+ * <p>规则id</p>
481
+ */
482
+ RuleId: string;
483
+ /**
484
+ * <p>文件系统ID</p>
485
+ */
486
+ FileSystemId: string;
487
+ }
407
488
  /**
408
489
  * DescribeFileSystems请求参数结构体
409
490
  */
@@ -418,17 +499,42 @@ export interface DescribeFileSystemsRequest {
418
499
  Limit: number;
419
500
  }
420
501
  /**
421
- * AttachFileSystemBucket请求参数结构体
502
+ * CreateDataRepositoryTask返回参数结构体
422
503
  */
423
- export interface AttachFileSystemBucketRequest {
504
+ export interface CreateDataRepositoryTaskResponse {
424
505
  /**
425
- * 无
506
+ * <p>任务ID</p>
507
+ */
508
+ TaskId?: string;
509
+ /**
510
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
511
+ */
512
+ RequestId?: string;
513
+ }
514
+ /**
515
+ * UpdateFileset请求参数结构体
516
+ */
517
+ export interface UpdateFilesetRequest {
518
+ /**
519
+ * 文件系统id
426
520
  */
427
521
  FileSystemId: string;
428
522
  /**
429
- * 关联新Bucket
523
+ * Fileset id
430
524
  */
431
- Bucket: MappedBucket;
525
+ FsetId: string;
526
+ /**
527
+ * 容量配额限定值
528
+ */
529
+ QuotaSizeLimit?: string;
530
+ /**
531
+ * 文件数配额限定值
532
+ */
533
+ QuotaFilesLimit?: string;
534
+ /**
535
+ * Fileset文件删除操作审计
536
+ */
537
+ AuditState?: string;
432
538
  }
433
539
  /**
434
540
  * 文件系统关联的标签
@@ -444,13 +550,17 @@ export interface Tag {
444
550
  Value: string;
445
551
  }
446
552
  /**
447
- * MountMultipleStorageFileSystem返回参数结构体
553
+ * ModifyDataRepositoryBandwidth请求参数结构体
448
554
  */
449
- export interface MountMultipleStorageFileSystemResponse {
555
+ export interface ModifyDataRepositoryBandwidthRequest {
450
556
  /**
451
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
557
+ * 文件系统ID
452
558
  */
453
- RequestId?: string;
559
+ FileSystemId: string;
560
+ /**
561
+ * 带宽, 单位MB/S
562
+ */
563
+ Bandwidth: number;
454
564
  }
455
565
  /**
456
566
  * CreateDataRepositoryTask请求参数结构体
@@ -694,29 +804,34 @@ export interface DescribeFileSystemBucketsRequest {
694
804
  FileSystemId: string;
695
805
  }
696
806
  /**
697
- * DescribeDataRepositoryTaskStatus返回参数结构体
807
+ * CreatePolicyRule返回参数结构体
698
808
  */
699
- export interface DescribeDataRepositoryTaskStatusResponse {
809
+ export interface CreatePolicyRuleResponse {
700
810
  /**
701
- * 任务id
811
+ * <p>规则id</p>
702
812
  */
703
- TaskId?: string;
813
+ RuleId?: string;
704
814
  /**
705
- * 任务状态 0(初始化中), 1(运行中), 2(已完成), 3(任务失败)
815
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
706
816
  */
707
- Status?: number;
817
+ RequestId?: string;
818
+ }
819
+ /**
820
+ * DescribePolicyRule请求参数结构体
821
+ */
822
+ export interface DescribePolicyRuleRequest {
708
823
  /**
709
- * 已完成的文件数量
824
+ * <p>文件系统ID</p>
710
825
  */
711
- FinishedFileNumber?: number;
826
+ FileSystemId: string;
712
827
  /**
713
- * 已完成的数据量
828
+ * <p>偏移量</p>
714
829
  */
715
- FinishedCapacity?: number;
830
+ Offset: number;
716
831
  /**
717
- * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
832
+ * <p>最大返回数量</p>
718
833
  */
719
- RequestId?: string;
834
+ Limit: number;
720
835
  }
721
836
  /**
722
837
  * CreateFileSystem请求参数结构体
@@ -778,55 +893,60 @@ export interface DescribeLoadTaskResponse {
778
893
  RequestId?: string;
779
894
  }
780
895
  /**
781
- * DetachFileSystemBucket请求参数结构体
896
+ * DisablePolicyRule请求参数结构体
782
897
  */
783
- export interface DetachFileSystemBucketRequest {
898
+ export interface DisablePolicyRuleRequest {
784
899
  /**
785
- * 文件系统ID
900
+ * <p>规则ID</p>
786
901
  */
787
- FileSystemId: string;
902
+ RuleId: string;
788
903
  /**
789
- * 要解绑的Bucket名
904
+ * <p>文件系统ID</p>
790
905
  */
791
- BucketName: string;
906
+ FileSystemId: string;
792
907
  }
793
908
  /**
794
- * ModifyDataRepositoryBandwidth请求参数结构体
909
+ * DetachFileSystemBucket请求参数结构体
795
910
  */
796
- export interface ModifyDataRepositoryBandwidthRequest {
911
+ export interface DetachFileSystemBucketRequest {
797
912
  /**
798
913
  * 文件系统ID
799
914
  */
800
915
  FileSystemId: string;
801
916
  /**
802
- * 带宽, 单位MB/S
917
+ * 要解绑的Bucket名
803
918
  */
804
- Bandwidth: number;
919
+ BucketName: string;
805
920
  }
806
921
  /**
807
- * UpdateFileset请求参数结构体
922
+ * MountMultipleStorageFileSystem返回参数结构体
808
923
  */
809
- export interface UpdateFilesetRequest {
924
+ export interface MountMultipleStorageFileSystemResponse {
810
925
  /**
811
- * 文件系统id
926
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
812
927
  */
813
- FileSystemId: string;
928
+ RequestId?: string;
929
+ }
930
+ /**
931
+ * 清单配置
932
+ */
933
+ export interface ManifestAttr {
814
934
  /**
815
- * Fileset id
935
+ * <p>桶名字</p>
816
936
  */
817
- FsetId: string;
937
+ Bucket?: string;
818
938
  /**
819
- * 容量配额限定值
939
+ * <p>目录前缀</p>
820
940
  */
821
- QuotaSizeLimit?: string;
941
+ Prefix?: string;
822
942
  /**
823
- * 文件数配额限定值
943
+ * <p>文件属性</p>
824
944
  */
825
- QuotaFilesLimit?: string;
945
+ Attributes?: Array<string>;
826
946
  /**
827
- * Fileset文件删除操作审计
947
+ * <p>桶所在地域</p><p>桶所在的地域,可以不填,认为是实例所在地域</p>
828
948
  */
829
- AuditState?: string;
949
+ Region?: string;
830
950
  }
831
951
  /**
832
952
  * DescribeCustomerCluster请求参数结构体
@@ -1026,6 +1146,23 @@ export interface LoadTaskCreationAttrs {
1026
1146
  */
1027
1147
  LoadDataAttrs?: LoadDataAttrs;
1028
1148
  }
1149
+ /**
1150
+ * CancelPolicyRuleExecuteRecord请求参数结构体
1151
+ */
1152
+ export interface CancelPolicyRuleExecuteRecordRequest {
1153
+ /**
1154
+ * <p>规则id</p>
1155
+ */
1156
+ RuleId: string;
1157
+ /**
1158
+ * <p>文件系统ID</p>
1159
+ */
1160
+ FileSystemId: string;
1161
+ /**
1162
+ * <p>执行记录id</p>
1163
+ */
1164
+ RecordId: string;
1165
+ }
1029
1166
  /**
1030
1167
  * ModifyDataRepositoryBandwidth返回参数结构体
1031
1168
  */
@@ -1123,6 +1260,53 @@ export interface GooseFSxBuildElement {
1123
1260
  */
1124
1261
  MappedBucketList?: Array<MappedBucket>;
1125
1262
  }
1263
+ /**
1264
+ * AddCrossVpcSubnetSupportForClientNode请求参数结构体
1265
+ */
1266
+ export interface AddCrossVpcSubnetSupportForClientNodeRequest {
1267
+ /**
1268
+ * 文件系统ID
1269
+ */
1270
+ FileSystemId: string;
1271
+ /**
1272
+ * 子网信息
1273
+ */
1274
+ SubnetInfo: SubnetInfo;
1275
+ }
1276
+ /**
1277
+ * vpc子网信息
1278
+ */
1279
+ export interface SubnetInfo {
1280
+ /**
1281
+ * vpc id
1282
+ */
1283
+ VpcId: string;
1284
+ /**
1285
+ * 子网ID
1286
+ */
1287
+ SubnetId?: string;
1288
+ /**
1289
+ * 应用的集群;可以是集群id,也可以是All
1290
+ */
1291
+ UsedCluster?: string;
1292
+ /**
1293
+ * cidr,只有当IsDirectConnect为true时才生效
1294
+ */
1295
+ CIDR?: string;
1296
+ /**
1297
+ * 是否为专线接入场景
1298
+ */
1299
+ IsDirectConnect?: boolean;
1300
+ }
1301
+ /**
1302
+ * CancelPolicyRuleExecuteRecord返回参数结构体
1303
+ */
1304
+ export interface CancelPolicyRuleExecuteRecordResponse {
1305
+ /**
1306
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1307
+ */
1308
+ RequestId?: string;
1309
+ }
1126
1310
  /**
1127
1311
  * CancelLoadTask返回参数结构体
1128
1312
  */
@@ -1231,6 +1415,31 @@ export interface DescribeClientNodesResponse {
1231
1415
  */
1232
1416
  RequestId?: string;
1233
1417
  }
1418
+ /**
1419
+ * 周期执行启动配置
1420
+ */
1421
+ export interface ExecutePeriodAttribute {
1422
+ /**
1423
+ * <p>选择的周期类型</p><p>枚举值:</p><ul><li>DAY: 每天执行 </li><li>WEEK: 每周执行</li><li>MONTH: 每月执行</li></ul>
1424
+ */
1425
+ PeriodType?: string;
1426
+ /**
1427
+ * <p>选择每周执行时必填,需要选择周几,0-6 分别是周日到周六</p><p>取值范围:[0, 6]</p><p>默认值:0</p>
1428
+ */
1429
+ StartWeekday?: number;
1430
+ /**
1431
+ * <p>选择每月执行时必填,1-28日选择一天</p><p>取值范围:[1, 28]</p><p>默认值:1</p>
1432
+ */
1433
+ StartDate?: number;
1434
+ /**
1435
+ * <p>周期中的时间点,取值0~59</p><p>取值范围:[0, 59]</p>
1436
+ */
1437
+ StartMinute?: number;
1438
+ /**
1439
+ * <p>24小时周期开始的小时数,取值0~23</p><p>取值范围:[0, 23]</p><p>默认值:1</p>
1440
+ */
1441
+ StartHour?: number;
1442
+ }
1234
1443
  /**
1235
1444
  * DescribeDataRepositoryTaskStatus请求参数结构体
1236
1445
  */
@@ -1407,6 +1616,15 @@ export interface CreateLoadTaskResponse {
1407
1616
  */
1408
1617
  RequestId?: string;
1409
1618
  }
1619
+ /**
1620
+ * DisablePolicyRule返回参数结构体
1621
+ */
1622
+ export interface DisablePolicyRuleResponse {
1623
+ /**
1624
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1625
+ */
1626
+ RequestId?: string;
1627
+ }
1410
1628
  /**
1411
1629
  * 元数据预热参数
1412
1630
  */
@@ -1501,6 +1719,15 @@ export interface DeleteCrossVpcSubnetSupportForClientNodeRequest {
1501
1719
  */
1502
1720
  SubnetInfo: SubnetInfo;
1503
1721
  }
1722
+ /**
1723
+ * DeletePolicyRule返回参数结构体
1724
+ */
1725
+ export interface DeletePolicyRuleResponse {
1726
+ /**
1727
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1728
+ */
1729
+ RequestId?: string;
1730
+ }
1504
1731
  /**
1505
1732
  * AttachFileSystemBucket返回参数结构体
1506
1733
  */
@@ -1527,6 +1754,29 @@ export interface BuildClientNodeMountCommandRequest {
1527
1754
  */
1528
1755
  ClusterId?: string;
1529
1756
  }
1757
+ /**
1758
+ * 执行时间
1759
+ */
1760
+ export interface ExecutionPlan {
1761
+ /**
1762
+ * <p>执行类型</p><p>枚举值:</p><ul><li>scheduled: 指定时间执行</li><li>periodic: 周期执行</li></ul>
1763
+ */
1764
+ ExecuteMode?: string;
1765
+ /**
1766
+ * <p>任务执行时间</p><p>参数格式:2026-07-23 08:30</p><p>入参限制:只有立即执行或者指定时间执行时设置,周期执行不需要设置</p><p>默认值:当前时间</p>
1767
+ 注意:此字段可能返回 null,表示取不到有效值。
1768
+ */
1769
+ ExecuteAt?: string;
1770
+ /**
1771
+ * <p>周期执行的时间设置</p><p>入参限制:选择周期执行时必填</p>
1772
+ 注意:此字段可能返回 null,表示取不到有效值。
1773
+ */
1774
+ ExecutePeriod?: ExecutePeriodAttribute;
1775
+ /**
1776
+ * <p>任务等待时间</p><p>取值范围:[1, 500]</p><p>单位:H</p><p>默认值:12</p><p>任务执行的等待时间,超过时间任务未启动,自动取消</p>
1777
+ */
1778
+ WaitTime?: number;
1779
+ }
1530
1780
  /**
1531
1781
  * BuildCustomerCluster请求参数结构体
1532
1782
  */
@@ -1552,6 +1802,77 @@ export interface BuildCustomerClusterRequest {
1552
1802
  */
1553
1803
  Zone?: string;
1554
1804
  }
1805
+ /**
1806
+ * DescribePolicyRule返回参数结构体
1807
+ */
1808
+ export interface DescribePolicyRuleResponse {
1809
+ /**
1810
+ * <p>规则任务详情</p>
1811
+ */
1812
+ PolicyRuleTaskList?: Array<PolicyRuleTaskAttribute>;
1813
+ /**
1814
+ * <p>任务总数</p>
1815
+ */
1816
+ TotalCount?: number;
1817
+ /**
1818
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1819
+ */
1820
+ RequestId?: string;
1821
+ }
1822
+ /**
1823
+ * 扫描规则执行信息
1824
+ */
1825
+ export interface RuleExecuteAttribute {
1826
+ /**
1827
+ * <p>执行id</p>
1828
+ */
1829
+ RecordId?: string;
1830
+ /**
1831
+ * <p>开始执行时间</p>
1832
+ */
1833
+ StartTime?: string;
1834
+ /**
1835
+ * <p>执行结束时间</p>
1836
+ */
1837
+ EndTime?: string;
1838
+ /**
1839
+ * <p>执行状态</p><p>枚举值:</p><ul><li>0: 等待中</li><li>1: 执行中</li><li>2: 已完成</li><li>3: 已跳过</li></ul><p>默认值:0</p><p>已跳过是指任务排队超过了任务的等待时间会自动跳过</p>
1840
+ */
1841
+ Status?: number;
1842
+ /**
1843
+ * <p>存储量</p><p>单位:GB</p><p>默认值:0</p><p>不足1G按照1G 统计</p>
1844
+ */
1845
+ Capacity?: number;
1846
+ /**
1847
+ * <p>文件数</p>
1848
+ */
1849
+ FileCount?: number;
1850
+ /**
1851
+ * <p>文件清单路径</p><p>参数格式:http://xxx/xxx/xx</p>
1852
+ */
1853
+ ManifestUrl?: string;
1854
+ }
1855
+ /**
1856
+ * DescribePolicyRuleExecuteRecord请求参数结构体
1857
+ */
1858
+ export interface DescribePolicyRuleExecuteRecordRequest {
1859
+ /**
1860
+ * <p>文件系统ID</p>
1861
+ */
1862
+ FileSystemId: string;
1863
+ /**
1864
+ * <p>偏移量</p>
1865
+ */
1866
+ Offset: number;
1867
+ /**
1868
+ * <p>最大返回数量</p>
1869
+ */
1870
+ Limit: number;
1871
+ /**
1872
+ * <p>规则id</p>
1873
+ */
1874
+ RuleId?: string;
1875
+ }
1555
1876
  /**
1556
1877
  * 客户侧集群管理节点信息
1557
1878
  */
@@ -1609,17 +1930,29 @@ export interface DeleteCustomerClusterResponse {
1609
1930
  RequestId?: string;
1610
1931
  }
1611
1932
  /**
1612
- * AddCrossVpcSubnetSupportForClientNode请求参数结构体
1933
+ * DescribeDataRepositoryTaskStatus返回参数结构体
1613
1934
  */
1614
- export interface AddCrossVpcSubnetSupportForClientNodeRequest {
1935
+ export interface DescribeDataRepositoryTaskStatusResponse {
1615
1936
  /**
1616
- * 文件系统ID
1937
+ * 任务id
1617
1938
  */
1618
- FileSystemId: string;
1939
+ TaskId?: string;
1619
1940
  /**
1620
- * 子网信息
1941
+ * 任务状态 0(初始化中), 1(运行中), 2(已完成), 3(任务失败)
1621
1942
  */
1622
- SubnetInfo: SubnetInfo;
1943
+ Status?: number;
1944
+ /**
1945
+ * 已完成的文件数量
1946
+ */
1947
+ FinishedFileNumber?: number;
1948
+ /**
1949
+ * 已完成的数据量
1950
+ */
1951
+ FinishedCapacity?: number;
1952
+ /**
1953
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1954
+ */
1955
+ RequestId?: string;
1623
1956
  }
1624
1957
  /**
1625
1958
  * 角色凭证
@@ -1704,6 +2037,53 @@ export interface ModifyDataRepositoryTaskStatusRequest {
1704
2037
  */
1705
2038
  ModifyType: string;
1706
2039
  }
2040
+ /**
2041
+ * 扫描规则信息
2042
+ */
2043
+ export interface PolicyRuleTaskAttribute {
2044
+ /**
2045
+ * <p>规则id</p>
2046
+ */
2047
+ RuleId?: string;
2048
+ /**
2049
+ * <p>规则名称</p>
2050
+ */
2051
+ Name?: string;
2052
+ /**
2053
+ * <p>扫描目录</p>
2054
+ */
2055
+ ScanDir?: string;
2056
+ /**
2057
+ * <p>执行计划</p>
2058
+ */
2059
+ Execution?: ExecutionPlan;
2060
+ /**
2061
+ * <p>扫描规则</p>
2062
+ 注意:此字段可能返回 null,表示取不到有效值。
2063
+ */
2064
+ PolicyRuleSet?: Array<PolicyRuleOperator>;
2065
+ /**
2066
+ * <p>是否输出清单</p>
2067
+ */
2068
+ EnableManifest?: boolean;
2069
+ /**
2070
+ * <p>输出清单配置</p>
2071
+ 注意:此字段可能返回 null,表示取不到有效值。
2072
+ */
2073
+ Manifest?: ManifestAttr;
2074
+ /**
2075
+ * <p>任务状态</p><p>枚举值:</p><ul><li>0: 启用(enable)</li><li>1: 禁用(disable)</li></ul><p>默认值:0</p>
2076
+ */
2077
+ Status?: number;
2078
+ /**
2079
+ * <p>创建时间</p>
2080
+ */
2081
+ CreateTime?: string;
2082
+ /**
2083
+ * <p>修改时间</p>
2084
+ */
2085
+ ModifyTime?: string;
2086
+ }
1707
2087
  /**
1708
2088
  * DeleteCustomerCluster请求参数结构体
1709
2089
  */