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