tencentcloud-sdk-nodejs-cfs 4.1.137 → 4.1.139

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-cfs",
3
- "version": "4.1.137",
3
+ "version": "4.1.139",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -15,7 +15,7 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
15
15
  */
16
16
  UpdateCfsFileSystemPGroup(req: UpdateCfsFileSystemPGroupRequest, cb?: (error: string, rep: UpdateCfsFileSystemPGroupResponse) => void): Promise<UpdateCfsFileSystemPGroupResponse>;
17
17
  /**
18
- * 查询生命周期任务的接口
18
+ * 查询生命周期任务的接口。仅支持查询最近三个月内的任务数据。
19
19
  */
20
20
  DescribeLifecycleDataTask(req: DescribeLifecycleDataTaskRequest, cb?: (error: string, rep: DescribeLifecycleDataTaskResponse) => void): Promise<DescribeLifecycleDataTaskResponse>;
21
21
  /**
@@ -41,7 +41,7 @@ class Client extends TencentCloudCommon.AbstractClient {
41
41
  return this.request("UpdateCfsFileSystemPGroup", req, cb);
42
42
  }
43
43
  /**
44
- * 查询生命周期任务的接口
44
+ * 查询生命周期任务的接口。仅支持查询最近三个月内的任务数据。
45
45
  */
