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
            };
        }