/// <summary> /// Initializes a new instance of the <see cref="Terradue.Cloud.XmlRpcCloudAppliance"/> class. /// </summary> /// <param name="context">Context.</param> /// <param name="vm">Vm.</param> /// <param name="provider">Provider.</param> public OneCloudAppliance(IfyContext context, VM vm, OneCloudProvider provider) : base(context) { this.XmlRpcProvider = provider; this.RemoteId = vm.ID; this.Name = vm.NAME; this.Vm = vm; }
/// <summary> /// Initializes a new instance of the <see cref="Terradue.Cloud.XmlRpcCloudAppliance"/> class. /// </summary> /// <param name="context">Context.</param> /// <param name="vm">Vm.</param> /// <param name="provider">Provider.</param> public LocalCloudAppliance(IfyContext context, VM vm, OneCloudProvider provider) : base(context) { this.RemoteId = vm.ID; this.Name = vm.NAME; }