Class: Ansible::Ruby::Modules::Cs_storage_pool
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_storage_pool
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb
Overview
Create, update, put into maintenance, disable, enable and remove storage pools.
Instance Method Summary collapse
-
#allocation_state ⇒ :enabled, ...
Allocation state of the storage pool.
-
#capacity_bytes ⇒ Object?
Bytes CloudStack can provision from this storage pool.
-
#capacity_iops ⇒ Object?
Bytes CloudStack can provision from this storage pool.
-
#cluster ⇒ String?
Name of the cluster.
-
#hypervisor ⇒ :KVM, ...
Required when creating a zone scoped pool.
-
#managed ⇒ Object?
Whether the storage pool should be managed by CloudStack.,Only considere on creation.
-
#name ⇒ String
Name of the storage pool.
-
#pod ⇒ String?
Name of the pod.
-
#provider ⇒ String?
Name of the storage provider e.g.
-
#scope ⇒ :cluster, ...
The scope of the storage pool.,Defaults to cluster when C(cluster) is provided, otherwise zone.
-
#state ⇒ :present, ...
State of the storage pool.
-
#storage_tags ⇒ Object?
Tags associated with this storage pool.
-
#storage_url ⇒ String?
URL of the storage pool.,Required if C(state=present).
-
#zone ⇒ String?
Name of the zone in which the host should be deployed.,If not set, default zone is used.
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
#allocation_state ⇒ :enabled, ...
Returns Allocation state of the storage pool.
56 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 56 attribute :allocation_state |
#capacity_bytes ⇒ Object?
Returns Bytes CloudStack can provision from this storage pool.
50 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 50 attribute :capacity_bytes |
#capacity_iops ⇒ Object?
Returns Bytes CloudStack can provision from this storage pool.
53 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 53 attribute :capacity_iops |
#cluster ⇒ String?
Returns Name of the cluster.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 28 attribute :cluster |
#hypervisor ⇒ :KVM, ...
Returns Required when creating a zone scoped pool.
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 39 attribute :hypervisor |
#managed ⇒ Object?
Returns Whether the storage pool should be managed by CloudStack.,Only considere on creation.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 36 attribute :managed |
#name ⇒ String
Returns Name of the storage pool.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 12 attribute :name |
#pod ⇒ String?
Returns Name of the pod.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 24 attribute :pod |
#provider ⇒ String?
Returns Name of the storage provider e.g. SolidFire, SolidFireShared, DefaultPrimary, CloudByte.
46 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 46 attribute :provider |
#scope ⇒ :cluster, ...
Returns The scope of the storage pool.,Defaults to cluster when C(cluster) is provided, otherwise zone.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 32 attribute :scope |
#state ⇒ :present, ...
Returns State of the storage pool.
60 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 60 attribute :state |
#storage_tags ⇒ Object?
Returns Tags associated with this storage pool.
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 43 attribute :storage_tags |
#storage_url ⇒ String?
Returns URL of the storage pool.,Required if C(state=present).
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 20 attribute :storage_url |
#zone ⇒ String?
Returns Name of the zone in which the host should be deployed.,If not set, default zone is used.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 16 attribute :zone |