Class: TencentCloud::Cvm::V20170312::HpcClusterInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::HpcClusterInfo
- Defined in:
- lib/v20170312/models.rb
Overview
高性能计算集群
Instance Attribute Summary collapse
- #CreateTime ⇒ Object
- #CurrentNum ⇒ Object
- #CvmQuotaTotal ⇒ Object
- #HpcClusterBusinessId ⇒ Object
- #HpcClusterId ⇒ Object
- #HpcClusterNetMode ⇒ Object
- #HpcClusterType ⇒ Object
- #InstanceIds ⇒ Object
- #Name ⇒ Object
- #Remark ⇒ Object
- #Tags ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(hpcclusterid = nil, name = nil, remark = nil, cvmquotatotal = nil, zone = nil, currentnum = nil, createtime = nil, instanceids = nil, hpcclustertype = nil, hpcclusterbusinessid = nil, hpcclusternetmode = nil, tags = nil) ⇒ HpcClusterInfo
constructor
A new instance of HpcClusterInfo.
Constructor Details
#initialize(hpcclusterid = nil, name = nil, remark = nil, cvmquotatotal = nil, zone = nil, currentnum = nil, createtime = nil, instanceids = nil, hpcclustertype = nil, hpcclusterbusinessid = nil, hpcclusternetmode = nil, tags = nil) ⇒ HpcClusterInfo
Returns a new instance of HpcClusterInfo.
4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 |
# File 'lib/v20170312/models.rb', line 4156 def initialize(hpcclusterid=nil, name=nil, remark=nil, cvmquotatotal=nil, zone=nil, currentnum=nil, createtime=nil, instanceids=nil, hpcclustertype=nil, hpcclusterbusinessid=nil, hpcclusternetmode=nil, =nil) @HpcClusterId = hpcclusterid @Name = name @Remark = remark @CvmQuotaTotal = cvmquotatotal @Zone = zone @CurrentNum = currentnum @CreateTime = createtime @InstanceIds = instanceids @HpcClusterType = hpcclustertype @HpcClusterBusinessId = hpcclusterbusinessid @HpcClusterNetMode = hpcclusternetmode @Tags = end |
Instance Attribute Details
#CreateTime ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def CreateTime @CreateTime end |
#CurrentNum ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def CurrentNum @CurrentNum end |
#CvmQuotaTotal ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def CvmQuotaTotal @CvmQuotaTotal end |
#HpcClusterBusinessId ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def HpcClusterBusinessId @HpcClusterBusinessId end |
#HpcClusterId ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def HpcClusterId @HpcClusterId end |
#HpcClusterNetMode ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def HpcClusterNetMode @HpcClusterNetMode end |
#HpcClusterType ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def HpcClusterType @HpcClusterType end |
#InstanceIds ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def InstanceIds @InstanceIds end |
#Name ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def Name @Name end |
#Remark ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def Remark @Remark end |
#Tags ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def Tags @Tags end |
#Zone ⇒ Object
4154 4155 4156 |
# File 'lib/v20170312/models.rb', line 4154 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 |
# File 'lib/v20170312/models.rb', line 4171 def deserialize(params) @HpcClusterId = params['HpcClusterId'] @Name = params['Name'] @Remark = params['Remark'] @CvmQuotaTotal = params['CvmQuotaTotal'] @Zone = params['Zone'] @CurrentNum = params['CurrentNum'] @CreateTime = params['CreateTime'] @InstanceIds = params['InstanceIds'] @HpcClusterType = params['HpcClusterType'] @HpcClusterBusinessId = params['HpcClusterBusinessId'] @HpcClusterNetMode = params['HpcClusterNetMode'] unless params['Tags'].nil? @Tags = [] params['Tags'].each do |i| tag_tmp = Tag.new tag_tmp.deserialize(i) @Tags << tag_tmp end end end |