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.
Namespace: Amazon.EC2.Import
Assembly: AWSSDK.dll
Version: (assembly version)
public ImportVolumeResponse ImportVolume(
String imageFilepath,
String fileFormat,
Nullable<Int64> volumeSize,
String keyPrefix,
String availabilityZone,
String description,
ImportProgressCallback progressCallback
)
The full path to the image file to be processed
The format of the image file (VMDK | RAW | VHD). If not specified, it will be inferred from the extension of the image file.
The requested size (in GiB) for the resulting image volume. If not specified a suitable value based on the size of the image file is used.
Optional root-level key prefix that will be applied to the uploaded artifacts in S3. The artifacts will be placed beneath this (or the root if not set) in a key composed of a GUID.
The Availability Zone for the resulting Amazon EBS volume.
An optional description for the volume being imported.
Optional callback delegate for upload progress reporting
.NET Framework:
Supported in: 4.5, 4.0, 3.5