tencentcloud-sdk-goosefs 3.0.625 → 3.0.627

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 70231a6ab026e050e8e37a5b59f83feea3b3f0f0
4
- data.tar.gz: 66f991a0f3a56c68c1cf42d42d8d19161867436e
3
+ metadata.gz: 2aff45326cca1202e36f76b50bb3e231a961f8e7
4
+ data.tar.gz: 3861cf031a07e24b89c9bc88fc763245db0adff5
5
5
  SHA512:
6
- metadata.gz: 540abac88021a2ebd1337e04e989e56f025d7f4dacbd67a23f60649e3b8d167949a2714edc3b3a2a4135d5a3942b459ff6c08f237b859cecc617b91cf947f3a9
7
- data.tar.gz: 194c78342b9a6c09ab6c11bedf7a6203fe29392948f5b36a06df712dcc1b77d26acfe78c52de3c6986a2b8c5a0ca592821f33ebc5c88e1754b0d030a5a46ec8a
6
+ metadata.gz: 3e9a9c8aa82d2c6d65838d983c4572a0e68526dd67352a848a8d75872e674bdea29b4c920f3042316d9e588379cd1caf51e4a52fa987215fd5a069e48e2922d5
7
+ data.tar.gz: 1b05aaac1bd15681e5c3775f76e79d8c48c3e35808bc2f575ff0006a7acc92a962d3cccf497cf492b5580a64eb7f34cee8abb5b90127b78d201a50d326472174
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 3.0.625
1
+ 3.0.627
@@ -29,6 +29,102 @@ module TencentCloud
29
29
  end
30
30
 
31
31
 
32
+ # 为客户端节点添加跨vpc或子网访问能力
33
+
34
+ # @param request: Request instance for AddCrossVpcSubnetSupportForClientNode.
35
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::AddCrossVpcSubnetSupportForClientNodeRequest`
36
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::AddCrossVpcSubnetSupportForClientNodeResponse`
37
+ def AddCrossVpcSubnetSupportForClientNode(request)
38
+ body = send_request('AddCrossVpcSubnetSupportForClientNode', request.serialize)
39
+ response = JSON.parse(body)
40
+ if response['Response'].key?('Error') == false
41
+ model = AddCrossVpcSubnetSupportForClientNodeResponse.new
42
+ model.deserialize(response['Response'])
43
+ model
44
+ else
45
+ code = response['Response']['Error']['Code']
46
+ message = response['Response']['Error']['Message']
47
+ reqid = response['Response']['RequestId']
48
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
49
+ end
50
+ rescue TencentCloud::Common::TencentCloudSDKException => e
51
+ raise e
52
+ rescue StandardError => e
53
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
+ end
55
+
56
+ # 为文件系统关联Bucket
57
+
58
+ # @param request: Request instance for AttachFileSystemBucket.
59
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::AttachFileSystemBucketRequest`
60
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::AttachFileSystemBucketResponse`
61
+ def AttachFileSystemBucket(request)
62
+ body = send_request('AttachFileSystemBucket', request.serialize)
63
+ response = JSON.parse(body)
64
+ if response['Response'].key?('Error') == false
65
+ model = AttachFileSystemBucketResponse.new
66
+ model.deserialize(response['Response'])
67
+ model
68
+ else
69
+ code = response['Response']['Error']['Code']
70
+ message = response['Response']['Error']['Message']
71
+ reqid = response['Response']['RequestId']
72
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
73
+ end
74
+ rescue TencentCloud::Common::TencentCloudSDKException => e
75
+ raise e
76
+ rescue StandardError => e
77
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
78
+ end
79
+
80
+ # 批量添加客户端节点
81
+
82
+ # @param request: Request instance for BatchAddClientNodes.
83
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::BatchAddClientNodesRequest`
84
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::BatchAddClientNodesResponse`
85
+ def BatchAddClientNodes(request)
86
+ body = send_request('BatchAddClientNodes', request.serialize)
87
+ response = JSON.parse(body)
88
+ if response['Response'].key?('Error') == false
89
+ model = BatchAddClientNodesResponse.new
90
+ model.deserialize(response['Response'])
91
+ model
92
+ else
93
+ code = response['Response']['Error']['Code']
94
+ message = response['Response']['Error']['Message']
95
+ reqid = response['Response']['RequestId']
96
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
97
+ end
98
+ rescue TencentCloud::Common::TencentCloudSDKException => e
99
+ raise e
100
+ rescue StandardError => e
101
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
102
+ end
103
+
104
+ # 批量删除客户端节点
105
+
106
+ # @param request: Request instance for BatchDeleteClientNodes.
107
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::BatchDeleteClientNodesRequest`
108
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::BatchDeleteClientNodesResponse`
109
+ def BatchDeleteClientNodes(request)
110
+ body = send_request('BatchDeleteClientNodes', request.serialize)
111
+ response = JSON.parse(body)
112
+ if response['Response'].key?('Error') == false
113
+ model = BatchDeleteClientNodesResponse.new
114
+ model.deserialize(response['Response'])
115
+ model
116
+ else
117
+ code = response['Response']['Error']['Code']
118
+ message = response['Response']['Error']['Message']
119
+ reqid = response['Response']['RequestId']
120
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
121
+ end
122
+ rescue TencentCloud::Common::TencentCloudSDKException => e
123
+ raise e
124
+ rescue StandardError => e
125
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
126
+ end
127
+
32
128
  # 创建数据流通任务,包括从将文件系统的数据上传到存储桶下, 以及从存储桶下载到文件系统里。
33
129
 
34
130
  # @param request: Request instance for CreateDataRepositoryTask.
@@ -53,6 +149,102 @@ module TencentCloud
53
149
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
54
150
  end
55
151
 
