Creates an import volume task using metadata from the specified disk image. After importing the image, you then upload it using the ec2-import-volume command in the Amazon EC2 command-line interface (CLI) tools. For more information, see Using the Command Line Tools to Import Your Virtual Machine to Amazon EC2 in the Amazon Elastic Compute Cloud User Guide .
Declaration Syntax
C# |
ImportVolumeResponse ImportVolume( ImportVolumeRequest request )
Parameters
- request (ImportVolumeRequest)
- Import Volume request
Return Value
Import Volume Response from the service
Exceptions
Exception | Condition |
---|---|
WebException | |
AmazonEC2Exception |