Represents the switch bandwidth resource status.
The following syntax is simplified Managed Object Format (MOF) code, and it includes all of the inherited properties.
Syntax
[Dynamic, Provider("VmmsWmiInstanceAndMethodProvider"), UUID("8F425906-034D-42AB-BD16-EDB31CEC55EF"), ExtensionId("11EC6134-128A-4A23-B12F-164184B48348"), InterfaceVersion("1"), InterfaceRevision("0"), DisplayName("Ethernet Switch Bandwidth data"), AMENDMENT]
class Msvm_EthernetSwitchBandwidthData : Msvm_EthernetSwitchData
{
string InstanceID;
string Caption = "Ethernet Switch Bandwidth data";
string Description = "Represents the switch bandwidth resource status.";
string ElementName = "Ethernet Switch Bandwidth data";
string SystemCreationClassName = "Msvm_VirtualEthernetSwitch";
string SystemName;
string CreationClassName = "Msvm_EthernetSwitchBandwidthData";
string Name;
uint64 Capacity = 100000000;
uint64 Reservation = 100000000;
uint32 DefaultFlowReservationPercentage = 10;
uint64 DefaultFlowReservation = 100000000;
uint64 DefaultFlowWeight = 0;
};
Members
The Msvm_EthernetSwitchBandwidthData class has these types of members:
Properties
The Msvm_EthernetSwitchBandwidthData class has these properties.
Capacity
Data type: uint64
Access type: Read-only
Qualifiers: WmiDataId (1), InterfaceVersion (1), InterfaceRevision (0)
The maximum bandwidth available on the switch.
Caption
Data type: string
Access type: Read-only
A short description of the object. This property is inherited from CIM_ManagedElement.
CreationClassName
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen (256)
The name of the class or subclass used in the creation of this instance.
DefaultFlowReservation
Data type: uint64
Access type: Read-only
Qualifiers: WmiDataId (4), InterfaceVersion (1), InterfaceRevision (0)
The current absolute bandwidth reserved on the switch for default flow.
DefaultFlowReservationPercentage
Data type: uint32
Access type: Read-only
Qualifiers: WmiDataId (3), InterfaceVersion (1), InterfaceRevision (0)
The current percentage of bandwidth reserved on the switch for default flow.
DefaultFlowWeight
Data type: uint64
Access type: Read-only
Qualifiers: WmiDataId (5), InterfaceVersion (1), InterfaceRevision (0)
The current weight for the default flow on the switch.
Description
Data type: string
Access type: Read-only
A description of the object. This property is inherited from CIM_ManagedElement.
ElementName
Data type: string
Access type: Read-only
A display name for the object. This property is inherited from CIM_ManagedElement.
InstanceID
Data type: string
Access type: Read-only
Qualifiers: Key
Uniquely identifies an instance of this class. This property is inherited from CIM_ManagedElement.
Name
Data type: string
Access type: Read-only
Qualifiers: Key, Override, MaxLen (256)
The unique name of the resource.
Reservation
Data type: uint64
Access type: Read-only
Qualifiers: WmiDataId (2), InterfaceVersion (1), InterfaceRevision (0)
The current bandwidth reserved on the switch.
SystemCreationClassName
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen (256)
The hosting system's creation class name. This property is inherited from CIM_Service.
SystemName
Data type: string
Access type: Read-only
Qualifiers: Key, MaxLen (256)
The name of the virtual switch to which the associated resource instance is bound.
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Namespace | Root\Virtualization\V2 |
| MOF | WindowsVirtualization.V2.mof |
| DLL | Vmms.exe |
Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.