152
+ # 创建文件系统
153
+
154
+ # @param request: Request instance for CreateFileSystem.
155
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::CreateFileSystemRequest`
156
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::CreateFileSystemResponse`
157
+ def CreateFileSystem(request)
158
+ body = send_request('CreateFileSystem', request.serialize)
159
+ response = JSON.parse(body)
160
+ if response['Response'].key?('Error') == false
161
+ model = CreateFileSystemResponse.new
162
+ model.deserialize(response['Response'])
163
+ model
164
+ else
165
+ code = response['Response']['Error']['Code']
166
+ message = response['Response']['Error']['Message']
167
+ reqid = response['Response']['RequestId']
168
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
169
+ end
170
+ rescue TencentCloud::Common::TencentCloudSDKException => e
171
+ raise e
172
+ rescue StandardError => e
173
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
174
+ end
175
+
176
+ # 为客户端节点删除跨vpc子网访问能力
177
+
178
+ # @param request: Request instance for DeleteCrossVpcSubnetSupportForClientNode.
179
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::DeleteCrossVpcSubnetSupportForClientNodeRequest`
180
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::DeleteCrossVpcSubnetSupportForClientNodeResponse`
181
+ def DeleteCrossVpcSubnetSupportForClientNode(request)
182
+ body = send_request('DeleteCrossVpcSubnetSupportForClientNode', request.serialize)
183
+ response = JSON.parse(body)
184
+ if response['Response'].key?('Error') == false
185
+ model = DeleteCrossVpcSubnetSupportForClientNodeResponse.new
186
+ model.deserialize(response['Response'])
187
+ model
188
+ else
189
+ code = response['Response']['Error']['Code']
190
+ message = response['Response']['Error']['Message']
191
+ reqid = response['Response']['RequestId']
192
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
193
+ end
194
+ rescue TencentCloud::Common::TencentCloudSDKException => e
195
+ raise e
196
+ rescue StandardError => e
197
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
198
+ end
199
+
200
+ # 删除文件系统
201
+
202
+ # @param request: Request instance for DeleteFileSystem.
203
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::DeleteFileSystemRequest`
204
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::DeleteFileSystemResponse`
205
+ def DeleteFileSystem(request)
206
+ body = send_request('DeleteFileSystem', request.serialize)
207
+ response = JSON.parse(body)
208
+ if response['Response'].key?('Error') == false
209
+ model = DeleteFileSystemResponse.new
210
+ model.deserialize(response['Response'])
211
+ model
212
+ else
213
+ code = response['Response']['Error']['Code']
214
+ message = response['Response']['Error']['Message']
215
+ reqid = response['Response']['RequestId']
216
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
217
+ end
218
+ rescue TencentCloud::Common::TencentCloudSDKException => e
219
+ raise e
220
+ rescue StandardError => e
221
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
222
+ end
223
+
224
+ # 列出集群中所有的客户端节点
225
+
226
+ # @param request: Request instance for DescribeClientNodes.
227
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::DescribeClientNodesRequest`
228
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::DescribeClientNodesResponse`
229
+ def DescribeClientNodes(request)
230
+ body = send_request('DescribeClientNodes', request.serialize)
231
+ response = JSON.parse(body)
232
+ if response['Response'].key?('Error') == false
233
+ model = DescribeClientNodesResponse.new
234
+ model.deserialize(response['Response'])
235
+ model
236
+ else
237
+ code = response['Response']['Error']['Code']
238
+ message = response['Response']['Error']['Message']
239
+ reqid = response['Response']['RequestId']
240
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
241
+ end
242
+ rescue TencentCloud::Common::TencentCloudSDKException => e
243
+ raise e
244
+ rescue StandardError => e
245
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
246
+ end
247
+
56
248
  # 查询GooseFS集群客户端凭证
57
249
 
58
250
  # @param request: Request instance for DescribeClusterClientToken.
@@ -149,6 +341,174 @@ module TencentCloud
149
341
  raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
150
342
  end
151
343
 
344
+ # 罗列文件系统关联的Bucket映射
345
+
346
+ # @param request: Request instance for DescribeFileSystemBuckets.
347
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::DescribeFileSystemBucketsRequest`
348
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::DescribeFileSystemBucketsResponse`
349
+ def DescribeFileSystemBuckets(request)
350
+ body = send_request('DescribeFileSystemBuckets', request.serialize)
351
+ response = JSON.parse(body)
352
+ if response['Response'].key?('Error') == false
353
+ model = DescribeFileSystemBucketsResponse.new
354
+ model.deserialize(response['Response'])
355
+ model
356
+ else
357
+ code = response['Response']['Error']['Code']
358
+ message = response['Response']['Error']['Message']
359
+ reqid = response['Response']['RequestId']
360
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
361
+ end
362
+ rescue TencentCloud::Common::TencentCloudSDKException => e
363
+ raise e
364
+ rescue StandardError => e
365
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
366
+ end
367
+
368
+ # 列出所有的文件系统
369
+
370
+ # @param request: Request instance for DescribeFileSystems.
371
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::DescribeFileSystemsRequest`
372
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::DescribeFileSystemsResponse`
373
+ def DescribeFileSystems(request)
374
+ body = send_request('DescribeFileSystems', request.serialize)
375
+ response = JSON.parse(body)
376
+ if response['Response'].key?('Error') == false
377
+ model = DescribeFileSystemsResponse.new
378
+ model.deserialize(response['Response'])
379
+ model
380
+ else
381
+ code = response['Response']['Error']['Code']
382
+ message = response['Response']['Error']['Message']
383
+ reqid = response['Response']['RequestId']
384
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
385
+ end
386
+ rescue TencentCloud::Common::TencentCloudSDKException => e
387
+ raise e
388
+ rescue StandardError => e
389
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
390
+ end
391
+
392
+ # 解绑文件系统与Bucket的映射
393
+
394
+ # @param request: Request instance for DetachFileSystemBucket.
395
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::DetachFileSystemBucketRequest`
396
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::DetachFileSystemBucketResponse`
397
+ def DetachFileSystemBucket(request)
398
+ body = send_request('DetachFileSystemBucket', request.serialize)
399
+ response = JSON.parse(body)
400
+ if response['Response'].key?('Error') == false
401
+ model = DetachFileSystemBucketResponse.new
402
+ model.deserialize(response['Response'])
403
+ model
404
+ else
405
+ code = response['Response']['Error']['Code']
406
+ message = response['Response']['Error']['Message']
407
+ reqid = response['Response']['RequestId']
408
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
409
+ end
410
+ rescue TencentCloud::Common::TencentCloudSDKException => e
411
+ raise e
412
+ rescue StandardError => e
413
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
414
+ end
415
+
416
+ # 扩展文件系统容量
417
+
418
+ # @param request: Request instance for ExpandCapacity.
419
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::ExpandCapacityRequest`
420
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::ExpandCapacityResponse`
421
+ def ExpandCapacity(request)
422
+ body = send_request('ExpandCapacity', request.serialize)
423
+ response = JSON.parse(body)
424
+ if response['Response'].key?('Error') == false
425
+ model = ExpandCapacityResponse.new
426
+ model.deserialize(response['Response'])
427
+ model
428
+ else
429
+ code = response['Response']['Error']['Code']
430
+ message = response['Response']['Error']['Message']
431
+ reqid = response['Response']['RequestId']
432
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
433
+ end
434
+ rescue TencentCloud::Common::TencentCloudSDKException => e
435
+ raise e
436
+ rescue StandardError => e
437
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
438
+ end
439
+
440
+ # 修改数据流动带宽
441
+
442
+ # @param request: Request instance for ModifyDataRepositoryBandwidth.
443
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::ModifyDataRepositoryBandwidthRequest`
444
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::ModifyDataRepositoryBandwidthResponse`
445
+ def ModifyDataRepositoryBandwidth(request)
446
+ body = send_request('ModifyDataRepositoryBandwidth', request.serialize)
447
+ response = JSON.parse(body)
448
+ if response['Response'].key?('Error') == false
449
+ model = ModifyDataRepositoryBandwidthResponse.new
450
+ model.deserialize(response['Response'])
451
+ model
452
+ else
453
+ code = response['Response']['Error']['Code']
454
+ message = response['Response']['Error']['Message']
455
+ reqid = response['Response']['RequestId']
456
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
457
+ end
458
+ rescue TencentCloud::Common::TencentCloudSDKException => e
459
+ raise e
460
+ rescue StandardError => e
461
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
462
+ end
463
+
464
+ # 查询客户端节点跨vpc子网访问能力
465
+
466
+ # @param request: Request instance for QueryCrossVpcSubnetSupportForClientNode.
467
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::QueryCrossVpcSubnetSupportForClientNodeRequest`
468
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::QueryCrossVpcSubnetSupportForClientNodeResponse`
469
+ def QueryCrossVpcSubnetSupportForClientNode(request)
470
+ body = send_request('QueryCrossVpcSubnetSupportForClientNode', request.serialize)
471
+ response = JSON.parse(body)
472
+ if response['Response'].key?('Error') == false
473
+ model = QueryCrossVpcSubnetSupportForClientNodeResponse.new
474
+ model.deserialize(response['Response'])
475
+ model
476
+ else
477
+ code = response['Response']['Error']['Code']
478
+ message = response['Response']['Error']['Message']
479
+ reqid = response['Response']['RequestId']
480
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
481
+ end
482
+ rescue TencentCloud::Common::TencentCloudSDKException => e
483
+ raise e
484
+ rescue StandardError => e
485
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
486
+ end
487
+
488
+ # 查询数据流动带宽
489
+
490
+ # @param request: Request instance for QueryDataRepositoryBandwidth.
491
+ # @type request: :class:`Tencentcloud::goosefs::V20220519::QueryDataRepositoryBandwidthRequest`
492
+ # @rtype: :class:`Tencentcloud::goosefs::V20220519::QueryDataRepositoryBandwidthResponse`
493
+ def QueryDataRepositoryBandwidth(request)
494
+ body = send_request('QueryDataRepositoryBandwidth', request.serialize)
495
+ response = JSON.parse(body)
496
+ if response['Response'].key?('Error') == false
497
+ model = QueryDataRepositoryBandwidthResponse.new
498
+ model.deserialize(response['Response'])
499
+ model
500
+ else
501
+ code = response['Response']['Error']['Code']
502
+ message = response['Response']['Error']['Message']
503
+ reqid = response['Response']['RequestId']
504
+ raise TencentCloud::Common::TencentCloudSDKException.new(code, message, reqid)
505
+ end
506
+ rescue TencentCloud::Common::TencentCloudSDKException => e
507
+ raise e
508
+ rescue StandardError => e
509
+ raise TencentCloud::Common::TencentCloudSDKException.new(nil, e.inspect)
510
+ end
511
+
152
512
 
