Class: WavefrontCli::MaintenanceWindow

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

Overview

CLI coverage for the v2 ‘maintenancewindow’ API.

Instance Attribute Summary

Attributes inherited from Base

#klass, #klass_word, #options, #wf

Instance Method Summary collapse

Methods inherited from Base

#check_status, #dispatch, #display, #do_delete, #do_describe, #do_import, #do_list, #do_tag_add, #do_tag_clear, #do_tag_delete, #do_tag_set, #do_tags, #do_undelete, #do_update, #format_var, #handle_error, #handle_response, #import_to_create, #initialize, #load_display_class, #load_file, #mk_creds, #mk_opts, #run, #validate_id, #validate_input, #validate_opts, #validate_tags

Constructor Details

This class inherits a constructor from WavefrontCli::Base

Instance Method Details

#validator_exceptionObject



12
13
14
# File 'lib/wavefront-cli/maintenancewindow.rb', line 12

def validator_exception
  Wavefront::Exception::InvalidMaintenanceWindowId
end

#validator_methodObject



8
9
10
# File 'lib/wavefront-cli/maintenancewindow.rb', line 8

def validator_method
  :wf_maintenance_window_id?
end