Class: Ansible::Ruby::Modules::Oneandone_server
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Oneandone_server
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb
Overview
Create, destroy, update, start, stop, and reboot a 1&1 Host server. When the server is created it can optionally wait for it to be ‘running’ before returning.
Instance Method Summary collapse
-
#api_url ⇒ Object?
Custom API URL.
-
#appliance ⇒ String?
The operating system name or ID for the server.
-
#auth_token ⇒ String
Authenticating API token provided by 1&1.
-
#auto_increment ⇒ :yes, ...
When creating multiple servers at once, whether to differentiate hostnames by appending a count after them or substituting the count where there is a %02d or %03d in the hostname string.
-
#cores_per_processor ⇒ Integer?
The number of cores per processor.
-
#count ⇒ Integer?
The number of servers to create.
-
#datacenter ⇒ :US, ...
The datacenter location.
-
#description ⇒ Object?
The description of the server.
-
#firewall_policy ⇒ Object?
The firewall policy name or ID.
-
#fixed_instance_size ⇒ :S, ...
The instance size name or ID of the server.
-
#hdds ⇒ Array<Hash>, ...
A list of hard disks with nested “size” and “is_main” properties.
-
#hostname ⇒ String?
The hostname or ID of the server.
-
#load_balancer ⇒ Object?
The load balancer name or ID.
-
#monitoring_policy ⇒ Object?
The monitoring policy name or ID.
-
#private_network ⇒ Object?
The private network name or ID.
-
#ram ⇒ Float?
The amount of RAM memory.
-
#server ⇒ String?
Server identifier (ID or hostname).
-
#server_type ⇒ :cloud, ...
The type of server to be built.
-
#ssh_key ⇒ String?
User’s public SSH key (contents, not path).
-
#state ⇒ :present, ...
Define a server’s state to create, remove, start or stop it.
-
#vcore ⇒ Integer?
The total number of processors.
-
#wait ⇒ :yes, ...
Wait for the server to be in state ‘running’ before returning.
-
#wait_interval ⇒ Integer?
Defines the number of seconds to wait when using the wait_for methods.
-
#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_url ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 20 attribute :api_url |
#appliance ⇒ String?
34 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 34 attribute :appliance |
#auth_token ⇒ String
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 16 attribute :auth_token |
#auto_increment ⇒ :yes, ...
98 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 98 attribute :auto_increment |
#cores_per_processor ⇒ Integer?
46 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 46 attribute :cores_per_processor |
#count ⇒ Integer?
74 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 74 attribute :count |
#datacenter ⇒ :US, ...
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 23 attribute :datacenter |
#description ⇒ Object?
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 31 attribute :description |
#firewall_policy ⇒ Object?
61 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 61 attribute :firewall_policy |
#fixed_instance_size ⇒ :S, ...
38 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 38 attribute :fixed_instance_size |
#hdds ⇒ Array<Hash>, ...
54 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 54 attribute :hdds |
#hostname ⇒ String?
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 27 attribute :hostname |
#load_balancer ⇒ Object?
64 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 64 attribute :load_balancer |
#monitoring_policy ⇒ Object?
67 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 67 attribute :monitoring_policy |
#private_network ⇒ Object?
58 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 58 attribute :private_network |
#ram ⇒ Float?
50 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 50 attribute :ram |
#server ⇒ String?
70 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 70 attribute :server |
#server_type ⇒ :cloud, ...
82 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 82 attribute :server_type |
#ssh_key ⇒ String?
78 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 78 attribute :ssh_key |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 12 attribute :state |
#vcore ⇒ Integer?
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 42 attribute :vcore |
#wait ⇒ :yes, ...
86 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 86 attribute :wait |
#wait_interval ⇒ Integer?
94 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 94 attribute :wait_interval |
#wait_timeout ⇒ Integer?
90 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_server.rb', line 90 attribute :wait_timeout |