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