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 4.5
 
Container for the parameters to the ImportImage operation. Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI).

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.EC2.AmazonEC2Request
      Amazon.EC2.Model.ImportImageRequest

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

Syntax

C#
public class ImportImageRequest : AmazonEC2Request
         IRequestEvents

The ImportImageRequest type exposes the following members

Constructors

NameDescription
Public Method ImportImageRequest()

Properties

NameTypeDescription
Public Property Architecture System.String Gets and sets the property Architecture.

The architecture of the virtual machine.

Valid values: i386 | x86_64

Public Property ClientData Amazon.EC2.Model.ClientData Gets and sets the property ClientData.

The client-specific data.

Public Property ClientToken System.String Gets and sets the property ClientToken.

The token to enable idempotency for VM import requests.

Public Property Description System.String Gets and sets the property Description.

A description string for the import image task.

Public Property DiskContainers System.Collections.Generic.List<Amazon.EC2.Model.ImageDiskContainer> Gets and sets the property DiskContainers.

Information about the disk containers.

Public Property Hypervisor System.String Gets and sets the property Hypervisor.

The target hypervisor platform.

Valid values: xen

Public Property LicenseType System.String Gets and sets the property LicenseType.

The license type to be used for the Amazon Machine Image (AMI) after importing.

Note: You may only use BYOL if you have existing licenses with rights to use these licenses in a third party cloud like AWS. For more information, see VM Import/Export Prerequisites in the Amazon Elastic Compute Cloud User Guide.

Valid values: AWS | BYOL

Public Property Platform System.String Gets and sets the property Platform.

The operating system of the virtual machine.

Valid values: Windows | Linux

Public Property RoleName System.String Gets and sets the property RoleName.

The name of the role to use when not using the default role, 'vmimport'.

Version Information

.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