AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

.NET Framework 3.5
Creates an import instance task using metadata from the specified disk image. ImportInstance only supports single-volume VMs. To import multi-volume VMs, use ImportImage. After importing the image, you then upload it using the ec2-import-volume command in the EC2 command line 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.

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: (assembly version)


public abstract ImportInstanceResponse ImportInstance(
         ImportInstanceRequest request


Type: Amazon.EC2.Model.ImportInstanceRequest

Container for the necessary parameters to execute the ImportInstance service method.

Return Value
Type: Amazon.EC2.Model.ImportInstanceResponse
The response from the ImportInstance service method, as returned by EC2.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5