Skip to content

/AWS1/CL_EC2DISKIMAGEDETAIL

Describes a disk image.

CONSTRUCTOR

IMPORTING

Required arguments:

IV_BYTES TYPE /AWS1/EC2LONG /AWS1/EC2LONG

The size of the disk image, in GiB.

IV_FORMAT TYPE /AWS1/EC2DISKIMAGEFORMAT /AWS1/EC2DISKIMAGEFORMAT

The disk image format.

IV_IMPORTMANIFESTURL TYPE /AWS1/EC2IMPORTMANIFESTURL /AWS1/EC2IMPORTMANIFESTURL

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.


Queryable Attributes

Bytes

The size of the disk image, in GiB.

Accessible with the following methods

Method Description
GET_BYTES() Getter for BYTES, with configurable default
ASK_BYTES() Getter for BYTES w/ exceptions if field has no value
HAS_BYTES() Determine if BYTES has a value

Format

The disk image format.

Accessible with the following methods

Method Description
GET_FORMAT() Getter for FORMAT, with configurable default
ASK_FORMAT() Getter for FORMAT w/ exceptions if field has no value
HAS_FORMAT() Determine if FORMAT has a value

ImportManifestUrl

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.

Accessible with the following methods

Method Description
GET_IMPORTMANIFESTURL() Getter for IMPORTMANIFESTURL, with configurable default
ASK_IMPORTMANIFESTURL() Getter for IMPORTMANIFESTURL w/ exceptions if field has no v
HAS_IMPORTMANIFESTURL() Determine if IMPORTMANIFESTURL has a value