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/monitoring/zabbix/zabbix_maintenance.rb
Overview
This module will let you create Zabbix maintenance windows.
Instance Method Summary collapse
-
#collect_data ⇒ :yes, ...
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.
-
#minutes ⇒ Integer?
Length of maintenance window in minutes.
-
#name ⇒ String
Unique name of maintenance window.
-
#state ⇒ :present, ...
Create or remove a maintenance window.
Methods inherited from Base
Methods inherited from Ansible::Ruby::Models::Base
attr_option, attr_options, attribute, fix_inclusion, #initialize, remove_existing_validations, #to_h, validates
Constructor Details
This class inherits a constructor from Ansible::Ruby::Models::Base
Instance Method Details
#collect_data ⇒ :yes, ...
Returns Type of maintenance. With data collection, or without.
36 |
# File 'lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_maintenance.rb', line 36 attribute :collect_data |
#desc ⇒ String
Returns Short description of maintenance window.
32 |
# File 'lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_maintenance.rb', line 32 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.
20 |
# File 'lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_maintenance.rb', line 20 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.
16 |
# File 'lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_maintenance.rb', line 16 attribute :host_names |
#minutes ⇒ Integer?
Returns Length of maintenance window in minutes.
24 |
# File 'lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_maintenance.rb', line 24 attribute :minutes |
#name ⇒ String
Returns Unique name of maintenance window.
28 |
# File 'lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_maintenance.rb', line 28 attribute :name |
#state ⇒ :present, ...
Returns Create or remove a maintenance window. Maintenance window to remove is identified by name.
12 |
# File 'lib/ansible/ruby/modules/generated/monitoring/zabbix/zabbix_maintenance.rb', line 12 attribute :state |