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 .
| C# |
ImportVolumeResponse ImportVolume( ImportVolumeRequest request )
- request (ImportVolumeRequest)
- Import Volume request
Import Volume Response from the service
| Exception | Condition |
|---|---|
| WebException | |
| AmazonEC2Exception |