Class: Ansible::Ruby::Modules::Zabbix_maintenance
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Zabbix_maintenance
- Defined in:
- lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb
Overview
This module will let you create Zabbix maintenance windows.
Instance Method Summary collapse
-
#collect_data ⇒ String?
Type of maintenance.
-
#desc ⇒ String
Short description of maintenance window.
-
#host_groups ⇒ Array<String>, ...
Host groups to manage maintenance window for.
-
#host_names ⇒ Array<String>, ...
Hosts to manage maintenance window for.
-
#http_login_password ⇒ Object?
Basic Auth password.
-
#http_login_user ⇒ Object?
Basic Auth login.
-
#login_password ⇒ String
Zabbix user password.
-
#login_user ⇒ String
Zabbix user name.
-
#minutes ⇒ Integer?
Length of maintenance window in minutes.
-
#name ⇒ String
Unique name of maintenance window.
-
#server_url ⇒ String
Url of Zabbix server, with protocol (http or https).
-
#state ⇒ :present, ...
Create or remove a maintenance window.
-
#timeout ⇒ Integer?
The timeout of API request (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
#collect_data ⇒ String?
Returns Type of maintenance. With data collection, or without.
53 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 53 attribute :collect_data |
#desc ⇒ String
Returns Short description of maintenance window.
49 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 49 attribute :desc |
#host_groups ⇒ Array<String>, ...
Returns Host groups to manage maintenance window for. Separate multiple groups with commas. C(host_group) is an alias for C(host_groups). B(Required) option when C(state) is I(present) and no C(host_names) specified.
37 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 37 attribute :host_groups |
#host_names ⇒ Array<String>, ...
Returns Hosts to manage maintenance window for. Separate multiple hosts with commas. C(host_name) is an alias for C(host_names). B(Required) option when C(state) is I(present) and no C(host_groups) specified.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 33 attribute :host_names |
#http_login_password ⇒ Object?
Returns Basic Auth password.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 30 attribute :http_login_password |
#http_login_user ⇒ Object?
Returns Basic Auth login.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 27 attribute :http_login_user |
#login_password ⇒ String
Returns Zabbix user password.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 23 attribute :login_password |
#login_user ⇒ String
Returns Zabbix user name.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 19 attribute :login_user |
#minutes ⇒ Integer?
Returns Length of maintenance window in minutes.
41 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 41 attribute :minutes |
#name ⇒ String
Returns Unique name of maintenance window.
45 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 45 attribute :name |
#server_url ⇒ String
Returns Url of Zabbix server, with protocol (http or https). C(url) is an alias for C(server_url).
15 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 15 attribute :server_url |
#state ⇒ :present, ...
Returns Create or remove a maintenance window.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 11 attribute :state |
#timeout ⇒ Integer?
Returns The timeout of API request (seconds).
57 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/zabbix_maintenance.rb', line 57 attribute :timeout |