Class: Ansible::Ruby::Modules::Circonus_annotation
- Inherits:
-
Base
- Object
- Ansible::Ruby::Models::Base
- Base
- Ansible::Ruby::Modules::Circonus_annotation
- Defined in:
- lib/ansible/ruby/modules/generated/extras/monitoring/circonus_annotation.rb
Overview
Create an annotation event with a given category, title and description. Optionally start, end or durations can be provided
Instance Method Summary collapse
-
#api_key ⇒ String
Circonus API key.
-
#category ⇒ String
Annotation Category.
-
#description ⇒ String
Description of annotation.
-
#duration ⇒ Integer?
Duration in seconds of annotation, defaults to 0.
-
#start ⇒ Object?
Unix timestamp of event start, defaults to now.
-
#stop ⇒ Object?
Unix timestamp of event end, defaults to now + duration.
-
#title ⇒ String
Title of annotation.
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
#api_key ⇒ String
Returns Circonus API key.
11 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/circonus_annotation.rb', line 11 attribute :api_key |
#category ⇒ String
Returns Annotation Category.
15 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/circonus_annotation.rb', line 15 attribute :category |
#description ⇒ String
Returns Description of annotation.
19 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/circonus_annotation.rb', line 19 attribute :description |
#duration ⇒ Integer?
Returns Duration in seconds of annotation, defaults to 0.
33 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/circonus_annotation.rb', line 33 attribute :duration |
#start ⇒ Object?
Returns Unix timestamp of event start, defaults to now.
27 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/circonus_annotation.rb', line 27 attribute :start |
#stop ⇒ Object?
Returns Unix timestamp of event end, defaults to now + duration.
30 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/circonus_annotation.rb', line 30 attribute :stop |
#title ⇒ String
Returns Title of annotation.
23 |
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/circonus_annotation.rb', line 23 attribute :title |