Method: Fog::Compute::AWS::Real#delete_volume
- Defined in:
- lib/fog/compute/requests/aws/delete_volume.rb
#delete_volume(volume_id) ⇒ Object
Delete an EBS volume
Parameters
-
volume_id<~String> - Id of volume to delete.
Returns
-
response<~Excon::Response>:
-
body<~Hash>:
-
‘requestId’<~String> - Id of request
-
‘return’<~Boolean> - success?
-
-
20 21 22 23 24 25 26 27 |
# File 'lib/fog/compute/requests/aws/delete_volume.rb', line 20 def delete_volume(volume_id) request( 'Action' => 'DeleteVolume', 'VolumeId' => volume_id, :idempotent => true, :parser => Fog::Parsers::Compute::AWS::Basic.new ) end |