Sha256: 1f0d68ae2d04d047857d7cf97161feab2a513d142ec6b82a194bf71762b7562b
Contents?: true
Size: 714 Bytes
Versions: 1
Compression:
Stored size: 714 Bytes
Contents
module Fog module Compute class Cloudstack class Real # Lists all supported OS types for this cloud. # # {CloudStack API Reference}[http://cloudstack.apache.org/docs/api/apidocs-4.3/root_admin/listOsTypes.html] def list_os_types(options={}) options.merge!( 'command' => 'listOsTypes' ) request(options) end end class Mock # TODO: add id, category_id filters and paging params def list_os_types(options={}) os_types = self.data[:os_types] { "listostypesresponse" => { "count"=> os_types.count, "ostype"=> os_types.values } } 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_os_types.rb |