Virtual Machines hold all the different {@link VirtualMachine}s that are currently discovered.
Provides simple means to get all the current virtual machines, as well as as registering for
virtual machine lifecycle (added and removed) events.
Declaration Syntax
C# | Visual Basic | Visual C++ | J# |
public interface IVirtualMachines : IAdminAware, IEnumerable<IVirtualMachine>, IEnumerable, IStatisticsMonitor
Public Interface IVirtualMachines _ Inherits IAdminAware, IEnumerable(Of IVirtualMachine), IEnumerable, _ IStatisticsMonitor
public interface class IVirtualMachines : IAdminAware, IEnumerable<IVirtualMachine^>, IEnumerable, IStatisticsMonitor
public interface IVirtualMachines extends IAdminAware, IEnumerable<IVirtualMachine>, IEnumerable, IStatisticsMonitor
Members
All Members | Methods | Properties | Events | ||
Icon | Member | Description |
---|---|---|
Admin |
Gets the IServiceGridAdmin associated with this element.
(Inherited from IAdminAware.) | |
Count |
Gets the number of virtual machines current discovered.
| |
Details |
Gets the aggregated details of all virtual machines.
| |
GetEnumerator()()()() |
Returns an enumerator that iterates through the collection.
(Inherited from IEnumerable<(Of <(<'IVirtualMachine>)>)>.) | |
GetEnumerator()()()() |
Returns an enumerator that iterates through a collection.
(Inherited from IEnumerable.) | |
GetVirtualMachineByUID(String) |
Return a virtual machine by its uid.
| |
IsEmpty |
Gets whether there are no virtual machines.
| |
Monitoring |
Gets whether statistics are currently being monitored.
(Inherited from IStatisticsMonitor.) | |
SetStatisticsHistorySize(Int32) |
Sets the number of history statistics record to store.
(Inherited from IStatisticsMonitor.) | |
SetStatisticsInterval(TimeSpan) |
Sets the statistics interval, automatically updating the monitoring scheduled tasks if
monitoring is enabled.
(Inherited from IStatisticsMonitor.) | |
StartStatisticsMonitor()()()() |
Starts the statistics monitor, starting a scheduled monitor that polls for statistics. Monitoring
is required only when wanting to receive statistics change events.
(Inherited from IStatisticsMonitor.) | |
Statistics |
Gets the aggregated statistics of all virtual machines.
| |
StatisticsChanged |
Occurs when IVirtualMachinesStatistics has changed.
| |
StopStatisticsMonitor()()()() |
Stops the statistics monitor.
(Inherited from IStatisticsMonitor.) | |
Uids |
Gets a dictionary of virtual machines with their UIDs as keys.
| |
VirtualMachineAdded |
Occurs when IVirtualMachine has been added.
| |
VirtualMachineRemoved |
Occurs when IVirtualMachine has been removed.
| |
VirtualMachines |
Gets the currently discovered virtual machines.
| |
VirtualMachineStatisticsChanged |
Occurs when a single IVirtualMachineStatistics has changed.
|