Class: TencentCloud::Cdwch::V20200915::NodesSummary
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdwch::V20200915::NodesSummary
- Defined in:
- lib/v20200915/models.rb
Overview
节点角色描述信息
Instance Attribute Summary collapse
- #AttachCBSSpec ⇒ Object
- #Core ⇒ Object
- #Disk ⇒ Object
- #DiskCount ⇒ Object
- #DiskDesc ⇒ Object
- #DiskType ⇒ Object
- #Encrypt ⇒ Object
- #MaxDiskSize ⇒ Object
- #Memory ⇒ Object
- #NodeSize ⇒ Object
- #Spec ⇒ Object
- #SpecCore ⇒ Object
- #SpecMemory ⇒ Object
- #SubProductType ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(spec = nil, nodesize = nil, core = nil, memory = nil, disk = nil, disktype = nil, diskdesc = nil, attachcbsspec = nil, subproducttype = nil, speccore = nil, specmemory = nil, diskcount = nil, maxdisksize = nil, encrypt = nil) ⇒ NodesSummary
constructor
A new instance of NodesSummary.
Constructor Details
#initialize(spec = nil, nodesize = nil, core = nil, memory = nil, disk = nil, disktype = nil, diskdesc = nil, attachcbsspec = nil, subproducttype = nil, speccore = nil, specmemory = nil, diskcount = nil, maxdisksize = nil, encrypt = nil) ⇒ NodesSummary
Returns a new instance of NodesSummary.
2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 |
# File 'lib/v20200915/models.rb', line 2502 def initialize(spec=nil, nodesize=nil, core=nil, memory=nil, disk=nil, disktype=nil, diskdesc=nil, attachcbsspec=nil, subproducttype=nil, speccore=nil, specmemory=nil, diskcount=nil, maxdisksize=nil, encrypt=nil) @Spec = spec @NodeSize = nodesize @Core = core @Memory = memory @Disk = disk @DiskType = disktype @DiskDesc = diskdesc @AttachCBSSpec = attachcbsspec @SubProductType = subproducttype @SpecCore = speccore @SpecMemory = specmemory @DiskCount = diskcount @MaxDiskSize = maxdisksize @Encrypt = encrypt end |
Instance Attribute Details
#AttachCBSSpec ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def AttachCBSSpec @AttachCBSSpec end |
#Core ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def Core @Core end |
#Disk ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def Disk @Disk end |
#DiskCount ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def DiskCount @DiskCount end |
#DiskDesc ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def DiskDesc @DiskDesc end |
#DiskType ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def DiskType @DiskType end |
#Encrypt ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def Encrypt @Encrypt end |
#MaxDiskSize ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def MaxDiskSize @MaxDiskSize end |
#Memory ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def Memory @Memory end |
#NodeSize ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def NodeSize @NodeSize end |
#Spec ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def Spec @Spec end |
#SpecCore ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def SpecCore @SpecCore end |
#SpecMemory ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def SpecMemory @SpecMemory end |
#SubProductType ⇒ Object
2500 2501 2502 |
# File 'lib/v20200915/models.rb', line 2500 def SubProductType @SubProductType end |
Instance Method Details
#deserialize(params) ⇒ Object
2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 |
# File 'lib/v20200915/models.rb', line 2519 def deserialize(params) @Spec = params['Spec'] @NodeSize = params['NodeSize'] @Core = params['Core'] @Memory = params['Memory'] @Disk = params['Disk'] @DiskType = params['DiskType'] @DiskDesc = params['DiskDesc'] unless params['AttachCBSSpec'].nil? @AttachCBSSpec = AttachCBSSpec.new @AttachCBSSpec.deserialize(params['AttachCBSSpec']) end @SubProductType = params['SubProductType'] @SpecCore = params['SpecCore'] @SpecMemory = params['SpecMemory'] @DiskCount = params['DiskCount'] @MaxDiskSize = params['MaxDiskSize'] @Encrypt = params['Encrypt'] end |