Class: ClusterHostPowerAction

Inherits:
ClusterAction show all
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

Instance Method Summary collapse

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

#cpuCapacityMHzObject

Returns the value of attribute cpuCapacityMHz.



3225
3226
3227
# File 'lib/vmware/soap/vim25.rb', line 3225

def cpuCapacityMHz
  @cpuCapacityMHz
end

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



3220
3221
3222
# File 'lib/vmware/soap/vim25.rb', line 3220

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



3219
3220
3221
# File 'lib/vmware/soap/vim25.rb', line 3219

def dynamicType
  @dynamicType
end

#memCapacityMBObject

Returns the value of attribute memCapacityMB.



3226
3227
3228
# File 'lib/vmware/soap/vim25.rb', line 3226

def memCapacityMB
  @memCapacityMB
end

#operationTypeObject

Returns the value of attribute operationType.



3223
3224
3225
# File 'lib/vmware/soap/vim25.rb', line 3223

def operationType
  @operationType
end

#powerConsumptionWattObject

Returns the value of attribute powerConsumptionWatt.



3224
3225
3226
# File 'lib/vmware/soap/vim25.rb', line 3224

def powerConsumptionWatt
  @powerConsumptionWatt
end

#targetObject

Returns the value of attribute target.



3222
3223
3224
# File 'lib/vmware/soap/vim25.rb', line 3222

def target
  @target
end

#typeObject

Returns the value of attribute type.



3221
3222
3223
# File 'lib/vmware/soap/vim25.rb', line 3221

def type
  @type
end