    # File lib/fog/hp/requests/compute/create_image.rb, line 18
            def create_image(server_id, name, metadata = {})
              body = { 'createImage' =>
                           { 'name' => name,
                             'metadata' =>
                                 { 'ImageType' => metadata[:image_type],
                                   'ImageVersion' => metadata[:image_version]
                                 }
                           }
                     }
              server_action(server_id, body)
            end