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.
public DiskImageImporter ( AWSCredentials credentials, RegionEndpoint region, string bucketName ) : System
credentials Amazon.Runtime.AWSCredentials /// The AWS credentials of the account that will own the uploaded artifacts. ///
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(AWSCredentials credentials, RegionEndpoint region, string bucketName)
        {
            Region = region;
            BucketName = bucketName;

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

Same methods

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