tencentcloud-sdk-nodejs-cfs 4.1.50 → 4.1.52

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.50",
3
+ "version": "4.1.52",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -56,9 +56,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
56
56
  */
57
57
  DescribeCfsServiceStatus(req?: DescribeCfsServiceStatusRequest, cb?: (error: string, rep: DescribeCfsServiceStatusResponse) => void): Promise<DescribeCfsServiceStatusResponse>;
58
58
  /**
59
- * 用于终止迁移任务,非运行中状态不支持终止。
60
- 此接口需提交工单,开启白名单之后才能使用。
61
- */
59
+ * 用于终止迁移任务,可以终止等待中、运行中状态的任务。
60
+ */
62
61
  StopMigrationTask(req: StopMigrationTaskRequest, cb?: (error: string, rep: StopMigrationTaskResponse) => void): Promise<StopMigrationTaskResponse>;
63
62
  /**
64
63
  * 用于获取迁移任务列表。
@@ -74,9 +73,8 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
74
73
  */
75
74
  UpdateCfsFileSystemName(req: UpdateCfsFileSystemNameRequest, cb?: (error: string, rep: UpdateCfsFileSystemNameResponse) => void): Promise<UpdateCfsFileSystemNameResponse>;
76
75
  /**
77
- * 用于删除迁移任务。
78
- 此接口需提交工单,开启白名单之后才能使用。
79
- */
76
+ * 用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。
77
+ */
80
78
  DeleteMigrationTask(req: DeleteMigrationTaskRequest, cb?: (error: string, rep: DeleteMigrationTaskResponse) => void): Promise<DeleteMigrationTaskResponse>;
81
79
  /**
82
80
  * 该接口用于对turbo 文件系统扩容使用,该接口只支持扩容不支持缩容。turbo标准型扩容步长是10240GIB,turbo性能型扩容步长是5120GIB
@@ -139,14 +137,12 @@ export declare class Client extends TencentCloudCommon.AbstractClient {
139
137
  */
140
138
  DeleteCfsRule(req: DeleteCfsRuleRequest, cb?: (error: string, rep: DeleteCfsRuleResponse) => void): Promise<DeleteCfsRuleResponse>;
141
139
  /**
142
- * 用于获取数据源桶列表。
143
- 此接口需提交工单,开启白名单之后才能使用。
144
- */
140
+ * 用于获取数据源桶列表。
141
+ */
145
142
  DescribeBucketList(req: DescribeBucketListRequest, cb?: (error: string, rep: DescribeBucketListResponse) => void): Promise<DescribeBucketListResponse>;
146
143
  /**
147
- * 用于创建迁移任务。
148
- 此接口需提交工单,开启白名单之后才能使用。
149
- */
144
+ * 用于创建迁移任务。
145
+ */
150
146
  CreateMigrationTask(req: CreateMigrationTaskRequest, cb?: (error: string, rep: CreateMigrationTaskResponse) => void): Promise<CreateMigrationTaskResponse>;
151
147
  /**
152
148
  * 本接口(DeleteMountTarget)用于删除挂载点
@@ -102,9 +102,8 @@ class Client extends TencentCloudCommon.AbstractClient {
102
102
  return this.request("DescribeCfsServiceStatus", req, cb);
103
103
  }
104
104
  /**
105
- * 用于终止迁移任务,非运行中状态不支持终止。
106
- 此接口需提交工单,开启白名单之后才能使用。
107
- */
105
+ * 用于终止迁移任务,可以终止等待中、运行中状态的任务。
106
+ */
108
107
  async StopMigrationTask(req, cb) {
109
108
  return this.request("StopMigrationTask", req, cb);
110
109
  }
@@ -128,9 +127,8 @@ class Client extends TencentCloudCommon.AbstractClient {
128
127
  return this.request("UpdateCfsFileSystemName", req, cb);
129
128
  }
130
129
  /**
131
- * 用于删除迁移任务。
132
- 此接口需提交工单,开启白名单之后才能使用。
133
- */
130
+ * 用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。
131
+ */
134
132
  async DeleteMigrationTask(req, cb) {
135
133
  return this.request("DeleteMigrationTask", req, cb);
136
134
  }
@@ -225,16 +223,14 @@ class Client extends TencentCloudCommon.AbstractClient {
225
223
  return this.request("DeleteCfsRule", req, cb);
226
224
  }