153
513
  end
154
514
  end
@@ -17,6 +17,226 @@
17
17
  module TencentCloud
18
18
  module Goosefs
19
19
  module V20220519
20
+ # AddCrossVpcSubnetSupportForClientNode请求参数结构体
21
+ class AddCrossVpcSubnetSupportForClientNodeRequest < TencentCloud::Common::AbstractModel
22
+ # @param FileSystemId: 文件系统ID
23
+ # @type FileSystemId: String
24
+ # @param SubnetInfo: 子网信息
25
+ # @type SubnetInfo: :class:`Tencentcloud::Goosefs.v20220519.models.SubnetInfo`
26
+
27
+ attr_accessor :FileSystemId, :SubnetInfo
28
+
29
+ def initialize(filesystemid=nil, subnetinfo=nil)
30
+ @FileSystemId = filesystemid
31
+ @SubnetInfo = subnetinfo
32
+ end
33
+
34
+ def deserialize(params)
35
+ @FileSystemId = params['FileSystemId']
36
+ unless params['SubnetInfo'].nil?
37
+ @SubnetInfo = SubnetInfo.new
38
+ @SubnetInfo.deserialize(params['SubnetInfo'])
39
+ end
40
+ end
41
+ end
42
+
43
+ # AddCrossVpcSubnetSupportForClientNode返回参数结构体
44
+ class AddCrossVpcSubnetSupportForClientNodeResponse < TencentCloud::Common::AbstractModel
45
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
46
+ # @type RequestId: String
47
+
48
+ attr_accessor :RequestId
49
+
50
+ def initialize(requestid=nil)
51
+ @RequestId = requestid
52
+ end
53
+
54
+ def deserialize(params)
55
+ @RequestId = params['RequestId']
56
+ end
57
+ end
58
+
59
+ # AttachFileSystemBucket请求参数结构体
60
+ class AttachFileSystemBucketRequest < TencentCloud::Common::AbstractModel
61
+ # @param FileSystemId: 无
62
+ # @type FileSystemId: String
63
+ # @param Bucket: 关联新Bucket
64
+ # @type Bucket: :class:`Tencentcloud::Goosefs.v20220519.models.MappedBucket`
65
+
66
+ attr_accessor :FileSystemId, :Bucket
67
+
68
+ def initialize(filesystemid=nil, bucket=nil)
69
+ @FileSystemId = filesystemid
70
+ @Bucket = bucket
71
+ end
72
+
73
+ def deserialize(params)
74
+ @FileSystemId = params['FileSystemId']
75
+ unless params['Bucket'].nil?
76
+ @Bucket = MappedBucket.new
77
+ @Bucket.deserialize(params['Bucket'])
78
+ end
79
+ end
80
+ end
81
+
82
+ # AttachFileSystemBucket返回参数结构体
83
+ class AttachFileSystemBucketResponse < TencentCloud::Common::AbstractModel
84
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
85
+ # @type RequestId: String
86
+
87
+ attr_accessor :RequestId
88
+
89
+ def initialize(requestid=nil)
90
+ @RequestId = requestid
91
+ end
92
+
93
+ def deserialize(params)
94
+ @RequestId = params['RequestId']
95
+ end
96
+ end
97
+
98
+ # BatchAddClientNodes请求参数结构体
99
+ class BatchAddClientNodesRequest < TencentCloud::Common::AbstractModel
100
+ # @param FileSystemId: 文件系统ID
101
+ # @type FileSystemId: String
102
+ # @param ClientNodes: 添加客户端节点列表
103
+ # @type ClientNodes: Array
104
+ # @param SingleClusterFlag: 是否单集群默认是false
105
+ # @type SingleClusterFlag: Boolean
106
+
107
+ attr_accessor :FileSystemId, :ClientNodes, :SingleClusterFlag
108
+
109
+ def initialize(filesystemid=nil, clientnodes=nil, singleclusterflag=nil)
110
+ @FileSystemId = filesystemid
111
+ @ClientNodes = clientnodes
112
+ @SingleClusterFlag = singleclusterflag
113
+ end
114
+
115
+ def deserialize(params)
116
+ @FileSystemId = params['FileSystemId']
117
+ unless params['ClientNodes'].nil?
118
+ @ClientNodes = []
119
+ params['ClientNodes'].each do |i|
120
+ linuxnodeattribute_tmp = LinuxNodeAttribute.new
121
+ linuxnodeattribute_tmp.deserialize(i)
122
+ @ClientNodes << linuxnodeattribute_tmp
123
+ end
124
+ end
125
+ @SingleClusterFlag = params['SingleClusterFlag']
126
+ end
127
+ end
128
+
129
+ # BatchAddClientNodes返回参数结构体
130
+ class BatchAddClientNodesResponse < TencentCloud::Common::AbstractModel
131
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
132
+ # @type RequestId: String
133
+
134
+ attr_accessor :RequestId
135
+
136
+ def initialize(requestid=nil)
137
+ @RequestId = requestid
138
+ end
139
+
140
+ def deserialize(params)
141
+ @RequestId = params['RequestId']
142
+ end
143
+ end
144
+
145
+ # BatchDeleteClientNodes请求参数结构体
146
+ class BatchDeleteClientNodesRequest < TencentCloud::Common::AbstractModel
147
+ # @param FileSystemId: 文件系统id
148
+ # @type FileSystemId: String
149
+ # @param ClientNodes: 删除的客户端节点列表
150
+ # @type ClientNodes: Array
151
+ # @param SingleClusterFlag: 是否单集群,默认是false
152
+ # @type SingleClusterFlag: Boolean
153
+
154
+ attr_accessor :FileSystemId, :ClientNodes, :SingleClusterFlag
155
+
156
+ def initialize(filesystemid=nil, clientnodes=nil, singleclusterflag=nil)
157
+ @FileSystemId = filesystemid
158
+ @ClientNodes = clientnodes
159
+ @SingleClusterFlag = singleclusterflag
160
+ end
161
+
162
+ def deserialize(params)
163
+ @FileSystemId = params['FileSystemId']
164
+ unless params['ClientNodes'].nil?
165
+ @ClientNodes = []
166
+ params['ClientNodes'].each do |i|
167
+ linuxnodeattribute_tmp = LinuxNodeAttribute.new
168
+ linuxnodeattribute_tmp.deserialize(i)
169
+ @ClientNodes << linuxnodeattribute_tmp
170
+ end
171
+ end
172
+ @SingleClusterFlag = params['SingleClusterFlag']
173
+ end
174
+ end
175
+
176
+ # BatchDeleteClientNodes返回参数结构体
177
+ class BatchDeleteClientNodesResponse < TencentCloud::Common::AbstractModel
178
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
179
+ # @type RequestId: String
180
+
181
+ attr_accessor :RequestId
182
+
183
+ def initialize(requestid=nil)
184
+ @RequestId = requestid
185
+ end
186
+
187
+ def deserialize(params)
188
+ @RequestId = params['RequestId']
189
+ end
190
+ end
191
+
192
+ # 客户侧集群管理节点信息
193
+ class ClientClusterManagerNodeInfo < TencentCloud::Common::AbstractModel
194
+ # @param NodeIp: 客户端节点IP
195
+ # @type NodeIp: String
196
+ # @param NodeInstanceId: 节点Instance Id
197
+ # @type NodeInstanceId: String
198
+ # @param InitialPassword: 初始密码
199
+ # @type InitialPassword: String
200
+
201
+ attr_accessor :NodeIp, :NodeInstanceId, :InitialPassword
202
+
203
+ def initialize(nodeip=nil, nodeinstanceid=nil, initialpassword=nil)
204
+ @NodeIp = nodeip
205
+ @NodeInstanceId = nodeinstanceid
206
+ @InitialPassword = initialpassword
207
+ end
208
+
209
+ def deserialize(params)
210
+ @NodeIp = params['NodeIp']
211
+ @NodeInstanceId = params['NodeInstanceId']
212
+ @InitialPassword = params['InitialPassword']
213
+ end
214
+ end
215
+
216
+ # 客户端节点属性
217
+ class ClientNodeAttribute < TencentCloud::Common::AbstractModel
218
+ # @param ClientNodeIp: 客户端节点IP
219
+ # @type ClientNodeIp: String
220
+ # @param Status: 客户端节点服务状态, Active(运行中), Adding(添加中), Destroying(销毁中), Down(已停止)
221
+ # @type Status: String
222
+ # @param ClientType: 客户端节点类型,extend(扩展节点),manager(管理节点)
223
+ # @type ClientType: String
224
+
225
+ attr_accessor :ClientNodeIp, :Status, :ClientType
226
+
227
+ def initialize(clientnodeip=nil, status=nil, clienttype=nil)
228
+ @ClientNodeIp = clientnodeip
229
+ @Status = status
230
+ @ClientType = clienttype
231
+ end
232
+
233
+ def deserialize(params)
234
+ @ClientNodeIp = params['ClientNodeIp']
235
+ @Status = params['Status']
236
+ @ClientType = params['ClientType']
237
+ end
238
+ end
239
+
20
240
  # 查询Client Token
