Sha256: f4572a46da56af2bd9ead96597c080023f78639257db3e1b02583974d4f9e249

Contents?: true

Size: 790 Bytes

Versions: 1

Compression:

Stored size: 790 Bytes

Contents

module Fog
  module Compute
    class Cloudstack

      class Real
        # Updates a template visibility permissions. A public template is visible to all accounts within the same domain. A private template is visible only to the owner of the template. A priviledged template is a private template with account permissions added. Only accounts specified under the template permissions are visible to them.
        #
        # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/updateTemplatePermissions.html]
        def update_template_permissions(id, options={})
          options.merge!(
            'command' => 'updateTemplatePermissions', 
            '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/update_template_permissions.rb