大网数据广告活动
Hyper-V与虚拟化

Hyper-V networking API reference

· 52CE 我爱测

The networking architecture for virtualization models the physical networking architecture. It uses standard networking objects such as switches, switch ports, and network adapters.

The networking architecture for virtualization models the physical networking architecture. It uses standard networking objects such as switches, switch ports, and network adapters.

The following are virtualization WMI classes related to networking.

In this section

Topic Description
Msvm_ActiveConnection Connects a switch port to the LAN endpoint to which the port is connected.
Msvm_BindsToLANEndpoint This association establishes a service access point (SAP) as a requester of protocol services from a protocol endpoint.
Msvm_ConcreteDependency Defines the association between an installed Ethernet switch extension and an Ethernet switch extension.
Msvm_DeviceSAPImplementation An association between a service access point (SAP) and how it is implemented.
Msvm_DynamicForwardingEntry Represents an entry in the forwarding (filtering) database that is associated with the transparent bridging service.
Msvm_EmulatedEthernetPort Represents an emulated Ethernet adapter.
Msvm_EmulatedEthernetPortSettingData Represents the configured state of an emulated Ethernet adapter.
Msvm_EthernetDeviceSAPImplementation Represents an association between a service access point and the logical device that implements it.
Msvm_EthernetPortAllocationSettingData Represents an allocation request for a static or dynamic switch port, or represents the active configuration of a currently allocated static or dynamic switch port.
Msvm_EthernetPortData An abstract class that represents port runtime data collected by an Ethernet switch extension.
Msvm_EthernetPortFailoverSettingDataComponent An association used to establish relationships between one instance of an Msvm_EmulatedEthernetPortSettingData and one or more instances of an Msvm_EthernetSwitchFeatureSettingData.
Msvm_EthernetPortInfo An association between an instance of the Msvm_EthernetSwitchPort class and an instance of the Msvm_EthernetPortData class that represents data gathered about the port by a switch extension.
Msvm_EthernetPortSettingDataComponent An association used to establish "part of" relationships between one instance of an Msvm_EthernetPortAllocationSettingData and one or more instances of an Msvm_EthernetSwitchFeatureSettingData.
Msvm_EthernetSwitchBandwidthData Represents the switch bandwidth resource status.
Msvm_EthernetSwitchData Abstract class that represents a resource for a given instance of an Ethernet switch.
Msvm_EthernetSwitchExtension Represents an instance of an extension component bound to a virtual Ethernet switch.
Msvm_EthernetSwitchExtensionCapabilities Represents the association between Ethernet extensions and their capabilities.
Msvm_EthernetSwitchFeatureCapabilities Defines the means by which a client can discover the valid range of default settings for an Ethernet switch feature.
Msvm_EthernetSwitchFeatureSettingData An abstract class that represents settings for a given instance of an Ethernet switch feature.
Msvm_EthernetSwitchHardwareOffloadData Represents the switch hardware offload status.
Msvm_EthernetSwitchInfo Defines the association between an Ethernet switch and a switch resource.
Msvm_EthernetSwitchOperationalData Represents switch operational parameters.
Msvm_EthernetSwitchPort Represents a port on the switch.
Msvm_EthernetSwitchPortAclSettingData Represents the access control list (ACL) for switch port settings.
Msvm_EthernetSwitchPortBandwidthData Represents the port bandwidth feature status data.
Msvm_EthernetSwitchPortBandwidthSettingData Represents the port bandwidth settings.
Msvm_EthernetSwitchPortFeatureSettingData Abstract base class for classes that represent settings for an Ethernet switch port feature.
Msvm_EthernetSwitchPortOffloadData Represents the port offload feature status data.
Msvm_EthernetSwitchPortOffloadSettingData Represents the port offload feature setting data.
Msvm_EthernetSwitchPortProfileSettingData Represents the port profile settings.
Msvm_EthernetSwitchPortSecuritySettingData Represents the security feature setting data.
Msvm_EthernetSwitchPortVlanSettingData Represents the virtual LAN (VLAN) setting data.
Msvm_ExternalEthernetPort Represents an external Ethernet port (network adapter).
Msvm_ExternalEthernetPortCapabilities Describes the capabilities of the associated Msvm_ExternalEthernetPort.
Msvm_GuestNetworkAdapterConfiguration Represents the configuration of a network adapter within the guest operating system.
Msvm_HostedEthernetSwitchExtension Associates a virtual Ethernet switch to the extensions currently bound to it.
Msvm_HostedSwitchService An association that connects a virtual switch service to a transparent bridging service.
Msvm_InstalledEthernetSwitchExtension Represents an instance of an extension component installed on a host system.
Msvm_InternalEthernetPort Represents an internal Ethernet port (network adapter).
Msvm_LANEndpoint Represents the logical connection point for a network adapter. When the LAN endpoint is connected to a switch port, the network adapter connected to the LAN endpoint has network connectivity.
Msvm_ParentEthernetSwitchExtension Represents the association between a parent Ethernet switch extension and a child Ethernet switch extension.
Msvm_SettingDataComponent Establish a relationship between an instance of the Msvm_EmulatedEthernetPortSettingData or Msvm_SyntheticEthernetPortSettingData class with an instance of the Msvm_GuestNetworkAdapterConfiguration class.
Msvm_SwitchPortDynamicForwarding Connects a switch port to a dynamic forward entry (learned MAC address).
Msvm_SyntheticEthernetPort Represents a synthetic Ethernet adapter.
Msvm_SyntheticEthernetPortSettingData Represents the configured state of a synthetic Ethernet adapter.
Msvm_TransparentBridgingDynamicForwarding Connects a transparent bridging service to a dynamic forward entry (learned MAC address).
Msvm_TransparentBridgingService Serves as a placeholder for the service inside the switch that learns MAC addresses and serves as a bridge between the Msvm_VirtualEthernetSwitch and Msvm_DynamicForwardingEntry classes.
Msvm_VirtualEthernetSwitch Represents a virtual Ethernet switch. Each switch has many different ports to which network adapters can be attached. The switch itself is not highly configurable and acts mostly as a placeholder.
Msvm_VirtualEthernetSwitchBandwidthSettingData Represents the bandwidth settings for a virtual switch.
Msvm_VirtualEthernetSwitchManagementCapabilities Describes the capabilities of the associated Msvm_VirtualEthernetSwitchManagementService.
Msvm_VirtualEthernetSwitchManagementService Represents the virtualization service present on a single host system. Msvm_VirtualEthernetSwitchManagementService is used to control the definition, modification, and deletion of virtual Ethernet switches.
Msvm_VirtualEthernetSwitchSettingData Represents the current configuration of a virtual Ethernet switch.
Msvm_VirtualEthernetSwitchSettingDataComponent An association used to establish "part of" relationships between one instance of Msvm_VirtualEthernetSwitchSettingData and one or more instances of Msvm_EthernetSwitchFeatureSettingData.
Msvm_VLANEndpoint Represents the VLAN endpoint of a switch port.
Msvm_WiFiDeviceSAPImplementation An association between a service access point (SAP) and how it is implemented.
Msvm_WiFiEndpoint Represents the logical connection point for a network adapter. When the Wi-Fi endpoint is connected to a switch port, the network adapter connected to the Wi-Fi endpoint has network connectivity.
Msvm_WiFiPort Represents a physical Wi-Fi (802.11) network adapter that can be bound to a virtual switch to provide external network connectivity to virtual machines.

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.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。