21
241
  class ClientToken < TencentCloud::Common::AbstractModel
22
242
  # @param NodeIp: 节点 IP
@@ -137,6 +357,190 @@ module TencentCloud
137
357
  end
138
358
  end
139
359
 
360
+ # CreateFileSystem请求参数结构体
361
+ class CreateFileSystemRequest < TencentCloud::Common::AbstractModel
362
+ # @param Type: 文件系统类型, 可填goosefs和goosefsx
363
+ # @type Type: String
364
+ # @param Name: 文件系统名
365
+ # @type Name: String
366
+ # @param Description: 文件系统备注描述
367
+ # @type Description: String
368
+ # @param VpcId: vpc网络ID
369
+ # @type VpcId: String
370
+ # @param SubnetId: 子网ID
371
+ # @type SubnetId: String
372
+ # @param Zone: 子网所在的可用区
373
+ # @type Zone: String
374
+ # @param Tag: 文件系统关联的tag
375
+ # @type Tag: Array
376
+ # @param GooseFSxBuildElements: GooseFSx构建时要传递的参数
377
+ # @type GooseFSxBuildElements: :class:`Tencentcloud::Goosefs.v20220519.models.GooseFSxBuildElement`
378
+
379
+ attr_accessor :Type, :Name, :Description, :VpcId, :SubnetId, :Zone, :Tag, :GooseFSxBuildElements
380
+
381
+ def initialize(type=nil, name=nil, description=nil, vpcid=nil, subnetid=nil, zone=nil, tag=nil, goosefsxbuildelements=nil)
382
+ @Type = type
383
+ @Name = name
384
+ @Description = description
385
+ @VpcId = vpcid
386
+ @SubnetId = subnetid
387
+ @Zone = zone
388
+ @Tag = tag
389
+ @GooseFSxBuildElements = goosefsxbuildelements
390
+ end
391
+
392
+ def deserialize(params)
393
+ @Type = params['Type']
394
+ @Name = params['Name']
395
+ @Description = params['Description']
396
+ @VpcId = params['VpcId']
397
+ @SubnetId = params['SubnetId']
398
+ @Zone = params['Zone']
399
+ unless params['Tag'].nil?
400
+ @Tag = []
401
+ params['Tag'].each do |i|
402
+ tag_tmp = Tag.new
403
+ tag_tmp.deserialize(i)
404
+ @Tag << tag_tmp
405
+ end
406
+ end
407
+ unless params['GooseFSxBuildElements'].nil?
408
+ @GooseFSxBuildElements = GooseFSxBuildElement.new
409
+ @GooseFSxBuildElements.deserialize(params['GooseFSxBuildElements'])
410
+ end
411
+ end
412
+ end
413
+
414
+ # CreateFileSystem返回参数结构体
415
+ class CreateFileSystemResponse < TencentCloud::Common::AbstractModel
416
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
417
+ # @type RequestId: String
418
+
419
+ attr_accessor :RequestId
420
+
421
+ def initialize(requestid=nil)
422
+ @RequestId = requestid
423
+ end
424
+
425
+ def deserialize(params)
426
+ @RequestId = params['RequestId']
427
+ end
428
+ end
429
+
430
+ # DeleteCrossVpcSubnetSupportForClientNode请求参数结构体
431
+ class DeleteCrossVpcSubnetSupportForClientNodeRequest < TencentCloud::Common::AbstractModel
432
+ # @param FileSystemId: 文件系统ID
433
+ # @type FileSystemId: String
434
+ # @param SubnetInfo: 子网信息
435
+ # @type SubnetInfo: :class:`Tencentcloud::Goosefs.v20220519.models.SubnetInfo`
436
+
437
+ attr_accessor :FileSystemId, :SubnetInfo
438
+
439
+ def initialize(filesystemid=nil, subnetinfo=nil)
440
+ @FileSystemId = filesystemid
441
+ @SubnetInfo = subnetinfo
442
+ end
443
+
444
+ def deserialize(params)
445
+ @FileSystemId = params['FileSystemId']
446
+ unless params['SubnetInfo'].nil?
447
+ @SubnetInfo = SubnetInfo.new
448
+ @SubnetInfo.deserialize(params['SubnetInfo'])
449
+ end
450
+ end
451
+ end
452
+
453
+ # DeleteCrossVpcSubnetSupportForClientNode返回参数结构体
454
+ class DeleteCrossVpcSubnetSupportForClientNodeResponse < TencentCloud::Common::AbstractModel
455
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
456
+ # @type RequestId: String
457
+
458
+ attr_accessor :RequestId
459
+
460
+ def initialize(requestid=nil)
461
+ @RequestId = requestid
462
+ end
463
+
464
+ def deserialize(params)
465
+ @RequestId = params['RequestId']
466
+ end
467
+ end
468
+
469
+ # DeleteFileSystem请求参数结构体
470
+ class DeleteFileSystemRequest < TencentCloud::Common::AbstractModel
471
+ # @param FileSystemId: 文件系统ID
472
+ # @type FileSystemId: String
473
+
474
+ attr_accessor :FileSystemId
475
+
476
+ def initialize(filesystemid=nil)
477
+ @FileSystemId = filesystemid
478
+ end
479
+
480
+ def deserialize(params)
481
+ @FileSystemId = params['FileSystemId']
482
+ end
483
+ end
484
+
485
+ # DeleteFileSystem返回参数结构体
486
+ class DeleteFileSystemResponse < TencentCloud::Common::AbstractModel
487
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
488
+ # @type RequestId: String
489
+
490
+ attr_accessor :RequestId
491
+
492
+ def initialize(requestid=nil)
493
+ @RequestId = requestid
494
+ end
495
+
496
+ def deserialize(params)
497
+ @RequestId = params['RequestId']
498
+ end
499
+ end
500
+
501
+ # DescribeClientNodes请求参数结构体
502
+ class DescribeClientNodesRequest < TencentCloud::Common::AbstractModel
503
+ # @param FileSystemId: 文件系统Id
504
+ # @type FileSystemId: String
505
+
506
+ attr_accessor :FileSystemId
507
+
508
+ def initialize(filesystemid=nil)
509
+ @FileSystemId = filesystemid
510
+ end
511
+
512
+ def deserialize(params)
513
+ @FileSystemId = params['FileSystemId']
514
+ end
515
+ end
516
+
517
+ # DescribeClientNodes返回参数结构体
518
+ class DescribeClientNodesResponse < TencentCloud::Common::AbstractModel
519
+ # @param ClientNodes: 客户端节点数组
520
+ # @type ClientNodes: Array
521
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
522
+ # @type RequestId: String
523
+
524
+ attr_accessor :ClientNodes, :RequestId
525
+
526
+ def initialize(clientnodes=nil, requestid=nil)
527
+ @ClientNodes = clientnodes
528
+ @RequestId = requestid
529
+ end
530
+
531
+ def deserialize(params)
532
+ unless params['ClientNodes'].nil?
533
+ @ClientNodes = []
534
+ params['ClientNodes'].each do |i|
535
+ clientnodeattribute_tmp = ClientNodeAttribute.new
536
+ clientnodeattribute_tmp.deserialize(i)
537
+ @ClientNodes << clientnodeattribute_tmp
538
+ end
539
+ end
540
+ @RequestId = params['RequestId']
541
+ end
542
+ end
543
+
140
544
  # DescribeClusterClientToken请求参数结构体
141
545
  class DescribeClusterClientTokenRequest < TencentCloud::Common::AbstractModel
142
546
  # @param ClusterId: 集群ID
@@ -326,6 +730,510 @@ module TencentCloud
326
730
  end
327
731
  end
328
732
 
733
+ # DescribeFileSystemBuckets请求参数结构体
734
+ class DescribeFileSystemBucketsRequest < TencentCloud::Common::AbstractModel
735
+ # @param FileSystemId: 文件系统ID
736
+ # @type FileSystemId: String
737
+
738
+ attr_accessor :FileSystemId
739
+
740
+ def initialize(filesystemid=nil)
741
+ @FileSystemId = filesystemid
742
+ end
743
+
744
+ def deserialize(params)
745
+ @FileSystemId = params['FileSystemId']
746
+ end
747
+ end
748
+
749
+ # DescribeFileSystemBuckets返回参数结构体
750
+ class DescribeFileSystemBucketsResponse < TencentCloud::Common::AbstractModel
751
+ # @param BucketList: bucket列表
752
+ # @type BucketList: Array
753
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
754
+ # @type RequestId: String
755
+
756
+ attr_accessor :BucketList, :RequestId
757
+
758
+ def initialize(bucketlist=nil, requestid=nil)
759
+ @BucketList = bucketlist
760
+ @RequestId = requestid
761
+ end
762
+
763
+ def deserialize(params)
764
+ unless params['BucketList'].nil?
765
+ @BucketList = []
766
+ params['BucketList'].each do |i|
767
+ mappedbucket_tmp = MappedBucket.new
768
+ mappedbucket_tmp.deserialize(i)
769
+ @BucketList << mappedbucket_tmp
770
+ end
771
+ end
772
+ @RequestId = params['RequestId']
773
+ end
774
+ end
775
+
776
+ # DescribeFileSystems请求参数结构体
777
+ class DescribeFileSystemsRequest < TencentCloud::Common::AbstractModel
778
+ # @param Offset: 偏移量
779
+ # @type Offset: Integer
780
+ # @param Limit: 每页的数量
781
+ # @type Limit: Integer
782
+
783
+ attr_accessor :Offset, :Limit
784
+
785
+ def initialize(offset=nil, limit=nil)
786
+ @Offset = offset
787
+ @Limit = limit
788
+ end
789
+
790
+ def deserialize(params)
791
+ @Offset = params['Offset']
792
+ @Limit = params['Limit']
793
+ end
794
+ end
795
+
796
+ # DescribeFileSystems返回参数结构体
797
+ class DescribeFileSystemsResponse < TencentCloud::Common::AbstractModel
798
+ # @param FSAttributeList: 文件系统列表
799
+ # @type FSAttributeList: Array
800
+ # @param TotalCount: 总共的文件系统数量
801
+ # @type TotalCount: Integer
802
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
803
+ # @type RequestId: String
804
+
805
+ attr_accessor :FSAttributeList, :TotalCount, :RequestId
806
+
807
+ def initialize(fsattributelist=nil, totalcount=nil, requestid=nil)
808
+ @FSAttributeList = fsattributelist
809
+ @TotalCount = totalcount
810
+ @RequestId = requestid
811
+ end
812
+
813
+ def deserialize(params)
814
+ unless params['FSAttributeList'].nil?
815
+ @FSAttributeList = []
816
+ params['FSAttributeList'].each do |i|
817
+ fsattribute_tmp = FSAttribute.new
818
+ fsattribute_tmp.deserialize(i)
819
+ @FSAttributeList << fsattribute_tmp
820
+ end
821
+ end
822
+ @TotalCount = params['TotalCount']
823
+ @RequestId = params['RequestId']
824
+ end
825
+ end
826
+
827
+ # DetachFileSystemBucket请求参数结构体
828
+ class DetachFileSystemBucketRequest < TencentCloud::Common::AbstractModel
829
+ # @param FileSystemId: 文件系统ID
830
+ # @type FileSystemId: String
831
+ # @param BucketName: 要解绑的Bucket名
832
+ # @type BucketName: String
833
+
834
+ attr_accessor :FileSystemId, :BucketName
835
+
836
+ def initialize(filesystemid=nil, bucketname=nil)
837
+ @FileSystemId = filesystemid
838
+ @BucketName = bucketname
839
+ end
840
+
841
+ def deserialize(params)
842
+ @FileSystemId = params['FileSystemId']
843
+ @BucketName = params['BucketName']
844
+ end
845
+ end
846
+
847
+ # DetachFileSystemBucket返回参数结构体
848
+ class DetachFileSystemBucketResponse < TencentCloud::Common::AbstractModel
849
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
850
+ # @type RequestId: String
851
+
852
+ attr_accessor :RequestId
853
+
854
+ def initialize(requestid=nil)
855
+ @RequestId = requestid
856
+ end
857
+
858
+ def deserialize(params)
859
+ @RequestId = params['RequestId']
860
+ end
861
+ end
862
+
863
+ # ExpandCapacity请求参数结构体
864
+ class ExpandCapacityRequest < TencentCloud::Common::AbstractModel
865
+ # @param FileSystemId: 文件系统ID
866
+ # @type FileSystemId: String
867
+ # @param ExpandedCapacity: 新增扩容的系统容量
868
+ # @type ExpandedCapacity: Integer
869
+
870
+ attr_accessor :FileSystemId, :ExpandedCapacity
871
+
872
+ def initialize(filesystemid=nil, expandedcapacity=nil)
873
+ @FileSystemId = filesystemid
874
+ @ExpandedCapacity = expandedcapacity
875
+ end
876
+
877
+ def deserialize(params)
878
+ @FileSystemId = params['FileSystemId']
879
+ @ExpandedCapacity = params['ExpandedCapacity']
880
+ end
881
+ end
882
+
883
+ # ExpandCapacity返回参数结构体
884
+ class ExpandCapacityResponse < TencentCloud::Common::AbstractModel
885
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
886
+ # @type RequestId: String
887
+
888
+ attr_accessor :RequestId
889
+
890
+ def initialize(requestid=nil)
891
+ @RequestId = requestid
892
+ end
893
+
894
+ def deserialize(params)
895
+ @RequestId = params['RequestId']
896
+ end
897
+ end
898
+
899
+ # 文件系统属性
900
+ class FSAttribute < TencentCloud::Common::AbstractModel
901
+ # @param Type: 文件系统类型, 可填goosefs和goosefsx
902
+ # @type Type: String
903
+ # @param FileSystemId: 文件系统ID
904
+ # @type FileSystemId: String
905
+ # @param CreateTime: 创建时间
906
+ # @type CreateTime: String
907
+ # @param GooseFSxAttribute: GooseFSx文件系统属性
908
+ # 注意:此字段可能返回 null,表示取不到有效值。
909
+ # @type GooseFSxAttribute: :class:`Tencentcloud::Goosefs.v20220519.models.GooseFSxAttribute`
910
+ # @param Status: 文件系统状态 ACTIVE(运行中), CREATING(创建中), DESTROYING(销毁中), FAIL(创建失败),EXPANDING(扩容中),PROBING(容灾中)
911
+ # @type Status: String
912
+ # @param Name: 文件系统名
913
+ # @type Name: String
914
+ # @param Description: 文件系统备注描述
915
+ # @type Description: String
916
+ # @param VpcId: vpc ID
917
+ # @type VpcId: String
918
+ # @param SubnetId: 子网ID
919
+ # @type SubnetId: String
920
+ # @param Zone: 子网所在的可用区
921
+ # @type Zone: String
922
+ # @param Tag: Tag数组
923
+ # 注意:此字段可能返回 null,表示取不到有效值。
924
+ # @type Tag: Array
925
+ # @param ModifyTime: 更新属性时间
926
+ # @type ModifyTime: String
927
+
928
+ attr_accessor :Type, :FileSystemId, :CreateTime, :GooseFSxAttribute, :Status, :Name, :Description, :VpcId, :SubnetId, :Zone, :Tag, :ModifyTime
929
+
930
+ def initialize(type=nil, filesystemid=nil, createtime=nil, goosefsxattribute=nil, status=nil, name=nil, description=nil, vpcid=nil, subnetid=nil, zone=nil, tag=nil, modifytime=nil)
931
+ @Type = type
932
+ @FileSystemId = filesystemid
933
+ @CreateTime = createtime
934
+ @GooseFSxAttribute = goosefsxattribute
935
+ @Status = status
936
+ @Name = name
937
+ @Description = description
938
+ @VpcId = vpcid
939
+ @SubnetId = subnetid
940
+ @Zone = zone
941
+ @Tag = tag
942
+ @ModifyTime = modifytime
943
+ end
944
+
945
+ def deserialize(params)
946
+ @Type = params['Type']
947
+ @FileSystemId = params['FileSystemId']
948
+ @CreateTime = params['CreateTime']
949
+ unless params['GooseFSxAttribute'].nil?
950
+ @GooseFSxAttribute = GooseFSxAttribute.new
951
+ @GooseFSxAttribute.deserialize(params['GooseFSxAttribute'])
952
+ end
953
+ @Status = params['Status']
954
+ @Name = params['Name']
955
+ @Description = params['Description']
956
+ @VpcId = params['VpcId']
957
+ @SubnetId = params['SubnetId']
958
+ @Zone = params['Zone']
959
+ unless params['Tag'].nil?
960
+ @Tag = []
961
+ params['Tag'].each do |i|
962
+ tag_tmp = Tag.new
963
+ tag_tmp.deserialize(i)
964
+ @Tag << tag_tmp
965
+ end
966
+ end
967
+ @ModifyTime = params['ModifyTime']
968
+ end
969
+ end
970
+
971
+ # GooseFSx文件系统的属性
972
+ class GooseFSxAttribute < TencentCloud::Common::AbstractModel
973
+ # @param Model: GooseFSx的型号
974
+ # @type Model: String
975
+ # @param Capacity: 容量单位是GB, 比如4608(4.5TB)
976
+ # @type Capacity: Integer
977
+ # @param MappedBucketList: 要关联映射的bucket列表
978
+ # @type MappedBucketList: Array
979
+ # @param ClientManagerNodeList: 客户侧管理节点信息
980
+ # @type ClientManagerNodeList: Array
981
+
982
+ attr_accessor :Model, :Capacity, :MappedBucketList, :ClientManagerNodeList
983
+
984
+ def initialize(model=nil, capacity=nil, mappedbucketlist=nil, clientmanagernodelist=nil)
985
+ @Model = model
986
+ @Capacity = capacity
987
+ @MappedBucketList = mappedbucketlist
988
+ @ClientManagerNodeList = clientmanagernodelist
989
+ end
990
+
991
+ def deserialize(params)
992
+ @Model = params['Model']
993
+ @Capacity = params['Capacity']
994
+ unless params['MappedBucketList'].nil?
995
+ @MappedBucketList = []
996
+ params['MappedBucketList'].each do |i|
997
+ mappedbucket_tmp = MappedBucket.new
998
+ mappedbucket_tmp.deserialize(i)
999
+ @MappedBucketList << mappedbucket_tmp
1000
+ end
1001
+ end
1002
+ unless params['ClientManagerNodeList'].nil?
1003
+ @ClientManagerNodeList = []
1004
+ params['ClientManagerNodeList'].each do |i|
1005
+ clientclustermanagernodeinfo_tmp = ClientClusterManagerNodeInfo.new
1006
+ clientclustermanagernodeinfo_tmp.deserialize(i)
1007
+ @ClientManagerNodeList << clientclustermanagernodeinfo_tmp
1008
+ end
1009
+ end
1010
+ end
1011
+ end
1012
+
1013
+ # GooseFSx创建时候的属性
1014
+ class GooseFSxBuildElement < TencentCloud::Common::AbstractModel
1015
+ # @param Model: GooseFSx的型号
1016
+ # @type Model: String
1017
+ # @param Capacity: 容量单位是GB, 比如4608(4.5TB)
1018
+ # @type Capacity: Integer
1019
+ # @param MappedBucketList: 要关联映射的bucket列表
1020
+ # @type MappedBucketList: Array
1021
+
1022
+ attr_accessor :Model, :Capacity, :MappedBucketList
1023
+
1024
+ def initialize(model=nil, capacity=nil, mappedbucketlist=nil)
1025
+ @Model = model
1026
+ @Capacity = capacity
1027
+ @MappedBucketList = mappedbucketlist
1028
+ end
1029
+
1030
+ def deserialize(params)
1031
+ @Model = params['Model']
1032
+ @Capacity = params['Capacity']
1033
+ unless params['MappedBucketList'].nil?
1034
+ @MappedBucketList = []
1035
+ params['MappedBucketList'].each do |i|
1036
+ mappedbucket_tmp = MappedBucket.new
1037
+ mappedbucket_tmp.deserialize(i)
1038
+ @MappedBucketList << mappedbucket_tmp
1039
+ end
1040
+ end
1041
+ end
1042
+ end
1043
+
1044
+ # 添加删除客户端节点列表
1045
+ class LinuxNodeAttribute < TencentCloud::Common::AbstractModel
1046
+ # @param InstanceId: cvmId
1047
+ # @type InstanceId: String
1048
+ # @param VpcId: 节点所属vpcid
1049
+ # @type VpcId: String
1050
+ # @param SubnetId: 节点所属子网id
1051
+ # @type SubnetId: String
1052
+ # @param LinuxClientNodeIp: linux客户端节点地址
1053
+ # @type LinuxClientNodeIp: String
1054
+
1055
+ attr_accessor :InstanceId, :VpcId, :SubnetId, :LinuxClientNodeIp
1056
+
1057
+ def initialize(instanceid=nil, vpcid=nil, subnetid=nil, linuxclientnodeip=nil)
1058
+ @InstanceId = instanceid
1059
+ @VpcId = vpcid
1060
+ @SubnetId = subnetid
1061
+ @LinuxClientNodeIp = linuxclientnodeip
1062
+ end
1063
+
1064
+ def deserialize(params)
1065
+ @InstanceId = params['InstanceId']
1066
+ @VpcId = params['VpcId']
1067
+ @SubnetId = params['SubnetId']
1068
+ @LinuxClientNodeIp = params['LinuxClientNodeIp']
1069
+ end
1070
+ end
1071
+
1072
+ # 关联的对象Bucket, 并将其映射到文件系统某个路径上
1073
+ class MappedBucket < TencentCloud::Common::AbstractModel
1074
+ # @param BucketName: 对象存储Bucket名
1075
+ # @type BucketName: String
1076
+ # @param FileSystemPath: 映射到的文件系统路径, 默认为/
1077
+ # @type FileSystemPath: String
1078
+ # @param DataRepositoryTaskAutoStrategy: 数据流动的自动策略, 包含加载与沉降。策略可以是多种的组合
1079
+ # 按需加载(OnDemandImport)
1080
+ # 自动加载元数据(AutoImportMeta)
1081
+ # 自动加载数据(AutoImportData)
1082
+ # 周期加载(PeriodImport)
1083
+
1084
+ # 周期沉降(PeriodExport)
1085
+ # 立即沉降(ImmediateExport)
1086
+ # 注意:此字段可能返回 null,表示取不到有效值。
1087
+ # @type DataRepositoryTaskAutoStrategy: Array
1088
+ # @param RuleId: 绑定bucket的数据流动策略ID
1089
+ # 注意:此字段可能返回 null,表示取不到有效值。
1090
+ # @type RuleId: String
1091
+ # @param RuleDescription: 规则备注与描述
1092
+ # 注意:此字段可能返回 null,表示取不到有效值。
1093
+ # @type RuleDescription: String
1094
+
1095
+ attr_accessor :BucketName, :FileSystemPath, :DataRepositoryTaskAutoStrategy, :RuleId, :RuleDescription
1096
+
1097
+ def initialize(bucketname=nil, filesystempath=nil, datarepositorytaskautostrategy=nil, ruleid=nil, ruledescription=nil)
1098
+ @BucketName = bucketname
1099
+ @FileSystemPath = filesystempath
1100
+ @DataRepositoryTaskAutoStrategy = datarepositorytaskautostrategy
1101
+ @RuleId = ruleid
1102
+ @RuleDescription = ruledescription
1103
+ end
1104
+
1105
+ def deserialize(params)
1106
+ @BucketName = params['BucketName']
1107
+ @FileSystemPath = params['FileSystemPath']
1108
+ @DataRepositoryTaskAutoStrategy = params['DataRepositoryTaskAutoStrategy']
1109
+ @RuleId = params['RuleId']
1110
+ @RuleDescription = params['RuleDescription']
1111
+ end
1112
+ end
1113
+
1114
+ # ModifyDataRepositoryBandwidth请求参数结构体
1115
+ class ModifyDataRepositoryBandwidthRequest < TencentCloud::Common::AbstractModel
1116
+ # @param FileSystemId: 文件系统ID
1117
+ # @type FileSystemId: String
1118
+ # @param Bandwidth: 带宽, 单位MB/S
1119
+ # @type Bandwidth: Integer
1120
+
1121
+ attr_accessor :FileSystemId, :Bandwidth
1122
+
1123
+ def initialize(filesystemid=nil, bandwidth=nil)
1124
+ @FileSystemId = filesystemid
1125
+ @Bandwidth = bandwidth
1126
+ end
1127
+
1128
+ def deserialize(params)
1129
+ @FileSystemId = params['FileSystemId']
1130
+ @Bandwidth = params['Bandwidth']
1131
+ end
1132
+ end
1133
+
1134
+ # ModifyDataRepositoryBandwidth返回参数结构体
1135
+ class ModifyDataRepositoryBandwidthResponse < TencentCloud::Common::AbstractModel
1136
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1137
+ # @type RequestId: String
1138
+
1139
+ attr_accessor :RequestId
1140
+
1141
+ def initialize(requestid=nil)
1142
+ @RequestId = requestid
1143
+ end
1144
+
1145
+ def deserialize(params)
1146
+ @RequestId = params['RequestId']
1147
+ end
1148
+ end
1149
+
1150
+ # QueryCrossVpcSubnetSupportForClientNode请求参数结构体
1151
+ class QueryCrossVpcSubnetSupportForClientNodeRequest < TencentCloud::Common::AbstractModel
1152
+ # @param FileSystemId: 文件系统ID
1153
+ # @type FileSystemId: String
1154
+
1155
+ attr_accessor :FileSystemId
1156
+
1157
+ def initialize(filesystemid=nil)
1158
+ @FileSystemId = filesystemid
1159
+ end
1160
+
1161
+ def deserialize(params)
1162
+ @FileSystemId = params['FileSystemId']
1163
+ end
1164
+ end
1165
+
1166
+ # QueryCrossVpcSubnetSupportForClientNode返回参数结构体
1167
+ class QueryCrossVpcSubnetSupportForClientNodeResponse < TencentCloud::Common::AbstractModel
1168
+ # @param SubnetInfoCollection: 支持的子网信息集合
1169
+ # @type SubnetInfoCollection: Array
1170
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1171
+ # @type RequestId: String
1172
+
1173
+ attr_accessor :SubnetInfoCollection, :RequestId
1174
+
1175
+ def initialize(subnetinfocollection=nil, requestid=nil)
1176
+ @SubnetInfoCollection = subnetinfocollection
1177
+ @RequestId = requestid
1178
+ end
1179
+
1180
+ def deserialize(params)
1181
+ unless params['SubnetInfoCollection'].nil?
1182
+ @SubnetInfoCollection = []
1183
+ params['SubnetInfoCollection'].each do |i|
1184
+ subnetinfo_tmp = SubnetInfo.new
1185
+ subnetinfo_tmp.deserialize(i)
1186
+ @SubnetInfoCollection << subnetinfo_tmp
1187
+ end
1188
+ end
1189
+ @RequestId = params['RequestId']
1190
+ end
1191
+ end
1192
+
1193
+ # QueryDataRepositoryBandwidth请求参数结构体
1194
+ class QueryDataRepositoryBandwidthRequest < TencentCloud::Common::AbstractModel
1195
+ # @param FileSystemId: 文件系统ID
1196
+ # @type FileSystemId: String
1197
+
1198
+ attr_accessor :FileSystemId
1199
+
1200
+ def initialize(filesystemid=nil)
1201
+ @FileSystemId = filesystemid
1202
+ end
1203
+
1204
+ def deserialize(params)
1205
+ @FileSystemId = params['FileSystemId']
1206
+ end
1207
+ end
1208
+
1209
+ # QueryDataRepositoryBandwidth返回参数结构体
1210
+ class QueryDataRepositoryBandwidthResponse < TencentCloud::Common::AbstractModel
1211
+ # @param Bandwidth: 数据流动带宽, 单位MB/s
1212
+ # @type Bandwidth: Integer
1213
+ # @param BandwidthStatus: 带宽状态。1:待扩容;2:运行中;3:扩容中
1214
+ # @type BandwidthStatus: Integer
1215
+ # @param MinBandwidth: 能设置的最小带宽, 单位MB/s
1216
+ # @type MinBandwidth: Integer
1217
+ # @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1218
+ # @type RequestId: String
1219
+
1220
+ attr_accessor :Bandwidth, :BandwidthStatus, :MinBandwidth, :RequestId
1221
+
1222
+ def initialize(bandwidth=nil, bandwidthstatus=nil, minbandwidth=nil, requestid=nil)
1223
+ @Bandwidth = bandwidth
1224
+ @BandwidthStatus = bandwidthstatus
1225
+ @MinBandwidth = minbandwidth
1226
+ @RequestId = requestid
1227
+ end
1228
+
1229
+ def deserialize(params)
1230
+ @Bandwidth = params['Bandwidth']
1231
+ @BandwidthStatus = params['BandwidthStatus']
1232
+ @MinBandwidth = params['MinBandwidth']
1233
+ @RequestId = params['RequestId']
1234
+ end
1235
+ end
1236
+
329
1237
  # 角色凭证
