Class: Ansible::Ruby::Modules::Cs_service_offering
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Cs_service_offering
- 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
-
#bytes_read_rate ⇒ Object?
Bytes read rate of the disk offering.
-
#bytes_write_rate ⇒ Object?
Bytes write rate of the disk offering.
-
#cpu_number ⇒ Integer?
The number of CPUs of the service offering.
-
#cpu_speed ⇒ Integer?
The CPU speed of the service offering in MHz.
-
#deployment_planner ⇒ Object?
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.
-
#disk_iops_customized ⇒ Boolean?
Whether compute offering iops is custom or not.
-
#disk_iops_max ⇒ Object?
Max.
-
#disk_iops_min ⇒ Object?
Min.
-
#disk_iops_read_rate ⇒ Object?
IO requests read rate of the disk offering.
-
#disk_iops_write_rate ⇒ Object?
IO requests write rate of the disk offering.
-
#display_text ⇒ String?
Display text of the service offering.,If not set, C(name) will be used as C(display_text) while creating.
-
#domain ⇒ Object?
Domain the service offering is related to.,Public for all domains and subdomains if not set.
-
#host_tags ⇒ String?
The host tagsfor this service offering.
-
#hypervisor_snapshot_reserve ⇒ Object?
Hypervisor snapshot reserve space as a percent of a volume.,Only for managed storage using Xen or VMware.
-
#is_system ⇒ Symbol?
Whether it is a system VM offering or not.
-
#is_volatile ⇒ Symbol?
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.
-
#limit_cpu_usage ⇒ Symbol?
Restrict the CPU usage to committed service offering.
-
#memory ⇒ Integer?
The total memory of the service offering in MB.
-
#name ⇒ String
Name of the service offering.
-
#network_rate ⇒ Object?
Data transfer rate in Mb/s allowed.,Supported only for non-system offering and system offerings having C(system_vm_type=domainrouter).
-
#offer_ha ⇒ Symbol?
Whether HA is set for the service offering.
-
#provisioning_type ⇒ :thin, ...
Provisioning type used to create volumes.
-
#service_offering_details ⇒ Object?
Details for planner, used to store specific parameters.
-
#state ⇒ :present, ...
State of the service offering.
-
#storage_tags ⇒ String?
The storage tags for this service offering.
-
#storage_type ⇒ :local, ...
The storage type of the service offering.
-
#system_vm_type ⇒ :domainrouter, ...
The system VM type.,Required if C(is_system=true).
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
#bytes_read_rate ⇒ Object?
Returns 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_rate ⇒ Object?
Returns 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_number ⇒ Integer?
Returns 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_speed ⇒ Integer?
Returns 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_planner ⇒ Object?
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.
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 31 attribute :deployment_planner |
#disk_iops_customized ⇒ Boolean?
Returns 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_max ⇒ Object?
Returns 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_min ⇒ Object?
Returns 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_rate ⇒ Object?
Returns 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_rate ⇒ Object?
Returns 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_text ⇒ String?
Returns 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 |
#domain ⇒ Object?
Returns 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_tags ⇒ String?
Returns 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_reserve ⇒ Object?
Returns 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_system ⇒ Symbol?
Returns 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_volatile ⇒ Symbol?
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.
68 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 68 attribute :is_volatile |
#limit_cpu_usage ⇒ Symbol?
Returns 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 |
#memory ⇒ Integer?
Returns 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 |
#name ⇒ String
Returns Name of the service offering.
76 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 76 attribute :name |
#network_rate ⇒ Object?
Returns 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_ha ⇒ Symbol?
Returns 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.
87 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 87 attribute :provisioning_type |
#service_offering_details ⇒ Object?
Returns 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.
94 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 94 attribute :state |
#storage_tags ⇒ String?
Returns 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.
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).
102 |
# File 'lib/ansible/ruby/modules/generated/cloud/cloudstack/cs_service_offering.rb', line 102 attribute :system_vm_type |