Class: ClusterHostPowerAction
- Inherits:
-
ClusterAction
- Object
- DynamicData
- ClusterAction
- ClusterHostPowerAction
- Defined in:
- lib/vmware/soap/vim25.rb
Overview
urn:vim25ClusterHostPowerAction
dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
type - SOAP::SOAPString
target - ManagedObjectReference
operationType - HostPowerOperationType
powerConsumptionWatt - SOAP::SOAPInt
cpuCapacityMHz - SOAP::SOAPInt
memCapacityMB - SOAP::SOAPInt
Instance Attribute Summary collapse
-
#cpuCapacityMHz ⇒ Object
Returns the value of attribute cpuCapacityMHz.
-
#dynamicProperty ⇒ Object
Returns the value of attribute dynamicProperty.
-
#dynamicType ⇒ Object
Returns the value of attribute dynamicType.
-
#memCapacityMB ⇒ Object
Returns the value of attribute memCapacityMB.
-
#operationType ⇒ Object
Returns the value of attribute operationType.
-
#powerConsumptionWatt ⇒ Object
Returns the value of attribute powerConsumptionWatt.
-
#target ⇒ Object
Returns the value of attribute target.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(dynamicType = nil, dynamicProperty = [], type = nil, target = nil, operationType = nil, powerConsumptionWatt = nil, cpuCapacityMHz = nil, memCapacityMB = nil) ⇒ ClusterHostPowerAction
constructor
A new instance of ClusterHostPowerAction.
Constructor Details
#initialize(dynamicType = nil, dynamicProperty = [], type = nil, target = nil, operationType = nil, powerConsumptionWatt = nil, cpuCapacityMHz = nil, memCapacityMB = nil) ⇒ ClusterHostPowerAction
Returns a new instance of ClusterHostPowerAction.
3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 |
# File 'lib/vmware/soap/vim25.rb', line 3228 def initialize(dynamicType = nil, dynamicProperty = [], type = nil, target = nil, operationType = nil, powerConsumptionWatt = nil, cpuCapacityMHz = nil, memCapacityMB = nil) @dynamicType = dynamicType @dynamicProperty = dynamicProperty @type = type @target = target @operationType = operationType @powerConsumptionWatt = powerConsumptionWatt @cpuCapacityMHz = cpuCapacityMHz @memCapacityMB = memCapacityMB end |
Instance Attribute Details
#cpuCapacityMHz ⇒ Object
Returns the value of attribute cpuCapacityMHz.
3225 3226 3227 |
# File 'lib/vmware/soap/vim25.rb', line 3225 def cpuCapacityMHz @cpuCapacityMHz end |
#dynamicProperty ⇒ Object
Returns the value of attribute dynamicProperty.
3220 3221 3222 |
# File 'lib/vmware/soap/vim25.rb', line 3220 def dynamicProperty @dynamicProperty end |
#dynamicType ⇒ Object
Returns the value of attribute dynamicType.
3219 3220 3221 |
# File 'lib/vmware/soap/vim25.rb', line 3219 def dynamicType @dynamicType end |
#memCapacityMB ⇒ Object
Returns the value of attribute memCapacityMB.
3226 3227 3228 |
# File 'lib/vmware/soap/vim25.rb', line 3226 def memCapacityMB @memCapacityMB end |
#operationType ⇒ Object
Returns the value of attribute operationType.
3223 3224 3225 |
# File 'lib/vmware/soap/vim25.rb', line 3223 def operationType @operationType end |
#powerConsumptionWatt ⇒ Object
Returns the value of attribute powerConsumptionWatt.
3224 3225 3226 |
# File 'lib/vmware/soap/vim25.rb', line 3224 def powerConsumptionWatt @powerConsumptionWatt end |
#target ⇒ Object
Returns the value of attribute target.
3222 3223 3224 |
# File 'lib/vmware/soap/vim25.rb', line 3222 def target @target end |
#type ⇒ Object
Returns the value of attribute type.
3221 3222 3223 |
# File 'lib/vmware/soap/vim25.rb', line 3221 def type @type end |