Exemple #1
0
        public VirtualMachine CreateVirtualMachine(IVirtualizationImage image)
        {
            Console.WriteLine("Create vm by Ovh");

            return(new VirtualMachine
            {
                Name = $"VM-{Guid.NewGuid()}",
                Type = VirtualizationTypes.Ovh,
                VirtualizationImage = image
            });
        }
Exemple #2
0
 public VirtualMachine CreateVirtualMachine(IVirtualizationImage image)
 {
     return(GetProvider(image).CreateVirtualMachine(image));
 }