Class: Ansible::Ruby::Modules::Cs_storage_pool

Inherits:
Base show all
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

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

#allocation_state:enabled, ...

Returns Allocation state of the storage pool.

Returns:

  • (:enabled, :disabled, :maintenance, nil)

    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_bytesObject?

Returns Bytes CloudStack can provision from this storage pool.

Returns:

  • (Object, nil)

    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_iopsObject?

Returns Bytes CloudStack can provision from this storage pool.

Returns:

  • (Object, nil)

    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

#clusterString?

Returns Name of the cluster.

Returns:

  • (String, nil)

    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.

Returns:

  • (:KVM, :VMware, :BareMetal, :XenServer, :LXC, :HyperV, :UCS, :OVM, :Simulator, nil)

    Required when creating a zone scoped pool.



39
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 39

attribute :hypervisor

#managedObject?

Returns Whether the storage pool should be managed by CloudStack.,Only considere on creation.

Returns:

  • (Object, nil)

    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

#nameString

Returns Name of the storage pool.

Returns:

  • (String)

    Name of the storage pool.



12
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 12

attribute :name

#podString?

Returns Name of the pod.

Returns:

  • (String, nil)

    Name of the pod.



24
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 24

attribute :pod

#providerString?

Returns Name of the storage provider e.g. SolidFire, SolidFireShared, DefaultPrimary, CloudByte.

Returns:

  • (String, nil)

    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.

Returns:

  • (:cluster, :zone, nil)

    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.

Returns:

  • (:present, :absent, nil)

    State of the storage pool.



60
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_storage_pool.rb', line 60

attribute :state

#storage_tagsObject?

Returns Tags associated with this storage pool.

Returns:

  • (Object, nil)

    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_urlString?

Returns URL of the storage pool.,Required if C(state=present).

Returns:

  • (String, nil)

    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

#zoneString?

Returns Name of the zone in which the host should be deployed.,If not set, default zone is used.

Returns:

  • (String, nil)

    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