You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::EC2::Types::DiskImage

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb

Overview

Note:

When making an API call, you may pass DiskImage data as a hash:

{
  description: "String",
  image: {
    bytes: 1, # required
    format: "VMDK", # required, accepts VMDK, RAW, VHD
    import_manifest_url: "String", # required
  },
  volume: {
    size: 1, # required
  },
}

Describes a disk image.

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

A description of the disk image.

Returns:

  • (String)


12019
12020
12021
12022
12023
12024
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12019

class DiskImage < Struct.new(
  :description,
  :image,
  :volume)
  include Aws::Structure
end

#imageTypes::DiskImageDetail

Information about the disk image.



12019
12020
12021
12022
12023
12024
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12019

class DiskImage < Struct.new(
  :description,
  :image,
  :volume)
  include Aws::Structure
end

#volumeTypes::VolumeDetail

Information about the volume.

Returns:



12019
12020
12021
12022
12023
12024
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 12019

class DiskImage < Struct.new(
  :description,
  :image,
  :volume)
  include Aws::Structure
end