46
46
  async DescribeLifecycleDataTask(req, cb) {
47
47
  return this.request("DescribeLifecycleDataTask", req, cb);
@@ -1021,15 +1021,15 @@ export interface DeleteMigrationTaskResponse {
1021
1021
  */
1022
1022
  export interface DescribeLifecycleDataTaskRequest {
1023
1023
  /**
1024
- * 开始时间
1024
+ * 开始时间。须早于 EndTime ,仅支持查询最近3个月内的任务数据。
1025
1025
  */
1026
1026
  StartTime: string;
1027
1027
  /**
1028
- * 结束时间
1028
+ * 结束时间。须晚于 StartTime ,仅支持查询最近3个月内的任务数据。
1029
1029
  */
1030
1030
  EndTime: string;
1031
1031
  /**
1032
- * 任务ID
1032
+ * 任务ID
1033
1033
  */
1034
1034
  TaskId?: string;
1035
1035
  /**
@@ -1044,6 +1044,10 @@ export interface DescribeLifecycleDataTaskRequest {
1044
1044
  * 过滤条件,TaskName,FileSystemId,Type
1045
1045
  */
1046
1046
  Filters?: Array<Filter>;
1047
+ /**
1048
+ * 文件系统版本;v3.1: pcfs/hifs v4.0:Turbo
1049
+ */
1050
+ CfsVersion?: string;
1047
1051
  }
1048
1052
  /**
1049
1053
  * DescribeSnapshotOperationLogs返回参数结构体
@@ -1292,6 +1296,34 @@ export interface DataFlowInfo {
1292
1296
  * 文件系统 ID
1293
1297
  */
1294
1298
  FileSystemId?: string;
1299
+ /**
1300
+ * 0:不开启自动更新
1301
+
1302
+ 1:开启自动更新
1303
+ */
1304
+ AutoRefresh?: number;
1305
+ /**
1306
+ * KafkaConsumer 消费时使用的Topic参数
1307
+ */
1308
+ UserKafkaTopic?: string;
1309
+ /**
1310
+ * 服务地址
1311
+ */
1312
+ ServerAddr?: string;
1313
+ /**
1314
+ * Kafka消费用户名
1315
+ */
1316
+ UserName?: string;
1317
+ /**
1318
+ * 自动刷新的状态,available:已生效
1319
+ pending:配置中
1320
+ unavailable:失效
1321
+ */
1322
+ AutoRefreshStatus?: string;
1323
+ /**
1324
+ * 自动刷新开启时间
1325
+ */
1326
+ AutoRefreshTime?: string;
1295
1327
  }
1296
1328
  /**
1297
1329
  * 版本控制-类型数组
@@ -1356,29 +1388,29 @@ export interface CreateCfsSnapshotResponse {
1356
1388
  */
1357
1389
  export interface LifecycleRule {
1358
1390
  /**
1359
- * 数据转储后的存储类型
1391
+ * 数据转储后的存储类型。其中:InfrequentAccess:低频介质存储;ColdStorage:冷存储。
1360
1392
  */
1361
1393
  StorageType: string;
1362
1394
  /**
1363
- * 数据转储文件类型
1395
+ * 数据转储文件类型。其中,BIG_FILE:超大文件;STD_FILE:普通文件;SMALL_FILE:小文件;ALL:所有文件。
1364
1396
  */
1365
1397
  FileType: string;
1366
1398
  /**
1367
- * 数据转储行为
1399
+ * 数据转储行为。其中,Archive:沉降;Noarchive:不沉降。
1368
1400
  */
1369
1401
  Action: string;
1370
1402
  /**
1371
- * 数据转储触发时间
1403
+ * 数据转储触发时间。由“DEFAULT_ATIME_”与“数字”组成,单位为天。当 Action 为 Noarchive,请保持为空。
1372
1404
  注意:此字段可能返回 null,表示取不到有效值。
1373
1405
  */
1374
1406
  Interval?: string;
1375
1407
  /**
1376
- * 数据转储文件最大规格
1408
+ * 数据转储文件最大规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
1377
1409
  注意:此字段可能返回 null,表示取不到有效值。
1378
1410
  */
1379
1411
  FileMaxSize?: string;
1380
1412
  /**
1381
- * 数据转储文件最小规格
1413
+ * 数据转储文件最小规格。其数值需使用“数字+单位”格式进行表示,单位支持K(KiB)、M(MiB)、G(GiB)。
1382
1414
  注意:此字段可能返回 null,表示取不到有效值。
1383
1415
  */
1384
1416
  FileMinSize?: string;
@@ -2931,6 +2963,26 @@ export interface ModifyDataFlowRequest {
2931
2963
  * 密钥 key
2932
2964
  */
2933
2965
  SecretKey?: string;
2966
+ /**
2967
+ * KafkaConsumer 消费时使用的Topic参数
2968
+ */
2969
+ UserKafkaTopic?: string;
2970
+ /**
2971
+ * 服务地址
2972
+ */
2973
+ ServerAddr?: string;
2974
+ /**
2975
+ * name
2976
+ */
2977
+ UserName?: string;
2978
+ /**
2979
+ * Kafka消费用户密码
2980
+ */
2981
+ Password?: string;
2982
+ /**
2983
+ * 元数据增量更新开关;1开启,0关闭
2984
+ */
2985
+ AutoRefresh?: number;
2934
2986
  }
2935
2987
  /**
2936
2988
  * DescribeCfsSnapshotOverview请求参数结构体
@@ -3001,6 +3053,26 @@ export interface CreateDataFlowRequest {
3001
3053
  * 数据流动名称;支持不超过64字符长度,支持中文、数字、_、-
3002
3054
  */
3003
3055
  DataFlowName?: string;
3056
+ /**
3057
+ * 0:不开启自动更新 1:开启自动更新
3058
+ */
3059
+ AutoRefresh?: number;
3060
+ /**
3061
+ * KafkaConsumer 消费时使用的Topic参数
3062
+ */
3063
+ UserKafkaTopic?: string;
3064
+ /**
3065
+ * 服务地址 示例值:kafkaconsumer-ap-beijing.cls.tencentyun.com:9095
3066
+ */
3067
+ ServerAddr?: string;
3068
+ /**
3069
+ * Kafka消费用户名.示例值:name
3070
+ */
3071
+ UserName?: string;
3072
+ /**
3073
+ * Kafka消费用户密码。默认${SecretId}#${SecretKey}。
3074
+ */
3075
+ Password?: string;
3004
3076
  }
3005
3077
  /**
3006
3078
  * DescribeDataFlow返回参数结构体