wsp-10323 Сonvert the VSP provider into one utilizing PowerShell - Step 1.

This commit is contained in:
me 2015-03-04 20:04:18 +04:00
parent e717a15781
commit d9d41827f6
24 changed files with 3677 additions and 39 deletions

View file

@ -69,8 +69,8 @@ namespace WebsitePanel.Providers.Virtualization
public int CpuUsage { get; set; }
[Persistent]
public int RamSize { get; set; }
public int RamUsage { get; set; }
public long RamSize { get; set; }
public long RamUsage { get; set; }
[Persistent]
public int HddSize { get; set; }
public LogicalDisk[] HddLogicalDisks { get; set; }
@ -123,5 +123,18 @@ namespace WebsitePanel.Providers.Virtualization
// for GetVirtualMachineEx used in import method
public VirtualMachineNetworkAdapter[] Adapters { get; set; }
[Persistent]
public VirtualHardDiskInfo[] Disks { get; set; }
[Persistent]
public string Status { get; set; }
[Persistent]
public string ReplicationState { get; set; }
[Persistent]
public int Generation { get; set; }
}
}