tencentcloud-sdk-cfs 3.0.405 → 3.0.406

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4c8506a03dc573b3c9d091f39af9fc9a581f04e5
4
- data.tar.gz: 862a8fa98e9446a6d7b07ce2f72f94b875768a51
3
+ metadata.gz: 61697af9df19b44f9f8539208020b24fe5d89e38
4
+ data.tar.gz: 49617b572f42a367708fbc8a330dcee9c1120a27
5
5
  SHA512:
6
- metadata.gz: 74ff7ace9b67f55bf9dad2370e28514a2649b0e08cbe5faaeb25e9bb17c28590dd73c1775a285af48cfc69fb97dab81e6148f56aefdd022abf6ecb1b4579c532
7
- data.tar.gz: 06b61641a18d20aa060da78d44e72b023989312fb41336ef930e5a546540a2595b9362b1d9d243edc0824236fcb3d7b5f6d48c230826916eff3b36631b1d07ae
6
+ metadata.gz: b376909d8da0a2ba75ef4ec9f494f44f8b3a37af3c1175e30d22b781b149396f7a574ef97644569c72027e7c9b7ae78efc15358d3a963cf2f59d6b13caff47eb
7
+ data.tar.gz: 29cc39ea49b615ed36f6d09e5315b4b5297d563ec131ba3f91bfb05c9340a93d54914b0779a3a823a4d037e88663dc7a96b9cdc898331063a7837a9002fa3a1d
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.405
1
+ 3.0.406
@@ -29,6 +29,54 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 文件系统绑定快照策略,可以同时绑定多个fs,一个fs 只能跟一个策略绑定
33
+
34
+ # @param request: Request instance for BindAutoSnapshotPolicy.
35
+ # @type request: :class:`Tencentcloud::cfs::V20190719::BindAutoSnapshotPolicyRequest`
36
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::BindAutoSnapshotPolicyResponse`
37
+ def BindAutoSnapshotPolicy(request)
38
+ body = send_request('BindAutoSnapshotPolicy', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = BindAutoSnapshotPolicyResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
56
+ # 创建定期快照策略
57
+
58
+ # @param request: Request instance for CreateAutoSnapshotPolicy.
59
+ # @type request: :class:`Tencentcloud::cfs::V20190719::CreateAutoSnapshotPolicyRequest`
60
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::CreateAutoSnapshotPolicyResponse`
61
+ def CreateAutoSnapshotPolicy(request)
62
+ body = send_request('CreateAutoSnapshotPolicy', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = CreateAutoSnapshotPolicyResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
32
80
  # 用于添加新文件系统
33
81
 
34
82
  # @param request: Request instance for CreateCfsFileSystem.
@@ -101,6 +149,54 @@ module TencentCloud
101
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
150
  end
103
151
 
152
+ # 创建文件系统快照
153
+
154
+ # @param request: Request instance for CreateCfsSnapshot.
155
+ # @type request: :class:`Tencentcloud::cfs::V20190719::CreateCfsSnapshotRequest`
156
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::CreateCfsSnapshotResponse`
157
+ def CreateCfsSnapshot(request)
158
+ body = send_request('CreateCfsSnapshot', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = CreateCfsSnapshotResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
176
+ # 删除快照定期策略
177
+
178
+ # @param request: Request instance for DeleteAutoSnapshotPolicy.
179
+ # @type request: :class:`Tencentcloud::cfs::V20190719::DeleteAutoSnapshotPolicyRequest`
180
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::DeleteAutoSnapshotPolicyResponse`
181
+ def DeleteAutoSnapshotPolicy(request)
182
+ body = send_request('DeleteAutoSnapshotPolicy', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = DeleteAutoSnapshotPolicyResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
104
200
  # 用于删除文件系统
105
201
 
106
202
  # @param request: Request instance for DeleteCfsFileSystem.
@@ -173,6 +269,30 @@ module TencentCloud
173
269
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
270
  end
175
271
 
272
+ # 删除文件系统快照
273
+
274
+ # @param request: Request instance for DeleteCfsSnapshot.
275
+ # @type request: :class:`Tencentcloud::cfs::V20190719::DeleteCfsSnapshotRequest`
276
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::DeleteCfsSnapshotResponse`
277
+ def DeleteCfsSnapshot(request)
278
+ body = send_request('DeleteCfsSnapshot', request.serialize)
279
+ response = JSON.parse(body)
280
+ if response['Response'].key?('Error') == false
281
+ model = DeleteCfsSnapshotResponse.new
282
+ model.deserialize(response['Response'])
283
+ model
284
+ else
285
+ code = response['Response']['Error']['Code']
286
+ message = response['Response']['Error']['Message']
287
+ reqid = response['Response']['RequestId']
288
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
289
+ end
290
+ rescue TencentCloud::Common::TencentCloudSDKException => e
291
+ raise e
292
+ rescue StandardError => e
293
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
294
+ end
295
+
176
296
  # 本接口(DeleteMountTarget)用于删除挂载点
177
297
 
178
298
  # @param request: Request instance for DeleteMountTarget.
@@ -197,6 +317,30 @@ module TencentCloud
197
317
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
318
  end
199
319
 
320
+ # 查询文件系统快照d定期策略列表信息
321
+
322
+ # @param request: Request instance for DescribeAutoSnapshotPolicies.
323
+ # @type request: :class:`Tencentcloud::cfs::V20190719::DescribeAutoSnapshotPoliciesRequest`
324
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::DescribeAutoSnapshotPoliciesResponse`
325
+ def DescribeAutoSnapshotPolicies(request)
326
+ body = send_request('DescribeAutoSnapshotPolicies', request.serialize)
327
+ response = JSON.parse(body)
328
+ if response['Response'].key?('Error') == false
329
+ model = DescribeAutoSnapshotPoliciesResponse.new
330
+ model.deserialize(response['Response'])
331
+ model
332
+ else
333
+ code = response['Response']['Error']['Code']
334
+ message = response['Response']['Error']['Message']
335
+ reqid = response['Response']['RequestId']
336
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
337
+ end
338
+ rescue TencentCloud::Common::TencentCloudSDKException => e
339
+ raise e
340
+ rescue StandardError => e
341
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
+ end
343
+
200
344
  # 本接口(DescribeAvailableZoneInfo)用于查询区域的可用情况。
201
345
 
202
346
  # @param request: Request instance for DescribeAvailableZoneInfo.
@@ -341,6 +485,54 @@ module TencentCloud
341
485
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
342
486
  end
343
487
 
488
+ # 文件系统快照概览
489
+
490
+ # @param request: Request instance for DescribeCfsSnapshotOverview.
491
+ # @type request: :class:`Tencentcloud::cfs::V20190719::DescribeCfsSnapshotOverviewRequest`
492
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::DescribeCfsSnapshotOverviewResponse`
493
+ def DescribeCfsSnapshotOverview(request)
494
+ body = send_request('DescribeCfsSnapshotOverview', request.serialize)
495
+ response = JSON.parse(body)
496
+ if response['Response'].key?('Error') == false
497
+ model = DescribeCfsSnapshotOverviewResponse.new
498
+ model.deserialize(response['Response'])
499
+ model
500
+ else
501
+ code = response['Response']['Error']['Code']
502
+ message = response['Response']['Error']['Message']
503
+ reqid = response['Response']['RequestId']
504
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
505
+ end
506
+ rescue TencentCloud::Common::TencentCloudSDKException => e
507
+ raise e
508
+ rescue StandardError => e
509
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
+ end
511
+
512
+ # 查询文件系统快照列表
513
+
514
+ # @param request: Request instance for DescribeCfsSnapshots.
515
+ # @type request: :class:`Tencentcloud::cfs::V20190719::DescribeCfsSnapshotsRequest`
516
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::DescribeCfsSnapshotsResponse`
517
+ def DescribeCfsSnapshots(request)
518
+ body = send_request('DescribeCfsSnapshots', request.serialize)
519
+ response = JSON.parse(body)
520
+ if response['Response'].key?('Error') == false
521
+ model = DescribeCfsSnapshotsResponse.new
522
+ model.deserialize(response['Response'])
523
+ model
524
+ else
525
+ code = response['Response']['Error']['Code']
526
+ message = response['Response']['Error']['Message']
527
+ reqid = response['Response']['RequestId']
528
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
529
+ end
530
+ rescue TencentCloud::Common::TencentCloudSDKException => e
531
+ raise e
532
+ rescue StandardError => e
533
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
534
+ end
535
+
344
536
  # 本接口(DescribeMountTargets)用于查询文件系统挂载点信息
345
537
 
346
538
  # @param request: Request instance for DescribeMountTargets.
@@ -365,6 +557,30 @@ module TencentCloud
365
557
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
558
  end
367
559
 
560
+ # 查询快照操作日志
561
+
562
+ # @param request: Request instance for DescribeSnapshotOperationLogs.
563
+ # @type request: :class:`Tencentcloud::cfs::V20190719::DescribeSnapshotOperationLogsRequest`
564
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::DescribeSnapshotOperationLogsResponse`
565
+ def DescribeSnapshotOperationLogs(request)
566
+ body = send_request('DescribeSnapshotOperationLogs', request.serialize)
567
+ response = JSON.parse(body)
568
+ if response['Response'].key?('Error') == false
569
+ model = DescribeSnapshotOperationLogsResponse.new
570
+ model.deserialize(response['Response'])
571
+ model
572
+ else
573
+ code = response['Response']['Error']['Code']
574
+ message = response['Response']['Error']['Message']
575
+ reqid = response['Response']['RequestId']
576
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
577
+ end
578
+ rescue TencentCloud::Common::TencentCloudSDKException => e
579
+ raise e
580
+ rescue StandardError => e
581
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
582
+ end
583
+
368
584
  # 本接口(SignUpCfsService)用于开通CFS服务。
369
585
 
370
586
  # @param request: Request instance for SignUpCfsService.
@@ -389,6 +605,54 @@ module TencentCloud
389
605
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
606
  end
391
607
 
608
+ # 解除文件系统绑定的快照策略
609
+
610
+ # @param request: Request instance for UnbindAutoSnapshotPolicy.
611
+ # @type request: :class:`Tencentcloud::cfs::V20190719::UnbindAutoSnapshotPolicyRequest`
612
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::UnbindAutoSnapshotPolicyResponse`
613
+ def UnbindAutoSnapshotPolicy(request)
614
+ body = send_request('UnbindAutoSnapshotPolicy', request.serialize)
615
+ response = JSON.parse(body)
616
+ if response['Response'].key?('Error') == false
617
+ model = UnbindAutoSnapshotPolicyResponse.new
618
+ model.deserialize(response['Response'])
619
+ model
620
+ else
621
+ code = response['Response']['Error']['Code']
622
+ message = response['Response']['Error']['Message']
623
+ reqid = response['Response']['RequestId']
624
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
625
+ end
626
+ rescue TencentCloud::Common::TencentCloudSDKException => e
627
+ raise e
628
+ rescue StandardError => e
629
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
630
+ end
631
+
632
+ # 更新定期自动快照策略
633
+
634
+ # @param request: Request instance for UpdateAutoSnapshotPolicy.
635
+ # @type request: :class:`Tencentcloud::cfs::V20190719::UpdateAutoSnapshotPolicyRequest`
636
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::UpdateAutoSnapshotPolicyResponse`
637
+ def UpdateAutoSnapshotPolicy(request)
638
+ body = send_request('UpdateAutoSnapshotPolicy', request.serialize)
639
+ response = JSON.parse(body)
640
+ if response['Response'].key?('Error') == false
641
+ model = UpdateAutoSnapshotPolicyResponse.new
642
+ model.deserialize(response['Response'])
643
+ model
644
+ else
645
+ code = response['Response']['Error']['Code']
646
+ message = response['Response']['Error']['Message']
647
+ reqid = response['Response']['RequestId']
648
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
649
+ end
650
+ rescue TencentCloud::Common::TencentCloudSDKException => e
651
+ raise e
652
+ rescue StandardError => e
653
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
654
+ end
655
+
392
656
  # 本接口(UpdateCfsFileSystemName)用于更新文件系统名
393
657
 
394
658
  # @param request: Request instance for UpdateCfsFileSystemName.
@@ -509,6 +773,30 @@ module TencentCloud
509
773
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
774
  end
511
775
 
776
+ # 更新文件系统快照名称及保留时长
777
+
778
+ # @param request: Request instance for UpdateCfsSnapshotAttribute.
779
+ # @type request: :class:`Tencentcloud::cfs::V20190719::UpdateCfsSnapshotAttributeRequest`
780
+ # @rtype: :class:`Tencentcloud::cfs::V20190719::UpdateCfsSnapshotAttributeResponse`
781
+ def UpdateCfsSnapshotAttribute(request)
782
+ body = send_request('UpdateCfsSnapshotAttribute', request.serialize)
783
+ response = JSON.parse(body)
784
+ if response['Response'].key?('Error') == false
785
+ model = UpdateCfsSnapshotAttributeResponse.new
786
+ model.deserialize(response['Response'])
787
+ model
788
+ else
789
+ code = response['Response']['Error']['Code']
790
+ message = response['Response']['Error']['Message']
791
+ reqid = response['Response']['RequestId']
792
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
793
+ end
794
+ rescue TencentCloud::Common::TencentCloudSDKException => e
795
+ raise e
796
+ rescue StandardError => e
797
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
798
+ end
799
+
512
800
 
513
801
  end
514
802
  end
@@ -17,6 +17,77 @@
17
17
  module TencentCloud
18
18
  module Cfs
19
19
  module V20190719
20
+ # 快照策略信息
21
+ class AutoSnapshotPolicyInfo < TencentCloud::Common::AbstractModel
22
+ # @param AutoSnapshotPolicyId: 快照策略ID
23
+ # @type AutoSnapshotPolicyId: String
24
+ # @param PolicyName: 快照策略ID
25
+ # @type PolicyName: String
26
+ # @param CreationTime: 快照策略创建时间
27
+ # @type CreationTime: String
28
+ # @param FileSystemNums: 关联的文件系统个数
29
+ # @type FileSystemNums: Integer
30
+ # @param DayOfWeek: 快照定期备份在一星期哪一天
31
+ # @type DayOfWeek: String
32
+ # @param Hour: 快照定期备份在一天的哪一小时
33
+ # @type Hour: String
34
+ # @param IsActivated: 是否激活定期快照功能
35
+ # @type IsActivated: Integer
36
+ # @param NextActiveTime: 下一次触发快照时间
37
+ # @type NextActiveTime: String
38
+ # @param Status: 快照策略状态
39
+ # @type Status: String
40
+ # @param AppId: 帐号ID
41
+ # @type AppId: Integer
42
+ # @param AliveDays: 保留时间
43
+ # @type AliveDays: Integer
44
+ # @param RegionName: 地域
45
+ # @type RegionName: String
46
+ # @param FileSystems: 文件系统信息
47
+ # @type FileSystems: Array
48
+
49
+ attr_accessor :AutoSnapshotPolicyId, :PolicyName, :CreationTime, :FileSystemNums, :DayOfWeek, :Hour, :IsActivated, :NextActiveTime, :Status, :AppId, :AliveDays, :RegionName, :FileSystems
50
+
51
+ def initialize(autosnapshotpolicyid=nil, policyname=nil, creationtime=nil, filesystemnums=nil, dayofweek=nil, hour=nil, isactivated=nil, nextactivetime=nil, status=nil, appid=nil, alivedays=nil, regionname=nil, filesystems=nil)
52
+ @AutoSnapshotPolicyId = autosnapshotpolicyid
53
+ @PolicyName = policyname
54
+ @CreationTime = creationtime
55
+ @FileSystemNums = filesystemnums
56
+ @DayOfWeek = dayofweek
57
+ @Hour = hour
58
+ @IsActivated = isactivated
59
+ @NextActiveTime = nextactivetime
60
+ @Status = status
61
+ @AppId = appid
62
+ @AliveDays = alivedays
63
+ @RegionName = regionname
64
+ @FileSystems = filesystems
65
+ end
66
+
67
+ def deserialize(params)
68
+ @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
69
+ @PolicyName = params['PolicyName']
70
+ @CreationTime = params['CreationTime']
71
+ @FileSystemNums = params['FileSystemNums']
72
+ @DayOfWeek = params['DayOfWeek']
73
+ @Hour = params['Hour']
74
+ @IsActivated = params['IsActivated']
75
+ @NextActiveTime = params['NextActiveTime']
76
+ @Status = params['Status']
77
+ @AppId = params['AppId']
78
+ @AliveDays = params['AliveDays']
79
+ @RegionName = params['RegionName']
80
+ unless params['FileSystems'].nil?
81
+ @FileSystems = []
82
+ params['FileSystems'].each do |i|
83
+ filesystembypolicy_tmp = FileSystemByPolicy.new
84
+ filesystembypolicy_tmp.deserialize(i)
85
+ @FileSystems << filesystembypolicy_tmp
86
+ end
87
+ end
88
+ end
89
+ end
90
+
20
91
  # 版本控制-协议详情
21
92
  class AvailableProtoStatus < TencentCloud::Common::AbstractModel
22
93
  # @param SaleStatus: 售卖状态。可选值有 sale_out 售罄、saling可售、no_saling不可销售
@@ -146,6 +217,94 @@ module TencentCloud
146
217
  end
147
218
  end
148
219
 
220
+ # BindAutoSnapshotPolicy请求参数结构体
221
+ class BindAutoSnapshotPolicyRequest < TencentCloud::Common::AbstractModel
222
+ # @param AutoSnapshotPolicyId: 快照策略ID
223
+ # @type AutoSnapshotPolicyId: String
224
+ # @param FileSystemIds: 文件系统列表
225
+ # @type FileSystemIds: String
226
+
227
+ attr_accessor :AutoSnapshotPolicyId, :FileSystemIds
228
+
229
+ def initialize(autosnapshotpolicyid=nil, filesystemids=nil)
230
+ @AutoSnapshotPolicyId = autosnapshotpolicyid
231
+ @FileSystemIds = filesystemids
232
+ end
233
+
234
+ def deserialize(params)
235
+ @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
236
+ @FileSystemIds = params['FileSystemIds']
237
+ end
238
+ end
239
+
240
+ # BindAutoSnapshotPolicy返回参数结构体
241
+ class BindAutoSnapshotPolicyResponse < TencentCloud::Common::AbstractModel
242
+ # @param AutoSnapshotPolicyId: 快照策略ID
243
+ # @type AutoSnapshotPolicyId: String
244
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
245
+ # @type RequestId: String
246
+
247
+ attr_accessor :AutoSnapshotPolicyId, :RequestId
248
+
249
+ def initialize(autosnapshotpolicyid=nil, requestid=nil)
250
+ @AutoSnapshotPolicyId = autosnapshotpolicyid
251
+ @RequestId = requestid
252
+ end
253
+
254
+ def deserialize(params)
255
+ @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
256
+ @RequestId = params['RequestId']
257
+ end
258
+ end
259
+
260
+ # CreateAutoSnapshotPolicy请求参数结构体
261
+ class CreateAutoSnapshotPolicyRequest < TencentCloud::Common::AbstractModel
262
+ # @param DayOfWeek: 快照重复日期,星期一到星期日
263
+ # @type DayOfWeek: String
264
+ # @param Hour: 快照重复时间点
265
+ # @type Hour: String
266
+ # @param PolicyName: 策略名称
267
+ # @type PolicyName: String
268
+ # @param AliveDays: 快照保留时长
269
+ # @type AliveDays: Integer
270
+
271
+ attr_accessor :DayOfWeek, :Hour, :PolicyName, :AliveDays
272
+
273
+ def initialize(dayofweek=nil, hour=nil, policyname=nil, alivedays=nil)
274
+ @DayOfWeek = dayofweek
275
+ @Hour = hour
276
+ @PolicyName = policyname
277
+ @AliveDays = alivedays
278
+ end
279
+
280
+ def deserialize(params)
281
+ @DayOfWeek = params['DayOfWeek']
282
+ @Hour = params['Hour']
283
+ @PolicyName = params['PolicyName']
284
+ @AliveDays = params['AliveDays']
285
+ end
286
+ end
287
+
288
+ # CreateAutoSnapshotPolicy返回参数结构体
289
+ class CreateAutoSnapshotPolicyResponse < TencentCloud::Common::AbstractModel
290
+ # @param AutoSnapshotPolicyId: 快照策略ID
291
+ # @type AutoSnapshotPolicyId: String
292
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
293
+ # @type RequestId: String
294
+
295
+ attr_accessor :AutoSnapshotPolicyId, :RequestId
296
+
297
+ def initialize(autosnapshotpolicyid=nil, requestid=nil)
298
+ @AutoSnapshotPolicyId = autosnapshotpolicyid
299
+ @RequestId = requestid
300
+ end
301
+
302
+ def deserialize(params)
303
+ @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
304
+ @RequestId = params['RequestId']
305
+ end
306
+ end
307
+
149
308
  # CreateCfsFileSystem请求参数结构体
150
309
  class CreateCfsFileSystemRequest < TencentCloud::Common::AbstractModel
151
310
  # @param Zone: 可用区名称,例如ap-beijing-1,请参考 [概览](https://cloud.tencent.com/document/product/582/13225) 文档中的地域与可用区列表
@@ -397,6 +556,93 @@ module TencentCloud
397
556
  end
398
557
  end
399
558
 
559
+ # CreateCfsSnapshot请求参数结构体
560
+ class CreateCfsSnapshotRequest < TencentCloud::Common::AbstractModel
561
+ # @param FileSystemId: 文件系统id
562
+ # @type FileSystemId: String
563
+ # @param SnapshotName: 快照名称
564
+ # @type SnapshotName: String
565
+ # @param ResourceTags: 快照标签
566
+ # @type ResourceTags: Array
567
+
568
+ attr_accessor :FileSystemId, :SnapshotName, :ResourceTags
569
+
570
+ def initialize(filesystemid=nil, snapshotname=nil, resourcetags=nil)
571
+ @FileSystemId = filesystemid
572
+ @SnapshotName = snapshotname
573
+ @ResourceTags = resourcetags
574
+ end
575
+
576
+ def deserialize(params)
577
+ @FileSystemId = params['FileSystemId']
578
+ @SnapshotName = params['SnapshotName']
579
+ unless params['ResourceTags'].nil?
580
+ @ResourceTags = []
581
+ params['ResourceTags'].each do |i|
582
+ taginfo_tmp = TagInfo.new
583
+ taginfo_tmp.deserialize(i)
584
+ @ResourceTags << taginfo_tmp
585
+ end
586
+ end
587
+ end
588
+ end
589
+
590
+ # CreateCfsSnapshot返回参数结构体
591
+ class CreateCfsSnapshotResponse < TencentCloud::Common::AbstractModel
592
+ # @param SnapshotId: 文件系统快照id
593
+ # @type SnapshotId: String
594
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
595
+ # @type RequestId: String
596
+
597
+ attr_accessor :SnapshotId, :RequestId
598
+
599
+ def initialize(snapshotid=nil, requestid=nil)
600
+ @SnapshotId = snapshotid
601
+ @RequestId = requestid
602
+ end
603
+
604
+ def deserialize(params)
605
+ @SnapshotId = params['SnapshotId']
606
+ @RequestId = params['RequestId']
607
+ end
608
+ end
609
+
610
+ # DeleteAutoSnapshotPolicy请求参数结构体
611
+ class DeleteAutoSnapshotPolicyRequest < TencentCloud::Common::AbstractModel
612
+ # @param AutoSnapshotPolicyId: 快照策略ID
613
+ # @type AutoSnapshotPolicyId: String
614
+
615
+ attr_accessor :AutoSnapshotPolicyId
616
+
617
+ def initialize(autosnapshotpolicyid=nil)
618
+ @AutoSnapshotPolicyId = autosnapshotpolicyid
619
+ end
620
+
621
+ def deserialize(params)
622
+ @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
623
+ end
624
+ end
625
+
626
+ # DeleteAutoSnapshotPolicy返回参数结构体
627
+ class DeleteAutoSnapshotPolicyResponse < TencentCloud::Common::AbstractModel
628
+ # @param AutoSnapshotPolicyId: 快照策略ID
629
+ # @type AutoSnapshotPolicyId: String
630
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
631
+ # @type RequestId: String
632
+
633
+ attr_accessor :AutoSnapshotPolicyId, :RequestId
634
+
635
+ def initialize(autosnapshotpolicyid=nil, requestid=nil)
636
+ @AutoSnapshotPolicyId = autosnapshotpolicyid
637
+ @RequestId = requestid
638
+ end
639
+
640
+ def deserialize(params)
641
+ @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
642
+ @RequestId = params['RequestId']
643
+ end
644
+ end
645
+
400
646
  # DeleteCfsFileSystem请求参数结构体
401
647
  class DeleteCfsFileSystemRequest < TencentCloud::Common::AbstractModel
402
648
  # @param FileSystemId: 文件系统 ID。说明,进行删除文件系统操作前需要先调用 DeleteMountTarget 接口删除该文件系统的挂载点,否则会删除失败。
@@ -513,6 +759,42 @@ module TencentCloud
513
759
  end
514
760
  end
515
761
 
762
+ # DeleteCfsSnapshot请求参数结构体
763
+ class DeleteCfsSnapshotRequest < TencentCloud::Common::AbstractModel
764
+ # @param SnapshotId: 文件系统快照id
765
+ # @type SnapshotId: String
766
+
767
+ attr_accessor :SnapshotId
768
+
769
+ def initialize(snapshotid=nil)
770
+ @SnapshotId = snapshotid
771
+ end
772
+
773
+ def deserialize(params)
774
+ @SnapshotId = params['SnapshotId']
775
+ end
776
+ end
777
+
778
+ # DeleteCfsSnapshot返回参数结构体
779
+ class DeleteCfsSnapshotResponse < TencentCloud::Common::AbstractModel
780
+ # @param SnapshotId: 文件系统ID
781
+ # @type SnapshotId: String
782
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
783
+ # @type RequestId: String
784
+
785
+ attr_accessor :SnapshotId, :RequestId
786
+
787
+ def initialize(snapshotid=nil, requestid=nil)
788
+ @SnapshotId = snapshotid
789
+ @RequestId = requestid
790
+ end
791
+
792
+ def deserialize(params)
793
+ @SnapshotId = params['SnapshotId']
794
+ @RequestId = params['RequestId']
795
+ end
796
+ end
797
+
516
798
  # DeleteMountTarget请求参数结构体
517
799
  class DeleteMountTargetRequest < TencentCloud::Common::AbstractModel
518
800
  # @param FileSystemId: 文件系统 ID
@@ -549,6 +831,80 @@ module TencentCloud
549
831
  end
550
832
  end
551
833
 
834
+ # DescribeAutoSnapshotPolicies请求参数结构体
835
+ class DescribeAutoSnapshotPoliciesRequest < TencentCloud::Common::AbstractModel
836
+ # @param AutoSnapshotPolicyId: 快照策略ID
837
+ # @type AutoSnapshotPolicyId: String
838
+ # @param Offset: 分页码
839
+ # @type Offset: Integer
840
+ # @param Limit: 页面长
841
+ # @type Limit: Integer
842
+ # @param Filters: 过滤条件
843
+ # @type Filters: Array
844
+ # @param Order: 升序,降序
845
+ # @type Order: String
846
+ # @param OrderField: 排序字段
847
+ # @type OrderField: String
848
+
849
+ attr_accessor :AutoSnapshotPolicyId, :Offset, :Limit, :Filters, :Order, :OrderField
850
+
851
+ def initialize(autosnapshotpolicyid=nil, offset=nil, limit=nil, filters=nil, order=nil, orderfield=nil)
852
+ @AutoSnapshotPolicyId = autosnapshotpolicyid
853
+ @Offset = offset
854
+ @Limit = limit
855
+ @Filters = filters
856
+ @Order = order
857
+ @OrderField = orderfield
858
+ end
859
+
860
+ def deserialize(params)
861
+ @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
862
+ @Offset = params['Offset']
863
+ @Limit = params['Limit']
864
+ unless params['Filters'].nil?
865
+ @Filters = []
866
+ params['Filters'].each do |i|
867
+ filter_tmp = Filter.new
868
+ filter_tmp.deserialize(i)
869
+ @Filters << filter_tmp
870
+ end
871
+ end
872
+ @Order = params['Order']
873
+ @OrderField = params['OrderField']
874
+ end
875
+ end
876
+
877
+ # DescribeAutoSnapshotPolicies返回参数结构体
878
+ class DescribeAutoSnapshotPoliciesResponse < TencentCloud::Common::AbstractModel
879
+ # @param TotalCount: 快照策略总个数
880
+ # @type TotalCount: Integer
881
+ # @param AutoSnapshotPolicies: 快照策略信息
882
+ # @type AutoSnapshotPolicies: Array
883
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
884
+ # @type RequestId: String
885
+
886
+ attr_accessor :TotalCount, :AutoSnapshotPolicies, :RequestId
887
+
888
+ def initialize(totalcount=nil, autosnapshotpolicies=nil, requestid=nil)
889
+ @TotalCount = totalcount
890
+ @AutoSnapshotPolicies = autosnapshotpolicies
891
+ @RequestId = requestid
892
+ end
893
+
894
+ def deserialize(params)
895
+ @TotalCount = params['TotalCount']
896
+ unless params['AutoSnapshotPolicies'].nil?
897
+ @AutoSnapshotPolicies = []
898
+ params['AutoSnapshotPolicies'].each do |i|
899
+ autosnapshotpolicyinfo_tmp = AutoSnapshotPolicyInfo.new
900
+ autosnapshotpolicyinfo_tmp.deserialize(i)
901
+ @AutoSnapshotPolicies << autosnapshotpolicyinfo_tmp
902
+ end
903
+ end
904
+ @RequestId = params['RequestId']
905
+ end
906
+ end
907
+
552
908
  # DescribeAvailableZoneInfo请求参数结构体
553
909
  class DescribeAvailableZoneInfoRequest < TencentCloud::Common::AbstractModel
554
910
 
@@ -797,6 +1153,126 @@ module TencentCloud
797
1153
  end
798
1154
  end
799
1155
 
1156
+ # DescribeCfsSnapshotOverview请求参数结构体
1157
+ class DescribeCfsSnapshotOverviewRequest < TencentCloud::Common::AbstractModel
1158
+
1159
+
1160
+ def initialize()
1161
+ end
1162
+
1163
+ def deserialize(params)
1164
+ end
1165
+ end
1166
+
1167
+ # DescribeCfsSnapshotOverview返回参数结构体
1168
+ class DescribeCfsSnapshotOverviewResponse < TencentCloud::Common::AbstractModel
1169
+ # @param StatisticsList: 统计信息
1170
+ # @type StatisticsList: Array
1171
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1172
+ # @type RequestId: String
1173
+
1174
+ attr_accessor :StatisticsList, :RequestId
1175
+
1176
+ def initialize(statisticslist=nil, requestid=nil)
1177
+ @StatisticsList = statisticslist
1178
+ @RequestId = requestid
1179
+ end
1180
+
1181
+ def deserialize(params)
1182
+ unless params['StatisticsList'].nil?
1183
+ @StatisticsList = []
1184
+ params['StatisticsList'].each do |i|
1185
+ snapshotstatistics_tmp = SnapshotStatistics.new
1186
+ snapshotstatistics_tmp.deserialize(i)
1187
+ @StatisticsList << snapshotstatistics_tmp
1188
+ end
1189
+ end
1190
+ @RequestId = params['RequestId']
1191
+ end
1192
+ end
1193
+
1194
+ # DescribeCfsSnapshots请求参数结构体
1195
+ class DescribeCfsSnapshotsRequest < TencentCloud::Common::AbstractModel
1196
+ # @param FileSystemId: 文件系统ID
1197
+ # @type FileSystemId: String
1198
+ # @param SnapshotId: 快照ID
1199
+ # @type SnapshotId: String
1200
+ # @param Offset: 分页起始位置
1201
+ # @type Offset: Integer
1202
+ # @param Limit: 页面长度
1203
+ # @type Limit: Integer
1204
+ # @param Filters: 过滤条件
1205
+ # @type Filters: Array
1206
+ # @param OrderField: 排序取值
1207
+ # @type OrderField: String
1208
+ # @param Order: 排序 升序或者降序
1209
+ # @type Order: String
1210
+
1211
+ attr_accessor :FileSystemId, :SnapshotId, :Offset, :Limit, :Filters, :OrderField, :Order
1212
+
1213
+ def initialize(filesystemid=nil, snapshotid=nil, offset=nil, limit=nil, filters=nil, orderfield=nil, order=nil)
1214
+ @FileSystemId = filesystemid
1215
+ @SnapshotId = snapshotid
1216
+ @Offset = offset
1217
+ @Limit = limit
1218
+ @Filters = filters
1219
+ @OrderField = orderfield
1220
+ @Order = order
1221
+ end
1222
+
1223
+ def deserialize(params)
1224
+ @FileSystemId = params['FileSystemId']
1225
+ @SnapshotId = params['SnapshotId']
1226
+ @Offset = params['Offset']
1227
+ @Limit = params['Limit']
1228
+ unless params['Filters'].nil?
1229
+ @Filters = []
1230
+ params['Filters'].each do |i|
1231
+ filter_tmp = Filter.new
1232
+ filter_tmp.deserialize(i)
1233
+ @Filters << filter_tmp
1234
+ end
1235
+ end
1236
+ @OrderField = params['OrderField']
1237
+ @Order = params['Order']
1238
+ end
1239
+ end
1240
+
1241
+ # DescribeCfsSnapshots返回参数结构体
1242
+ class DescribeCfsSnapshotsResponse < TencentCloud::Common::AbstractModel
1243
+ # @param TotalCount: 总个数
1244
+ # @type TotalCount: Integer
1245
+ # @param Snapshots: 快照信息描述
1246
+ # @type Snapshots: Array
1247
+ # @param TotalSize: 快照列表快照汇总
1248
+ # @type TotalSize: Integer
1249
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1250
+ # @type RequestId: String
1251
+
1252
+ attr_accessor :TotalCount, :Snapshots, :TotalSize, :RequestId
1253
+
1254
+ def initialize(totalcount=nil, snapshots=nil, totalsize=nil, requestid=nil)
1255
+ @TotalCount = totalcount
1256
+ @Snapshots = snapshots
1257
+ @TotalSize = totalsize
1258
+ @RequestId = requestid
1259
+ end
1260
+
1261
+ def deserialize(params)
1262
+ @TotalCount = params['TotalCount']
1263
+ unless params['Snapshots'].nil?
1264
+ @Snapshots = []
1265
+ params['Snapshots'].each do |i|
1266
+ snapshotinfo_tmp = SnapshotInfo.new
1267
+ snapshotinfo_tmp.deserialize(i)
1268
+ @Snapshots << snapshotinfo_tmp
1269
+ end
1270
+ end
1271
+ @TotalSize = params['TotalSize']
1272
+ @RequestId = params['RequestId']
1273
+ end
1274
+ end
1275
+
800
1276
  # DescribeMountTargets请求参数结构体
801
1277
  class DescribeMountTargetsRequest < TencentCloud::Common::AbstractModel
802
1278
  # @param FileSystemId: 文件系统 ID
@@ -844,6 +1320,101 @@ module TencentCloud
844
1320
  end
845
1321
  end
846
1322
 
1323
+ # DescribeSnapshotOperationLogs请求参数结构体
1324
+ class DescribeSnapshotOperationLogsRequest < TencentCloud::Common::AbstractModel
1325
+ # @param SnapshotId: 文件系统快照ID
1326
+ # @type SnapshotId: String
1327
+ # @param StartTime: 起始时间
1328
+ # @type StartTime: String
1329
+ # @param EndTime: 结束时间
1330
+ # @type EndTime: String
1331
+
1332
+ attr_accessor :SnapshotId, :StartTime, :EndTime
1333
+
1334
+ def initialize(snapshotid=nil, starttime=nil, endtime=nil)
1335
+ @SnapshotId = snapshotid
1336
+ @StartTime = starttime
1337
+ @EndTime = endtime
1338
+ end
1339
+
1340
+ def deserialize(params)
1341
+ @SnapshotId = params['SnapshotId']
1342
+ @StartTime = params['StartTime']
1343
+ @EndTime = params['EndTime']
1344
+ end
1345
+ end
1346
+
1347
+ # DescribeSnapshotOperationLogs返回参数结构体
1348
+ class DescribeSnapshotOperationLogsResponse < TencentCloud::Common::AbstractModel
1349
+ # @param SnapshotId: 快照ID
1350
+ # @type SnapshotId: String
1351
+ # @param SnapshotOperates: 操作日志
1352
+ # @type SnapshotOperates: Array
1353
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1354
+ # @type RequestId: String
1355
+
1356
+ attr_accessor :SnapshotId, :SnapshotOperates, :RequestId
1357
+
1358
+ def initialize(snapshotid=nil, snapshotoperates=nil, requestid=nil)
1359
+ @SnapshotId = snapshotid
1360
+ @SnapshotOperates = snapshotoperates
1361
+ @RequestId = requestid
1362
+ end
1363
+
1364
+ def deserialize(params)
1365
+ @SnapshotId = params['SnapshotId']
1366
+ unless params['SnapshotOperates'].nil?
1367
+ @SnapshotOperates = []
1368
+ params['SnapshotOperates'].each do |i|
1369
+ snapshotoperatelog_tmp = SnapshotOperateLog.new
1370
+ snapshotoperatelog_tmp.deserialize(i)
1371
+ @SnapshotOperates << snapshotoperatelog_tmp
1372
+ end
1373
+ end
1374
+ @RequestId = params['RequestId']
1375
+ end
1376
+ end
1377
+
1378
+ # 绑定快照策略的文件系统信息
1379
+ class FileSystemByPolicy < TencentCloud::Common::AbstractModel
1380
+ # @param CreationToken: 文件系统名称
1381
+ # @type CreationToken: String
1382
+ # @param FileSystemId: 文件系统ID
1383
+ # @type FileSystemId: String
1384
+ # @param SizeByte: 文件系统大小
1385
+ # @type SizeByte: Integer
1386
+ # @param StorageType: 存储类型
1387
+ # @type StorageType: String
1388
+ # @param TotalSnapshotSize: 快照总大小
1389
+ # @type TotalSnapshotSize: Integer
1390
+ # @param CreationTime: 文件系统创建时间
1391
+ # @type CreationTime: String
1392
+ # @param ZoneId: 文件系统所在区ID
1393
+ # @type ZoneId: Integer
1394
+
1395
+ attr_accessor :CreationToken, :FileSystemId, :SizeByte, :StorageType, :TotalSnapshotSize, :CreationTime, :ZoneId
1396
+
1397
+ def initialize(creationtoken=nil, filesystemid=nil, sizebyte=nil, storagetype=nil, totalsnapshotsize=nil, creationtime=nil, zoneid=nil)
1398
+ @CreationToken = creationtoken
1399
+ @FileSystemId = filesystemid
1400
+ @SizeByte = sizebyte
1401
+ @StorageType = storagetype
1402
+ @TotalSnapshotSize = totalsnapshotsize
1403
+ @CreationTime = creationtime
1404
+ @ZoneId = zoneid
1405
+ end
1406
+
1407
+ def deserialize(params)
1408
+ @CreationToken = params['CreationToken']
1409
+ @FileSystemId = params['FileSystemId']
1410
+ @SizeByte = params['SizeByte']
1411
+ @StorageType = params['StorageType']
1412
+ @TotalSnapshotSize = params['TotalSnapshotSize']
1413
+ @CreationTime = params['CreationTime']
1414
+ @ZoneId = params['ZoneId']
1415
+ end
1416
+ end
1417
+
847
1418
  # 文件系统客户端信息
848
1419
  class FileSystemClient < TencentCloud::Common::AbstractModel
849
1420
  # @param CfsVip: 文件系统IP地址
@@ -982,6 +1553,26 @@ module TencentCloud
982
1553
  end
983
1554
  end
984
1555
 
1556
+ # 条件过滤
1557
+ class Filter < TencentCloud::Common::AbstractModel
1558
+ # @param Values: 值
1559
+ # @type Values: Array
1560
+ # @param Name: 名称
1561
+ # @type Name: String
1562
+
1563
+ attr_accessor :Values, :Name
1564
+
1565
+ def initialize(values=nil, name=nil)
1566
+ @Values = values
1567
+ @Name = name
1568
+ end
1569
+
1570
+ def deserialize(params)
1571
+ @Values = params['Values']
1572
+ @Name = params['Name']
1573
+ end
1574
+ end
1575
+
985
1576
  # 挂载点信息
986
1577
  class MountInfo < TencentCloud::Common::AbstractModel
987
1578
  # @param FileSystemId: 文件系统 ID
@@ -1157,6 +1748,133 @@ module TencentCloud
1157
1748
  end
1158
1749
  end
1159
1750
 
1751
+ # 快照信息
1752
+ class SnapshotInfo < TencentCloud::Common::AbstractModel
1753
+ # @param CreationTime: 创建快照时间
1754
+ # @type CreationTime: String
1755
+ # @param SnapshotName: 快照名称
1756
+ # @type SnapshotName: String
1757
+ # @param SnapshotId: 快照ID
1758
+ # @type SnapshotId: String
1759
+ # @param Status: 快照状态
1760
+ # @type Status: String
1761
+ # @param RegionName: 地域名称
1762
+ # @type RegionName: String
1763
+ # @param FileSystemId: 文件系统ID
1764
+ # @type FileSystemId: String
1765
+ # @param Size: 快照大小
1766
+ # @type Size: Integer
1767
+ # @param AliveDay: 保留时长天
1768
+ # @type AliveDay: Integer
1769
+ # @param Percent: 快照进度
1770
+ # @type Percent: Integer
1771
+ # @param AppId: 帐号ID
1772
+ # @type AppId: Integer
1773
+ # @param DeleteTime: 快照删除时间
1774
+ # @type DeleteTime: String
1775
+ # @param FsName: 文件系统名称
1776
+ # @type FsName: String
1777
+ # @param Tags: 快照标签
1778
+ # @type Tags: Array
1779
+
1780
+ attr_accessor :CreationTime, :SnapshotName, :SnapshotId, :Status, :RegionName, :FileSystemId, :Size, :AliveDay, :Percent, :AppId, :DeleteTime, :FsName, :Tags
1781
+
1782
+ def initialize(creationtime=nil, snapshotname=nil, snapshotid=nil, status=nil, regionname=nil, filesystemid=nil, size=nil, aliveday=nil, percent=nil, appid=nil, deletetime=nil, fsname=nil, tags=nil)
1783
+ @CreationTime = creationtime
1784
+ @SnapshotName = snapshotname
1785
+ @SnapshotId = snapshotid
1786
+ @Status = status
1787
+ @RegionName = regionname
1788
+ @FileSystemId = filesystemid
1789
+ @Size = size
1790
+ @AliveDay = aliveday
1791
+ @Percent = percent
1792
+ @AppId = appid
1793
+ @DeleteTime = deletetime
1794
+ @FsName = fsname
1795
+ @Tags = tags
1796
+ end
1797
+
1798
+ def deserialize(params)
1799
+ @CreationTime = params['CreationTime']
1800
+ @SnapshotName = params['SnapshotName']
1801
+ @SnapshotId = params['SnapshotId']
1802
+ @Status = params['Status']
1803
+ @RegionName = params['RegionName']
1804
+ @FileSystemId = params['FileSystemId']
1805
+ @Size = params['Size']
1806
+ @AliveDay = params['AliveDay']
1807
+ @Percent = params['Percent']
1808
+ @AppId = params['AppId']
1809
+ @DeleteTime = params['DeleteTime']
1810
+ @FsName = params['FsName']
1811
+ unless params['Tags'].nil?
1812
+ @Tags = []
1813
+ params['Tags'].each do |i|
1814
+ taginfo_tmp = TagInfo.new
1815
+ taginfo_tmp.deserialize(i)
1816
+ @Tags << taginfo_tmp
1817
+ end
1818
+ end
1819
+ end
1820
+ end
1821
+
1822
+ # 快照操作日志
1823
+ class SnapshotOperateLog < TencentCloud::Common::AbstractModel
1824
+ # @param Action: 操作类型
1825
+ # @type Action: String
1826
+ # @param ActionTime: 操作时间
1827
+ # @type ActionTime: String
1828
+ # @param ActionName: 操作名称
1829
+ # @type ActionName: String
1830
+ # @param Operator: 操作者
1831
+ # @type Operator: String
1832
+ # @param Result: 结果
1833
+ # @type Result: Integer
1834
+
1835
+ attr_accessor :Action, :ActionTime, :ActionName, :Operator, :Result
1836
+
1837
+ def initialize(action=nil, actiontime=nil, actionname=nil, operator=nil, result=nil)
1838
+ @Action = action
1839
+ @ActionTime = actiontime
1840
+ @ActionName = actionname
1841
+ @Operator = operator
1842
+ @Result = result
1843
+ end
1844
+
1845
+ def deserialize(params)
1846
+ @Action = params['Action']
1847
+ @ActionTime = params['ActionTime']
1848
+ @ActionName = params['ActionName']
1849
+ @Operator = params['Operator']
1850
+ @Result = params['Result']
1851
+ end
1852
+ end
1853
+
1854
+ # 文件系统快照统计
1855
+ class SnapshotStatistics < TencentCloud::Common::AbstractModel
1856
+ # @param Region: 地域
1857
+ # @type Region: String
1858
+ # @param SnapshotNumber: 快照总个数
1859
+ # @type SnapshotNumber: Integer
1860
+ # @param SnapshotSize: 快照总容量
1861
+ # @type SnapshotSize: Integer
1862
+
1863
+ attr_accessor :Region, :SnapshotNumber, :SnapshotSize
1864
+
1865
+ def initialize(region=nil, snapshotnumber=nil, snapshotsize=nil)
1866
+ @Region = region
1867
+ @SnapshotNumber = snapshotnumber
1868
+ @SnapshotSize = snapshotsize
1869
+ end
1870
+
1871
+ def deserialize(params)
1872
+ @Region = params['Region']
1873
+ @SnapshotNumber = params['SnapshotNumber']
1874
+ @SnapshotSize = params['SnapshotSize']
1875
+ end
1876
+ end
1877
+
1160
1878
  # Tag信息单元
1161
1879
  class TagInfo < TencentCloud::Common::AbstractModel
1162
1880
  # @param TagKey: 标签键
@@ -1177,6 +1895,102 @@ module TencentCloud
1177
1895
  end
1178
1896
  end
1179
1897
 
1898
+ # UnbindAutoSnapshotPolicy请求参数结构体
1899
+ class UnbindAutoSnapshotPolicyRequest < TencentCloud::Common::AbstractModel
1900
+ # @param FileSystemIds: 需要解绑的文件系统ID列表,用"," 分割
1901
+ # @type FileSystemIds: String
1902
+ # @param AutoSnapshotPolicyId: 解绑的快照ID
1903
+ # @type AutoSnapshotPolicyId: String
1904
+
1905
+ attr_accessor :FileSystemIds, :AutoSnapshotPolicyId
1906
+
1907
+ def initialize(filesystemids=nil, autosnapshotpolicyid=nil)
1908
+ @FileSystemIds = filesystemids
1909
+ @AutoSnapshotPolicyId = autosnapshotpolicyid
1910
+ end
1911
+
1912
+ def deserialize(params)
1913
+ @FileSystemIds = params['FileSystemIds']
1914
+ @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
1915
+ end
1916
+ end
1917
+
1918
+ # UnbindAutoSnapshotPolicy返回参数结构体
1919
+ class UnbindAutoSnapshotPolicyResponse < TencentCloud::Common::AbstractModel
1920
+ # @param AutoSnapshotPolicyId: 快照策略ID
1921
+ # @type AutoSnapshotPolicyId: String
1922
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1923
+ # @type RequestId: String
1924
+
1925
+ attr_accessor :AutoSnapshotPolicyId, :RequestId
1926
+
1927
+ def initialize(autosnapshotpolicyid=nil, requestid=nil)
1928
+ @AutoSnapshotPolicyId = autosnapshotpolicyid
1929
+ @RequestId = requestid
1930
+ end
1931
+
1932
+ def deserialize(params)
1933
+ @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
1934
+ @RequestId = params['RequestId']
1935
+ end
1936
+ end
1937
+
1938
+ # UpdateAutoSnapshotPolicy请求参数结构体
1939
+ class UpdateAutoSnapshotPolicyRequest < TencentCloud::Common::AbstractModel
1940
+ # @param AutoSnapshotPolicyId: 快照策略ID
1941
+ # @type AutoSnapshotPolicyId: String
1942
+ # @param PolicyName: 快照策略名称
1943
+ # @type PolicyName: String
1944
+ # @param DayOfWeek: 快照定期备份在一星期哪一天
1945
+ # @type DayOfWeek: String
1946
+ # @param Hour: 快照定期备份在一天的哪一小时
1947
+ # @type Hour: String
1948
+ # @param AliveDays: 快照保留日期
1949
+ # @type AliveDays: Integer
1950
+ # @param IsActivated: 是否激活定期快照功能
1951
+ # @type IsActivated: Integer
1952
+
1953
+ attr_accessor :AutoSnapshotPolicyId, :PolicyName, :DayOfWeek, :Hour, :AliveDays, :IsActivated
1954
+
1955
+ def initialize(autosnapshotpolicyid=nil, policyname=nil, dayofweek=nil, hour=nil, alivedays=nil, isactivated=nil)
1956
+ @AutoSnapshotPolicyId = autosnapshotpolicyid
1957
+ @PolicyName = policyname
1958
+ @DayOfWeek = dayofweek
1959
+ @Hour = hour
1960
+ @AliveDays = alivedays
1961
+ @IsActivated = isactivated
1962
+ end
1963
+
1964
+ def deserialize(params)
1965
+ @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
1966
+ @PolicyName = params['PolicyName']
1967
+ @DayOfWeek = params['DayOfWeek']
1968
+ @Hour = params['Hour']
1969
+ @AliveDays = params['AliveDays']
1970
+ @IsActivated = params['IsActivated']
1971
+ end
1972
+ end
1973
+
1974
+ # UpdateAutoSnapshotPolicy返回参数结构体
1975
+ class UpdateAutoSnapshotPolicyResponse < TencentCloud::Common::AbstractModel
1976
+ # @param AutoSnapshotPolicyId: 快照策略ID
1977
+ # @type AutoSnapshotPolicyId: String
1978
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1979
+ # @type RequestId: String
1980
+
1981
+ attr_accessor :AutoSnapshotPolicyId, :RequestId
1982
+
1983
+ def initialize(autosnapshotpolicyid=nil, requestid=nil)
1984
+ @AutoSnapshotPolicyId = autosnapshotpolicyid
1985
+ @RequestId = requestid
1986
+ end
1987
+
1988
+ def deserialize(params)
1989
+ @AutoSnapshotPolicyId = params['AutoSnapshotPolicyId']
1990
+ @RequestId = params['RequestId']
1991
+ end
1992
+ end
1993
+
1180
1994
  # UpdateCfsFileSystemName请求参数结构体
1181
1995
  class UpdateCfsFileSystemNameRequest < TencentCloud::Common::AbstractModel
1182
1996
  # @param FileSystemId: 文件系统 ID
@@ -1433,6 +2247,50 @@ module TencentCloud
1433
2247
  end
1434
2248
  end
1435
2249
 
2250
+ # UpdateCfsSnapshotAttribute请求参数结构体
2251
+ class UpdateCfsSnapshotAttributeRequest < TencentCloud::Common::AbstractModel
2252
+ # @param SnapshotId: 文件系统快照ID
2253
+ # @type SnapshotId: String
2254
+ # @param SnapshotName: 文件系统快照名称
2255
+ # @type SnapshotName: String
2256
+ # @param AliveDays: 文件系统快照保留天数
2257
+ # @type AliveDays: Integer
2258
+
2259
+ attr_accessor :SnapshotId, :SnapshotName, :AliveDays
2260
+
2261
+ def initialize(snapshotid=nil, snapshotname=nil, alivedays=nil)
2262
+ @SnapshotId = snapshotid
2263
+ @SnapshotName = snapshotname
2264
+ @AliveDays = alivedays
2265
+ end
2266
+
2267
+ def deserialize(params)
2268
+ @SnapshotId = params['SnapshotId']
2269
+ @SnapshotName = params['SnapshotName']
2270
+ @AliveDays = params['AliveDays']
2271
+ end
2272
+ end
2273
+
2274
+ # UpdateCfsSnapshotAttribute返回参数结构体
2275
+ class UpdateCfsSnapshotAttributeResponse < TencentCloud::Common::AbstractModel
2276
+ # @param SnapshotId: 文件系统快照ID
2277
+ # @type SnapshotId: String
2278
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2279
+ # @type RequestId: String
2280
+
2281
+ attr_accessor :SnapshotId, :RequestId
2282
+
2283
+ def initialize(snapshotid=nil, requestid=nil)
2284
+ @SnapshotId = snapshotid
2285
+ @RequestId = requestid
2286
+ end
2287
+
2288
+ def deserialize(params)
2289
+ @SnapshotId = params['SnapshotId']
2290
+ @RequestId = params['RequestId']
2291
+ end
2292
+ end
2293
+
1436
2294
  end
1437
2295
  end
1438
2296
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-cfs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.405
4
+ version: 3.0.406
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-09-06 00:00:00.000000000 Z
11
+ date: 2022-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common