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. |
![]() |
DryRun | System.Nullable<System.Boolean> |
Gets and sets the property DryRun.
Checks whether you have the required permissions for the action, without actually
making the request, and provides an error response. If you have the required permissions,
the error response is |
![]() |
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. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer