Amazon.EC2.Import.DiskImageImporter.Upload C# (CSharp) Метод

Upload() публичный Метод

Constructs the import manifest for the image and then uploads it and the virtual machine image or disk image to Amazon S3. The S3 key to the uploaded manifest file is returned.

If an error occurs during upload of the image file the RetainArtifactsOnUploadError property governs whether the partially uploaded content is deleted or retained. If the content is retained, the import can be resumed. By default the RetainArtifactsOnUploadError property is false and the content deleted, avoiding storage charges for potentially orphaned content if the command is not re-run.

public Upload ( string imageFilepath ) : string
imageFilepath string The full path to the image file to be processed
Результат string
        public string Upload(string imageFilepath)
        {
            return Upload(imageFilepath, null, null, null, null, false);
        }

Same methods

DiskImageImporter::Upload ( string imageFilepath, string fileFormat, long volumeSize, string keyPrefix, ImportProgressCallback progressCallback, bool resumeUpload ) : string