Class: Ansible::Ruby::Modules::Vmware_vm_vm_drs_rule

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vm_vm_drs_rule.rb

Overview

This module can be used to configure VMware DRS Affinity rule for virtual machine in given cluster.

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#affinity_ruleBoolean?



32
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vm_vm_drs_rule.rb', line 32

attribute :affinity_rule

#cluster_nameString



12
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vm_vm_drs_rule.rb', line 12

attribute :cluster_name

#drs_rule_nameString



20
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vm_vm_drs_rule.rb', line 20

attribute :drs_rule_name

#enabledSymbol?



24
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vm_vm_drs_rule.rb', line 24

attribute :enabled

#mandatorySymbol?



28
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vm_vm_drs_rule.rb', line 28

attribute :mandatory

#state:present, ...



36
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vm_vm_drs_rule.rb', line 36

attribute :state

#vmsArray<String>, ...



16
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_vm_vm_drs_rule.rb', line 16

attribute :vms