330
1238
  class RoleToken < TencentCloud::Common::AbstractModel
331
1239
  # @param RoleName: 角色名
@@ -347,6 +1255,48 @@ module TencentCloud
347
1255
  end
348
1256
  end
349
1257
 
1258
+ # vpc子网信息
1259
+ class SubnetInfo < TencentCloud::Common::AbstractModel
1260
+ # @param VpcId: vpc id
1261
+ # 注意:此字段可能返回 null,表示取不到有效值。
1262
+ # @type VpcId: String
1263
+ # @param SubnetId: 子网ID
1264
+ # 注意:此字段可能返回 null,表示取不到有效值。
1265
+ # @type SubnetId: String
1266
+
1267
+ attr_accessor :VpcId, :SubnetId
1268
+
1269
+ def initialize(vpcid=nil, subnetid=nil)
1270
+ @VpcId = vpcid
1271
+ @SubnetId = subnetid
1272
+ end
1273
+
1274
+ def deserialize(params)
1275
+ @VpcId = params['VpcId']
1276
+ @SubnetId = params['SubnetId']
1277
+ end
1278
+ end
1279
+
1280
+ # 文件系统关联的标签
1281
+ class Tag < TencentCloud::Common::AbstractModel
1282
+ # @param Key: 标签键
1283
+ # @type Key: String
1284
+ # @param Value: 标签值
1285
+ # @type Value: String
1286
+
1287
+ attr_accessor :Key, :Value
1288
+
1289
+ def initialize(key=nil, value=nil)
1290
+ @Key = key
1291
+ @Value = value
1292
+ end
1293
+
1294
+ def deserialize(params)
1295
+ @Key = params['Key']
1296
+ @Value = params['Value']
1297
+ end
1298
+ end
1299
+
350
1300
  end
351
1301
  end
352
1302
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-goosefs
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.625
4
+ version: 3.0.627
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-08-01 00:00:00.000000000 Z
11
+ date: 2023-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common