tencentcloud-sdk-nodejs-cfs 4.0.1016 → 4.1.27
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/README.md +79 -30
- package/es/index.js +1 -0
- package/es/services/cfs/index.js +4 -0
- package/es/services/cfs/v20190719/cfs_client.js +138 -0
- package/es/services/cfs/v20190719/cfs_models.js +0 -0
- package/es/services/cfs/v20190719/index.js +6 -0
- package/es/services/index.js +1 -0
- package/package.json +26 -8
- package/tencentcloud/services/cfs/v20190719/cfs_client.js +2 -1
- package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +4 -0
- package/tencentcloud/services/cfs/v20190719/index.js +2 -1
- package/index.d.ts +0 -2
- package/index.js +0 -6
- package/prettier.config.js +0 -38
- package/products.md +0 -263
- package/src/index.ts +0 -1
- package/src/services/cfs/index.ts +0 -5
- package/src/services/cfs/v20190719/cfs_client.ts +0 -587
- package/src/services/cfs/v20190719/cfs_models.ts +0 -2466
- package/src/services/cfs/v20190719/index.ts +0 -6
- package/src/services/index.ts +0 -1
- package/tsconfig.json +0 -33
- package/typings/index.d.ts +0 -2
|
@@ -1,587 +0,0 @@
|
|
|
1
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
2
|
-
/*
|
|
3
|
-
* Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved.
|
|
4
|
-
*
|
|
5
|
-
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
-
* you may not use this file except in compliance with the License.
|
|
7
|
-
* You may obtain a copy of the License at
|
|
8
|
-
*
|
|
9
|
-
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
-
*
|
|
11
|
-
* Unless required by applicable law or agreed to in writing,
|
|
12
|
-
* software distributed under the License is distributed on an
|
|
13
|
-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
|
|
14
|
-
* KIND, either express or implied. See the License for the
|
|
15
|
-
* specific language governing permissions and limitations
|
|
16
|
-
* under the License.
|
|
17
|
-
*/
|
|
18
|
-
import * as TencentCloudCommon from "tencentcloud-sdk-nodejs-common"
|
|
19
|
-
import {
|
|
20
|
-
CreateMigrationTaskRequest,
|
|
21
|
-
ScaleUpFileSystemResponse,
|
|
22
|
-
SnapshotStatistics,
|
|
23
|
-
DescribeCfsPGroupsResponse,
|
|
24
|
-
DescribeMountTargetsResponse,
|
|
25
|
-
DescribeSnapshotOperationLogsRequest,
|
|
26
|
-
MigrationTaskInfo,
|
|
27
|
-
FileSystemClient,
|
|
28
|
-
DescribeCfsFileSystemsResponse,
|
|
29
|
-
CreateCfsFileSystemResponse,
|
|
30
|
-
FileSystemInfo,
|
|
31
|
-
BindAutoSnapshotPolicyRequest,
|
|
32
|
-
ModifyFileSystemAutoScaleUpRuleRequest,
|
|
33
|
-
ScaleUpFileSystemRequest,
|
|
34
|
-
CreateCfsPGroupRequest,
|
|
35
|
-
DescribeMigrationTasksResponse,
|
|
36
|
-
DescribeAutoSnapshotPoliciesRequest,
|
|
37
|
-
DescribeAvailableZoneInfoRequest,
|
|
38
|
-
DescribeMountTargetsRequest,
|
|
39
|
-
BindAutoSnapshotPolicyResponse,
|
|
40
|
-
SignUpCfsServiceRequest,
|
|
41
|
-
SignUpCfsServiceResponse,
|
|
42
|
-
AutoSnapshotPolicyInfo,
|
|
43
|
-
DescribeCfsRulesRequest,
|
|
44
|
-
UpdateCfsFileSystemNameRequest,
|
|
45
|
-
DeleteCfsPGroupRequest,
|
|
46
|
-
UpdateCfsPGroupResponse,
|
|
47
|
-
SnapshotOperateLog,
|
|
48
|
-
DeleteAutoSnapshotPolicyRequest,
|
|
49
|
-
DeleteCfsFileSystemResponse,
|
|
50
|
-
UpdateCfsRuleRequest,
|
|
51
|
-
DeleteUserQuotaRequest,
|
|
52
|
-
DescribeAvailableZoneInfoResponse,
|
|
53
|
-
DeleteCfsSnapshotResponse,
|
|
54
|
-
DescribeCfsFileSystemClientsResponse,
|
|
55
|
-
DeleteMountTargetResponse,
|
|
56
|
-
CreateCfsSnapshotRequest,
|
|
57
|
-
DescribeBucketListRequest,
|
|
58
|
-
DeleteCfsRuleRequest,
|
|
59
|
-
UpdateCfsRuleResponse,
|
|
60
|
-
DeleteMigrationTaskResponse,
|
|
61
|
-
UpdateFileSystemBandwidthLimitResponse,
|
|
62
|
-
DescribeSnapshotOperationLogsResponse,
|
|
63
|
-
DeleteCfsFileSystemRequest,
|
|
64
|
-
UpdateFileSystemBandwidthLimitRequest,
|
|
65
|
-
CreateCfsPGroupResponse,
|
|
66
|
-
DescribeCfsServiceStatusRequest,
|
|
67
|
-
DeleteUserQuotaResponse,
|
|
68
|
-
DeleteMigrationTaskRequest,
|
|
69
|
-
PGroup,
|
|
70
|
-
SetUserQuotaRequest,
|
|
71
|
-
CreateAutoSnapshotPolicyResponse,
|
|
72
|
-
ModifyFileSystemAutoScaleUpRuleResponse,
|
|
73
|
-
AvailableType,
|
|
74
|
-
CreateCfsSnapshotResponse,
|
|
75
|
-
UserQuota,
|
|
76
|
-
DeleteMountTargetRequest,
|
|
77
|
-
CreateCfsRuleRequest,
|
|
78
|
-
BucketInfo,
|
|
79
|
-
CreateAccessCertRequest,
|
|
80
|
-
DescribeUserQuotaRequest,
|
|
81
|
-
DescribeBucketListResponse,
|
|
82
|
-
UpdateCfsFileSystemNameResponse,
|
|
83
|
-
DescribeCfsSnapshotOverviewResponse,
|
|
84
|
-
AutoScaleUpRule,
|
|
85
|
-
DeleteCfsSnapshotRequest,
|
|
86
|
-
DescribeCfsFileSystemClientsRequest,
|
|
87
|
-
AvailableProtoStatus,
|
|
88
|
-
DescribeCfsFileSystemsRequest,
|
|
89
|
-
AvailableRegion,
|
|
90
|
-
CreateCfsFileSystemRequest,
|
|
91
|
-
AvailableZone,
|
|
92
|
-
DescribeMigrationTasksRequest,
|
|
93
|
-
Filter,
|
|
94
|
-
UnbindAutoSnapshotPolicyRequest,
|
|
95
|
-
UnbindAutoSnapshotPolicyResponse,
|
|
96
|
-
DescribeCfsServiceStatusResponse,
|
|
97
|
-
PGroupRuleInfo,
|
|
98
|
-
DescribeCfsSnapshotsRequest,
|
|
99
|
-
UpdateCfsFileSystemSizeLimitResponse,
|
|
100
|
-
UpdateAutoSnapshotPolicyRequest,
|
|
101
|
-
UpdateCfsFileSystemSizeLimitRequest,
|
|
102
|
-
DescribeCfsRulesResponse,
|
|
103
|
-
UpdateCfsFileSystemPGroupResponse,
|
|
104
|
-
UpdateAutoSnapshotPolicyResponse,
|
|
105
|
-
FileSystemByPolicy,
|
|
106
|
-
SnapshotInfo,
|
|
107
|
-
MountInfo,
|
|
108
|
-
UpdateCfsFileSystemPGroupRequest,
|
|
109
|
-
CreateMigrationTaskResponse,
|
|
110
|
-
DeleteAutoSnapshotPolicyResponse,
|
|
111
|
-
DeleteCfsRuleResponse,
|
|
112
|
-
UpdateCfsSnapshotAttributeResponse,
|
|
113
|
-
UpdateCfsPGroupRequest,
|
|
114
|
-
CreateAccessCertResponse,
|
|
115
|
-
SetUserQuotaResponse,
|
|
116
|
-
TagInfo,
|
|
117
|
-
DescribeCfsPGroupsRequest,
|
|
118
|
-
DeleteCfsPGroupResponse,
|
|
119
|
-
UpdateCfsSnapshotAttributeRequest,
|
|
120
|
-
DescribeUserQuotaResponse,
|
|
121
|
-
TieringDetailInfo,
|
|
122
|
-
PGroupInfo,
|
|
123
|
-
CreateCfsRuleResponse,
|
|
124
|
-
StopMigrationTaskResponse,
|
|
125
|
-
DescribeCfsSnapshotsResponse,
|
|
126
|
-
StopMigrationTaskRequest,
|
|
127
|
-
DescribeAutoSnapshotPoliciesResponse,
|
|
128
|
-
DescribeCfsSnapshotOverviewRequest,
|
|
129
|
-
CreateAutoSnapshotPolicyRequest,
|
|
130
|
-
} from "./cfs_models"
|
|
131
|
-
|
|
132
|
-
/**
|
|
133
|
-
* cfs client
|
|
134
|
-
* @class
|
|
135
|
-
*/
|
|
136
|
-
export class Client extends TencentCloudCommon.AbstractClient {
|
|
137
|
-
constructor(clientConfig: TencentCloudCommon.ClientConfig) {
|
|
138
|
-
super("cfs.tencentcloudapi.com", "2019-07-19", clientConfig)
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
/**
|
|
142
|
-
* 本接口(DescribeCfsRules)用于查询权限组规则列表。
|
|
143
|
-
*/
|
|
144
|
-
async DescribeCfsRules(
|
|
145
|
-
req: DescribeCfsRulesRequest,
|
|
146
|
-
cb?: (error: string, rep: DescribeCfsRulesResponse) => void
|
|
147
|
-
): Promise<DescribeCfsRulesResponse> {
|
|
148
|
-
return this.request("DescribeCfsRules", req, cb)
|
|
149
|
-
}
|
|
150
|
-
|
|
151
|
-
/**
|
|
152
|
-
* 本接口(UpdateCfsFileSystemPGroup)用于更新文件系统所使用的权限组
|
|
153
|
-
*/
|
|
154
|
-
async UpdateCfsFileSystemPGroup(
|
|
155
|
-
req: UpdateCfsFileSystemPGroupRequest,
|
|
156
|
-
cb?: (error: string, rep: UpdateCfsFileSystemPGroupResponse) => void
|
|
157
|
-
): Promise<UpdateCfsFileSystemPGroupResponse> {
|
|
158
|
-
return this.request("UpdateCfsFileSystemPGroup", req, cb)
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* 本接口(SignUpCfsService)用于开通CFS服务。
|
|
163
|
-
*/
|
|
164
|
-
async SignUpCfsService(
|
|
165
|
-
req?: SignUpCfsServiceRequest,
|
|
166
|
-
cb?: (error: string, rep: SignUpCfsServiceResponse) => void
|
|
167
|
-
): Promise<SignUpCfsServiceResponse> {
|
|
168
|
-
return this.request("SignUpCfsService", req, cb)
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
/**
|
|
172
|
-
* 删除文件系统快照
|
|
173
|
-
*/
|
|
174
|
-
async DeleteCfsSnapshot(
|
|
175
|
-
req: DeleteCfsSnapshotRequest,
|
|
176
|
-
cb?: (error: string, rep: DeleteCfsSnapshotResponse) => void
|
|
177
|
-
): Promise<DeleteCfsSnapshotResponse> {
|
|
178
|
-
return this.request("DeleteCfsSnapshot", req, cb)
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
/**
|
|
182
|
-
* 本接口(DescribeCfsPGroups)用于查询权限组列表。
|
|
183
|
-
*/
|
|
184
|
-
async DescribeCfsPGroups(
|
|
185
|
-
req?: DescribeCfsPGroupsRequest,
|
|
186
|
-
cb?: (error: string, rep: DescribeCfsPGroupsResponse) => void
|
|
187
|
-
): Promise<DescribeCfsPGroupsResponse> {
|
|
188
|
-
return this.request("DescribeCfsPGroups", req, cb)
|
|
189
|
-
}
|
|
190
|
-
|
|
191
|
-
/**
|
|
192
|
-
* 更新文件系统吞吐
|
|
193
|
-
仅吞吐型支持此接口
|
|
194
|
-
*/
|
|
195
|
-
async UpdateFileSystemBandwidthLimit(
|
|
196
|
-
req: UpdateFileSystemBandwidthLimitRequest,
|
|
197
|
-
cb?: (error: string, rep: UpdateFileSystemBandwidthLimitResponse) => void
|
|
198
|
-
): Promise<UpdateFileSystemBandwidthLimitResponse> {
|
|
199
|
-
return this.request("UpdateFileSystemBandwidthLimit", req, cb)
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
/**
|
|
203
|
-
* 设置文件系统配额,提供UID/GID的配额设置的接口(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
|
|
204
|
-
*/
|
|
205
|
-
async SetUserQuota(
|
|
206
|
-
req: SetUserQuotaRequest,
|
|
207
|
-
cb?: (error: string, rep: SetUserQuotaResponse) => void
|
|
208
|
-
): Promise<SetUserQuotaResponse> {
|
|
209
|
-
return this.request("SetUserQuota", req, cb)
|
|
210
|
-
}
|
|
211
|
-
|
|
212
|
-
/**
|
|
213
|
-
* 查询文件系统快照定期策略列表信息
|
|
214
|
-
*/
|
|
215
|
-
async DescribeAutoSnapshotPolicies(
|
|
216
|
-
req: DescribeAutoSnapshotPoliciesRequest,
|
|
217
|
-
cb?: (error: string, rep: DescribeAutoSnapshotPoliciesResponse) => void
|
|
218
|
-
): Promise<DescribeAutoSnapshotPoliciesResponse> {
|
|
219
|
-
return this.request("DescribeAutoSnapshotPolicies", req, cb)
|
|
220
|
-
}
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
* 本接口(DescribeMountTargets)用于查询文件系统挂载点信息
|
|
224
|
-
*/
|
|
225
|
-
async DescribeMountTargets(
|
|
226
|
-
req: DescribeMountTargetsRequest,
|
|
227
|
-
cb?: (error: string, rep: DescribeMountTargetsResponse) => void
|
|
228
|
-
): Promise<DescribeMountTargetsResponse> {
|
|
229
|
-
return this.request("DescribeMountTargets", req, cb)
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
/**
|
|
233
|
-
* 本接口(DeleteCfsPGroup)用于删除权限组。
|
|
234
|
-
*/
|
|
235
|
-
async DeleteCfsPGroup(
|
|
236
|
-
req: DeleteCfsPGroupRequest,
|
|
237
|
-
cb?: (error: string, rep: DeleteCfsPGroupResponse) => void
|
|
238
|
-
): Promise<DeleteCfsPGroupResponse> {
|
|
239
|
-
return this.request("DeleteCfsPGroup", req, cb)
|
|
240
|
-
}
|
|
241
|
-
|
|
242
|
-
/**
|
|
243
|
-
* 查询挂载该文件系统的客户端。此功能需要客户端安装CFS监控插件。
|
|
244
|
-
*/
|
|
245
|
-
async DescribeCfsFileSystemClients(
|
|
246
|
-
req: DescribeCfsFileSystemClientsRequest,
|
|
247
|
-
cb?: (error: string, rep: DescribeCfsFileSystemClientsResponse) => void
|
|
248
|
-
): Promise<DescribeCfsFileSystemClientsResponse> {
|
|
249
|
-
return this.request("DescribeCfsFileSystemClients", req, cb)
|
|
250
|
-
}
|
|
251
|
-
|
|
252
|
-
/**
|
|
253
|
-
* 本接口(DescribeCfsServiceStatus)用于查询用户使用CFS的服务状态。
|
|
254
|
-
*/
|
|
255
|
-
async DescribeCfsServiceStatus(
|
|
256
|
-
req?: DescribeCfsServiceStatusRequest,
|
|
257
|
-
cb?: (error: string, rep: DescribeCfsServiceStatusResponse) => void
|
|
258
|
-
): Promise<DescribeCfsServiceStatusResponse> {
|
|
259
|
-
return this.request("DescribeCfsServiceStatus", req, cb)
|
|
260
|
-
}
|
|
261
|
-
|
|
262
|
-
/**
|
|
263
|
-
* 用于终止迁移任务。
|
|
264
|
-
此接口需提交工单,开启白名单之后才能使用。
|
|
265
|
-
*/
|
|
266
|
-
async StopMigrationTask(
|
|
267
|
-
req: StopMigrationTaskRequest,
|
|
268
|
-
cb?: (error: string, rep: StopMigrationTaskResponse) => void
|
|
269
|
-
): Promise<StopMigrationTaskResponse> {
|
|
270
|
-
return this.request("StopMigrationTask", req, cb)
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
/**
|
|
274
|
-
* 用于获取迁移任务列表。
|
|
275
|
-
此接口需提交工单,开启白名单之后才能使用。
|
|
276
|
-
*/
|
|
277
|
-
async DescribeMigrationTasks(
|
|
278
|
-
req: DescribeMigrationTasksRequest,
|
|
279
|
-
cb?: (error: string, rep: DescribeMigrationTasksResponse) => void
|
|
280
|
-
): Promise<DescribeMigrationTasksResponse> {
|
|
281
|
-
return this.request("DescribeMigrationTasks", req, cb)
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
/**
|
|
285
|
-
* 本接口(DescribeAvailableZoneInfo)用于查询区域的可用情况。
|
|
286
|
-
*/
|
|
287
|
-
async DescribeAvailableZoneInfo(
|
|
288
|
-
req?: DescribeAvailableZoneInfoRequest,
|
|
289
|
-
cb?: (error: string, rep: DescribeAvailableZoneInfoResponse) => void
|
|
290
|
-
): Promise<DescribeAvailableZoneInfoResponse> {
|
|
291
|
-
return this.request("DescribeAvailableZoneInfo", req, cb)
|
|
292
|
-
}
|
|
293
|
-
|
|
294
|
-
/**
|
|
295
|
-
* 本接口(UpdateCfsFileSystemName)用于更新文件系统名
|
|
296
|
-
*/
|
|
297
|
-
async UpdateCfsFileSystemName(
|
|
298
|
-
req: UpdateCfsFileSystemNameRequest,
|
|
299
|
-
cb?: (error: string, rep: UpdateCfsFileSystemNameResponse) => void
|
|
300
|
-
): Promise<UpdateCfsFileSystemNameResponse> {
|
|
301
|
-
return this.request("UpdateCfsFileSystemName", req, cb)
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
/**
|
|
305
|
-
* 用于删除迁移任务。
|
|
306
|
-
此接口需提交工单,开启白名单之后才能使用。
|
|
307
|
-
*/
|
|
308
|
-
async DeleteMigrationTask(
|
|
309
|
-
req: DeleteMigrationTaskRequest,
|
|
310
|
-
cb?: (error: string, rep: DeleteMigrationTaskResponse) => void
|
|
311
|
-
): Promise<DeleteMigrationTaskResponse> {
|
|
312
|
-
return this.request("DeleteMigrationTask", req, cb)
|
|
313
|
-
}
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* 该接口用于对turbo 文件系统扩容使用
|
|
317
|
-
*/
|
|
318
|
-
async ScaleUpFileSystem(
|
|
319
|
-
req: ScaleUpFileSystemRequest,
|
|
320
|
-
cb?: (error: string, rep: ScaleUpFileSystemResponse) => void
|
|
321
|
-
): Promise<ScaleUpFileSystemResponse> {
|
|
322
|
-
return this.request("ScaleUpFileSystem", req, cb)
|
|
323
|
-
}
|
|
324
|
-
|
|
325
|
-
/**
|
|
326
|
-
* 本接口(UpdateCfsFileSystemSizeLimit)用于更新文件系统存储容量限制。
|
|
327
|
-
*/
|
|
328
|
-
async UpdateCfsFileSystemSizeLimit(
|
|
329
|
-
req: UpdateCfsFileSystemSizeLimitRequest,
|
|
330
|
-
cb?: (error: string, rep: UpdateCfsFileSystemSizeLimitResponse) => void
|
|
331
|
-
): Promise<UpdateCfsFileSystemSizeLimitResponse> {
|
|
332
|
-
return this.request("UpdateCfsFileSystemSizeLimit", req, cb)
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
/**
|
|
336
|
-
* 创建定期快照策略
|
|
337
|
-
*/
|
|
338
|
-
async CreateAutoSnapshotPolicy(
|
|
339
|
-
req: CreateAutoSnapshotPolicyRequest,
|
|
340
|
-
cb?: (error: string, rep: CreateAutoSnapshotPolicyResponse) => void
|
|
341
|
-
): Promise<CreateAutoSnapshotPolicyResponse> {
|
|
342
|
-
return this.request("CreateAutoSnapshotPolicy", req, cb)
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
/**
|
|
346
|
-
* 用于删除文件系统
|
|
347
|
-
*/
|
|
348
|
-
async DeleteCfsFileSystem(
|
|
349
|
-
req: DeleteCfsFileSystemRequest,
|
|
350
|
-
cb?: (error: string, rep: DeleteCfsFileSystemResponse) => void
|
|
351
|
-
): Promise<DeleteCfsFileSystemResponse> {
|
|
352
|
-
return this.request("DeleteCfsFileSystem", req, cb)
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
/**
|
|
356
|
-
* 用于添加新文件系统
|
|
357
|
-
*/
|
|
358
|
-
async CreateCfsFileSystem(
|
|
359
|
-
req: CreateCfsFileSystemRequest,
|
|
360
|
-
cb?: (error: string, rep: CreateCfsFileSystemResponse) => void
|
|
361
|
-
): Promise<CreateCfsFileSystemResponse> {
|
|
362
|
-
return this.request("CreateCfsFileSystem", req, cb)
|
|
363
|
-
}
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* 更新文件系统快照名称及保留时长
|
|
367
|
-
*/
|
|
368
|
-
async UpdateCfsSnapshotAttribute(
|
|
369
|
-
req: UpdateCfsSnapshotAttributeRequest,
|
|
370
|
-
cb?: (error: string, rep: UpdateCfsSnapshotAttributeResponse) => void
|
|
371
|
-
): Promise<UpdateCfsSnapshotAttributeResponse> {
|
|
372
|
-
return this.request("UpdateCfsSnapshotAttribute", req, cb)
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
/**
|
|
376
|
-
* 文件系统快照概览
|
|
377
|
-
*/
|
|
378
|
-
async DescribeCfsSnapshotOverview(
|
|
379
|
-
req?: DescribeCfsSnapshotOverviewRequest,
|
|
380
|
-
cb?: (error: string, rep: DescribeCfsSnapshotOverviewResponse) => void
|
|
381
|
-
): Promise<DescribeCfsSnapshotOverviewResponse> {
|
|
382
|
-
return this.request("DescribeCfsSnapshotOverview", req, cb)
|
|
383
|
-
}
|
|
384
|
-
|
|
385
|
-
/**
|
|
386
|
-
* 查询文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
|
|
387
|
-
*/
|
|
388
|
-
async DescribeUserQuota(
|
|
389
|
-
req: DescribeUserQuotaRequest,
|
|
390
|
-
cb?: (error: string, rep: DescribeUserQuotaResponse) => void
|
|
391
|
-
): Promise<DescribeUserQuotaResponse> {
|
|
392
|
-
return this.request("DescribeUserQuota", req, cb)
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* 用来设置文件系统扩容策略
|
|
397
|
-
*/
|
|
398
|
-
async ModifyFileSystemAutoScaleUpRule(
|
|
399
|
-
req: ModifyFileSystemAutoScaleUpRuleRequest,
|
|
400
|
-
cb?: (error: string, rep: ModifyFileSystemAutoScaleUpRuleResponse) => void
|
|
401
|
-
): Promise<ModifyFileSystemAutoScaleUpRuleResponse> {
|
|
402
|
-
return this.request("ModifyFileSystemAutoScaleUpRule", req, cb)
|
|
403
|
-
}
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* 更新定期自动快照策略
|
|
407
|
-
*/
|
|
408
|
-
async UpdateAutoSnapshotPolicy(
|
|
409
|
-
req: UpdateAutoSnapshotPolicyRequest,
|
|
410
|
-
cb?: (error: string, rep: UpdateAutoSnapshotPolicyResponse) => void
|
|
411
|
-
): Promise<UpdateAutoSnapshotPolicyResponse> {
|
|
412
|
-
return this.request("UpdateAutoSnapshotPolicy", req, cb)
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
/**
|
|
416
|
-
* 本接口(UpdateCfsRule)用于更新权限规则。
|
|
417
|
-
*/
|
|
418
|
-
async UpdateCfsRule(
|
|
419
|
-
req: UpdateCfsRuleRequest,
|
|
420
|
-
cb?: (error: string, rep: UpdateCfsRuleResponse) => void
|
|
421
|
-
): Promise<UpdateCfsRuleResponse> {
|
|
422
|
-
return this.request("UpdateCfsRule", req, cb)
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
/**
|
|
426
|
-
* 本接口(DescribeCfsFileSystems)用于查询文件系统
|
|
427
|
-
*/
|
|
428
|
-
async DescribeCfsFileSystems(
|
|
429
|
-
req: DescribeCfsFileSystemsRequest,
|
|
430
|
-
cb?: (error: string, rep: DescribeCfsFileSystemsResponse) => void
|
|
431
|
-
): Promise<DescribeCfsFileSystemsResponse> {
|
|
432
|
-
return this.request("DescribeCfsFileSystems", req, cb)
|
|
433
|
-
}
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* 查询文件系统快照列表
|
|
437
|
-
*/
|
|
438
|
-
async DescribeCfsSnapshots(
|
|
439
|
-
req: DescribeCfsSnapshotsRequest,
|
|
440
|
-
cb?: (error: string, rep: DescribeCfsSnapshotsResponse) => void
|
|
441
|
-
): Promise<DescribeCfsSnapshotsResponse> {
|
|
442
|
-
return this.request("DescribeCfsSnapshots", req, cb)
|
|
443
|
-
}
|
|
444
|
-
|
|
445
|
-
/**
|
|
446
|
-
* 文件系统绑定快照策略,可以同时绑定多个fs,一个fs 只能跟一个策略绑定
|
|
447
|
-
*/
|
|
448
|
-
async BindAutoSnapshotPolicy(
|
|
449
|
-
req: BindAutoSnapshotPolicyRequest,
|
|
450
|
-
cb?: (error: string, rep: BindAutoSnapshotPolicyResponse) => void
|
|
451
|
-
): Promise<BindAutoSnapshotPolicyResponse> {
|
|
452
|
-
return this.request("BindAutoSnapshotPolicy", req, cb)
|
|
453
|
-
}
|
|
454
|
-
|
|
455
|
-
/**
|
|
456
|
-
* 本接口(DeleteCfsRule)用于删除权限组规则。
|
|
457
|
-
*/
|
|
458
|
-
async DeleteCfsRule(
|
|
459
|
-
req: DeleteCfsRuleRequest,
|
|
460
|
-
cb?: (error: string, rep: DeleteCfsRuleResponse) => void
|
|
461
|
-
): Promise<DeleteCfsRuleResponse> {
|
|
462
|
-
return this.request("DeleteCfsRule", req, cb)
|
|
463
|
-
}
|
|
464
|
-
|
|
465
|
-
/**
|
|
466
|
-
* 用于获取数据源桶列表。
|
|
467
|
-
此接口需提交工单,开启白名单之后才能使用。
|
|
468
|
-
*/
|
|
469
|
-
async DescribeBucketList(
|
|
470
|
-
req: DescribeBucketListRequest,
|
|
471
|
-
cb?: (error: string, rep: DescribeBucketListResponse) => void
|
|
472
|
-
): Promise<DescribeBucketListResponse> {
|
|
473
|
-
return this.request("DescribeBucketList", req, cb)
|
|
474
|
-
}
|
|
475
|
-
|
|
476
|
-
/**
|
|
477
|
-
* 用于创建迁移任务。
|
|
478
|
-
此接口需提交工单,开启白名单之后才能使用。
|
|
479
|
-
*/
|
|
480
|
-
async CreateMigrationTask(
|
|
481
|
-
req: CreateMigrationTaskRequest,
|
|
482
|
-
cb?: (error: string, rep: CreateMigrationTaskResponse) => void
|
|
483
|
-
): Promise<CreateMigrationTaskResponse> {
|
|
484
|
-
return this.request("CreateMigrationTask", req, cb)
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
/**
|
|
488
|
-
* 本接口(DeleteMountTarget)用于删除挂载点
|
|
489
|
-
说明:2022年6月1日之后创建的CFS文件系统删除时无需单独调用删除挂载点操作,此API仅适用老版本的CFS实例。
|
|
490
|
-
*/
|
|
491
|
-
async DeleteMountTarget(
|
|
492
|
-
req: DeleteMountTargetRequest,
|
|
493
|
-
cb?: (error: string, rep: DeleteMountTargetResponse) => void
|
|
494
|
-
): Promise<DeleteMountTargetResponse> {
|
|
495
|
-
return this.request("DeleteMountTarget", req, cb)
|
|
496
|
-
}
|
|
497
|
-
|
|
498
|
-
/**
|
|
499
|
-
* 指定条件删除文件系统配额(仅部分Turbo实例能使用,若需要调用请提交工单与我们联系)
|
|
500
|
-
*/
|
|
501
|
-
async DeleteUserQuota(
|
|
502
|
-
req: DeleteUserQuotaRequest,
|
|
503
|
-
cb?: (error: string, rep: DeleteUserQuotaResponse) => void
|
|
504
|
-
): Promise<DeleteUserQuotaResponse> {
|
|
505
|
-
return this.request("DeleteUserQuota", req, cb)
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
/**
|
|
509
|
-
* 本接口(CreateCfsPGroup)用于创建权限组
|
|
510
|
-
*/
|
|
511
|
-
async CreateCfsPGroup(
|
|
512
|
-
req: CreateCfsPGroupRequest,
|
|
513
|
-
cb?: (error: string, rep: CreateCfsPGroupResponse) => void
|
|
514
|
-
): Promise<CreateCfsPGroupResponse> {
|
|
515
|
-
return this.request("CreateCfsPGroup", req, cb)
|
|
516
|
-
}
|
|
517
|
-
|
|
518
|
-
/**
|
|
519
|
-
* 删除快照定期策略
|
|
520
|
-
*/
|
|
521
|
-
async DeleteAutoSnapshotPolicy(
|
|
522
|
-
req: DeleteAutoSnapshotPolicyRequest,
|
|
523
|
-
cb?: (error: string, rep: DeleteAutoSnapshotPolicyResponse) => void
|
|
524
|
-
): Promise<DeleteAutoSnapshotPolicyResponse> {
|
|
525
|
-
return this.request("DeleteAutoSnapshotPolicy", req, cb)
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
/**
|
|
529
|
-
* 创建文件系统快照
|
|
530
|
-
*/
|
|
531
|
-
async CreateCfsSnapshot(
|
|
532
|
-
req: CreateCfsSnapshotRequest,
|
|
533
|
-
cb?: (error: string, rep: CreateCfsSnapshotResponse) => void
|
|
534
|
-
): Promise<CreateCfsSnapshotResponse> {
|
|
535
|
-
return this.request("CreateCfsSnapshot", req, cb)
|
|
536
|
-
}
|
|
537
|
-
|
|
538
|
-
/**
|
|
539
|
-
* 解除文件系统绑定的快照策略
|
|
540
|
-
*/
|
|
541
|
-
async UnbindAutoSnapshotPolicy(
|
|
542
|
-
req: UnbindAutoSnapshotPolicyRequest,
|
|
543
|
-
cb?: (error: string, rep: UnbindAutoSnapshotPolicyResponse) => void
|
|
544
|
-
): Promise<UnbindAutoSnapshotPolicyResponse> {
|
|
545
|
-
return this.request("UnbindAutoSnapshotPolicy", req, cb)
|
|
546
|
-
}
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
* 查询快照操作日志
|
|
550
|
-
*/
|
|
551
|
-
async DescribeSnapshotOperationLogs(
|
|
552
|
-
req: DescribeSnapshotOperationLogsRequest,
|
|
553
|
-
cb?: (error: string, rep: DescribeSnapshotOperationLogsResponse) => void
|
|
554
|
-
): Promise<DescribeSnapshotOperationLogsResponse> {
|
|
555
|
-
return this.request("DescribeSnapshotOperationLogs", req, cb)
|
|
556
|
-
}
|
|
557
|
-
|
|
558
|
-
/**
|
|
559
|
-
* 本接口(CreateCfsRule)用于创建权限组规则。
|
|
560
|
-
*/
|
|
561
|
-
async CreateCfsRule(
|
|
562
|
-
req: CreateCfsRuleRequest,
|
|
563
|
-
cb?: (error: string, rep: CreateCfsRuleResponse) => void
|
|
564
|
-
): Promise<CreateCfsRuleResponse> {
|
|
565
|
-
return this.request("CreateCfsRule", req, cb)
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
/**
|
|
569
|
-
* 创建用于访问文件系统的凭证
|
|
570
|
-
*/
|
|
571
|
-
async CreateAccessCert(
|
|
572
|
-
req: CreateAccessCertRequest,
|
|
573
|
-
cb?: (error: string, rep: CreateAccessCertResponse) => void
|
|
574
|
-
): Promise<CreateAccessCertResponse> {
|
|
575
|
-
return this.request("CreateAccessCert", req, cb)
|
|
576
|
-
}
|
|
577
|
-
|
|
578
|
-
/**
|
|
579
|
-
* 本接口(UpdateCfsPGroup)更新权限组信息。
|
|
580
|
-
*/
|
|
581
|
-
async UpdateCfsPGroup(
|
|
582
|
-
req: UpdateCfsPGroupRequest,
|
|
583
|
-
cb?: (error: string, rep: UpdateCfsPGroupResponse) => void
|
|
584
|
-
): Promise<UpdateCfsPGroupResponse> {
|
|
585
|
-
return this.request("UpdateCfsPGroup", req, cb)
|
|
586
|
-
}
|
|
587
|
-
}
|