Sha256: ff2bf41a56e53997653c727a832fea2ff6068d6d8c2e5be08d892f53b2392fb4

Contents?: true

Size: 593 Bytes

Versions: 1

Compression:

Stored size: 593 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Adds detail for the Resource.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/addResourceDetail.html]
        def add_resource_detail(resourcetype, details, resourceid, options={})
          options.merge!(
            'command' => 'addResourceDetail', 
            'resourcetype' => resourcetype, 
            'details' => details, 
            'resourceid' => resourceid  
          )
          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/add_resource_detail.rb