Class: Ansible::Ruby::Modules::Cs_disk_offering

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

Overview

Create and delete disk offerings for guest VMs. Update display_text or display_offering of existing disk offering.

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

#bytes_read_rateObject?

Returns Bytes read rate of the disk offering.

Returns:

  • (Object, nil)

    Bytes read rate of the disk offering.



17
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 17

attribute :bytes_read_rate

#bytes_write_rateObject?

Returns Bytes write rate of the disk offering.

Returns:

  • (Object, nil)

    Bytes write rate of the disk offering.



20
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 20

attribute :bytes_write_rate

#customizedSymbol?

Returns Whether disk offering iops is custom or not.

Returns:

  • (Symbol, nil)

    Whether disk offering iops is custom or not.



33
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 33

attribute :customized

#disk_sizeInteger?

Returns Size of the disk offering in GB (1GB = 1,073,741,824 bytes).

Returns:

  • (Integer, nil)

    Size of the disk offering in GB (1GB = 1,073,741,824 bytes).



13
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 13

attribute :disk_size

#display_offeringSymbol?

Returns An optional field, whether to display the offering to the end user or not.

Returns:

  • (Symbol, nil)

    An optional field, whether to display the offering to the end user or not.



69
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 69

attribute :display_offering

#display_textString?

Returns Display text of the disk offering.,If not set, C(name) will be used as C(display_text) while creating.

Returns:

  • (String, nil)

    Display text of the disk offering.,If not set, C(name) will be used as C(display_text) while creating.



23
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 23

attribute :display_text

#domainObject?

Returns Domain the disk offering is related to.,Public for all domains and subdomains if not set.

Returns:

  • (Object, nil)

    Domain the disk offering is related to.,Public for all domains and subdomains if not set.



27
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 27

attribute :domain

#hypervisor_snapshot_reserveObject?

Returns Hypervisor snapshot reserve space as a percent of a volume.,Only for managed storage using Xen or VMware.

Returns:

  • (Object, nil)

    Hypervisor snapshot reserve space as a percent of a volume.,Only for managed storage using Xen or VMware.



30
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 30

attribute :hypervisor_snapshot_reserve

#iops_maxObject?

Returns Max. iops of the disk offering.

Returns:

  • (Object, nil)

    Max. iops of the disk offering.



43
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 43

attribute :iops_max

#iops_minObject?

Returns Min. iops of the disk offering.

Returns:

  • (Object, nil)

    Min. iops of the disk offering.



46
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 46

attribute :iops_min

#iops_read_rateObject?

Returns IO requests read rate of the disk offering.

Returns:

  • (Object, nil)

    IO requests read rate of the disk offering.



37
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 37

attribute :iops_read_rate

#iops_write_rateObject?

Returns IO requests write rate of the disk offering.

Returns:

  • (Object, nil)

    IO requests write rate of the disk offering.



40
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 40

attribute :iops_write_rate

#nameString

Returns Name of the disk offering.

Returns:

  • (String)

    Name of the disk offering.



49
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 49

attribute :name

#provisioning_type:thin, ...

Returns Provisioning type used to create volumes.

Returns:

  • (:thin, :sparse, :fat, nil)

    Provisioning type used to create volumes.



53
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 53

attribute :provisioning_type

#state:present, ...

Returns State of the disk offering.

Returns:

  • (:present, :absent, nil)

    State of the disk offering.



57
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 57

attribute :state

#storage_tagsString?

Returns The storage tags for this disk offering.

Returns:

  • (String, nil)

    The storage tags for this disk offering.



65
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 65

attribute :storage_tags

#storage_type:local, ...

Returns The storage type of the disk offering.

Returns:

  • (:local, :shared, nil)

    The storage type of the disk offering.



61
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_disk_offering.rb', line 61

attribute :storage_type