Class: WavefrontHclOutput::Alert

Inherits:
Base
  • Object
show all
Defined in:
lib/wavefront-cli/output/hcl/alert.rb

Overview

Define alerts which can be understood by the Wavefront Terraform provider.

Instance Attribute Summary

Attributes inherited from Base

#options, #resp

Instance Method Summary collapse

Methods inherited from Base

#close_output, #handler, #initialize, #open_output, #quote_value, #required_fields, #resource_name, #run, #vhandle_tags

Constructor Details

This class inherits a constructor from WavefrontHclOutput::Base

Instance Method Details

#hcl_fieldsObject



11
12
13
14
# File 'lib/wavefront-cli/output/hcl/alert.rb', line 11

def hcl_fields
  %w[name target condition additional_information display_expression
     minutes resolve_after_minutes severity tags]
end