Class: Ansible::Ruby::Modules::Linode
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Linode
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/linode/linode.rb
Overview
Manage Linode Public Cloud instances and optionally wait for it to be ‘running’.
Instance Method Summary collapse
-
#additional_disks ⇒ Array<Hash>, ...
List of dictionaries for creating additional disks that are added to the Linode configuration settings.,Dictionary takes Size, Label, Type.
-
#alert_bwin_enabled ⇒ Symbol?
Set status of bandwidth in alerts.
-
#alert_bwin_threshold ⇒ Integer?
Set threshold in MB of bandwidth in alerts.
-
#alert_bwout_enabled ⇒ Symbol?
Set status of bandwidth out alerts.
-
#alert_bwout_threshold ⇒ Integer?
Set threshold in MB of bandwidth out alerts.
-
#alert_bwquota_enabled ⇒ Symbol?
Set status of bandwidth quota alerts as percentage of network transfer quota.
-
#alert_bwquota_threshold ⇒ Integer?
Set threshold in MB of bandwidth quota alerts.
-
#alert_cpu_enabled ⇒ Symbol?
Set status of receiving CPU usage alerts.
-
#alert_cpu_threshold ⇒ Integer?
Set percentage threshold for receiving CPU usage alerts.
-
#alert_diskio_enabled ⇒ Symbol?
Set status of receiving disk IO alerts.
-
#alert_diskio_threshold ⇒ Integer?
Set threshold for average IO ops/sec over 2 hour period.
-
#api_key ⇒ String?
Linode API key.
-
#backupweeklyday ⇒ Integer?
Integer value for what day of the week to store weekly backups.
-
#datacenter ⇒ Integer?
Datacenter to create an instance in (Linode Datacenter).
-
#displaygroup ⇒ String?
Add the instance to a Display Group in Linode Manager.
-
#distribution ⇒ Integer?
Distribution to use for the instance (Linode Distribution).
-
#kernel_id ⇒ Integer?
Kernel to use for the instance (Linode Kernel).
-
#linode_id ⇒ Integer?
Unique ID of a linode server.
-
#name ⇒ String
Name to give the instance (alphanumeric, dashes, underscore).,To keep sanity on the Linode Web Console, name is prepended with C(LinodeID_).
-
#password ⇒ String?
Root password to apply to a new server (auto generated if missing).
-
#payment_term ⇒ 1, ...
Payment term to use for the instance (payment term in months).
-
#plan ⇒ Integer?
Plan to use for the instance (Linode plan).
-
#private_ip ⇒ :yes, ...
Add private IPv4 address when Linode is created.
-
#ssh_pub_key ⇒ String?
SSH public key applied to root user.
-
#state ⇒ :absent, ...
Indicate desired state of the resource.
-
#swap ⇒ Integer?
Swap size in MB.
-
#wait ⇒ :yes, ...
Wait for the instance to be in state C(running) before returning.
-
#wait_timeout ⇒ Integer?
How long before wait gives up, in seconds.
-
#watchdog ⇒ Boolean?
Set status of Lassie watchdog.
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
#additional_disks ⇒ Array<Hash>, ...
Returns List of dictionaries for creating additional disks that are added to the Linode configuration settings.,Dictionary takes Size, Label, Type. Size is in MB.
32 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 32 attribute :additional_disks |
#alert_bwin_enabled ⇒ Symbol?
Returns Set status of bandwidth in alerts.
36 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 36 attribute :alert_bwin_enabled |
#alert_bwin_threshold ⇒ Integer?
Returns Set threshold in MB of bandwidth in alerts.
40 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 40 attribute :alert_bwin_threshold |
#alert_bwout_enabled ⇒ Symbol?
Returns Set status of bandwidth out alerts.
44 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 44 attribute :alert_bwout_enabled |
#alert_bwout_threshold ⇒ Integer?
Returns Set threshold in MB of bandwidth out alerts.
48 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 48 attribute :alert_bwout_threshold |
#alert_bwquota_enabled ⇒ Symbol?
Returns Set status of bandwidth quota alerts as percentage of network transfer quota.
52 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 52 attribute :alert_bwquota_enabled |
#alert_bwquota_threshold ⇒ Integer?
Returns Set threshold in MB of bandwidth quota alerts.
56 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 56 attribute :alert_bwquota_threshold |
#alert_cpu_enabled ⇒ Symbol?
Returns Set status of receiving CPU usage alerts.
60 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 60 attribute :alert_cpu_enabled |
#alert_cpu_threshold ⇒ Integer?
Returns Set percentage threshold for receiving CPU usage alerts. Each CPU core adds 100% to total.
64 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 64 attribute :alert_cpu_threshold |
#alert_diskio_enabled ⇒ Symbol?
Returns Set status of receiving disk IO alerts.
68 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 68 attribute :alert_diskio_enabled |
#alert_diskio_threshold ⇒ Integer?
Returns Set threshold for average IO ops/sec over 2 hour period.
72 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 72 attribute :alert_diskio_threshold |
#api_key ⇒ String?
Returns Linode API key.
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 16 attribute :api_key |
#backupweeklyday ⇒ Integer?
Returns Integer value for what day of the week to store weekly backups.
76 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 76 attribute :backupweeklyday |
#datacenter ⇒ Integer?
Returns datacenter to create an instance in (Linode Datacenter).
108 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 108 attribute :datacenter |
#displaygroup ⇒ String?
Returns Add the instance to a Display Group in Linode Manager.
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 24 attribute :displaygroup |
#distribution ⇒ Integer?
Returns distribution to use for the instance (Linode Distribution).
104 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 104 attribute :distribution |
#kernel_id ⇒ Integer?
Returns kernel to use for the instance (Linode Kernel).
112 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 112 attribute :kernel_id |
#linode_id ⇒ Integer?
Returns Unique ID of a linode server.
28 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 28 attribute :linode_id |
#name ⇒ String
Returns Name to give the instance (alphanumeric, dashes, underscore).,To keep sanity on the Linode Web Console, name is prepended with C(LinodeID_).
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 20 attribute :name |
#password ⇒ String?
Returns root password to apply to a new server (auto generated if missing).
88 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 88 attribute :password |
#payment_term ⇒ 1, ...
Returns payment term to use for the instance (payment term in months).
84 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 84 attribute :payment_term |
#plan ⇒ Integer?
Returns plan to use for the instance (Linode plan).
80 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 80 attribute :plan |
#private_ip ⇒ :yes, ...
Returns Add private IPv4 address when Linode is created.
92 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 92 attribute :private_ip |
#ssh_pub_key ⇒ String?
Returns SSH public key applied to root user.
96 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 96 attribute :ssh_pub_key |
#state ⇒ :absent, ...
Returns Indicate desired state of the resource.
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 12 attribute :state |
#swap ⇒ Integer?
Returns swap size in MB.
100 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 100 attribute :swap |
#wait ⇒ :yes, ...
Returns wait for the instance to be in state C(running) before returning.
116 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 116 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds.
120 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 120 attribute :wait_timeout |
#watchdog ⇒ Boolean?
Returns Set status of Lassie watchdog.
124 |
# File 'lib/ansible/ruby/modules/generated/cloud/linode/linode.rb', line 124 attribute :watchdog |