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

Class: Aws::EC2::Types::DiskImageDetail

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 DiskImageDetail data as a hash:

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

Describes a disk image.

Instance Attribute Summary collapse

Instance Attribute Details

#bytesInteger

The size of the disk image, in GiB.

Returns:

  • (Integer)


13983
13984
13985
13986
13987
13988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13983

class DiskImageDetail < Struct.new(
  :bytes,
  :format,
  :import_manifest_url)
  include Aws::Structure
end

#formatString

The disk image format.

Returns:

  • (String)


13983
13984
13985
13986
13987
13988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13983

class DiskImageDetail < Struct.new(
  :bytes,
  :format,
  :import_manifest_url)
  include Aws::Structure
end

#import_manifest_urlString

A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.

For information about the import manifest referenced by this API action, see VM Import Manifest.

Returns:

  • (String)


13983
13984
13985
13986
13987
13988
# File 'gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb', line 13983

class DiskImageDetail < Struct.new(
  :bytes,
  :format,
  :import_manifest_url)
  include Aws::Structure
end