Class: ComputeResourceSummary

Inherits:
DynamicData show all
Defined in:
lib/vmware/soap/vim25.rb

Overview

urn:vim25ComputeResourceSummary

dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
totalCpu - SOAP::SOAPInt
totalMemory - SOAP::SOAPLong
numCpuCores - SOAP::SOAPShort
numCpuThreads - SOAP::SOAPShort
effectiveCpu - SOAP::SOAPInt
effectiveMemory - SOAP::SOAPLong
numHosts - SOAP::SOAPInt
numEffectiveHosts - SOAP::SOAPInt
overallStatus - ManagedEntityStatus

Direct Known Subclasses

ClusterComputeResourceSummary

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dynamicType = nil, dynamicProperty = [], totalCpu = nil, totalMemory = nil, numCpuCores = nil, numCpuThreads = nil, effectiveCpu = nil, effectiveMemory = nil, numHosts = nil, numEffectiveHosts = nil, overallStatus = nil) ⇒ ComputeResourceSummary

Returns a new instance of ComputeResourceSummary.

[View source]

496
497
498
499
500
501
502
503
504
505
506
507
508
# File 'lib/vmware/soap/vim25.rb', line 496

def initialize(dynamicType = nil, dynamicProperty = [], totalCpu = nil, totalMemory = nil, numCpuCores = nil, numCpuThreads = nil, effectiveCpu = nil, effectiveMemory = nil, numHosts = nil, numEffectiveHosts = nil, overallStatus = nil)
  @dynamicType = dynamicType
  @dynamicProperty = dynamicProperty
  @totalCpu = totalCpu
  @totalMemory = totalMemory
  @numCpuCores = numCpuCores
  @numCpuThreads = numCpuThreads
  @effectiveCpu = effectiveCpu
  @effectiveMemory = effectiveMemory
  @numHosts = numHosts
  @numEffectiveHosts = numEffectiveHosts
  @overallStatus = overallStatus
end

Instance Attribute Details

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.


485
486
487
# File 'lib/vmware/soap/vim25.rb', line 485

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.


484
485
486
# File 'lib/vmware/soap/vim25.rb', line 484

def dynamicType
  @dynamicType
end

#effectiveCpuObject

Returns the value of attribute effectiveCpu.


490
491
492
# File 'lib/vmware/soap/vim25.rb', line 490

def effectiveCpu
  @effectiveCpu
end

#effectiveMemoryObject

Returns the value of attribute effectiveMemory.


491
492
493
# File 'lib/vmware/soap/vim25.rb', line 491

def effectiveMemory
  @effectiveMemory
end

#numCpuCoresObject

Returns the value of attribute numCpuCores.


488
489
490
# File 'lib/vmware/soap/vim25.rb', line 488

def numCpuCores
  @numCpuCores
end

#numCpuThreadsObject

Returns the value of attribute numCpuThreads.


489
490
491
# File 'lib/vmware/soap/vim25.rb', line 489

def numCpuThreads
  @numCpuThreads
end

#numEffectiveHostsObject

Returns the value of attribute numEffectiveHosts.


493
494
495
# File 'lib/vmware/soap/vim25.rb', line 493

def numEffectiveHosts
  @numEffectiveHosts
end

#numHostsObject

Returns the value of attribute numHosts.


492
493
494
# File 'lib/vmware/soap/vim25.rb', line 492

def numHosts
  @numHosts
end

#overallStatusObject

Returns the value of attribute overallStatus.


494
495
496
# File 'lib/vmware/soap/vim25.rb', line 494

def overallStatus
  @overallStatus
end

#totalCpuObject

Returns the value of attribute totalCpu.


486
487
488
# File 'lib/vmware/soap/vim25.rb', line 486

def totalCpu
  @totalCpu
end

#totalMemoryObject

Returns the value of attribute totalMemory.


487
488
489
# File 'lib/vmware/soap/vim25.rb', line 487

def totalMemory
  @totalMemory
end