X-Git-Url: https://git.donarmstrong.com/?p=dsa-puppet.git;a=blobdiff_plain;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;hp=0000000000000000000000000000000000000000;hb=b7626cbcbb2fb8e7ce3dc5ac60e80a981175f9d3;hpb=8132e6bb1199463f5e334326659c974d4772b3e3 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