tencentcloud-sdk-thpc 1.0.220 → 1.0.224

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/VERSION +1 -1
  3. data/lib/v20211109/models.rb +95 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9939fd6860d80ba00f23d9c4579c932af3a4a678
4
- data.tar.gz: 4002bdecb36faf6422bd172a8d8e2d7e0b7f6e3f
3
+ metadata.gz: 7fbbed0b6f5cbf9cd97009ac553e167598a5eafd
4
+ data.tar.gz: 55b985af5c03ddfae0da0f216bdf558be8df2c1d
5
5
  SHA512:
6
- metadata.gz: b6f6f08a5afea5428f9914ba1e4420a8af12250a909e5e0064231f0cc8f6ed5a07c35f8a098c1d847a04705b24e5666f5dbc570eb387e89016741132d1fe8f27
7
- data.tar.gz: cfd9f17abc65544475ac1e24bf113d68228ca753a93f98fe7809af427b735bb6140ed7713fc93145785f419da1fd649a7f89eda4c9f61a37a09cffcc3eddbbd3
6
+ metadata.gz: ac83d8c1b61559ffdc937db16e567ed6dd842c8cef81ac28cc93a4c9190ad5fb753d1a44bee1768309b45a9b1b17ce839a2be450880a710cf5ca111b653608f3
7
+ data.tar.gz: 8f0eaaedc2398935fe1e7046c5a114da7690a163be478d9543ccfc449d632db1203969261beb14b8065a1f86d1c4aea4fcde147c338cc9f88886b6fefa37b7e7
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.220
1
+ 1.0.224
@@ -17,6 +17,34 @@
17
17
  module TencentCloud
18
18
  module Thpc
19
19
  module V20211109
20
+ # 描述CFS文件系统版本和挂载信息
21
+ class CFSOption < TencentCloud::Common::AbstractModel
22
+ # @param LocalPath: 文件系统本地挂载路径
23
+ # @type LocalPath: String
24
+ # @param RemotePath: 文件系统远程挂载ip及路径
25
+ # @type RemotePath: String
26
+ # @param Protocol: 文件系统协议类型,默认值NFS 3.0
27
+ # @type Protocol: String
28
+ # @param StorageType: 文件系统存储类型,默认值SD
29
+ # @type StorageType: String
30
+
31
+ attr_accessor :LocalPath, :RemotePath, :Protocol, :StorageType
32
+
33
+ def initialize(localpath=nil, remotepath=nil, protocol=nil, storagetype=nil)
34
+ @LocalPath = localpath
35
+ @RemotePath = remotepath
36
+ @Protocol = protocol
37
+ @StorageType = storagetype
38
+ end
39
+
40
+ def deserialize(params)
41
+ @LocalPath = params['LocalPath']
42
+ @RemotePath = params['RemotePath']
43
+ @Protocol = params['Protocol']
44
+ @StorageType = params['StorageType']
45
+ end
46
+ end
47
+
20
48
  # 计算节点信息。
21
49
  class ComputeNode < TencentCloud::Common::AbstractModel
22
50
  # @param InstanceChargeType: 节点[计费类型](https://cloud.tencent.com/document/product/213/2180)。<br><li>PREPAID:预付费,即包年包月<br><li>POSTPAID_BY_HOUR:按小时后付费<br><li>SPOTPAID:竞价付费<br>默认值:POSTPAID_BY_HOUR。
@@ -112,10 +140,12 @@ module TencentCloud
112
140
  # @type AccountType: String
113
141
  # @param ClusterName: 集群显示名称。
114
142
  # @type ClusterName: String
143
+ # @param StorageOption: 集群存储选项
144
+ # @type StorageOption: :class:`Tencentcloud::Thpc.v20211109.models.StorageOption`
115
145
 
116
- attr_accessor :Placement, :ManagerNode, :ManagerNodeCount, :ComputeNode, :ComputeNodeCount, :SchedulerType, :ImageId, :VirtualPrivateCloud, :LoginSettings, :SecurityGroupIds, :ClientToken, :DryRun, :AccountType, :ClusterName
146
+ attr_accessor :Placement, :ManagerNode, :ManagerNodeCount, :ComputeNode, :ComputeNodeCount, :SchedulerType, :ImageId, :VirtualPrivateCloud, :LoginSettings, :SecurityGroupIds, :ClientToken, :DryRun, :AccountType, :ClusterName, :StorageOption
117
147
 
