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.
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.Model
Assembly: AWSSDK.dll
Version: (assembly version)
public class ImportInstanceRequest : AmazonEC2Request IRequestEvents
The ImportInstanceRequest type exposes the following members
Name | Description | |
---|---|---|
ImportInstanceRequest() |
Name | Type | Description | |
---|---|---|---|
Description | System.String |
Gets and sets the property Description.
A description for the instance being imported. |
|
DiskImages | System.Collections.Generic.List<Amazon.EC2.Model.DiskImage> |
Gets and sets the property DiskImages.
The disk image. |
|
LaunchSpecification | Amazon.EC2.Model.ImportInstanceLaunchSpecification |
Gets and sets the property LaunchSpecification.
The launch specification. |
|
Platform | Amazon.EC2.PlatformValues |
Gets and sets the property Platform.
The instance operating system. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5
.NET for Windows Store apps:
Supported in: Windows 8.1, Windows 8
.NET for Windows Phone:
Supported in: Windows Phone 8.1, Windows Phone 8