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

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

Constructs an image importer to upload and convert virtual machine image or disk volumes for use with Amazon EC2. AWS credentials will be obtained from the application configuration settings.
public DiskImageImporter ( RegionEndpoint region, string bucketName ) : System
region RegionEndpoint /// The region to which the artifacts will be uploaded and EC2 conversion performed. ///
bucketName string /// The name of the Amazon S3 bucket that will contain the uploaded image and manifest. If the bucket /// does not exist it will be created. ///
Результат System
        public DiskImageImporter(RegionEndpoint region, string bucketName)
        {
            Region = region;
            BucketName = bucketName;

            EC2Client = new AmazonEC2Client(Region);
            S3Client = ServiceClientHelpers.CreateServiceFromAssembly<ICoreAmazonS3>(ServiceClientHelpers.S3_ASSEMBLY_NAME, ServiceClientHelpers.S3_SERVICE_CLASS_NAME, Region);
        }

Same methods

DiskImageImporter::DiskImageImporter ( AWSCredentials credentials, RegionEndpoint region, string bucketName ) : System
DiskImageImporter::DiskImageImporter ( ICoreAmazonS3 s3Client, IAmazonEC2 ec2Client, string bucketName ) : System