tencentcloud-sdk-chdfs 1.0.200

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,1437 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright (c) 2017-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, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ module TencentCloud
18
+ module Chdfs
19
+ module V20190718
20
+ # 权限组
21
+ class AccessGroup < TencentCloud::Common::AbstractModel
22
+ # @param AccessGroupId: 权限组ID
23
+ # @type AccessGroupId: String
24
+ # @param AccessGroupName: 权限组名称
25
+ # @type AccessGroupName: String
26
+ # @param Description: 权限组描述
27
+ # @type Description: String
28
+ # @param CreateTime: 创建时间
29
+ # @type CreateTime: String
30
+
31
+ attr_accessor :AccessGroupId, :AccessGroupName, :Description, :CreateTime
32
+
33
+ def initialize(accessgroupid=nil, accessgroupname=nil, description=nil, createtime=nil)
34
+ @AccessGroupId = accessgroupid
35
+ @AccessGroupName = accessgroupname
36
+ @Description = description
37
+ @CreateTime = createtime
38
+ end
39
+
40
+ def deserialize(params)
41
+ @AccessGroupId = params['AccessGroupId']
42
+ @AccessGroupName = params['AccessGroupName']
43
+ @Description = params['Description']
44
+ @CreateTime = params['CreateTime']
45
+ end
46
+ end
47
+
48
+ # 权限规则
49
+ class AccessRule < TencentCloud::Common::AbstractModel
50
+ # @param AccessRuleId: 权限规则ID
51
+ # @type AccessRuleId: Integer
52
+ # @param Address: 权限规则地址(网段或IP)
53
+ # @type Address: String
54
+ # @param AccessMode: 权限规则访问模式(1:只读;2:读写)
55
+ # @type AccessMode: Integer
56
+ # @param Priority: 优先级(取值范围1~100,值越小优先级越高)
57
+ # @type Priority: Integer
58
+ # @param CreateTime: 创建时间
59
+ # @type CreateTime: String
60
+
61
+ attr_accessor :AccessRuleId, :Address, :AccessMode, :Priority, :CreateTime
62
+
63
+ def initialize(accessruleid=nil, address=nil, accessmode=nil, priority=nil, createtime=nil)
64
+ @AccessRuleId = accessruleid
65
+ @Address = address
66
+ @AccessMode = accessmode
67
+ @Priority = priority
68
+ @CreateTime = createtime
69
+ end
70
+
71
+ def deserialize(params)
72
+ @AccessRuleId = params['AccessRuleId']
73
+ @Address = params['Address']
74
+ @AccessMode = params['AccessMode']
75
+ @Priority = params['Priority']
76
+ @CreateTime = params['CreateTime']
77
+ end
78
+ end
79
+
80
+ # CreateAccessGroup请求参数结构体
81
+ class CreateAccessGroupRequest < TencentCloud::Common::AbstractModel
82
+ # @param AccessGroupName: 权限组名称
83
+ # @type AccessGroupName: String
84
+ # @param Description: 权限组描述
85
+ # @type Description: String
86
+
87
+ attr_accessor :AccessGroupName, :Description
88
+
89
+ def initialize(accessgroupname=nil, description=nil)
90
+ @AccessGroupName = accessgroupname
91
+ @Description = description
92
+ end
93
+
94
+ def deserialize(params)
95
+ @AccessGroupName = params['AccessGroupName']
96
+ @Description = params['Description']
97
+ end
98
+ end
99
+
100
+ # CreateAccessGroup返回参数结构体
101
+ class CreateAccessGroupResponse < TencentCloud::Common::AbstractModel
102
+ # @param AccessGroup: 权限组
103
+ # @type AccessGroup: :class:`Tencentcloud::Chdfs.v20190718.models.AccessGroup`
104
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
105
+ # @type RequestId: String
106
+
107
+ attr_accessor :AccessGroup, :RequestId
108
+
109
+ def initialize(accessgroup=nil, requestid=nil)
110
+ @AccessGroup = accessgroup
111
+ @RequestId = requestid
112
+ end
113
+
114
+ def deserialize(params)
115
+ unless params['AccessGroup'].nil?
116
+ @AccessGroup = AccessGroup.new
117
+ @AccessGroup.deserialize(params['AccessGroup'])
118
+ end
119
+ @RequestId = params['RequestId']
120
+ end
121
+ end
122
+
123
+ # CreateAccessRules请求参数结构体
124
+ class CreateAccessRulesRequest < TencentCloud::Common::AbstractModel
125
+ # @param AccessRules: 多个权限规则,上限为10
126
+ # @type AccessRules: Array
127
+ # @param AccessGroupId: 权限组ID
128
+ # @type AccessGroupId: String
129
+
130
+ attr_accessor :AccessRules, :AccessGroupId
131
+
132
+ def initialize(accessrules=nil, accessgroupid=nil)
133
+ @AccessRules = accessrules
134
+ @AccessGroupId = accessgroupid
135
+ end
136
+
137
+ def deserialize(params)
138
+ unless params['AccessRules'].nil?
139
+ @AccessRules = []
140
+ params['AccessRules'].each do |i|
141
+ accessrule_tmp = AccessRule.new
142
+ accessrule_tmp.deserialize(i)
143
+ @AccessRules << accessrule_tmp
144
+ end
145
+ end
146
+ @AccessGroupId = params['AccessGroupId']
147
+ end
148
+ end
149
+
150
+ # CreateAccessRules返回参数结构体
151
+ class CreateAccessRulesResponse < TencentCloud::Common::AbstractModel
152
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
153
+ # @type RequestId: String
154
+
155
+ attr_accessor :RequestId
156
+
157
+ def initialize(requestid=nil)
158
+ @RequestId = requestid
159
+ end
160
+
161
+ def deserialize(params)
162
+ @RequestId = params['RequestId']
163
+ end
164
+ end
165
+
166
+ # CreateFileSystem请求参数结构体
167
+ class CreateFileSystemRequest < TencentCloud::Common::AbstractModel
168
+ # @param FileSystemName: 文件系统名称
169
+ # @type FileSystemName: String
170
+ # @param CapacityQuota: 文件系统容量(byte),下限为1G,上限为1P,且必须是1G的整数倍
171
+ # @type CapacityQuota: Integer
172
+ # @param Description: 文件系统描述
173
+ # @type Description: String
174
+
175
+ attr_accessor :FileSystemName, :CapacityQuota, :Description
176
+
177
+ def initialize(filesystemname=nil, capacityquota=nil, description=nil)
178
+ @FileSystemName = filesystemname
179
+ @CapacityQuota = capacityquota
180
+ @Description = description
181
+ end
182
+
183
+ def deserialize(params)
184
+ @FileSystemName = params['FileSystemName']
185
+ @CapacityQuota = params['CapacityQuota']
186
+ @Description = params['Description']
187
+ end
188
+ end
189
+
190
+ # CreateFileSystem返回参数结构体
191
+ class CreateFileSystemResponse < TencentCloud::Common::AbstractModel
192
+ # @param FileSystem: 文件系统
193
+ # @type FileSystem: :class:`Tencentcloud::Chdfs.v20190718.models.FileSystem`
194
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
195
+ # @type RequestId: String
196
+
197
+ attr_accessor :FileSystem, :RequestId
198
+
199
+ def initialize(filesystem=nil, requestid=nil)
200
+ @FileSystem = filesystem
201
+ @RequestId = requestid
202
+ end
203
+
204
+ def deserialize(params)
205
+ unless params['FileSystem'].nil?
206
+ @FileSystem = FileSystem.new
207
+ @FileSystem.deserialize(params['FileSystem'])
208
+ end
209
+ @RequestId = params['RequestId']
210
+ end
211
+ end
212
+
213
+ # CreateLifeCycleRules请求参数结构体
214
+ class CreateLifeCycleRulesRequest < TencentCloud::Common::AbstractModel
215
+ # @param FileSystemId: 文件系统ID
216
+ # @type FileSystemId: String
217
+ # @param LifeCycleRules: 多个生命周期规则,上限为10
218
+ # @type LifeCycleRules: Array
219
+
220
+ attr_accessor :FileSystemId, :LifeCycleRules
221
+
222
+ def initialize(filesystemid=nil, lifecyclerules=nil)
223
+ @FileSystemId = filesystemid
224
+ @LifeCycleRules = lifecyclerules
225
+ end
226
+
227
+ def deserialize(params)
228
+ @FileSystemId = params['FileSystemId']
229
+ unless params['LifeCycleRules'].nil?
230
+ @LifeCycleRules = []
231
+ params['LifeCycleRules'].each do |i|
232
+ lifecyclerule_tmp = LifeCycleRule.new
233
+ lifecyclerule_tmp.deserialize(i)
234
+ @LifeCycleRules << lifecyclerule_tmp
235
+ end
236
+ end
237
+ end
238
+ end
239
+
240
+ # CreateLifeCycleRules返回参数结构体
241
+ class CreateLifeCycleRulesResponse < TencentCloud::Common::AbstractModel
242
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
243
+ # @type RequestId: String
244
+
245
+ attr_accessor :RequestId
246
+
247
+ def initialize(requestid=nil)
248
+ @RequestId = requestid
249
+ end
250
+
251
+ def deserialize(params)
252
+ @RequestId = params['RequestId']
253
+ end
254
+ end
255
+
256
+ # CreateMountPoint请求参数结构体
257
+ class CreateMountPointRequest < TencentCloud::Common::AbstractModel
258
+ # @param MountPointName: 挂载点名称
259
+ # @type MountPointName: String
260
+ # @param FileSystemId: 文件系统ID
261
+ # @type FileSystemId: String
262
+ # @param AccessGroupId: 权限组ID
263
+ # @type AccessGroupId: String
264
+ # @param VpcId: VPC网络ID
265
+ # @type VpcId: String
266
+ # @param MountPointStatus: 挂载点状态(1:打开;2:关闭)
267
+ # @type MountPointStatus: Integer
268
+ # @param VpcType: VPC网络类型(1:CVM;2:黑石1.0;3:黑石2.0)
269
+ # @type VpcType: Integer
270
+
271
+ attr_accessor :MountPointName, :FileSystemId, :AccessGroupId, :VpcId, :MountPointStatus, :VpcType
272
+
273
+ def initialize(mountpointname=nil, filesystemid=nil, accessgroupid=nil, vpcid=nil, mountpointstatus=nil, vpctype=nil)
274
+ @MountPointName = mountpointname
275
+ @FileSystemId = filesystemid
276
+ @AccessGroupId = accessgroupid
277
+ @VpcId = vpcid
278
+ @MountPointStatus = mountpointstatus
279
+ @VpcType = vpctype
280
+ end
281
+
282
+ def deserialize(params)
283
+ @MountPointName = params['MountPointName']
284
+ @FileSystemId = params['FileSystemId']
285
+ @AccessGroupId = params['AccessGroupId']
286
+ @VpcId = params['VpcId']
287
+ @MountPointStatus = params['MountPointStatus']
288
+ @VpcType = params['VpcType']
289
+ end
290
+ end
291
+
292
+ # CreateMountPoint返回参数结构体
293
+ class CreateMountPointResponse < TencentCloud::Common::AbstractModel
294
+ # @param MountPoint: 挂载点
295
+ # @type MountPoint: :class:`Tencentcloud::Chdfs.v20190718.models.MountPoint`
296
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
297
+ # @type RequestId: String
298
+
299
+ attr_accessor :MountPoint, :RequestId
300
+
301
+ def initialize(mountpoint=nil, requestid=nil)
302
+ @MountPoint = mountpoint
303
+ @RequestId = requestid
304
+ end
305
+
306
+ def deserialize(params)
307
+ unless params['MountPoint'].nil?
308
+ @MountPoint = MountPoint.new
309
+ @MountPoint.deserialize(params['MountPoint'])
310
+ end
311
+ @RequestId = params['RequestId']
312
+ end
313
+ end
314
+
315
+ # CreateRestoreTasks请求参数结构体
316
+ class CreateRestoreTasksRequest < TencentCloud::Common::AbstractModel
317
+ # @param FileSystemId: 文件系统ID
318
+ # @type FileSystemId: String
319
+ # @param RestoreTasks: 多个回热任务,上限为10
320
+ # @type RestoreTasks: Array
321
+
322
+ attr_accessor :FileSystemId, :RestoreTasks
323
+
324
+ def initialize(filesystemid=nil, restoretasks=nil)
325
+ @FileSystemId = filesystemid
326
+ @RestoreTasks = restoretasks
327
+ end
328
+
329
+ def deserialize(params)
330
+ @FileSystemId = params['FileSystemId']
331
+ unless params['RestoreTasks'].nil?
332
+ @RestoreTasks = []
333
+ params['RestoreTasks'].each do |i|
334
+ restoretask_tmp = RestoreTask.new
335
+ restoretask_tmp.deserialize(i)
336
+ @RestoreTasks << restoretask_tmp
337
+ end
338
+ end
339
+ end
340
+ end
341
+
342
+ # CreateRestoreTasks返回参数结构体
343
+ class CreateRestoreTasksResponse < TencentCloud::Common::AbstractModel
344
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
345
+ # @type RequestId: String
346
+
347
+ attr_accessor :RequestId
348
+
349
+ def initialize(requestid=nil)
350
+ @RequestId = requestid
351
+ end
352
+
353
+ def deserialize(params)
354
+ @RequestId = params['RequestId']
355
+ end
356
+ end
357
+
358
+ # DeleteAccessGroup请求参数结构体
359
+ class DeleteAccessGroupRequest < TencentCloud::Common::AbstractModel
360
+ # @param AccessGroupId: 权限组ID
361
+ # @type AccessGroupId: String
362
+
363
+ attr_accessor :AccessGroupId
364
+
365
+ def initialize(accessgroupid=nil)
366
+ @AccessGroupId = accessgroupid
367
+ end
368
+
369
+ def deserialize(params)
370
+ @AccessGroupId = params['AccessGroupId']
371
+ end
372
+ end
373
+
374
+ # DeleteAccessGroup返回参数结构体
375
+ class DeleteAccessGroupResponse < TencentCloud::Common::AbstractModel
376
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
377
+ # @type RequestId: String
378
+
379
+ attr_accessor :RequestId
380
+
381
+ def initialize(requestid=nil)
382
+ @RequestId = requestid
383
+ end
384
+
385
+ def deserialize(params)
386
+ @RequestId = params['RequestId']
387
+ end
388
+ end
389
+
390
+ # DeleteAccessRules请求参数结构体
391
+ class DeleteAccessRulesRequest < TencentCloud::Common::AbstractModel
392
+ # @param AccessRuleIds: 多个权限规则ID,上限为10
393
+ # @type AccessRuleIds: Array
394
+
395
+ attr_accessor :AccessRuleIds
396
+
397
+ def initialize(accessruleids=nil)
398
+ @AccessRuleIds = accessruleids
399
+ end
400
+
401
+ def deserialize(params)
402
+ @AccessRuleIds = params['AccessRuleIds']
403
+ end
404
+ end
405
+
406
+ # DeleteAccessRules返回参数结构体
407
+ class DeleteAccessRulesResponse < TencentCloud::Common::AbstractModel
408
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
409
+ # @type RequestId: String
410
+
411
+ attr_accessor :RequestId
412
+
413
+ def initialize(requestid=nil)
414
+ @RequestId = requestid
415
+ end
416
+
417
+ def deserialize(params)
418
+ @RequestId = params['RequestId']
419
+ end
420
+ end
421
+
422
+ # DeleteFileSystem请求参数结构体
423
+ class DeleteFileSystemRequest < TencentCloud::Common::AbstractModel
424
+ # @param FileSystemId: 文件系统ID
425
+ # @type FileSystemId: String
426
+
427
+ attr_accessor :FileSystemId
428
+
429
+ def initialize(filesystemid=nil)
430
+ @FileSystemId = filesystemid
431
+ end
432
+
433
+ def deserialize(params)
434
+ @FileSystemId = params['FileSystemId']
435
+ end
436
+ end
437
+
438
+ # DeleteFileSystem返回参数结构体
439
+ class DeleteFileSystemResponse < TencentCloud::Common::AbstractModel
440
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
441
+ # @type RequestId: String
442
+
443
+ attr_accessor :RequestId
444
+
445
+ def initialize(requestid=nil)
446
+ @RequestId = requestid
447
+ end
448
+
449
+ def deserialize(params)
450
+ @RequestId = params['RequestId']
451
+ end
452
+ end
453
+
454
+ # DeleteLifeCycleRules请求参数结构体
455
+ class DeleteLifeCycleRulesRequest < TencentCloud::Common::AbstractModel
456
+ # @param LifeCycleRuleIds: 多个生命周期规则ID,上限为10
457
+ # @type LifeCycleRuleIds: Array
458
+
459
+ attr_accessor :LifeCycleRuleIds
460
+
461
+ def initialize(lifecycleruleids=nil)
462
+ @LifeCycleRuleIds = lifecycleruleids
463
+ end
464
+
465
+ def deserialize(params)
466
+ @LifeCycleRuleIds = params['LifeCycleRuleIds']
467
+ end
468
+ end
469
+
470
+ # DeleteLifeCycleRules返回参数结构体
471
+ class DeleteLifeCycleRulesResponse < TencentCloud::Common::AbstractModel
472
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
473
+ # @type RequestId: String
474
+
475
+ attr_accessor :RequestId
476
+
477
+ def initialize(requestid=nil)
478
+ @RequestId = requestid
479
+ end
480
+
481
+ def deserialize(params)
482
+ @RequestId = params['RequestId']
483
+ end
484
+ end
485
+
486
+ # DeleteMountPoint请求参数结构体
487
+ class DeleteMountPointRequest < TencentCloud::Common::AbstractModel
488
+ # @param MountPointId: 挂载点ID
489
+ # @type MountPointId: String
490
+
491
+ attr_accessor :MountPointId
492
+
493
+ def initialize(mountpointid=nil)
494
+ @MountPointId = mountpointid
495
+ end
496
+
497
+ def deserialize(params)
498
+ @MountPointId = params['MountPointId']
499
+ end
500
+ end
501
+
502
+ # DeleteMountPoint返回参数结构体
503
+ class DeleteMountPointResponse < TencentCloud::Common::AbstractModel
504
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
505
+ # @type RequestId: String
506
+
507
+ attr_accessor :RequestId
508
+
509
+ def initialize(requestid=nil)
510
+ @RequestId = requestid
511
+ end
512
+
513
+ def deserialize(params)
514
+ @RequestId = params['RequestId']
515
+ end
516
+ end
517
+
518
+ # DescribeAccessGroups请求参数结构体
519
+ class DescribeAccessGroupsRequest < TencentCloud::Common::AbstractModel
520
+ # @param Filters: 过滤条件,Name可选“AccessGroupId“和“AccessGroupName”,Values上限为10
521
+ # @type Filters: Array
522
+ # @param Offset: 偏移量,默认为0
523
+ # @type Offset: Integer
524
+ # @param Limit: 返回数量,默认为所有
525
+ # @type Limit: Integer
526
+
527
+ attr_accessor :Filters, :Offset, :Limit
528
+
529
+ def initialize(filters=nil, offset=nil, limit=nil)
530
+ @Filters = filters
531
+ @Offset = offset
532
+ @Limit = limit
533
+ end
534
+
535
+ def deserialize(params)
536
+ unless params['Filters'].nil?
537
+ @Filters = []
538
+ params['Filters'].each do |i|
539
+ filter_tmp = Filter.new
540
+ filter_tmp.deserialize(i)
541
+ @Filters << filter_tmp
542
+ end
543
+ end
544
+ @Offset = params['Offset']
545
+ @Limit = params['Limit']
546
+ end
547
+ end
548
+
549
+ # DescribeAccessGroups返回参数结构体
550
+ class DescribeAccessGroupsResponse < TencentCloud::Common::AbstractModel
551
+ # @param AccessGroups: 权限组列表
552
+ # @type AccessGroups: Array
553
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
554
+ # @type RequestId: String
555
+
556
+ attr_accessor :AccessGroups, :RequestId
557
+
558
+ def initialize(accessgroups=nil, requestid=nil)
559
+ @AccessGroups = accessgroups
560
+ @RequestId = requestid
561
+ end
562
+
563
+ def deserialize(params)
564
+ unless params['AccessGroups'].nil?
565
+ @AccessGroups = []
566
+ params['AccessGroups'].each do |i|
567
+ accessgroup_tmp = AccessGroup.new
568
+ accessgroup_tmp.deserialize(i)
569
+ @AccessGroups << accessgroup_tmp
570
+ end
571
+ end
572
+ @RequestId = params['RequestId']
573
+ end
574
+ end
575
+
576
+ # DescribeAccessRules请求参数结构体
577
+ class DescribeAccessRulesRequest < TencentCloud::Common::AbstractModel
578
+ # @param AccessGroupId: 权限组ID
579
+ # @type AccessGroupId: String
580
+ # @param Offset: 偏移量,默认为0
581
+ # @type Offset: Integer
582
+ # @param Limit: 返回数量,默认为所有
583
+ # @type Limit: Integer
584
+
585
+ attr_accessor :AccessGroupId, :Offset, :Limit
586
+
587
+ def initialize(accessgroupid=nil, offset=nil, limit=nil)
588
+ @AccessGroupId = accessgroupid
589
+ @Offset = offset
590
+ @Limit = limit
591
+ end
592
+
593
+ def deserialize(params)
594
+ @AccessGroupId = params['AccessGroupId']
595
+ @Offset = params['Offset']
596
+ @Limit = params['Limit']
597
+ end
598
+ end
599
+
600
+ # DescribeAccessRules返回参数结构体
601
+ class DescribeAccessRulesResponse < TencentCloud::Common::AbstractModel
602
+ # @param AccessRules: 权限规则列表
603
+ # @type AccessRules: Array
604
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
605
+ # @type RequestId: String
606
+
607
+ attr_accessor :AccessRules, :RequestId
608
+
609
+ def initialize(accessrules=nil, requestid=nil)
610
+ @AccessRules = accessrules
611
+ @RequestId = requestid
612
+ end
613
+
614
+ def deserialize(params)
615
+ unless params['AccessRules'].nil?
616
+ @AccessRules = []
617
+ params['AccessRules'].each do |i|
618
+ accessrule_tmp = AccessRule.new
619
+ accessrule_tmp.deserialize(i)
620
+ @AccessRules << accessrule_tmp
621
+ end
622
+ end
623
+ @RequestId = params['RequestId']
624
+ end
625
+ end
626
+
627
+ # DescribeFileSystem请求参数结构体
628
+ class DescribeFileSystemRequest < TencentCloud::Common::AbstractModel
629
+ # @param FileSystemId: 文件系统ID
630
+ # @type FileSystemId: String
631
+
632
+ attr_accessor :FileSystemId
633
+
634
+ def initialize(filesystemid=nil)
635
+ @FileSystemId = filesystemid
636
+ end
637
+
638
+ def deserialize(params)
639
+ @FileSystemId = params['FileSystemId']
640
+ end
641
+ end
642
+
643
+ # DescribeFileSystem返回参数结构体
644
+ class DescribeFileSystemResponse < TencentCloud::Common::AbstractModel
645
+ # @param FileSystem: 文件系统
646
+ # @type FileSystem: :class:`Tencentcloud::Chdfs.v20190718.models.FileSystem`
647
+ # @param FileSystemCapacityUsed: 文件系统已使用容量(已弃用)
648
+ # 注意:此字段可能返回 null,表示取不到有效值。
649
+ # @type FileSystemCapacityUsed: Integer
650
+ # @param CapacityUsed: 已使用容量(byte),包括标准和归档存储
651
+ # 注意:此字段可能返回 null,表示取不到有效值。
652
+ # @type CapacityUsed: Integer
653
+ # @param ArchiveCapacityUsed: 已使用归档存储容量(byte)
654
+ # 注意:此字段可能返回 null,表示取不到有效值。
655
+ # @type ArchiveCapacityUsed: Integer
656
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
657
+ # @type RequestId: String
658
+
659
+ attr_accessor :FileSystem, :FileSystemCapacityUsed, :CapacityUsed, :ArchiveCapacityUsed, :RequestId
660
+
661
+ def initialize(filesystem=nil, filesystemcapacityused=nil, capacityused=nil, archivecapacityused=nil, requestid=nil)
662
+ @FileSystem = filesystem
663
+ @FileSystemCapacityUsed = filesystemcapacityused
664
+ @CapacityUsed = capacityused
665
+ @ArchiveCapacityUsed = archivecapacityused
666
+ @RequestId = requestid
667
+ end
668
+
669
+ def deserialize(params)
670
+ unless params['FileSystem'].nil?
671
+ @FileSystem = FileSystem.new
672
+ @FileSystem.deserialize(params['FileSystem'])
673
+ end
674
+ @FileSystemCapacityUsed = params['FileSystemCapacityUsed']
675
+ @CapacityUsed = params['CapacityUsed']
676
+ @ArchiveCapacityUsed = params['ArchiveCapacityUsed']
677
+ @RequestId = params['RequestId']
678
+ end
679
+ end
680
+
681
+ # DescribeFileSystems请求参数结构体
682
+ class DescribeFileSystemsRequest < TencentCloud::Common::AbstractModel
683
+ # @param Offset: 偏移量,默认为0
684
+ # @type Offset: Integer
685
+ # @param Limit: 返回数量,默认为所有
686
+ # @type Limit: Integer
687
+
688
+ attr_accessor :Offset, :Limit
689
+
690
+ def initialize(offset=nil, limit=nil)
691
+ @Offset = offset
692
+ @Limit = limit
693
+ end
694
+
695
+ def deserialize(params)
696
+ @Offset = params['Offset']
697
+ @Limit = params['Limit']
698
+ end
699
+ end
700
+
701
+ # DescribeFileSystems返回参数结构体
702
+ class DescribeFileSystemsResponse < TencentCloud::Common::AbstractModel
703
+ # @param FileSystems: 文件系统列表
704
+ # @type FileSystems: Array
705
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
706
+ # @type RequestId: String
707
+
708
+ attr_accessor :FileSystems, :RequestId
709
+
710
+ def initialize(filesystems=nil, requestid=nil)
711
+ @FileSystems = filesystems
712
+ @RequestId = requestid
713
+ end
714
+
715
+ def deserialize(params)
716
+ unless params['FileSystems'].nil?
717
+ @FileSystems = []
718
+ params['FileSystems'].each do |i|
719
+ filesystem_tmp = FileSystem.new
720
+ filesystem_tmp.deserialize(i)
721
+ @FileSystems << filesystem_tmp
722
+ end
723
+ end
724
+ @RequestId = params['RequestId']
725
+ end
726
+ end
727
+
728
+ # DescribeLifeCycleRules请求参数结构体
729
+ class DescribeLifeCycleRulesRequest < TencentCloud::Common::AbstractModel
730
+ # @param FileSystemId: 文件系统ID
731
+ # @type FileSystemId: String
732
+
733
+ attr_accessor :FileSystemId
734
+
735
+ def initialize(filesystemid=nil)
736
+ @FileSystemId = filesystemid
737
+ end
738
+
739
+ def deserialize(params)
740
+ @FileSystemId = params['FileSystemId']
741
+ end
742
+ end
743
+
744
+ # DescribeLifeCycleRules返回参数结构体
745
+ class DescribeLifeCycleRulesResponse < TencentCloud::Common::AbstractModel
746
+ # @param LifeCycleRules: 生命周期规则列表
747
+ # @type LifeCycleRules: Array
748
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
749
+ # @type RequestId: String
750
+
751
+ attr_accessor :LifeCycleRules, :RequestId
752
+
753
+ def initialize(lifecyclerules=nil, requestid=nil)
754
+ @LifeCycleRules = lifecyclerules
755
+ @RequestId = requestid
756
+ end
757
+
758
+ def deserialize(params)
759
+ unless params['LifeCycleRules'].nil?
760
+ @LifeCycleRules = []
761
+ params['LifeCycleRules'].each do |i|
762
+ lifecyclerule_tmp = LifeCycleRule.new
763
+ lifecyclerule_tmp.deserialize(i)
764
+ @LifeCycleRules << lifecyclerule_tmp
765
+ end
766
+ end
767
+ @RequestId = params['RequestId']
768
+ end
769
+ end
770
+
771
+ # DescribeMountPoint请求参数结构体
772
+ class DescribeMountPointRequest < TencentCloud::Common::AbstractModel
773
+ # @param MountPointId: 挂载点ID
774
+ # @type MountPointId: String
775
+
776
+ attr_accessor :MountPointId
777
+
778
+ def initialize(mountpointid=nil)
779
+ @MountPointId = mountpointid
780
+ end
781
+
782
+ def deserialize(params)
783
+ @MountPointId = params['MountPointId']
784
+ end
785
+ end
786
+
787
+ # DescribeMountPoint返回参数结构体
788
+ class DescribeMountPointResponse < TencentCloud::Common::AbstractModel
789
+ # @param MountPoint: 挂载点
790
+ # @type MountPoint: :class:`Tencentcloud::Chdfs.v20190718.models.MountPoint`
791
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
792
+ # @type RequestId: String
793
+
794
+ attr_accessor :MountPoint, :RequestId
795
+
796
+ def initialize(mountpoint=nil, requestid=nil)
797
+ @MountPoint = mountpoint
798
+ @RequestId = requestid
799
+ end
800
+
801
+ def deserialize(params)
802
+ unless params['MountPoint'].nil?
803
+ @MountPoint = MountPoint.new
804
+ @MountPoint.deserialize(params['MountPoint'])
805
+ end
806
+ @RequestId = params['RequestId']
807
+ end
808
+ end
809
+
810
+ # DescribeMountPoints请求参数结构体
811
+ class DescribeMountPointsRequest < TencentCloud::Common::AbstractModel
812
+ # @param FileSystemId: 文件系统ID
813
+ # 注意:若根据AccessGroupId查看挂载点列表,则无需设置FileSystemId
814
+ # @type FileSystemId: String
815
+ # @param AccessGroupId: 权限组ID
816
+ # 注意:若根据FileSystemId查看挂载点列表,则无需设置AccessGroupId
817
+ # @type AccessGroupId: String
818
+ # @param Offset: 偏移量,默认为0
819
+ # @type Offset: Integer
820
+ # @param Limit: 返回数量,默认为所有
821
+ # @type Limit: Integer
822
+
823
+ attr_accessor :FileSystemId, :AccessGroupId, :Offset, :Limit
824
+
825
+ def initialize(filesystemid=nil, accessgroupid=nil, offset=nil, limit=nil)
826
+ @FileSystemId = filesystemid
827
+ @AccessGroupId = accessgroupid
828
+ @Offset = offset
829
+ @Limit = limit
830
+ end
831
+
832
+ def deserialize(params)
833
+ @FileSystemId = params['FileSystemId']
834
+ @AccessGroupId = params['AccessGroupId']
835
+ @Offset = params['Offset']
836
+ @Limit = params['Limit']
837
+ end
838
+ end
839
+
840
+ # DescribeMountPoints返回参数结构体
841
+ class DescribeMountPointsResponse < TencentCloud::Common::AbstractModel
842
+ # @param MountPoints: 挂载点列表
843
+ # @type MountPoints: Array
844
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
845
+ # @type RequestId: String
846
+
847
+ attr_accessor :MountPoints, :RequestId
848
+
849
+ def initialize(mountpoints=nil, requestid=nil)
850
+ @MountPoints = mountpoints
851
+ @RequestId = requestid
852
+ end
853
+
854
+ def deserialize(params)
855
+ unless params['MountPoints'].nil?
856
+ @MountPoints = []
857
+ params['MountPoints'].each do |i|
858
+ mountpoint_tmp = MountPoint.new
859
+ mountpoint_tmp.deserialize(i)
860
+ @MountPoints << mountpoint_tmp
861
+ end
862
+ end
863
+ @RequestId = params['RequestId']
864
+ end
865
+ end
866
+
867
+ # DescribeResourceTags请求参数结构体
868
+ class DescribeResourceTagsRequest < TencentCloud::Common::AbstractModel
869
+ # @param FileSystemId: 文件系统ID
870
+ # @type FileSystemId: String
871
+
872
+ attr_accessor :FileSystemId
873
+
874
+ def initialize(filesystemid=nil)
875
+ @FileSystemId = filesystemid
876
+ end
877
+
878
+ def deserialize(params)
879
+ @FileSystemId = params['FileSystemId']
880
+ end
881
+ end
882
+
883
+ # DescribeResourceTags返回参数结构体
884
+ class DescribeResourceTagsResponse < TencentCloud::Common::AbstractModel
885
+ # @param Tags: 资源标签列表
886
+ # @type Tags: Array
887
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
888
+ # @type RequestId: String
889
+
890
+ attr_accessor :Tags, :RequestId
891
+
892
+ def initialize(tags=nil, requestid=nil)
893
+ @Tags = tags
894
+ @RequestId = requestid
895
+ end
896
+
897
+ def deserialize(params)
898
+ unless params['Tags'].nil?
899
+ @Tags = []
900
+ params['Tags'].each do |i|
901
+ tag_tmp = Tag.new
902
+ tag_tmp.deserialize(i)
903
+ @Tags << tag_tmp
904
+ end
905
+ end
906
+ @RequestId = params['RequestId']
907
+ end
908
+ end
909
+
910
+ # DescribeRestoreTasks请求参数结构体
911
+ class DescribeRestoreTasksRequest < TencentCloud::Common::AbstractModel
912
+ # @param FileSystemId: 文件系统ID
913
+ # @type FileSystemId: String
914
+
915
+ attr_accessor :FileSystemId
916
+
917
+ def initialize(filesystemid=nil)
918
+ @FileSystemId = filesystemid
919
+ end
920
+
921
+ def deserialize(params)
922
+ @FileSystemId = params['FileSystemId']
923
+ end
924
+ end
925
+
926
+ # DescribeRestoreTasks返回参数结构体
927
+ class DescribeRestoreTasksResponse < TencentCloud::Common::AbstractModel
928
+ # @param RestoreTasks: 回热任务列表
929
+ # @type RestoreTasks: Array
930
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
931
+ # @type RequestId: String
932
+
933
+ attr_accessor :RestoreTasks, :RequestId
934
+
935
+ def initialize(restoretasks=nil, requestid=nil)
936
+ @RestoreTasks = restoretasks
937
+ @RequestId = requestid
938
+ end
939
+
940
+ def deserialize(params)
941
+ unless params['RestoreTasks'].nil?
942
+ @RestoreTasks = []
943
+ params['RestoreTasks'].each do |i|
944
+ restoretask_tmp = RestoreTask.new
945
+ restoretask_tmp.deserialize(i)
946
+ @RestoreTasks << restoretask_tmp
947
+ end
948
+ end
949
+ @RequestId = params['RequestId']
950
+ end
951
+ end
952
+
953
+ # 文件系统
954
+ class FileSystem < TencentCloud::Common::AbstractModel
955
+ # @param AppId: appid
956
+ # @type AppId: Integer
957
+ # @param FileSystemName: 文件系统名称
958
+ # @type FileSystemName: String
959
+ # @param Description: 文件系统描述
960
+ # @type Description: String
961
+ # @param Region: 地域
962
+ # @type Region: String
963
+ # @param FileSystemId: 文件系统ID
964
+ # @type FileSystemId: String
965
+ # @param CreateTime: 创建时间
966
+ # @type CreateTime: String
967
+ # @param BlockSize: 文件系统块大小(byte)
968
+ # @type BlockSize: Integer
969
+ # @param CapacityQuota: 文件系统容量(byte)
970
+ # @type CapacityQuota: Integer
971
+ # @param Status: 文件系统状态(1:创建中;2:创建成功;3:创建失败)
972
+ # @type Status: Integer
973
+
974
+ attr_accessor :AppId, :FileSystemName, :Description, :Region, :FileSystemId, :CreateTime, :BlockSize, :CapacityQuota, :Status
975
+
976
+ def initialize(appid=nil, filesystemname=nil, description=nil, region=nil, filesystemid=nil, createtime=nil, blocksize=nil, capacityquota=nil, status=nil)
977
+ @AppId = appid
978
+ @FileSystemName = filesystemname
979
+ @Description = description
980
+ @Region = region
981
+ @FileSystemId = filesystemid
982
+ @CreateTime = createtime
983
+ @BlockSize = blocksize
984
+ @CapacityQuota = capacityquota
985
+ @Status = status
986
+ end
987
+
988
+ def deserialize(params)
989
+ @AppId = params['AppId']
990
+ @FileSystemName = params['FileSystemName']
991
+ @Description = params['Description']
992
+ @Region = params['Region']
993
+ @FileSystemId = params['FileSystemId']
994
+ @CreateTime = params['CreateTime']
995
+ @BlockSize = params['BlockSize']
996
+ @CapacityQuota = params['CapacityQuota']
997
+ @Status = params['Status']
998
+ end
999
+ end
1000
+
1001
+ # 过滤条件
1002
+ class Filter < TencentCloud::Common::AbstractModel
1003
+ # @param Name: 过滤字段
1004
+ # @type Name: String
1005
+ # @param Values: 过滤值
1006
+ # @type Values: Array
1007
+
1008
+ attr_accessor :Name, :Values
1009
+
1010
+ def initialize(name=nil, values=nil)
1011
+ @Name = name
1012
+ @Values = values
1013
+ end
1014
+
1015
+ def deserialize(params)
1016
+ @Name = params['Name']
1017
+ @Values = params['Values']
1018
+ end
1019
+ end
1020
+
1021
+ # 生命周期规则
1022
+ class LifeCycleRule < TencentCloud::Common::AbstractModel
1023
+ # @param LifeCycleRuleId: 生命周期规则ID
1024
+ # @type LifeCycleRuleId: Integer
1025
+ # @param LifeCycleRuleName: 生命周期规则名称
1026
+ # @type LifeCycleRuleName: String
1027
+ # @param Path: 生命周期规则路径(目录或文件)
1028
+ # @type Path: String
1029
+ # @param Transitions: 生命周期规则转换列表
1030
+ # @type Transitions: Array
1031
+ # @param Status: 生命周期规则状态(1:打开;2:关闭)
1032
+ # @type Status: Integer
1033
+ # @param CreateTime: 创建时间
1034
+ # @type CreateTime: String
1035
+
1036
+ attr_accessor :LifeCycleRuleId, :LifeCycleRuleName, :Path, :Transitions, :Status, :CreateTime
1037
+
1038
+ def initialize(lifecycleruleid=nil, lifecyclerulename=nil, path=nil, transitions=nil, status=nil, createtime=nil)
1039
+ @LifeCycleRuleId = lifecycleruleid
1040
+ @LifeCycleRuleName = lifecyclerulename
1041
+ @Path = path
1042
+ @Transitions = transitions
1043
+ @Status = status
1044
+ @CreateTime = createtime
1045
+ end
1046
+
1047
+ def deserialize(params)
1048
+ @LifeCycleRuleId = params['LifeCycleRuleId']
1049
+ @LifeCycleRuleName = params['LifeCycleRuleName']
1050
+ @Path = params['Path']
1051
+ unless params['Transitions'].nil?
1052
+ @Transitions = []
1053
+ params['Transitions'].each do |i|
1054
+ transition_tmp = Transition.new
1055
+ transition_tmp.deserialize(i)
1056
+ @Transitions << transition_tmp
1057
+ end
1058
+ end
1059
+ @Status = params['Status']
1060
+ @CreateTime = params['CreateTime']
1061
+ end
1062
+ end
1063
+
1064
+ # ModifyAccessGroup请求参数结构体
1065
+ class ModifyAccessGroupRequest < TencentCloud::Common::AbstractModel
1066
+ # @param AccessGroupId: 权限组ID
1067
+ # @type AccessGroupId: String
1068
+ # @param AccessGroupName: 权限组名称
1069
+ # @type AccessGroupName: String
1070
+ # @param Description: 权限组描述
1071
+ # @type Description: String
1072
+
1073
+ attr_accessor :AccessGroupId, :AccessGroupName, :Description
1074
+
1075
+ def initialize(accessgroupid=nil, accessgroupname=nil, description=nil)
1076
+ @AccessGroupId = accessgroupid
1077
+ @AccessGroupName = accessgroupname
1078
+ @Description = description
1079
+ end
1080
+
1081
+ def deserialize(params)
1082
+ @AccessGroupId = params['AccessGroupId']
1083
+ @AccessGroupName = params['AccessGroupName']
1084
+ @Description = params['Description']
1085
+ end
1086
+ end
1087
+
1088
+ # ModifyAccessGroup返回参数结构体
1089
+ class ModifyAccessGroupResponse < TencentCloud::Common::AbstractModel
1090
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1091
+ # @type RequestId: String
1092
+
1093
+ attr_accessor :RequestId
1094
+
1095
+ def initialize(requestid=nil)
1096
+ @RequestId = requestid
1097
+ end
1098
+
1099
+ def deserialize(params)
1100
+ @RequestId = params['RequestId']
1101
+ end
1102
+ end
1103
+
1104
+ # ModifyAccessRules请求参数结构体
1105
+ class ModifyAccessRulesRequest < TencentCloud::Common::AbstractModel
1106
+ # @param AccessRules: 多个权限规则,上限为10
1107
+ # @type AccessRules: Array
1108
+
1109
+ attr_accessor :AccessRules
1110
+
1111
+ def initialize(accessrules=nil)
1112
+ @AccessRules = accessrules
1113
+ end
1114
+
1115
+ def deserialize(params)
1116
+ unless params['AccessRules'].nil?
1117
+ @AccessRules = []
1118
+ params['AccessRules'].each do |i|
1119
+ accessrule_tmp = AccessRule.new
1120
+ accessrule_tmp.deserialize(i)
1121
+ @AccessRules << accessrule_tmp
1122
+ end
1123
+ end
1124
+ end
1125
+ end
1126
+
1127
+ # ModifyAccessRules返回参数结构体
1128
+ class ModifyAccessRulesResponse < TencentCloud::Common::AbstractModel
1129
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1130
+ # @type RequestId: String
1131
+
1132
+ attr_accessor :RequestId
1133
+
1134
+ def initialize(requestid=nil)
1135
+ @RequestId = requestid
1136
+ end
1137
+
1138
+ def deserialize(params)
1139
+ @RequestId = params['RequestId']
1140
+ end
1141
+ end
1142
+
1143
+ # ModifyFileSystem请求参数结构体
1144
+ class ModifyFileSystemRequest < TencentCloud::Common::AbstractModel
1145
+ # @param FileSystemId: 文件系统ID
1146
+ # @type FileSystemId: String
1147
+ # @param FileSystemName: 文件系统名称
1148
+ # @type FileSystemName: String
1149
+ # @param Description: 文件系统描述
1150
+ # @type Description: String
1151
+ # @param CapacityQuota: 文件系统容量(byte),下限为1G,上限为1P,且必须是1G的整数倍
1152
+ # 注意:修改的文件系统容量不能小于当前使用量
1153
+ # @type CapacityQuota: Integer
1154
+
1155
+ attr_accessor :FileSystemId, :FileSystemName, :Description, :CapacityQuota
1156
+
1157
+ def initialize(filesystemid=nil, filesystemname=nil, description=nil, capacityquota=nil)
1158
+ @FileSystemId = filesystemid
1159
+ @FileSystemName = filesystemname
1160
+ @Description = description
1161
+ @CapacityQuota = capacityquota
1162
+ end
1163
+
1164
+ def deserialize(params)
1165
+ @FileSystemId = params['FileSystemId']
1166
+ @FileSystemName = params['FileSystemName']
1167
+ @Description = params['Description']
1168
+ @CapacityQuota = params['CapacityQuota']
1169
+ end
1170
+ end
1171
+
1172
+ # ModifyFileSystem返回参数结构体
1173
+ class ModifyFileSystemResponse < TencentCloud::Common::AbstractModel
1174
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1175
+ # @type RequestId: String
1176
+
1177
+ attr_accessor :RequestId
1178
+
1179
+ def initialize(requestid=nil)
1180
+ @RequestId = requestid
1181
+ end
1182
+
1183
+ def deserialize(params)
1184
+ @RequestId = params['RequestId']
1185
+ end
1186
+ end
1187
+
1188
+ # ModifyLifeCycleRules请求参数结构体
1189
+ class ModifyLifeCycleRulesRequest < TencentCloud::Common::AbstractModel
1190
+ # @param LifeCycleRules: 多个生命周期规则,上限为10
1191
+ # @type LifeCycleRules: Array
1192
+
1193
+ attr_accessor :LifeCycleRules
1194
+
1195
+ def initialize(lifecyclerules=nil)
1196
+ @LifeCycleRules = lifecyclerules
1197
+ end
1198
+
1199
+ def deserialize(params)
1200
+ unless params['LifeCycleRules'].nil?
1201
+ @LifeCycleRules = []
1202
+ params['LifeCycleRules'].each do |i|
1203
+ lifecyclerule_tmp = LifeCycleRule.new
1204
+ lifecyclerule_tmp.deserialize(i)
1205
+ @LifeCycleRules << lifecyclerule_tmp
1206
+ end
1207
+ end
1208
+ end
1209
+ end
1210
+
1211
+ # ModifyLifeCycleRules返回参数结构体
1212
+ class ModifyLifeCycleRulesResponse < TencentCloud::Common::AbstractModel
1213
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1214
+ # @type RequestId: String
1215
+
1216
+ attr_accessor :RequestId
1217
+
1218
+ def initialize(requestid=nil)
1219
+ @RequestId = requestid
1220
+ end
1221
+
1222
+ def deserialize(params)
1223
+ @RequestId = params['RequestId']
1224
+ end
1225
+ end
1226
+
1227
+ # ModifyMountPoint请求参数结构体
1228
+ class ModifyMountPointRequest < TencentCloud::Common::AbstractModel
1229
+ # @param MountPointId: 挂载点ID
1230
+ # @type MountPointId: String
1231
+ # @param MountPointName: 挂载点名称
1232
+ # @type MountPointName: String
1233
+ # @param MountPointStatus: 挂载点状态
1234
+ # @type MountPointStatus: Integer
1235
+ # @param AccessGroupId: 权限组ID
1236
+ # @type AccessGroupId: String
1237
+
1238
+ attr_accessor :MountPointId, :MountPointName, :MountPointStatus, :AccessGroupId
1239
+
1240
+ def initialize(mountpointid=nil, mountpointname=nil, mountpointstatus=nil, accessgroupid=nil)
1241
+ @MountPointId = mountpointid
1242
+ @MountPointName = mountpointname
1243
+ @MountPointStatus = mountpointstatus
1244
+ @AccessGroupId = accessgroupid
1245
+ end
1246
+
1247
+ def deserialize(params)
1248
+ @MountPointId = params['MountPointId']
1249
+ @MountPointName = params['MountPointName']
1250
+ @MountPointStatus = params['MountPointStatus']
1251
+ @AccessGroupId = params['AccessGroupId']
1252
+ end
1253
+ end
1254
+
1255
+ # ModifyMountPoint返回参数结构体
1256
+ class ModifyMountPointResponse < TencentCloud::Common::AbstractModel
1257
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1258
+ # @type RequestId: String
1259
+
1260
+ attr_accessor :RequestId
1261
+
1262
+ def initialize(requestid=nil)
1263
+ @RequestId = requestid
1264
+ end
1265
+
1266
+ def deserialize(params)
1267
+ @RequestId = params['RequestId']
1268
+ end
1269
+ end
1270
+
1271
+ # ModifyResourceTags请求参数结构体
1272
+ class ModifyResourceTagsRequest < TencentCloud::Common::AbstractModel
1273
+ # @param FileSystemId: 文件系统ID
1274
+ # @type FileSystemId: String
1275
+ # @param Tags: 多个资源标签,可以为空数组
1276
+ # @type Tags: Array
1277
+
1278
+ attr_accessor :FileSystemId, :Tags
1279
+
1280
+ def initialize(filesystemid=nil, tags=nil)
1281
+ @FileSystemId = filesystemid
1282
+ @Tags = tags
1283
+ end
1284
+
1285
+ def deserialize(params)
1286
+ @FileSystemId = params['FileSystemId']
1287
+ unless params['Tags'].nil?
1288
+ @Tags = []
1289
+ params['Tags'].each do |i|
1290
+ tag_tmp = Tag.new
1291
+ tag_tmp.deserialize(i)
1292
+ @Tags << tag_tmp
1293
+ end
1294
+ end
1295
+ end
1296
+ end
1297
+
1298
+ # ModifyResourceTags返回参数结构体
1299
+ class ModifyResourceTagsResponse < TencentCloud::Common::AbstractModel
1300
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1301
+ # @type RequestId: String
1302
+
1303
+ attr_accessor :RequestId
1304
+
1305
+ def initialize(requestid=nil)
1306
+ @RequestId = requestid
1307
+ end
1308
+
1309
+ def deserialize(params)
1310
+ @RequestId = params['RequestId']
1311
+ end
1312
+ end
1313
+
1314
+ # 挂载点
1315
+ class MountPoint < TencentCloud::Common::AbstractModel
1316
+ # @param MountPointId: 挂载点ID
1317
+ # @type MountPointId: String
1318
+ # @param MountPointName: 挂载点名称
1319
+ # @type MountPointName: String
1320
+ # @param FileSystemId: 文件系统ID
1321
+ # @type FileSystemId: String
1322
+ # @param AccessGroupId: 权限组ID
1323
+ # @type AccessGroupId: String
1324
+ # @param VpcId: VPC网络ID
1325
+ # @type VpcId: String
1326
+ # @param Status: 挂载点状态(1:打开;2:关闭)
1327
+ # @type Status: Integer
1328
+ # @param CreateTime: 创建时间
1329
+ # @type CreateTime: String
1330
+ # @param VpcType: VPC网络类型
1331
+ # @type VpcType: Integer
1332
+
1333
+ attr_accessor :MountPointId, :MountPointName, :FileSystemId, :AccessGroupId, :VpcId, :Status, :CreateTime, :VpcType
1334
+
1335
+ def initialize(mountpointid=nil, mountpointname=nil, filesystemid=nil, accessgroupid=nil, vpcid=nil, status=nil, createtime=nil, vpctype=nil)
1336
+ @MountPointId = mountpointid
1337
+ @MountPointName = mountpointname
1338
+ @FileSystemId = filesystemid
1339
+ @AccessGroupId = accessgroupid
1340
+ @VpcId = vpcid
1341
+ @Status = status
1342
+ @CreateTime = createtime
1343
+ @VpcType = vpctype
1344
+ end
1345
+
1346
+ def deserialize(params)
1347
+ @MountPointId = params['MountPointId']
1348
+ @MountPointName = params['MountPointName']
1349
+ @FileSystemId = params['FileSystemId']
1350
+ @AccessGroupId = params['AccessGroupId']
1351
+ @VpcId = params['VpcId']
1352
+ @Status = params['Status']
1353
+ @CreateTime = params['CreateTime']
1354
+ @VpcType = params['VpcType']
1355
+ end
1356
+ end
1357
+
1358
+ # 回热任务
1359
+ class RestoreTask < TencentCloud::Common::AbstractModel
1360
+ # @param RestoreTaskId: 回热任务ID
1361
+ # @type RestoreTaskId: Integer
1362
+ # @param FilePath: 回热任务文件路径
1363
+ # @type FilePath: String
1364
+ # @param Type: 回热任务类型(1:标准;2:极速;3:批量)
1365
+ # @type Type: Integer
1366
+ # @param Days: 指定恢复出的临时副本的有效时长(单位天)
1367
+ # @type Days: Integer
1368
+ # @param Status: 回热任务状态(1:绑定文件中;2:绑定文件完成;3:文件回热中;4:文件回热完成)
1369
+ # @type Status: Integer
1370
+ # @param CreateTime: 创建时间
1371
+ # @type CreateTime: String
1372
+
1373
+ attr_accessor :RestoreTaskId, :FilePath, :Type, :Days, :Status, :CreateTime
1374
+
1375
+ def initialize(restoretaskid=nil, filepath=nil, type=nil, days=nil, status=nil, createtime=nil)
1376
+ @RestoreTaskId = restoretaskid
1377
+ @FilePath = filepath
1378
+ @Type = type
1379
+ @Days = days
1380
+ @Status = status
1381
+ @CreateTime = createtime
1382
+ end
1383
+
1384
+ def deserialize(params)
1385
+ @RestoreTaskId = params['RestoreTaskId']
1386
+ @FilePath = params['FilePath']
1387
+ @Type = params['Type']
1388
+ @Days = params['Days']
1389
+ @Status = params['Status']
1390
+ @CreateTime = params['CreateTime']
1391
+ end
1392
+ end
1393
+
1394
+ # 资源标签。
1395
+ class Tag < TencentCloud::Common::AbstractModel
1396
+ # @param Key: 标签键
1397
+ # @type Key: String
1398
+ # @param Value: 标签值
1399
+ # @type Value: String
1400
+
1401
+ attr_accessor :Key, :Value
1402
+
1403
+ def initialize(key=nil, value=nil)
1404
+ @Key = key
1405
+ @Value = value
1406
+ end
1407
+
1408
+ def deserialize(params)
1409
+ @Key = params['Key']
1410
+ @Value = params['Value']
1411
+ end
1412
+ end
1413
+
1414
+ # 生命周期规则转换属性
1415
+ class Transition < TencentCloud::Common::AbstractModel
1416
+ # @param Days: 触发时间(单位天)
1417
+ # @type Days: Integer
1418
+ # @param Type: 转换类型(1:归档;2:删除)
1419
+ # @type Type: Integer
1420
+
1421
+ attr_accessor :Days, :Type
1422
+
1423
+ def initialize(days=nil, type=nil)
1424
+ @Days = days
1425
+ @Type = type
1426
+ end
1427
+
1428
+ def deserialize(params)
1429
+ @Days = params['Days']
1430
+ @Type = params['Type']
1431
+ end
1432
+ end
1433
+
1434
+ end
1435
+ end
1436
+ end
1437
+