Method: Fog::Compute::AWS::Real#deregister_image
- Defined in:
- lib/fog/compute/requests/aws/deregister_image.rb
#deregister_image(image_id) ⇒ Object
deregister an image
Parameters
-
image_id<~String> - Id of image to deregister
Returns
-
response<~Excon::Response>:
-
body<~Hash>:
-
‘return’<~Boolean> - Returns true if deregistration succeeded
-
‘requestId’<~String> - Id of request
-
-
20 21 22 23 24 25 26 |
# File 'lib/fog/compute/requests/aws/deregister_image.rb', line 20 def deregister_image(image_id) request( 'Action' => 'DeregisterImage', 'ImageId' => image_id, :parser => Fog::Parsers::Compute::AWS::DeregisterImage.new ) end |