/AWS1/CL_EC2=>IMPORTVOLUME00()
¶
About ImportVolume¶
This API action supports only single-volume VMs. To import multi-volume VMs, use ImportImage instead. To import a disk to a snapshot, use ImportSnapshot instead.
Creates an import volume task using metadata from the specified disk image.
For information about the import manifest referenced by this API action, see VM Import Manifest.
This API action is not supported by the Command Line Interface (CLI).
Method Signature¶
IMPORTING¶
Required arguments:¶
IV_AVAILABILITYZONE
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
The Availability Zone for the resulting EBS volume.
IO_IMAGE
TYPE REF TO /AWS1/CL_EC2DISKIMAGEDETAIL
/AWS1/CL_EC2DISKIMAGEDETAIL
¶
The disk image.
IO_VOLUME
TYPE REF TO /AWS1/CL_EC2VOLUMEDETAIL
/AWS1/CL_EC2VOLUMEDETAIL
¶
The volume size.
Optional arguments:¶
IV_DRYRUN
TYPE /AWS1/EC2BOOLEAN
/AWS1/EC2BOOLEAN
¶
Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is
DryRunOperation
. Otherwise, it isUnauthorizedOperation
.
IV_DESCRIPTION
TYPE /AWS1/EC2STRING
/AWS1/EC2STRING
¶
A description of the volume.