/AWS1/CL_EC2=>IMPORTINSTANCE00()
¶
About ImportInstance¶
We recommend that you use the
ImportImage
API instead. For more information, see Importing a VM as an image using VM
Import/Export in the VM Import/Export User Guide.
Creates an import instance task using metadata from the specified disk image.
This API action supports only single-volume VMs. To import multi-volume VMs, use ImportImage instead.
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_PLATFORM
TYPE /AWS1/EC2PLATFORMVALUES
/AWS1/EC2PLATFORMVALUES
¶
The instance operating system.
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 for the instance being imported.
IO_LAUNCHSPECIFICATION
TYPE REF TO /AWS1/CL_EC2IMPINSTLAUNCHSPEC
/AWS1/CL_EC2IMPINSTLAUNCHSPEC
¶
The launch specification.
IT_DISKIMAGES
TYPE /AWS1/CL_EC2DISKIMAGE=>TT_DISKIMAGELIST
TT_DISKIMAGELIST
¶
The disk image.