Amazon.EC2.Import.DiskImageImporter.PopulateDiskImageDetail C# (CSharp) 메소드

PopulateDiskImageDetail() 공개 메소드

Helper to populate a DiskImageDetail instance from the SDK that will be used in an ImportVolume API request using data previously recorded in the import manifest.
public PopulateDiskImageDetail ( string manifestFileKey ) : DiskImageDetail
manifestFileKey string The Amazon S3 object key of the manifest file.
리턴 Amazon.EC2.Model.DiskImageDetail
        public DiskImageDetail PopulateDiskImageDetail(string manifestFileKey)
        {
            return new DiskImageDetail
            {
                ImportManifestUrl = GetPresignedManifestUrl(manifestFileKey),
                Format = ImportManifest.FileFormat,
                Bytes = ImportManifest.ImportData.Size
            };
        }