Sha256: 9e39038265c4512085bfb8a32ecc5b7b130b74e2ec509bc3cfe3680a4ddb93be

Contents?: true

Size: 597 Bytes

Versions: 1

Compression:

Stored size: 597 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Creates a condition
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/createCondition.html]
        def create_condition(relationaloperator, threshold, counterid, options={})
          options.merge!(
            'command' => 'createCondition', 
            'relationaloperator' => relationaloperator, 
            'threshold' => threshold, 
            'counterid' => counterid  
          )
          request(options)
        end
      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fog-1.23.0 lib/fog/cloudstack/requests/compute/create_condition.rb