118
- def initialize(placement=nil, managernode=nil, managernodecount=nil, computenode=nil, computenodecount=nil, schedulertype=nil, imageid=nil, virtualprivatecloud=nil, loginsettings=nil, securitygroupids=nil, clienttoken=nil, dryrun=nil, accounttype=nil, clustername=nil)
148
+ def initialize(placement=nil, managernode=nil, managernodecount=nil, computenode=nil, computenodecount=nil, schedulertype=nil, imageid=nil, virtualprivatecloud=nil, loginsettings=nil, securitygroupids=nil, clienttoken=nil, dryrun=nil, accounttype=nil, clustername=nil, storageoption=nil)
119
149
  @Placement = placement
120
150
  @ManagerNode = managernode
121
151
  @ManagerNodeCount = managernodecount
@@ -130,6 +160,7 @@ module TencentCloud
130
160
  @DryRun = dryrun
131
161
  @AccountType = accounttype
132
162
  @ClusterName = clustername
163
+ @StorageOption = storageoption
133
164
  end
134
165
 
135
166
  def deserialize(params)
@@ -162,6 +193,10 @@ module TencentCloud
162
193
  @DryRun = params['DryRun']
163
194
  @AccountType = params['AccountType']
164
195
  @ClusterName = params['ClusterName']
196
+ unless params['StorageOption'].nil?
197
+ @StorageOption = StorageOption.new
198
+ @StorageOption.deserialize(params['StorageOption'])
199
+ end
165
200
  end
166
201
  end
167
202
 
@@ -237,6 +272,30 @@ module TencentCloud
237
272
  end
238
273
  end
239
274
 
275
+ # 描述GooseFS挂载信息
276
+ class GooseFSOption < TencentCloud::Common::AbstractModel
277
+ # @param LocalPath: 文件系统本地挂载路径
278
+ # @type LocalPath: String
279
+ # @param RemotePath: 文件系统远程挂载路径
280
+ # @type RemotePath: String
281
+ # @param Masters: 文件系统master的ip和端口
282
+ # @type Masters: Array
283
+
284
+ attr_accessor :LocalPath, :RemotePath, :Masters
285
+
286
+ def initialize(localpath=nil, remotepath=nil, masters=nil)
287
+ @LocalPath = localpath
288
+ @RemotePath = remotepath
289
+ @Masters = masters
290
+ end
291
+
292
+ def deserialize(params)
293
+ @LocalPath = params['LocalPath']
294
+ @RemotePath = params['RemotePath']
295
+ @Masters = params['Masters']
296
+ end
297
+ end
298
+
240
299
  # 描述了实例的计费模式
241
300
  class InstanceChargePrepaid < TencentCloud::Common::AbstractModel
242
301
  # @param Period: 购买实例的时长,单位:月。取值范围:1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 24, 36, 48, 60。
@@ -380,6 +439,40 @@ module TencentCloud
380
439
  end
381
440
  end
382
441
 
442
+ # 描述集群文件系统选项
443
+ class StorageOption < TencentCloud::Common::AbstractModel
444
+ # @param CFSOptions: 集群挂载CFS文件系统选项
445
+ # @type CFSOptions: Array
446
+ # @param GooseFSOptions: 集群挂在GooseFS文件系统选项
447
+ # @type GooseFSOptions: Array
448
+
449
+ attr_accessor :CFSOptions, :GooseFSOptions
450
+
451
+ def initialize(cfsoptions=nil, goosefsoptions=nil)
452
+ @CFSOptions = cfsoptions
453
+ @GooseFSOptions = goosefsoptions
454
+ end
455
+
456
+ def deserialize(params)
457
+ unless params['CFSOptions'].nil?
458
+ @CFSOptions = []
459
+ params['CFSOptions'].each do |i|
460
+ cfsoption_tmp = CFSOption.new
461
+ cfsoption_tmp.deserialize(i)
462
+ @CFSOptions << cfsoption_tmp
463
+ end
464
+ end
465
+ unless params['GooseFSOptions'].nil?
466
+ @GooseFSOptions = []
467
+ params['GooseFSOptions'].each do |i|
468
+ goosefsoption_tmp = GooseFSOption.new
469
+ goosefsoption_tmp.deserialize(i)
470
+ @GooseFSOptions << goosefsoption_tmp
471
+ end
472
+ end
473
+ end
474
+ end
475
+
383
476
  # 描述了操作系统所在块设备即系统盘的信息
384
477
  class SystemDisk < TencentCloud::Common::AbstractModel
385
478
  # @param DiskType: 系统盘类型。系统盘类型限制详见存储概述。取值范围:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tencentcloud-sdk-thpc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.220
4
+ version: 1.0.224
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tencent Cloud
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-09 00:00:00.000000000 Z
11
+ date: 2021-12-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common