X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;ds=sidebyside;f=3rdparty%2Fmodules%2Faviator%2Ffeature%2Faviator%2Fopenstack%2Fcompute%2Fv2%2Fpublic%2Fget_image_details.rb;fp=3rdparty%2Fmodules%2Faviator%2Ffeature%2Faviator%2Fopenstack%2Fcompute%2Fv2%2Fpublic%2Fget_image_details.rb;h=b9fd3cce8fb1bc2be7cd1e24e1293fb88bf72365;hb=4631045ebb77ee8622f6fa09277a50c372bcc02e;hp=0000000000000000000000000000000000000000;hpb=3d4dc4fd9e59bd0e07646c99f6b356c7d9d859aa;p=dsa-puppet.git diff --git a/3rdparty/modules/aviator/feature/aviator/openstack/compute/v2/public/get_image_details.rb b/3rdparty/modules/aviator/feature/aviator/openstack/compute/v2/public/get_image_details.rb new file mode 100644 index 00000000..b9fd3cce --- /dev/null +++ b/3rdparty/modules/aviator/feature/aviator/openstack/compute/v2/public/get_image_details.rb @@ -0,0 +1,29 @@ +module Aviator + + define_request :get_image_details, :inherit => [:openstack, :common, :v2, :public, :base] do + + meta :service, :compute + + link 'documentation', + 'http://docs.openstack.org/api/openstack-compute/2/content/Get_Image_Details-d1e4848.html' + + param :id, :required => true + + + def headers + super + end + + + def http_method + :get + end + + + def url + "#{ base_url }/images/#{ params[:id]}" + end + + end + +end \ No newline at end of file