Sha256: 8b974b84680b559baef17f71f4b4479fd3fbfcf972345ecb07e11f97435b6345
Contents?: true
Size: 418 Bytes
Versions: 4
Compression:
Stored size: 418 Bytes
Contents
module Fog module Volume class HuaweiCloud module Real def restore_backup(backup_id, volume_id) data = { 'restore' => { 'volume_id' => volume_id } } request( :expects => 202, :method => 'POST', :path => "backups/#{backup_id}/restore", :body => Fog::JSON.encode(data) ) end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems