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

CIM Classes (Hyper-V management)

· 52CE 我爱测

The CIM classes are base classes that all WMI objects derive from.

The CIM classes are base classes that all WMI objects derive from. Each provider potentially may use a slightly different versions of the CIM classes; therefore, most v2 WMI providers contain their own CIM class documentation.

The following CIM classes are found in the root\virtualization\v2 namespace.

In this section

Topic Description
CIM_ActiveConnection Defines a connection that is currently turned on and configured to provide communication between two CIM_ServiceAccessPoint objects. CIM_ActiveConnection is used when the connection is not treated as a CIM_ManagedElement object. Service access points that are connected by an active connection are typically at the same networking or application layer.
CIM_AffectedJobElement Represents an association between a job and the CIM_ManagedElement objects that may be affected by its execution. It may not be feasible for the job to describe all of the affected elements. The main purpose of this association is to provide information when a job requires exclusive use of the affected managed elements or when describing the side effects that may result.
CIM_AggregationMetricDefinition Represents the definition of a metric that is derived from another metric value. A CIM_AggregationMetricDefinition object should be associated with the CIM_ManagedElement objects to which it applies.
CIM_AggregationMetricValue Represents the instance value of a metric defined by an instance of CIM_AggregationMetricDefinition.
CIM_AlertIndication A concrete superclass for CIM alert notifications. CIM_AlertIndication is a specialized type of CIM_Indication class that contains information about the severity, cause, recommended actions, and other data for a real world event. This event and its data may or may not be modeled in the CIM class hierarchy.
CIM_AllocationCapabilities Represents the resource allocation settings of a managed element for a specific resource type.
CIM_BasedOn Represents an association between a higher level CIM_StorageExtent object and a lower level CIM_StorageExtent object. For example a CIM_ProtectedSpaceExtent object is a part of a CIM_PhysicalExtent object.
CIM_BaseMetricDefinition Represents a metric definition that contains the meta data for a CIM_MetricInstance object.
CIM_BaseMetricValue Represents the instance value of a metric.
CIM_BindsTo Represents an association where a CIM_ServiceAccessPoint object requests protocol services from a CIM_ProtocolEndpoint object.
CIM_BindsToLANEndpoint Represents an association where a CIM_ServiceAccessPoint or CIM_ProtocolEndpoint object depends on an underlying CIM_LANEndpoint object on the same system.
CIM_BIOSElement Represents the low-level software that is loaded into non-volatile storage and used to start up and configure a computer system (CIM_ComputerSystem).
CIM_Capabilities An abstract class for subclasses that describes the abilities of an associated managed element, and the potential of the abilities.
CIM_CDROMDrive Represents the capabilities and management of a CD ROM drive.
CIM_CollectedMSEs Represents a generic association between a collection of managed system elements and the members of the collection.
CIM_Collection A superclass for classes that represent a collection of CIM_ManagedElement objects and the subclasses of managed elements.
CIM_CollectionOfMSEs An abstract class for subclasses that represent a collection of CIM_ManagedSystemElement objects. These collections allow managed system elements to be grouped for identification purposes and to simplify the association of settings and configurations.
CIM_Component Represents a generic association between a parent managed element and a child managed element where the child represents a component or part of the parent.
CIM_ComputerSystem Represents a collection that provides computing capabilities and consists of CIM_ManagedSystemElement objects.
CIM_ConcreteComponent Represents a generic association used to establish the parts of a relationship between managed elements.
CIM_ConcreteDependency Represents a generic association in which a managed element depends on another. CIM_ConcreteDependency subclasses CIM_Dependency to provide a concrete class version of CIM_Dependency.
CIM_ConcreteJob A concrete version of the CIM_Job class. This class represent a generic instantiable unit of work to run, such as a batch or a print job.
CIM_ControlledBy Represents a relationship between a controller and a logical device that is managed by the controller.
CIM_Controller A superclass for miscellaneous control-related devices that provide a classic bus master interface. The controller class is an abstraction for devices with a single protocol stack, and exist to control communications (data, control, and reset) to downstream devices.
CIM_Dependency Represents a generic association used to establish dependency relationships between managed elements.
CIM_DesktopMonitor Represents a CRT desktop monitor.
CIM_DeviceConnection A relationship that indicates that two or more devices are connected together.
CIM_DeviceSAPImplementation Represents an association between a service access point (SAP) and a logical device that implements it.
CIM_DiskDrive Represents a disk drive.
CIM_DisketteDrive Represents a diskette drive.
CIM_Display A superclass for classes that represent display devices.
CIM_DisplayController Represents a display controller.
CIM_DVDDrive Represents a DVD drive.
CIM_DynamicForwardingEntry Represents an entry in the forwarding database associated with the CIM_TransparentBridgingService class.
CIM_ElementAllocatedFromPool Represents an association in which a CIM_LogicalElement object represents a resource allocated from a CIM_ResourcePool object.
CIM_ElementCapabilities Represents an association between a managed element and its capabilities.
CIM_ElementConformsToProfile Represents an association in which a managed element conforms to the standard of a registered profile. This association usually applies to a higher level instance, such as a system, namespace, or service. When applied to a higher level instance, all constituent parts MUST behave appropriately in support of the ManagedElement's conformance to the named RegisteredProfile.
CIM_ElementSettingData Represents an association between a managed element and its associated setting data. This association also describes whether this is a default or current setting.
CIM_ElementView Represents and association between a view, and an instance that represents the normalized view of a managed resource.
CIM_EnabledLogicalElement Represents a logical element that can be enabled and disabled.
CIM_EnabledLogicalElementCapabilities Describes the restrictions on the properties of an associated CIM_EnabledLogicalElement object.
CIM_Error The CIM_Error class contains information about the failure of a CIM operation.
CIM_EthernetPort Represents an ethernet port.
CIM_EthernetPortAllocationSettingData Represents settings for the allocation of the ethernet port, in addition to the settings provided by the CIM_EthernetPort class. These settings are used to provide information specific to the resource itself.
CIM_FCPort Represents the capabilities and management of a fibre channel (FC) port device.
CIM_ForwardingService Represents a forwarding service for network traffic. The service processes packets received protocol endpoints by discarding them, or sending the packets to other protocol endpoints.
CIM_ForwardsAmong Represents an association in which protocol endpoints depend on a forwarding service to forward data.
CIM_HostedAccessPoint Represents an association between a service access point (SAP) and the system that hosts it. A system can host multiple access points. If the implementation of the SAP is modeled, it must be implemented by a device or software feature that is part of the system that hosts the SAP.
CIM_HostedDependency Represents an association where a managed element is hosted by another.
CIM_HostedResourcePool Represents an association between a system and a resource pool that is a component of the system.
CIM_HostedService Represents an association between a service and the system that hosts the service. A System can host many services, however this class does not represent services hosted across multiple systems.
CIM_IDEController Describes the capabilities and management of an IDE controller.
CIM_Indication CIM_Indication is the abstract base class for all notifications about changes in schema objects, and schema object data, events detected by providers and instrumentation. Subclasses of CIM_Indication represent specific types of notifications.
CIM_Job A logical element that represents a unit of work to execute, such as a script or a print job. A job is distinct from a process because a job can be scheduled or queued, and its execution is not limited to a single system.
CIM_LANEndpoint A communication endpoint that can connect to a LAN to send and receive data frames. LAN endpoints include ethernet, token Ring, and FDDI interfaces.
CIM_LastAppliedSnapshot Represents an association between a computer system and its most recently applied virtual system snapshot.
CIM_LogicalDevice An abstraction or emulation of a hardware entity that may or may not be based on physical hardware.
CIM_LogicalDisk Represents a contiguous range of logical blocks that is identifiable by a file system through the disk's DeviceID (key) field. For example, in a Windows environment, the DeviceID field contains a drive letter; in a UNIX environment, it contains the access path; and in a NetWare environment, it contains the volume name.
CIM_LogicalElement CIM_LogicalElement is a base class for all components of a System that represent abstract system components, such as files, processes, and logical devices.
CIM_LogicalIdentity Represents a generic association between two managed elements that represent different aspects of the same underlying entity.
CIM_LogicalPort The abstraction of a port or connection point of a device.
CIM_ManagedElement The CIM_ManagedElement class is an abstract class that provides a common superclass (or top of the inheritance tree) for the non-association classes in the CIM Schema.
CIM_ManagedSystemElement CIM_ManagedSystemElement is the base class for the system element hierarchy. Any component of a system can potentially be represented by this class or its subclasses.
CIM_MediaAccessDevice Represents a device that can use media to store and retrieve data.
CIM_MediaPresent Represents a relationship in which a storage extent must be accessed through a media access device.
CIM_MemberOfCollection Represents a relationship in which a managed element is a member of and is aggregated by a collection.
CIM_Memory Represents the capabilities and management of memory-related logical devices.
CIM_MetricDefForME Represents an association in which a CIM_BaseMetricDefinition object defines metrics for a managed element.
CIM_MetricForME Represents an association in which a metric values are collected for a managed element.
CIM_MetricInstance Represents an association between an instance of a metric value and a metric definition.
CIM_MetricService Manages metrics for managed elements.
CIM_MetricServiceCapabilities Describes the capabilities of a CIM_MetricService object.
CIM_MostCurrentSnapshotInBranch Represents an association between a virtual system and the most current snapshot of the system. This association can only exist if the virtual system was create using a snapshot or if a snapshot was created from the virtual system.
CIM_NetworkPort A logical representation of a network port on a network device.
CIM_NetworkService This class is deprecated. Instead, we recommend deriving from the CIM_Service class.
CIM_OwningJobElement Represents an association between a job and the managed element that created the job. Since a job might move between systems, and the managed element might not exist for the entire duration of the job, in some cases, this association might not be possible or might only exist for a portion of the existence of the job.
CIM_PointingDevice Represents a device used to point to regions of a display.
CIM_PortOnDevice Represents an association between a port or connection point and a device.
CIM_ProcessIndication CIM_ProcessIndication is an abstract superclass for specialized indication classes, that address specific changes and alerts published by providers and instrumentation.
CIM_Processor Represents the capabilities and management of a processor.
CIM_ProtocolController Represents a group of controllers that control the operation and function of devices that initiate protocols.
CIM_ProtocolControllerForDevice Represents an association between a logical device and a protocol controller that is connected to the device.
CIM_ProtocolControllerForUnit Represents an association between a protocol controller and an exposed logical unit.
CIM_ProtocolEndpoint A communication point used to send and receive data between systems, computer interfaces, and logical networks.
CIM_ResourceAllocationFromPool Represents an association in which a CIM_ResourceAllocationSettingData instance is allocated from a resource pool.
CIM_ResourceAllocationSettingData Represents settings for an allocated resource that are outside the scope of the CIM class typically used to represent the resource itself. These settings include information specific to the allocation that may not be visible to the consumer of the resource.
CIM_ResourcePool Represents a resource pool, which is a logical entity provided by the host system to allocate and assign resources.
CIM_ResourcePoolConfigurationCapabilities Manages the capabilities of the CIM_ResourcePoolConfigurationService instance for a CIM_ResourcePool object.
CIM_ResourcePoolConfigurationService Manages the configuration of resource pools by using jobs.
CIM_SAPSAPDependency Represents an association between two service access points (SAP), in which one SAP is dependant on the other to utilize or connect with a service. For example, to print on a network printer, local print access points must utilize underlying network-related SAPs to send the print request.
CIM_SCSIProtocolController Represents a protocol controller that manages a SCSI interface.
CIM_SerialController Describes the capabilities and management of a serial controller.
CIM_Service Represents a logical element that contains information to represent and manage the functionality provided by a device or software feature. A service is a general-purpose object to configure and manage the implementation of functionality; it is not the functionality itself.
CIM_ServiceAccessPoint Represents a service access point (SAP), which is able to utilize or invoke a service. SAPs indicate that a service is available for other entities to use.
CIM_ServiceAffectsElement Represents an association between a service and a managed element that might be affected by its execution.
CIM_ServiceComponent Represents an association in which a service is a component of a parent service, which together, form a higher-level service.
CIM_ServiceSAPDependency Represents an association between a service and a service access point (SAP) that provides the service with functionality.
CIM_SettingData Represents configuration and operational parameters for CIM_ManagedElement instances.
CIM_SettingsDefineCapabilities Represents an association between properties of a CIM_SettingData instance and a CIM_Capabilities instance.
CIM_SettingsDefineState Associates settings data with a managed element.
CIM_SnapshotOfVirtualSystem Associates a virtual system a snapshot of the virtual system.
CIM_SoftwareElement Represents an individually manageable or deployable part of a CIM_SoftwareFeature.
CIM_StorageAllocationSettingData Represents settings for the allocation of virtual storage.
CIM_StorageExtent Describes the capabilities and management of media that stores data and allows retrieval of the data. This super class is used to represent software and hardware RAID components, or a raw logical extent of physical media.
CIM_SwitchesAmong Represents a switch service, which switches frames between switch ports.
CIM_SwitchPort Represents a switch port that sends and receives data frames.
CIM_SwitchPortDynamicForwarding Represents an association in which an entry of a forwarding database applies to a switch port.
CIM_SwitchService Represents a switch service.
CIM_SwitchServiceTransparentBridging Represents an association in which a bridge service is a component of a switch service.
CIM_System Represents a set of components that function as a single high-level entity.
CIM_SystemBIOS Associates a BIOS with a computer system.
CIM_SystemComponent Represents an association between a system and one of the elements that compose it.
CIM_SystemDevice Associates a system with a logical device that is a component of the system.
CIM_TapeDrive Represents the capabilities and management of a tape drive.
CIM_TPM Describes a Trusted Platform Module (TPM) device.
CIM_TransparentBridgingDynamicForwarding Associates a transparent bridging service with an entry of its forwarding database.
CIM_TransparentBridgingService Represents the transparent bridging aspect of a CIM_SwitchService object.
CIM_USBDevice The management characteristics of a USB device.
CIM_UserDevice Represents a logical device that allows a user to input, view or hear data on the computer system.
CIM_VideoHead Represents one head of a CIM_DisplayController object.
CIM_VideoHeadOnController Associates a video head with the video adapter that contains it.
CIM_View The CIM_View class is an superclass for classes that provide de-normalized, aggregate representations of managed resources.
CIM_VirtualEthernetSwitchSettingData Describes settings data for a virtual ethernet switch.
CIM_VirtualSystemManagementCapabilities Represents the capabilities of a CIM_VirtualSystemManagementService object.
CIM_VirtualSystemManagementService Represents a service that manages virtual systems.
CIM_VirtualSystemMigrationCapabilities Represents the capabilities of a CIM_VirtualSystemMigrationService object.
CIM_VirtualSystemMigrationService Represents a service that controls the migration of virtual systems between host systems. This class also verifies whether a pending migration is likely to succeed.
CIM_VirtualSystemMigrationSettingData Defines the settings for virtual system migration that is managed by an instance of the CIM_VirtualSystemMigrationService class.
CIM_VirtualSystemSettingData Describes the virtual aspects of a virtual system through a set of virtualization specific properties. CIM_VirtualSystemSettingData is also used as the top level class of virtual system configurations.
CIM_VirtualSystemSettingDataComponent Represents a portion of a relationship between a CIM_VirtualSystemSettingData instance and a set of CIM_ResourceAllocationSettingData instances.
CIM_VirtualSystemSnapshotService Represents a service that can create, apply, and delete snapshots of virtual systems.
CIM_VLANEndpoint An endpoint on a switch or end station that is assigned to a VLAN, or accepts traffic from one or more VLANs.
CIM_VLANEndpointSettingData Represents configuration data for a VLAN endpoint.
CIM_WiFiEndpoint Represents a wireless communication endpoint, which can send and receive data frames when its associated interface device is connected with an IEEE 802.11 wireless LAN.
CIM_WiFiPort Represents a wireless local area network communications device that conforms to the IEEE 802.11 series of specifications.

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)

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

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