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 ExportImage operation. Exports an Amazon Machine Image (AMI) to a VM file. For more information, see Exporting a VM directly from an Amazon Machine Image (AMI) in the VM Import/Export User Guide.

Inheritance Hierarchy

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

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

Syntax

C#
public class ExportImageRequest : AmazonEC2Request
         IAmazonWebServiceRequest

The ExportImageRequest type exposes the following members

Constructors

NameDescription
Public Method ExportImageRequest()

Properties

NameTypeDescription
Public Property ClientToken System.String

Gets and sets the property ClientToken.

Token to enable idempotency for export image requests.

Public Property Description System.String

Gets and sets the property Description.

A description of the image being exported. The maximum length is 255 characters.

Public Property DiskImageFormat Amazon.EC2.DiskImageFormat

Gets and sets the property DiskImageFormat.

The disk image format.

Public Property ImageId System.String

Gets and sets the property ImageId.

The ID of the image.

Public Property RoleName System.String

Gets and sets the property RoleName.

The name of the role that grants VM Import/Export permission to export images to your Amazon S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.

Public Property S3ExportLocation Amazon.EC2.Model.ExportTaskS3LocationRequest

Gets and sets the property S3ExportLocation.

Information about the destination Amazon S3 bucket. The bucket must exist and grant WRITE and READ_ACP permissions to the Amazon Web Services account vm-import-export@amazon.com.

Public Property TagSpecifications System.Collections.Generic.List<Amazon.EC2.Model.TagSpecification>

Gets and sets the property TagSpecifications.

The tags to apply to the export image task during creation.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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