Class: Ansible::Ruby::Modules::Stackdriver

Inherits:
Base show all
Defined in:
lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb

Instance Method Summary collapse

Methods inherited from Base

#ansible_name, #to_h

Methods inherited from Ansible::Ruby::Models::Base

attr_option, attr_options, attribute, #initialize, #to_h, validates

Constructor Details

This class inherits a constructor from Ansible::Ruby::Models::Base

Instance Method Details

#annotated_byString?

Returns The person or robot who the annotation should be attributed to.

Returns:

  • (String, nil)

    The person or robot who the annotation should be attributed to.



38
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 38

attribute :annotated_by

#deployed_byString?

Returns The person or robot responsible for deploying the code.

Returns:

  • (String, nil)

    The person or robot responsible for deploying the code



22
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 22

attribute :deployed_by

#deployed_toString?

Returns The environment code was deployed to. (ie: development, staging, production).

Returns:

  • (String, nil)

    The environment code was deployed to. (ie: development, staging, production)



26
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 26

attribute :deployed_to

#event:annotation, ...

Returns The type of event to send, either annotation or deploy.

Returns:

  • (:annotation, :deploy, nil)

    The type of event to send, either annotation or deploy



14
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 14

attribute :event

#event_epochObject?

Returns Unix timestamp of where the event should appear in the timeline, defaults to now. Be careful with this.

Returns:

  • (Object, nil)

    Unix timestamp of where the event should appear in the timeline, defaults to now. Be careful with this.



50
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 50

attribute :event_epoch

#instance_idString?

Returns id of an EC2 instance that this event should be attached to, which will limit the contexts where this event is shown.

Returns:

  • (String, nil)

    id of an EC2 instance that this event should be attached to, which will limit the contexts where this event is shown



46
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 46

attribute :instance_id

#keyString

Returns API key.

Returns:

  • (String)

    API key.



10
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 10

attribute :key

#level:INFO, ...

Returns one of INFO/WARN/ERROR, defaults to INFO if not supplied.  May affect display.

Returns:

  • (:INFO, :WARN, :ERROR, nil)

    one of INFO/WARN/ERROR, defaults to INFO if not supplied.  May affect display.



42
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 42

attribute :level

#msgString?

Returns The contents of the annotation message, in plain text.  Limited to 256 characters. Required for annotation.

Returns:

  • (String, nil)

    The contents of the annotation message, in plain text.  Limited to 256 characters. Required for annotation.



34
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 34

attribute :msg

#repositoryString?

Returns The repository (or project) deployed.

Returns:

  • (String, nil)

    The repository (or project) deployed



30
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 30

attribute :repository

#revision_idString?

Returns The revision of the code that was deployed. Required for deploy events.

Returns:

  • (String, nil)

    The revision of the code that was deployed. Required for deploy events



18
# File 'lib/ansible/ruby/modules/generated/extras/monitoring/stackdriver.rb', line 18

attribute :revision_id