Sha256: 7eaa196ec8cd948bca2da946233fc836dd9d4376e1570647284fcc1f65d5dbab
Contents?: true
Size: 946 Bytes
Versions: 28
Compression:
Stored size: 946 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.4/root_admin/updateTemplatePermissions.html] def update_template_permissions(*args) options = {} if args[0].is_a? Hash options = args[0] options.merge!('command' => 'updateTemplatePermissions') else options.merge!('command' => 'updateTemplatePermissions', 'id' => args[0]) end request(options) end end end end end
Version data entries
28 entries across 26 versions & 4 rubygems