Class: ClusterAffinityRuleSpec

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

Overview

urn:vim25ClusterAffinityRuleSpec

dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
key - SOAP::SOAPInt
status - ManagedEntityStatus
enabled - SOAP::SOAPBoolean
name - SOAP::SOAPString
vm - ManagedObjectReference

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(dynamicType = nil, dynamicProperty = [], key = nil, status = nil, enabled = nil, name = nil, vm = []) ⇒ ClusterAffinityRuleSpec

Returns a new instance of ClusterAffinityRuleSpec.



3760
3761
3762
3763
3764
3765
3766
3767
3768
# File 'lib/vmware/soap/vim25.rb', line 3760

def initialize(dynamicType = nil, dynamicProperty = [], key = nil, status = nil, enabled = nil, name = nil, vm = [])
  @dynamicType = dynamicType
  @dynamicProperty = dynamicProperty
  @key = key
  @status = status
  @enabled = enabled
  @name = name
  @vm = vm
end

Instance Attribute Details

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



3753
3754
3755
# File 'lib/vmware/soap/vim25.rb', line 3753

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



3752
3753
3754
# File 'lib/vmware/soap/vim25.rb', line 3752

def dynamicType
  @dynamicType
end

#enabledObject

Returns the value of attribute enabled.



3756
3757
3758
# File 'lib/vmware/soap/vim25.rb', line 3756

def enabled
  @enabled
end

#keyObject

Returns the value of attribute key.



3754
3755
3756
# File 'lib/vmware/soap/vim25.rb', line 3754

def key
  @key
end

#nameObject

Returns the value of attribute name.



3757
3758
3759
# File 'lib/vmware/soap/vim25.rb', line 3757

def name
  @name
end

#statusObject

Returns the value of attribute status.



3755
3756
3757
# File 'lib/vmware/soap/vim25.rb', line 3755

def status
  @status
end

#vmObject

Returns the value of attribute vm.



3758
3759
3760
# File 'lib/vmware/soap/vim25.rb', line 3758

def vm
  @vm
end