tencentcloud-sdk-thpc 1.0.219 → 1.0.223
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.
- checksums.yaml +4 -4
- data/lib/VERSION +1 -1
- data/lib/v20211109/models.rb +60 -2
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1ca2943b5f37da7addcda8e0591de97ebc313837
|
|
4
|
+
data.tar.gz: 1f37bc8dabc7909a9193457918bb5adf7865096f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c2b121fed8b800de9d3c8a915a93a37a70eeee5a4407f13b76ac7edfad0a69e282109504d54f1895129ef35ed6eaf15b6b4d64d625616e344f770840a2b5079
|
|
7
|
+
data.tar.gz: 222774200defa2ddb2e621f5e34ca2dccff966e99463d4f95c1018d3f2421d26f85e83ad732ec765285205c50fd05277c40d17beee26676ee740b2638c5ee510
|
data/lib/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.0.
|
|
1
|
+
1.0.223
|
data/lib/v20211109/models.rb
CHANGED
|
@@ -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.
|
|
4
|
+
version: 1.0.223
|
|
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-
|
|
11
|
+
date: 2021-12-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: tencentcloud-sdk-common
|