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.
Namespace: Amazon.EC2.Model
Assembly: AWSSDK.EC2.dll
Version: 3.x.y.z
public class ExportImageRequest : AmazonEC2Request IAmazonWebServiceRequest
The ExportImageRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
ExportImageRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
ClientToken | System.String |
Gets and sets the property ClientToken. Token to enable idempotency for export image requests. |
![]() |
Description | System.String |
Gets and sets the property Description. A description of the image being exported. The maximum length is 255 characters. |
![]() |
DiskImageFormat | Amazon.EC2.DiskImageFormat |
Gets and sets the property DiskImageFormat. The disk image format. |
![]() |
ImageId | System.String |
Gets and sets the property ImageId. The ID of the image. |
![]() |
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'. |
![]() |
S3ExportLocation | Amazon.EC2.Model.ExportTaskS3LocationRequest |
Gets and sets the property S3ExportLocation. The Amazon S3 bucket for the destination image. The destination bucket must exist. |
![]() |
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. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5