Class: Ansible::Ruby::Modules::Oneandone_monitoring_policy
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Oneandone_monitoring_policy
- Defined in:
- lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb
Overview
Create, remove, update monitoring policies (and add/remove ports, processes, and servers). This module has a dependency on 1and1 >= 1.0
Instance Method Summary collapse
-
#add_ports ⇒ Array<Hash>, ...
Ports to add to the monitoring policy.
-
#add_processes ⇒ Array<Hash>, ...
Processes to add to the monitoring policy.
-
#add_servers ⇒ Array<String>, ...
Servers to add to the monitoring policy.
-
#agent ⇒ Boolean
Set true for using agent.
-
#api_url ⇒ Object?
Custom API URL.
-
#auth_token ⇒ String
Authenticating API token provided by 1&1.
-
#description ⇒ String?
Monitoring policy description.
-
#email ⇒ String
User’s email.
-
#monitoring_policy ⇒ String
The identifier (id or name) of the monitoring policy used with update state.
-
#name ⇒ String
Monitoring policy name used with present state.
-
#ports ⇒ Array<Hash>, Hash
Array of ports that will be monitoring.
-
#processes ⇒ Array<Hash>, Hash
Array of processes that will be monitoring.
-
#remove_ports ⇒ Array<String>, ...
Ports to remove from the monitoring policy.
-
#remove_processes ⇒ Array<String>, ...
Processes to remove from the monitoring policy.
-
#remove_servers ⇒ Array<String>, ...
Servers to remove from the monitoring policy.
-
#state ⇒ :present, ...
Define a monitoring policy’s state to create, remove, update.
-
#thresholds ⇒ Array<Hash>, Hash
Monitoring policy thresholds.
-
#update_ports ⇒ Array<Hash>, ...
Ports to be updated on the monitoring policy.
-
#update_processes ⇒ Array<Hash>, ...
Processes to be updated on the monitoring policy.
-
#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_ports ⇒ Array<Hash>, ...
55 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 55 attribute :add_ports |
#add_processes ⇒ Array<Hash>, ...
59 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 59 attribute :add_processes |
#add_servers ⇒ Array<String>, ...
63 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 63 attribute :add_servers |
#agent ⇒ Boolean
31 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 31 attribute :agent |
#api_url ⇒ Object?
20 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 20 attribute :api_url |
#auth_token ⇒ String
16 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 16 attribute :auth_token |
#description ⇒ String?
39 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 39 attribute :description |
#email ⇒ String
35 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 35 attribute :email |
#monitoring_policy ⇒ String
27 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 27 attribute :monitoring_policy |
#name ⇒ String
23 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 23 attribute :name |
#ports ⇒ Array<Hash>, Hash
47 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 47 attribute :ports |
#processes ⇒ Array<Hash>, Hash
51 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 51 attribute :processes |
#remove_ports ⇒ Array<String>, ...
67 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 67 attribute :remove_ports |
#remove_processes ⇒ Array<String>, ...
71 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 71 attribute :remove_processes |
#remove_servers ⇒ Array<String>, ...
75 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 75 attribute :remove_servers |
#state ⇒ :present, ...
12 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 12 attribute :state |
#thresholds ⇒ Array<Hash>, Hash
43 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 43 attribute :thresholds |
#update_ports ⇒ Array<Hash>, ...
79 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 79 attribute :update_ports |
#update_processes ⇒ Array<Hash>, ...
83 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 83 attribute :update_processes |
#wait ⇒ :yes, ...
87 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 87 attribute :wait |
#wait_interval ⇒ Integer?
95 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 95 attribute :wait_interval |
#wait_timeout ⇒ Integer?
91 |
# File 'lib/ansible/ruby/modules/generated/cloud/oneandone/oneandone_monitoring_policy.rb', line 91 attribute :wait_timeout |