Sha256: 61372cd4ca50a4875e5d8b8cd0fcf2b4b788032df5c5e17b88ef3eb2f0407b37

Contents?: true

Size: 531 Bytes

Versions: 1

Compression:

Stored size: 531 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Lists usage records for accounts
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/listUsageRecords.html]
        def list_usage_records(enddate, startdate, options={})
          options.merge!(
            'command' => 'listUsageRecords', 
            'enddate' => enddate, 
            'startdate' => startdate  
          )
          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/list_usage_records.rb