Class: Ansible::Ruby::Modules::Vmware_cluster
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Vmware_cluster
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/vmware/vmware_cluster.rb
Overview
Add or remove VMware vSphere clusters.
Instance Method Summary collapse
-
#cluster_name ⇒ String
The name of the cluster that will be created.
-
#datacenter_name ⇒ String
The name of the datacenter the cluster will be created in.
-
#enable_drs ⇒ :yes, ...
If set to C(yes) will enable DRS when the cluster is created.
-
#enable_ha ⇒ :yes, ...
If set to C(yes) will enable HA when the cluster is created.
-
#enable_vsan ⇒ :yes, ...
If set to C(yes) will enable vSAN when the cluster is created.
-
#state ⇒ :absent, ...
Create (C(present)) or remove (C(absent)) a VMware vSphere cluster.
Methods inherited from Base
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_name ⇒ String
Returns 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_name ⇒ String
Returns 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.
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.
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.
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.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/vmware/vmware_cluster.rb', line 32 attribute :state |