Class: Ansible::Ruby::Modules::Linode
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Linode
- Defined in:
- lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb
Overview
creates / deletes a Linode Public Cloud instance and optionally waits for it to be ‘running’.
Instance Method Summary collapse
-
#api_key ⇒ String?
Linode API key.
-
#datacenter ⇒ Integer?
Datacenter to create an instance in (Linode Datacenter).
-
#distribution ⇒ Integer?
Distribution to use for the instance (Linode Distribution).
-
#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 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).
-
#ssh_pub_key ⇒ String?
SSH public key applied to root user.
-
#state ⇒ :present, ...
Indicate desired state of the resource.
-
#swap ⇒ Integer?
Swap size in MB.
-
#wait ⇒ :yes, ...
Wait for the instance to be in state ‘running’ before returning.
-
#wait_timeout ⇒ Integer?
How long before wait gives up, in seconds.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#api_key ⇒ String?
Returns Linode API key.
15 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 15 attribute :api_key |
#datacenter ⇒ Integer?
Returns datacenter to create an instance in (Linode Datacenter).
51 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 51 attribute :datacenter |
#distribution ⇒ Integer?
Returns distribution to use for the instance (Linode Distribution).
47 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 47 attribute :distribution |
#linode_id ⇒ Integer?
Returns Unique ID of a linode server.
23 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 23 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 LinodeID_.
19 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 19 attribute :name |
#password ⇒ String?
Returns root password to apply to a new server (auto generated if missing).
35 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 35 attribute :password |
#payment_term ⇒ 1, ...
Returns payment term to use for the instance (payment term in months).
31 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 31 attribute :payment_term |
#plan ⇒ Integer?
Returns plan to use for the instance (Linode plan).
27 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 27 attribute :plan |
#ssh_pub_key ⇒ String?
Returns SSH public key applied to root user.
39 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 39 attribute :ssh_pub_key |
#state ⇒ :present, ...
Returns Indicate desired state of the resource.
11 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 11 attribute :state |
#swap ⇒ Integer?
Returns swap size in MB.
43 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 43 attribute :swap |
#wait ⇒ :yes, ...
Returns wait for the instance to be in state ‘running’ before returning.
55 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 55 attribute :wait |
#wait_timeout ⇒ Integer?
Returns how long before wait gives up, in seconds.
59 |
# File 'lib/ansible/ruby/modules/generated/core/cloud/linode/linode.rb', line 59 attribute :wait_timeout |