Class: Ansible::Ruby::Modules::Oneandone_load_balancer
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Oneandone_load_balancer
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb
Overview
Create, remove, update load balancers. This module has a dependency on 1and1 >= 1.0
Instance Method Summary collapse
-
#add_rules ⇒ Array<Hash>, ...
A list of rules that will be added to an existing load balancer.
-
#add_server_ips ⇒ Array<String>, ...
A list of server identifiers (id or name) to be assigned to a load balancer.
-
#api_url ⇒ Object?
Custom API URL.
-
#auth_token ⇒ String
Authenticating API token provided by 1&1.
-
#datacenter ⇒ :US, ...
ID or country code of the datacenter where the load balancer will be created.
-
#description ⇒ String?
Description of the load balancer.
-
#health_check_interval ⇒ Integer
Health check period in seconds.
-
#health_check_parse ⇒ Object?
Regular expression to check.
-
#health_check_path ⇒ Object?
Url to call for cheking.
-
#health_check_test ⇒ :NONE, ...
Type of the health check.
-
#load_balancer ⇒ String
The identifier (id or name) of the load balancer used with update state.
-
#method ⇒ :ROUND_ROBIN, :LEAST_CONNECTIONS
Balancing procedure.
-
#name ⇒ String
Load balancer name used with present state.
-
#persistence ⇒ Boolean
Persistence.
-
#persistence_time ⇒ Integer
Persistence time in seconds.
-
#remove_rules ⇒ Array<String>, ...
A list of rule ids that will be removed from an existing load balancer.
-
#remove_server_ips ⇒ Array<String>, ...
A list of server IP ids to be unassigned from a load balancer.
-
#rules ⇒ Array<Hash>, Hash
A list of rule objects that will be set for the load balancer.
-
#state ⇒ :present, ...
Define a load balancer state to create, remove, or update.
-
#wait ⇒ :yes, ...
Wait for the instance 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
#add_rules ⇒ Array<Hash>, ...
77 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 77 attribute :add_rules |
#add_server_ips ⇒ Array<String>, ...
69 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 69 attribute :add_server_ips |
#api_url ⇒ Object?
24 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 24 attribute :api_url |
#auth_token ⇒ String
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 16 attribute :auth_token |
#datacenter ⇒ :US, ...
57 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 57 attribute :datacenter |
#description ⇒ String?
65 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 65 attribute :description |
#health_check_interval ⇒ Integer
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 35 attribute :health_check_interval |
#health_check_parse ⇒ Object?
42 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 42 attribute :health_check_parse |
#health_check_path ⇒ Object?
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 39 attribute :health_check_path |
#health_check_test ⇒ :NONE, ...
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 31 attribute :health_check_test |
#load_balancer ⇒ String
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 20 attribute :load_balancer |
#method ⇒ :ROUND_ROBIN, :LEAST_CONNECTIONS
53 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 53 attribute :method |
#name ⇒ String
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 27 attribute :name |
#persistence ⇒ Boolean
45 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 45 attribute :persistence |
#persistence_time ⇒ Integer
49 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 49 attribute :persistence_time |
#remove_rules ⇒ Array<String>, ...
81 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 81 attribute :remove_rules |
#remove_server_ips ⇒ Array<String>, ...
73 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 73 attribute :remove_server_ips |
#rules ⇒ Array<Hash>, Hash
61 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 61 attribute :rules |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 12 attribute :state |
#wait ⇒ :yes, ...
85 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 85 attribute :wait |
#wait_interval ⇒ Integer?
93 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 93 attribute :wait_interval |
#wait_timeout ⇒ Integer?
89 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_load_balancer.rb', line 89 attribute :wait_timeout |