AWS SDK Version 3 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.

Container for the parameters to the ImportImage operation. Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI). For more information, see Importing a VM as an Image Using VM Import/Export in the VM Import/Export User Guide.

Inheritance Hierarchy

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

Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z

Syntax

C#
public class ImportImageRequest : AmazonEC2Request
         IAmazonWebServiceRequest

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 Prerequisites in the VM Import/Export 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 Standard:
Supported in: 1.3

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

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms