Compartilhar via


CIM_MetricInstance class

Represents an association between an instance of a metric value and a metric definition.An instance of CIM_BaseMetricValue must not exist without being associated with a corresponding CIM_BaseMetricDefinition instance.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[Association, Abstract, Version("2.7.0"), UMLPackagePath("CIM::Metrics::BaseMetric")]
class CIM_MetricInstance : CIM_Dependency
{
  CIM_BaseMetricDefinition REF Antecedent;
  CIM_BaseMetricValue      REF Dependent;
};

Members

The CIM_MetricInstance class has these types of members:

Properties

The CIM_MetricInstance class has these properties.

Antecedent

Data type: CIM_BaseMetricDefinition

Access type: Read-only

Qualifiers: Override ("Antecedent"), Min (1), Max (1)

The definition of the metric value.

Dependent

Data type: CIM_BaseMetricValue

Access type: Read-only

Qualifiers: Override ("Dependent")

The metric value that is associated with the metric definition.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2016
Namespace
Root\HyperVCluster\v2
MOF
WindowsHyperVCluster.V2.mof
DLL
VMMS.exe

See also

CIM_Dependency

Failover Clustering Hyper-V WMI Provider