Class: Ansible::Ruby::Modules::Gluster_volume
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Gluster_volume
- Defined in:
- lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb
Instance Method Summary collapse
-
#bricks ⇒ Array<String>, ...
Brick paths on servers.
-
#cluster ⇒ Array<String>, ...
List of hosts to use for probing and brick setup.
-
#directory ⇒ String?
Directory for limit-usage.
-
#force ⇒ Object?
If brick is being created in the root partition, module will fail.
-
#host ⇒ Object?
Override local hostname (for peer probing purposes).
-
#name ⇒ String
The volume name.
-
#options ⇒ String?
A dictionary/hash with options/settings for the volume.
-
#quota ⇒ String?
Quota value for limit-usage (be sure to use 10.0MB instead of 10MB, see quota list).
-
#rebalance ⇒ :yes, ...
Controls whether the cluster is rebalanced after changes.
-
#replicas ⇒ Object?
Replica count for volume.
-
#start_on_create ⇒ :yes, ...
Controls whether the volume is started after creation or not, defaults to yes.
-
#state ⇒ :present, ...
Use present/absent ensure if a volume exists or not, use started/stopped to control it’s availability.
-
#stripes ⇒ Object?
Stripe count for volume.
-
#transport ⇒ :tcp, ...
Transport type for volume.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#bricks ⇒ Array<String>, ...
Returns Brick paths on servers. Multiple brick paths can be separated by commas.
35 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 35 attribute :bricks |
#cluster ⇒ Array<String>, ...
Returns List of hosts to use for probing and brick setup.
18 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 18 attribute :cluster |
#directory ⇒ String?
Returns Directory for limit-usage.
47 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 47 attribute :directory |
#force ⇒ Object?
Returns If brick is being created in the root partition, module will fail. Set force to true to override this behaviour.
59 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 59 attribute :force |
#host ⇒ Object?
Returns Override local hostname (for peer probing purposes).
22 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 22 attribute :host |
#name ⇒ String
Returns The volume name.
10 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 10 attribute :name |
#options ⇒ String?
Returns A dictionary/hash with options/settings for the volume.
51 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 51 attribute :options |
#quota ⇒ String?
Returns Quota value for limit-usage (be sure to use 10.0MB instead of 10MB, see quota list).
55 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 55 attribute :quota |
#rebalance ⇒ :yes, ...
Returns Controls whether the cluster is rebalanced after changes.
43 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 43 attribute :rebalance |
#replicas ⇒ Object?
Returns Replica count for volume.
25 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 25 attribute :replicas |
#start_on_create ⇒ :yes, ...
Returns Controls whether the volume is started after creation or not, defaults to yes.
39 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 39 attribute :start_on_create |
#state ⇒ :present, ...
Returns Use present/absent ensure if a volume exists or not, use started/stopped to control it’s availability.
14 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 14 attribute :state |
#stripes ⇒ Object?
Returns Stripe count for volume.
28 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 28 attribute :stripes |
#transport ⇒ :tcp, ...
Returns Transport type for volume.
31 |
# File 'lib/ansible/ruby/modules/generated/extras/system/gluster_volume.rb', line 31 attribute :transport |