Class: TencentCloud::Cvm::V20170312::CreateHpcClusterRequest
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cvm::V20170312::CreateHpcClusterRequest
- Defined in:
- lib/v20170312/models.rb
Overview
CreateHpcCluster请求参数结构体
Instance Attribute Summary collapse
- #HpcClusterBusinessId ⇒ Object
- #HpcClusterType ⇒ Object
- #Name ⇒ Object
- #Remark ⇒ Object
- #TagSpecification ⇒ Object
- #Zone ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(zone = nil, name = nil, remark = nil, hpcclustertype = nil, hpcclusterbusinessid = nil, tagspecification = nil) ⇒ CreateHpcClusterRequest
constructor
A new instance of CreateHpcClusterRequest.
Constructor Details
#initialize(zone = nil, name = nil, remark = nil, hpcclustertype = nil, hpcclusterbusinessid = nil, tagspecification = nil) ⇒ CreateHpcClusterRequest
Returns a new instance of CreateHpcClusterRequest.
878 879 880 881 882 883 884 885 |
# File 'lib/v20170312/models.rb', line 878 def initialize(zone=nil, name=nil, remark=nil, hpcclustertype=nil, hpcclusterbusinessid=nil, =nil) @Zone = zone @Name = name @Remark = remark @HpcClusterType = hpcclustertype @HpcClusterBusinessId = hpcclusterbusinessid @TagSpecification = end |
Instance Attribute Details
#HpcClusterBusinessId ⇒ Object
876 877 878 |
# File 'lib/v20170312/models.rb', line 876 def HpcClusterBusinessId @HpcClusterBusinessId end |
#HpcClusterType ⇒ Object
876 877 878 |
# File 'lib/v20170312/models.rb', line 876 def HpcClusterType @HpcClusterType end |
#Name ⇒ Object
876 877 878 |
# File 'lib/v20170312/models.rb', line 876 def Name @Name end |
#Remark ⇒ Object
876 877 878 |
# File 'lib/v20170312/models.rb', line 876 def Remark @Remark end |
#TagSpecification ⇒ Object
876 877 878 |
# File 'lib/v20170312/models.rb', line 876 def TagSpecification @TagSpecification end |
#Zone ⇒ Object
876 877 878 |
# File 'lib/v20170312/models.rb', line 876 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 |
# File 'lib/v20170312/models.rb', line 887 def deserialize(params) @Zone = params['Zone'] @Name = params['Name'] @Remark = params['Remark'] @HpcClusterType = params['HpcClusterType'] @HpcClusterBusinessId = params['HpcClusterBusinessId'] unless params['TagSpecification'].nil? @TagSpecification = [] params['TagSpecification'].each do |i| = TagSpecification.new .deserialize(i) @TagSpecification << end end end |