Class: Ansible::Ruby::Modules::Vmware_cluster

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

Overview

Add or remove VMware vSphere clusters.

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

#cluster_nameString

Returns The name of the cluster that will be created.

Returns:

  • (String)

    The name of the cluster that will be created.



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

attribute :cluster_name

#datacenter_nameString

Returns The name of the datacenter the cluster will be created in.

Returns:

  • (String)

    The name of the datacenter the cluster will be created in.



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

attribute :datacenter_name

#enable_drs:yes, ...

Returns If set to C(yes) will enable DRS when the cluster is created.

Returns:

  • (:yes, :no, nil)

    If set to C(yes) will enable DRS when the cluster is created.



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

attribute :enable_drs

#enable_ha:yes, ...

Returns If set to C(yes) will enable HA when the cluster is created.

Returns:

  • (:yes, :no, nil)

    If set to C(yes) will enable HA when the cluster is created.



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

attribute :enable_ha

#enable_vsan:yes, ...

Returns If set to C(yes) will enable vSAN when the cluster is created.

Returns:

  • (:yes, :no, nil)

    If set to C(yes) will enable vSAN when the cluster is created.



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

attribute :enable_vsan

#state:absent, ...

Returns Create (C(present)) or remove (C(absent)) a VMware vSphere cluster.

Returns:

  • (:absent, :present, nil)

    Create (C(present)) or remove (C(absent)) a VMware vSphere cluster.



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

attribute :state