class AWS::EC2::Snapshot
def create_volume availability_zone, options = {}
-
(Volume)
- The newly created volume
Options Hash:
(**options)
-
size
(Integer
) -- The desired size (in gigabytes)
Parameters:
-
options
(Hash
) -- Additional options for creating the volume -
availability_zone
(AvailabilityZone or String
) -- The
def create_volume availability_zone, options = {} volumes = VolumeCollection.new(:config => config) volumes.create(options.merge( :availability_zone => availability_zone, :snapshot => self )) end