Class: Ansible::Ruby::Modules::Pagerduty
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Pagerduty
- Defined in:
- lib/ansible/ruby/modules/generated/monitoring/pagerduty.rb
Overview
This module will let you create PagerDuty maintenance windows
Instance Method Summary collapse
-
#desc ⇒ String?
Short description of maintenance window.
-
#hours ⇒ Integer?
Length of maintenance window in hours.
-
#minutes ⇒ Integer?
Maintenance window in minutes (this is added to the hours).
-
#name ⇒ String?
PagerDuty unique subdomain.
-
#requester_id ⇒ Object?
ID of user making the request.
-
#service ⇒ String?
A comma separated list of PagerDuty service IDs.
-
#state ⇒ :running, ...
Create a maintenance window or get a list of ongoing windows.
-
#token ⇒ String
A pagerduty token, generated on the pagerduty site.
-
#user ⇒ String?
PagerDuty user ID.
-
#validate_certs ⇒ :yes, ...
If C(no), SSL certificates will not be validated.
-
#window_id ⇒ String?
ID of maintenance window.
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
#desc ⇒ String?
Returns Short description of maintenance window.
47 |
# File 'lib/ansible/ruby/modules/generated/monitoring/pagerduty.rb', line 47 attribute :desc |
#hours ⇒ Integer?
Returns Length of maintenance window in hours.
39 |
# File 'lib/ansible/ruby/modules/generated/monitoring/pagerduty.rb', line 39 attribute :hours |
#minutes ⇒ Integer?
Returns Maintenance window in minutes (this is added to the hours).
43 |
# File 'lib/ansible/ruby/modules/generated/monitoring/pagerduty.rb', line 43 attribute :minutes |
#name ⇒ String?
Returns PagerDuty unique subdomain. Obsolete. It is not used with PagerDuty REST v2 API.
16 |
# File 'lib/ansible/ruby/modules/generated/monitoring/pagerduty.rb', line 16 attribute :name |
#requester_id ⇒ Object?
Returns ID of user making the request. Only needed when creating a maintenance_window.
28 |
# File 'lib/ansible/ruby/modules/generated/monitoring/pagerduty.rb', line 28 attribute :requester_id |
#service ⇒ String?
Returns A comma separated list of PagerDuty service IDs.
31 |
# File 'lib/ansible/ruby/modules/generated/monitoring/pagerduty.rb', line 31 attribute :service |
#state ⇒ :running, ...
Returns Create a maintenance window or get a list of ongoing windows.
12 |
# File 'lib/ansible/ruby/modules/generated/monitoring/pagerduty.rb', line 12 attribute :state |
#token ⇒ String
Returns A pagerduty token, generated on the pagerduty site. It is used for authorization.
24 |
# File 'lib/ansible/ruby/modules/generated/monitoring/pagerduty.rb', line 24 attribute :token |
#user ⇒ String?
Returns PagerDuty user ID. Obsolete. Please, use I(token) for authorization.
20 |
# File 'lib/ansible/ruby/modules/generated/monitoring/pagerduty.rb', line 20 attribute :user |
#validate_certs ⇒ :yes, ...
Returns If C(no), SSL certificates will not be validated. This should only be used on personally controlled sites using self-signed certificates.
51 |
# File 'lib/ansible/ruby/modules/generated/monitoring/pagerduty.rb', line 51 attribute :validate_certs |
#window_id ⇒ String?
Returns ID of maintenance window. Only needed when absent a maintenance_window.
35 |
# File 'lib/ansible/ruby/modules/generated/monitoring/pagerduty.rb', line 35 attribute :window_id |