Sha256: 4881ff57e80e216e05ce56f9bb6a0871f56c5c96e3a1d9cf715265d8c1032043
Contents?: true
Size: 656 Bytes
Versions: 28
Compression:
Stored size: 656 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Adds metric counter # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.4/root_admin/createCounter.html] def create_counter(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'createCounter') else options.merge!('command' => 'createCounter', 'name' => args[0], 'value' => args[1], 'source' => args[2]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems