Class: Ansible::Ruby::Modules::Cs_service_offering

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

Overview

Create and delete service offerings for guest and system VMs. Update display_text of existing service 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.



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

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.



16
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 16

attribute :bytes_write_rate

#cpu_numberInteger?

Returns The number of CPUs of the service offering.

Returns:

  • (Integer, nil)

    The number of CPUs of the service offering.



19
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 19

attribute :cpu_number

#cpu_speedInteger?

Returns The CPU speed of the service offering in MHz.

Returns:

  • (Integer, nil)

    The CPU speed of the service offering in MHz.



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

attribute :cpu_speed

#deployment_plannerObject?

Returns The deployment planner heuristics used to deploy a VM of this offering.,If not set, the value of global config C(vm.deployment.planner) is used.

Returns:

  • (Object, nil)

    The deployment planner heuristics used to deploy a VM of this offering.,If not set, the value of global config C(vm.deployment.planner) is used.



31
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 31

attribute :deployment_planner

#disk_iops_customizedBoolean?

Returns Whether compute offering iops is custom or not.

Returns:

  • (Boolean, nil)

    Whether compute offering iops is custom or not.



48
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 48

attribute :disk_iops_customized

#disk_iops_maxObject?

Returns Max. iops of the compute offering.

Returns:

  • (Object, nil)

    Max. iops of the compute offering.



58
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 58

attribute :disk_iops_max

#disk_iops_minObject?

Returns Min. iops of the compute offering.

Returns:

  • (Object, nil)

    Min. iops of the compute offering.



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

attribute :disk_iops_min

#disk_iops_read_rateObject?

Returns IO requests read rate of the disk offering.

Returns:

  • (Object, nil)

    IO requests read rate of the disk offering.



52
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 52

attribute :disk_iops_read_rate

#disk_iops_write_rateObject?

Returns IO requests write rate of the disk offering.

Returns:

  • (Object, nil)

    IO requests write rate of the disk offering.



55
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 55

attribute :disk_iops_write_rate

#display_textString?

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

Returns:

  • (String, nil)

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



34
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 34

attribute :display_text

#domainObject?

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

Returns:

  • (Object, nil)

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



38
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 38

attribute :domain

#host_tagsString?

Returns The host tagsfor this service offering.

Returns:

  • (String, nil)

    The host tagsfor this service offering.



41
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 41

attribute :host_tags

#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.



45
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 45

attribute :hypervisor_snapshot_reserve

#is_systemSymbol?

Returns Whether it is a system VM offering or not.

Returns:

  • (Symbol, nil)

    Whether it is a system VM offering or not.



64
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 64

attribute :is_system

#is_volatileSymbol?

Returns Whether the virtual machine needs to be volatile or not.,Every reboot of VM the root disk is detached then destroyed and a fresh root disk is created and attached to VM.

Returns:

  • (Symbol, nil)

    Whether the virtual machine needs to be volatile or not.,Every reboot of VM the root disk is detached then destroyed and a fresh root disk is created and attached to VM.



68
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 68

attribute :is_volatile

#limit_cpu_usageSymbol?

Returns Restrict the CPU usage to committed service offering.

Returns:

  • (Symbol, nil)

    Restrict the CPU usage to committed service offering.



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

attribute :limit_cpu_usage

#memoryInteger?

Returns The total memory of the service offering in MB.

Returns:

  • (Integer, nil)

    The total memory of the service offering in MB.



72
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 72

attribute :memory

#nameString

Returns Name of the service offering.

Returns:

  • (String)

    Name of the service offering.



76
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 76

attribute :name

#network_rateObject?

Returns Data transfer rate in Mb/s allowed.,Supported only for non-system offering and system offerings having C(system_vm_type=domainrouter).

Returns:

  • (Object, nil)

    Data transfer rate in Mb/s allowed.,Supported only for non-system offering and system offerings having C(system_vm_type=domainrouter).



80
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 80

attribute :network_rate

#offer_haSymbol?

Returns Whether HA is set for the service offering.

Returns:

  • (Symbol, nil)

    Whether HA is set for the service offering.



83
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 83

attribute :offer_ha

#provisioning_type:thin, ...

Returns Provisioning type used to create volumes.

Returns:

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

    Provisioning type used to create volumes.



87
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 87

attribute :provisioning_type

#service_offering_detailsObject?

Returns Details for planner, used to store specific parameters.

Returns:

  • (Object, nil)

    Details for planner, used to store specific parameters.



91
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 91

attribute :service_offering_details

#state:present, ...

Returns State of the service offering.

Returns:

  • (:present, :absent, nil)

    State of the service offering.



94
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 94

attribute :state

#storage_tagsString?

Returns The storage tags for this service offering.

Returns:

  • (String, nil)

    The storage tags for this service offering.



106
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 106

attribute :storage_tags

#storage_type:local, ...

Returns The storage type of the service offering.

Returns:

  • (:local, :shared, nil)

    The storage type of the service offering.



98
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 98

attribute :storage_type

#system_vm_type:domainrouter, ...

Returns The system VM type.,Required if C(is_system=true).

Returns:

  • (:domainrouter, :consoleproxy, :secondarystoragevm, nil)

    The system VM type.,Required if C(is_system=true).



102
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 102

attribute :system_vm_type