227
225
  /**
228
- * 用于获取数据源桶列表。
229
- 此接口需提交工单,开启白名单之后才能使用。
230
- */
226
+ * 用于获取数据源桶列表。
227
+ */
231
228
  async DescribeBucketList(req, cb) {
232
229
  return this.request("DescribeBucketList", req, cb);
233
230
  }
234
231
  /**
235
- * 用于创建迁移任务。
236
- 此接口需提交工单,开启白名单之后才能使用。
237
- */
232
+ * 用于创建迁移任务。
233
+ */
238
234
  async CreateMigrationTask(req, cb) {
239
235
  return this.request("CreateMigrationTask", req, cb);
240
236
  }
@@ -209,7 +209,7 @@ export interface MigrationTaskInfo {
209
209
  */
210
210
  EndTime?: number;
211
211
  /**
212
- * 迁移状态。0: 已完成;1: 进行中;2: 已终止
212
+ * 迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
213
213
  */
214
214
  Status?: number;
215
215
  /**
@@ -467,11 +467,11 @@ export interface FileSystemInfo {
467
467
  */
468
468
  export interface BindAutoSnapshotPolicyRequest {
469
469
  /**
470
- * 快照策略ID,通过快照策略列表获取
470
+ * 需要解绑的文件系统ID列表,用"," 分割,文件系统ID,通过查询文件系统列表获取;[DescribeCfsFileSystems](https://cloud.tencent.com/document/product/582/38170)
471
471
  */
472
472
  AutoSnapshotPolicyId: string;
473
473
  /**
474
- * 文件系统id列表,用“,”分隔,文件系统id通过查询文件系统列表获得
474
+ * 解绑的快照策略ID,可以通过[DescribeAutoSnapshotPolicies](https://cloud.tencent.com/document/api/582/80208) 查询获取
475
475
  */
476
476
  FileSystemIds: string;
477
477
  }
@@ -919,7 +919,6 @@ export interface DescribeBucketListRequest {
919
919
  SrcService: string;
920
920
  /**
921
921
  * 数据源账号的SecretId
922
-
923
922
  */
924
923
  SrcSecretId: string;
925
924
  /**
@@ -1283,12 +1282,12 @@ export interface BucketInfo {
1283
1282
  /**
1284
1283
  * 桶名称
1285
1284
  */
1286
- Name: string;
1285
+ Name?: string;
1287
1286
  /**
1288
1287
  * 桶所在地域
1289
1288
  注意:此字段可能返回 null,表示取不到有效值。
1290
1289
  */
1291
- Region: string;
1290
+ Region?: string;
1292
1291
  }
1293
1292
  /**
1294
1293
  * CreateAccessCert请求参数结构体
@@ -1723,7 +1722,7 @@ export interface DescribeCfsSnapshotsRequest {
1723
1722
  <br>FileSystemId - Array of String - 是否必填:否 -(过滤条件)按文件系统ID过滤。
1724
1723
  <br>FsName - Array of String - 是否必填:否 -(过滤条件)按文件系统名过滤。
1725
1724
  <br>Status - Array of String - 是否必填:否 -(过滤条件)按照快照状态过滤
1726
- (creating:表示创建中 | available:表示可用。| rollbacking:表示回滚。| rollbacking_new:表示由快照创建新文件系统中| create-failed 创建失败)
1725
+ (creating:表示创建中 | available:表示可用。rollbacking_new:表示由快照创建新文件系统中| create-failed 创建失败)
1727
1726
  <br>tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键进行过滤。
1728
1727
  <br>tag:tag-key - Array of String - 是否必填:否 -(过滤条件)按照标签键值对进行过滤。 tag-key使用具体的标签键进行替换。
1729
1728
  */
@@ -2254,7 +2253,7 @@ export interface StopMigrationTaskResponse {
2254
2253
  */
2255
2254
  TaskId?: string;
2256
2255
  /**
2257
- * 迁移状态。0: 已完成;1: 进行中;2: 已终止
2256
+ * 迁移状态。0: 已完成;1: 创建中;2: 运行中;3: 终止中;4: 已终止;5: 创建失败;6: 运行失败;7: 结束中;8: 删除中;9: 等待中
2258
2257
  */
2259
2258
  Status?: number;
2260
2259
  /**
@@ -2288,7 +2287,7 @@ export interface DescribeCfsSnapshotsResponse {
2288
2287
  */
2289
2288
  export interface StopMigrationTaskRequest {
2290
2289
  /**
2291
- * 迁移任务名称
2290
+ * 迁移任务Id
2292
2291
  */
2293
2292
  TaskId: string;
2294
2293
  }