Sha256: df6c9672966599203aecdcba3c08ee04da4893153eb84973f0524c15d5bad876

Contents?: true

Size: 532 Bytes

Versions: 1

Compression:

Stored size: 532 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Deletes a template from the system. All virtual machines using the deleted template will not be affected.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/deleteTemplate.html]
        def delete_template(id, options={})
          options.merge!(
            'command' => 'deleteTemplate', 
            'id' => id  
          )
          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/delete_template.rb