tencentcloud-sdk-thpc 1.0.221 → 1.0.222

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 +60 -2
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 302b4a257562839f90134fb5861a97315ff983de
4
- data.tar.gz: 50a943609a161029b3619ce61b79119c8faed117
3
+ metadata.gz: 19be29f0078366bfb3248fb889ba8fb178243f5d
4
+ data.tar.gz: 71626ceffd0103288700d288c717f8d5de42e009
5
5
  SHA512:
6
- metadata.gz: 509843189798259cd672cbeae5bfb96559b0b6fd995b677229553ee21155aed6aded3be0611c65be790dc417d964426669a0ea6168f02d4eefee3f21ca9dd2b4
7
- data.tar.gz: 4aa7c9535ff8a977d58b374dd9b68dd7a0ded8eeecea8e02907f89d372fe04cc53dc48136b68e7676c1a48e1ae3cd3431e36f91a078fcf38eb1cbb8333b5c3d0
6
+ metadata.gz: e9a01d6b486ab430d6d3ae771c95e53afc80bb86b4b0ead854280a5f9abcdfa3e55b49902f4807b7147ca1ec2e76e743b89e7527944f92ebb7880f96d91df9fd
7
+ data.tar.gz: be4cc82b20e223372eab95ec9fe4c0ddfe2d97692ce37d6d536f427c54fc845791f1ae89b083d2f7f07773374997a60cf1ffa295b8828252f9786d660f9f674e
data/lib/VERSION CHANGED
@@ -1 +1 @@
1
- 1.0.221
1
+ 1.0.222
@@ -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
 
@@ -380,6 +415,29 @@ module TencentCloud
380
415
  end
381
416
  end
382
417
 
418
+ # 描述集群文件系统选项
419
+ class StorageOption < TencentCloud::Common::AbstractModel
420
+ # @param CFSOptions: 集群挂载CFS文件系统选项
421
+ # @type CFSOptions: Array
422
+
423
+ attr_accessor :CFSOptions
424
+
425
+ def initialize(cfsoptions=nil)
426
+ @CFSOptions = cfsoptions
427
+ end
428
+
429
+ def deserialize(params)
430
+ unless params['CFSOptions'].nil?
431
+ @CFSOptions = []
432
+ params['CFSOptions'].each do |i|
433
+ cfsoption_tmp = CFSOption.new
434
+ cfsoption_tmp.deserialize(i)
435
+ @CFSOptions << cfsoption_tmp
436
+ end
437
+ end
438
+ end
439
+ end
440
+
383
441
  # 描述了操作系统所在块设备即系统盘的信息
384
442
  class SystemDisk < TencentCloud::Common::AbstractModel
385
443
  # @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.221
4
+ version: 1.0.222
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-10 00:00:00.000000000 Z
11
+ date: 2021-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: tencentcloud-sdk-common