tencentcloud-sdk-nodejs-cfs 4.1.80 → 4.1.91
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.
|
@@ -41,10 +41,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
41
41
|
return this.request("UpdateCfsFileSystemPGroup", req, cb);
|
|
42
42
|
}
|
|
43
43
|
/**
|
|
44
|
-
*
|
|
44
|
+
* 查询生命周期任务的接口
|
|
45
45
|
*/
|
|
46
|
-
async
|
|
47
|
-
return this.request("
|
|
46
|
+
async DescribeLifecycleDataTask(req, cb) {
|
|
47
|
+
return this.request("DescribeLifecycleDataTask", req, cb);
|
|
48
48
|
}
|
|
49
49
|
/**
|
|
50
50
|
* 删除文件系统快照
|
|
@@ -53,10 +53,23 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
53
53
|
return this.request("DeleteCfsSnapshot", req, cb);
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
|
-
*
|
|
56
|
+
* 用于删除文件系统
|
|
57
57
|
*/
|
|
58
|
-
async
|
|
59
|
-
return this.request("
|
|
58
|
+
async DeleteCfsFileSystem(req, cb) {
|
|
59
|
+
return this.request("DeleteCfsFileSystem", req, cb);
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* 更新文件系统快照名称及保留时长
|
|
63
|
+
*/
|
|
64
|
+
async UpdateCfsSnapshotAttribute(req, cb) {
|
|
65
|
+
return this.request("UpdateCfsSnapshotAttribute", req, cb);
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* 用于获取迁移任务列表。
|
|
69
|
+
此接口需提交工单,开启白名单之后才能使用。
|
|
70
|
+
*/
|
|
71
|
+
async DescribeMigrationTasks(req, cb) {
|
|
72
|
+
return this.request("DescribeMigrationTasks", req, cb);
|
|
60
73
|
}
|
|
61
74
|
/**
|
|
62
75
|
* 更新文件系统吞吐
|
|
@@ -72,10 +85,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
72
85
|
return this.request("SetUserQuota", req, cb);
|
|
73
86
|
}
|
|
74
87
|
/**
|
|
75
|
-
*
|
|
88
|
+
* 本接口(CreateCfsPGroup)用于创建权限组
|
|
76
89
|
*/
|
|
77
|
-
async
|
|
78
|
-
return this.request("
|
|
90
|
+
async CreateCfsPGroup(req, cb) {
|
|
91
|
+
return this.request("CreateCfsPGroup", req, cb);
|
|
79
92
|
}
|
|
80
93
|
/**
|
|
81
94
|
* 本接口(DescribeMountTargets)用于查询文件系统挂载点信息
|
|
@@ -83,12 +96,30 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
83
96
|
async DescribeMountTargets(req, cb) {
|
|
84
97
|
return this.request("DescribeMountTargets", req, cb);
|
|
85
98
|
}
|
|
99
|
+
/**
|
|
100
|
+
* 创建数据流动接口
|
|
101
|
+
*/
|
|
102
|
+
async CreateDataFlow(req, cb) {
|
|
103
|
+
return this.request("CreateDataFlow", req, cb);
|
|
104
|
+
}
|
|
86
105
|
/**
|
|
87
106
|
* 本接口(DeleteCfsPGroup)用于删除权限组,只有未绑定文件系统的权限组才能够被此接口删除。
|
|
88
107
|
*/
|
|
89
108
|
async DeleteCfsPGroup(req, cb) {
|
|
90
109
|
return this.request("DeleteCfsPGroup", req, cb);
|
|
91
110
|
}
|
|
111
|
+
/**
|
|
112
|
+
* 删除生命周期管理策略
|
|
113
|
+
*/
|
|
114
|
+
async DeleteLifecyclePolicy(req, cb) {
|
|
115
|
+
return this.request("DeleteLifecyclePolicy", req, cb);
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* 下载生命周期任务中文件列表
|
|
119
|
+
*/
|
|
120
|
+
async CreateLifecyclePolicyDownloadTask(req, cb) {
|
|
121
|
+
return this.request("CreateLifecyclePolicyDownloadTask", req, cb);
|
|
122
|
+
}
|
|
92
123
|
/**
|
|
93
124
|
* 查询挂载该文件系统的客户端。此功能需要客户端安装CFS监控插件。
|
|
94
125
|
*/
|
|
@@ -108,11 +139,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
108
139
|
return this.request("StopMigrationTask", req, cb);
|
|
109
140
|
}
|
|
110
141
|
/**
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
return this.request("DescribeMigrationTasks", req, cb);
|
|
142
|
+
* 用于获取数据源桶列表。
|
|
143
|
+
*/
|
|
144
|
+
async DescribeBucketList(req, cb) {
|
|
145
|
+
return this.request("DescribeBucketList", req, cb);
|
|
116
146
|
}
|
|
117
147
|
/**
|
|
118
148
|
* 本接口(DescribeAvailableZoneInfo)用于查询区域的可用情况。
|
|
@@ -121,10 +151,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
121
151
|
return this.request("DescribeAvailableZoneInfo", req, cb);
|
|
122
152
|
}
|
|
123
153
|
/**
|
|
124
|
-
*
|
|
154
|
+
* 支持主动沉降/预热接口
|
|
125
155
|
*/
|
|
126
|
-
async
|
|
127
|
-
return this.request("
|
|
156
|
+
async CreateLifecycleDataTask(req, cb) {
|
|
157
|
+
return this.request("CreateLifecycleDataTask", req, cb);
|
|
158
|
+
}
|
|
159
|
+
/**
|
|
160
|
+
* 本接口(SignUpCfsService)用于开通CFS服务。
|
|
161
|
+
*/
|
|
162
|
+
async SignUpCfsService(req, cb) {
|
|
163
|
+
return this.request("SignUpCfsService", req, cb);
|
|
128
164
|
}
|
|
129
165
|
/**
|
|
130
166
|
* 用于删除迁移任务。不支持删除等待中、创建中、运行中、取消中、终止中状态的任务。
|
|
@@ -145,16 +181,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
145
181
|
return this.request("UpdateCfsFileSystemSizeLimit", req, cb);
|
|
146
182
|
}
|
|
147
183
|
/**
|
|
148
|
-
*
|
|
149
|
-
*/
|
|
150
|
-
async CreateAutoSnapshotPolicy(req, cb) {
|
|
151
|
-
return this.request("CreateAutoSnapshotPolicy", req, cb);
|
|
152
|
-
}
|
|
153
|
-
/**
|
|
154
|
-
* 用于删除文件系统
|
|
184
|
+
* 创建文件存储生命周期策略
|
|
155
185
|
*/
|
|
156
|
-
async
|
|
157
|
-
return this.request("
|
|
186
|
+
async CreateLifecyclePolicy(req, cb) {
|
|
187
|
+
return this.request("CreateLifecyclePolicy", req, cb);
|
|
158
188
|
}
|
|
159
189
|
/**
|
|
160
190
|
* 用于添加新文件系统
|
|
@@ -163,10 +193,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
163
193
|
return this.request("CreateCfsFileSystem", req, cb);
|
|
164
194
|
}
|
|
165
195
|
/**
|
|
166
|
-
*
|
|
196
|
+
* 本接口(DescribeCfsPGroups)用于查询权限组列表。
|
|
167
197
|
*/
|
|
168
|
-
async
|
|
169
|
-
return this.request("
|
|
198
|
+
async DescribeCfsPGroups(req, cb) {
|
|
199
|
+
return this.request("DescribeCfsPGroups", req, cb);
|
|
170
200
|
}
|
|
171
201
|
/**
|
|
172
202
|
* 文件系统快照概览
|
|
@@ -174,6 +204,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
174
204
|
async DescribeCfsSnapshotOverview(req, cb) {
|
|
175
205
|
return this.request("DescribeCfsSnapshotOverview", req, cb);
|
|
176
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* 查询生命周期管理策略
|
|
209
|
+
*/
|
|
210
|
+
async DescribeLifecyclePolicies(req, cb) {
|
|
211
|
+
return this.request("DescribeLifecyclePolicies", req, cb);
|
|
212
|
+
}
|
|
177
213
|
/**
|
|
178
214
|
* 查询文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
|
|
179
215
|
*/
|
|
@@ -181,16 +217,22 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
181
217
|
return this.request("DescribeUserQuota", req, cb);
|
|
182
218
|
}
|
|
183
219
|
/**
|
|
184
|
-
*
|
|
220
|
+
* 配置生命周期策略关联到的目录列表
|
|
185
221
|
*/
|
|
186
|
-
async
|
|
187
|
-
return this.request("
|
|
222
|
+
async ApplyPathLifecyclePolicy(req, cb) {
|
|
223
|
+
return this.request("ApplyPathLifecyclePolicy", req, cb);
|
|
188
224
|
}
|
|
189
225
|
/**
|
|
190
|
-
*
|
|
226
|
+
* 指定条件删除文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
|
|
191
227
|
*/
|
|
192
|
-
async
|
|
193
|
-
return this.request("
|
|
228
|
+
async DeleteUserQuota(req, cb) {
|
|
229
|
+
return this.request("DeleteUserQuota", req, cb);
|
|
230
|
+
}
|
|
231
|
+
/**
|
|
232
|
+
* 修改数据流动相关参数
|
|
233
|
+
*/
|
|
234
|
+
async ModifyDataFlow(req, cb) {
|
|
235
|
+
return this.request("ModifyDataFlow", req, cb);
|
|
194
236
|
}
|
|
195
237
|
/**
|
|
196
238
|
* 本接口(UpdateCfsRule)用于更新权限规则。
|
|
@@ -204,6 +246,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
204
246
|
async DescribeCfsFileSystems(req, cb) {
|
|
205
247
|
return this.request("DescribeCfsFileSystems", req, cb);
|
|
206
248
|
}
|
|
249
|
+
/**
|
|
250
|
+
* 用来设置文件系统扩容策略,该接口只支持turbo文件系统
|
|
251
|
+
*/
|
|
252
|
+
async ModifyFileSystemAutoScaleUpRule(req, cb) {
|
|
253
|
+
return this.request("ModifyFileSystemAutoScaleUpRule", req, cb);
|
|
254
|
+
}
|
|
207
255
|
/**
|
|
208
256
|
* 查询文件系统快照列表
|
|
209
257
|
*/
|
|
@@ -216,6 +264,12 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
216
264
|
async BindAutoSnapshotPolicy(req, cb) {
|
|
217
265
|
return this.request("BindAutoSnapshotPolicy", req, cb);
|
|
218
266
|
}
|
|
267
|
+
/**
|
|
268
|
+
* 更新文件存储生命周期策略
|
|
269
|
+
*/
|
|
270
|
+
async ModifyLifecyclePolicy(req, cb) {
|
|
271
|
+
return this.request("ModifyLifecyclePolicy", req, cb);
|
|
272
|
+
}
|
|
219
273
|
/**
|
|
220
274
|
* 本接口(DeleteCfsRule)用于删除权限组规则。
|
|
221
275
|
*/
|
|
@@ -223,10 +277,10 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
223
277
|
return this.request("DeleteCfsRule", req, cb);
|
|
224
278
|
}
|
|
225
279
|
/**
|
|
226
|
-
*
|
|
280
|
+
* 删除数据流动
|
|
227
281
|
*/
|
|
228
|
-
async
|
|
229
|
-
return this.request("
|
|
282
|
+
async DeleteDataFlow(req, cb) {
|
|
283
|
+
return this.request("DeleteDataFlow", req, cb);
|
|
230
284
|
}
|
|
231
285
|
/**
|
|
232
286
|
* 用于创建迁移任务。
|
|
@@ -242,16 +296,16 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
242
296
|
return this.request("DeleteMountTarget", req, cb);
|
|
243
297
|
}
|
|
244
298
|
/**
|
|
245
|
-
*
|
|
299
|
+
* 创建定期快照策略
|
|
246
300
|
*/
|
|
247
|
-
async
|
|
248
|
-
return this.request("
|
|
301
|
+
async CreateAutoSnapshotPolicy(req, cb) {
|
|
302
|
+
return this.request("CreateAutoSnapshotPolicy", req, cb);
|
|
249
303
|
}
|
|
250
304
|
/**
|
|
251
|
-
*
|
|
305
|
+
* 查询文件系统快照定期策略列表信息
|
|
252
306
|
*/
|
|
253
|
-
async
|
|
254
|
-
return this.request("
|
|
307
|
+
async DescribeAutoSnapshotPolicies(req, cb) {
|
|
308
|
+
return this.request("DescribeAutoSnapshotPolicies", req, cb);
|
|
255
309
|
}
|
|
256
310
|
/**
|
|
257
311
|
* 删除快照定期策略
|
|
@@ -259,12 +313,24 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
259
313
|
async DeleteAutoSnapshotPolicy(req, cb) {
|
|
260
314
|
return this.request("DeleteAutoSnapshotPolicy", req, cb);
|
|
261
315
|
}
|
|
316
|
+
/**
|
|
317
|
+
* 终止生命周期任务的接口
|
|
318
|
+
*/
|
|
319
|
+
async StopLifecycleDataTask(req, cb) {
|
|
320
|
+
return this.request("StopLifecycleDataTask", req, cb);
|
|
321
|
+
}
|
|
262
322
|
/**
|
|
263
323
|
* 创建文件系统快照
|
|
264
324
|
*/
|
|
265
325
|
async CreateCfsSnapshot(req, cb) {
|
|
266
326
|
return this.request("CreateCfsSnapshot", req, cb);
|
|
267
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* 更新定期自动快照策略
|
|
330
|
+
*/
|
|
331
|
+
async UpdateAutoSnapshotPolicy(req, cb) {
|
|
332
|
+
return this.request("UpdateAutoSnapshotPolicy", req, cb);
|
|
333
|
+
}
|
|
268
334
|
/**
|
|
269
335
|
* 解除文件系统绑定的快照策略
|
|
270
336
|
*/
|
|
@@ -277,6 +343,18 @@ class Client extends TencentCloudCommon.AbstractClient {
|
|
|
277
343
|
async DescribeSnapshotOperationLogs(req, cb) {
|
|
278
344
|
return this.request("DescribeSnapshotOperationLogs", req, cb);
|
|
279
345
|
}
|
|
346
|
+
/**
|
|
347
|
+
* 本接口(UpdateCfsFileSystemName)用于更新文件系统名
|
|
348
|
+
*/
|
|
349
|
+
async UpdateCfsFileSystemName(req, cb) {
|
|
350
|
+
return this.request("UpdateCfsFileSystemName", req, cb);
|
|
351
|
+
}
|
|
352
|
+
/**
|
|
353
|
+
* 查询数据流动信息接口
|
|
354
|
+
*/
|
|
355
|
+
async DescribeDataFlow(req, cb) {
|
|
356
|
+
return this.request("DescribeDataFlow", req, cb);
|
|
357
|
+
}
|
|
280
358
|
/**
|
|
281
359
|
* 本接口(CreateCfsRule)用于创建权限组规则。
|
|
282
360
|
*/
|