Class: ClusterAntiAffinityRuleSpec

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

Overview

urn:vim25ClusterAntiAffinityRuleSpec

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 = []) ⇒ ClusterAntiAffinityRuleSpec

Returns a new instance of ClusterAntiAffinityRuleSpec.



3788
3789
3790
3791
3792
3793
3794
3795
3796
# File 'lib/vmware/soap/vim25.rb', line 3788

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.



3781
3782
3783
# File 'lib/vmware/soap/vim25.rb', line 3781

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



3780
3781
3782
# File 'lib/vmware/soap/vim25.rb', line 3780

def dynamicType
  @dynamicType
end

#enabledObject

Returns the value of attribute enabled.



3784
3785
3786
# File 'lib/vmware/soap/vim25.rb', line 3784

def enabled
  @enabled
end

#keyObject

Returns the value of attribute key.



3782
3783
3784
# File 'lib/vmware/soap/vim25.rb', line 3782

def key
  @key
end

#nameObject

Returns the value of attribute name.



3785
3786
3787
# File 'lib/vmware/soap/vim25.rb', line 3785

def name
  @name
end

#statusObject

Returns the value of attribute status.



3783
3784
3785
# File 'lib/vmware/soap/vim25.rb', line 3783

def status
  @status
end

#vmObject

Returns the value of attribute vm.



3786
3787
3788
# File 'lib/vmware/soap/vim25.rb', line 3786

def vm
  @vm
end