Msvm_MetricService, ROOT\virtualization\v2

Class | Methods (10) | Properties (28) | Qualifiers (4) | Instances (1) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

Msvm_MetricService provides the ability to manage metrics. For each metric that the service manages, there shall be an instance of Msvm_ServiceAffectsElement that associates the Msvm_MetricService to the instance of Msvm_BaseMetricDefinition that defines the metric, where the value of the Msvm_ServiceAffectsElement.ElementAffects property is 5 "Manages". The capabilities of the Msvm_MetricService instance are advertised through an instance of Msvm_MetricServiceCapabilities associated with the Msvm_MetricService instance through Msvm_ElementCapabilities.

Msvm_MetricService methods

Msvm_MetricService has 10 methods (1 Local, 9 Derived)

NameOriginReturn
ControlMetricsCIM_MetricServiceuint32 {'out':True}
ControlMetricsByClassCIM_MetricServiceuint32 {'out':True}
ControlSampleTimesCIM_MetricServiceuint32 {'out':True}
GetMetricValuesCIM_MetricServiceuint32 {'out':True}
ModifyServiceSettingsMsvm_MetricServiceuint32 {'out':True}
RequestStateChangeCIM_EnabledLogicalElementuint32 {'out':True}
ShowMetricsCIM_MetricServiceuint32 {'out':True}
ShowMetricsByClassCIM_MetricServiceuint32 {'out':True}
StartServiceCIM_Serviceuint32 {'out':True}
StopServiceCIM_Serviceuint32 {'out':True}

Msvm_MetricService properties

Msvm_MetricService has 28 properties (28 Derived)

NameOriginCIMType
AvailableRequestedStatesCIM_EnabledLogicalElement18 [uint16]
CaptionCIM_ManagedElement8 [string]
CommunicationStatusCIM_ManagedSystemElement18 [uint16]
key
CreationClassName
CIM_Service8 [string]
DescriptionCIM_ManagedElement8 [string]
DetailedStatusCIM_ManagedSystemElement18 [uint16]
ElementNameCIM_ManagedElement8 [string]
EnabledDefaultCIM_EnabledLogicalElement18 [uint16]
EnabledStateCIM_EnabledLogicalElement18 [uint16]
HealthStateCIM_ManagedSystemElement18 [uint16]
InstallDateCIM_ManagedSystemElement101 [datetime]
InstanceIDCIM_ManagedElement8 [string]
key
Name
CIM_ManagedSystemElement8 [string]
OperatingStatusCIM_ManagedSystemElement18 [uint16]
OperationalStatusCIM_ManagedSystemElement18 [uint16]
OtherEnabledStateCIM_EnabledLogicalElement8 [string]
PrimaryOwnerContactCIM_Service8 [string]
PrimaryOwnerNameCIM_Service8 [string]
PrimaryStatusCIM_ManagedSystemElement18 [uint16]
RequestedStateCIM_EnabledLogicalElement18 [uint16]
StartedCIM_Service11 [boolean]
StartModeCIM_Service8 [string]
StatusCIM_ManagedSystemElement8 [string]
StatusDescriptionsCIM_ManagedSystemElement8 [string]
key
SystemCreationClassName
CIM_Service8 [string]
key
SystemName
CIM_Service8 [string]
TimeOfLastStateChangeCIM_EnabledLogicalElement101 [datetime]
TransitioningToStateCIM_EnabledLogicalElement18 [uint16]

Detailed description of Msvm_MetricService methods

Local methods (1) of Msvm_MetricService class

ModifyServiceSettings method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
SettingDatastring0-{'Description':'The modified setting data for the service.','HyperVEmbeddedInstance':'Msvm_MetricServiceSettingData'}
Jobref:CIM_ConcreteJob1-{'Description':'An optional parameter for monitoring progress of the operation, which is used if the method could not be executed synchronously. If the operation is executing asynchronously, the return value is 4096.'}
Bypass_GetObjectTrue
Description'Modifies the setting data for the service.'
ImplementedTrue
ValueMap['0', '4096', '32768', '32769', '32770', '32771', '32772', '32773', '32774', '32775', '32776', '32777', '32778']
Values['Completed with No Error', 'Method Parameters Checked - Job Started', 'Failed', 'Access Denied', 'Not Supported', 'Status is unknown', 'Timeout', 'Invalid parameter', 'System is in use', 'Invalid state for this operation', 'Incorrect data type', 'System is not available', 'Out of memory']
ModifyServiceSettings method is in 6 classes of ROOT\virtualization\v2 and in 2 namespaces

Derived methods (9) of Msvm_MetricService class

ControlMetrics method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Subjectref:CIM_ManagedElement0-{'Description':'The Subject parameter identifies managed element(s) for which metrics will be controlled.'}
Definitionref:CIM_BaseMetricDefinition1-{'Description':'The Definition parameter identifies a CIM_BaseMetricDefinition for which metrics will be controlled.'}
MetricCollectionEnableduint162-{'Description':'The MetricCollectionEnabled parameter indicates the desired operation to perform on the metrics.','Required':True,'ValueMap':['2', '3', '4', '..', '32768..65535'],'Values':['Enable', 'Disable', 'Reset', 'DMTF Reserved', 'Vendor Reserved']}
ImplementedTrue
ValueMap['0', '1', '2', '..', '32768..65535']
Values['Success', 'Not Supported', 'Failed', 'Method Reserved', 'Vendor Specific']
ControlMetrics method is in 2 classes of ROOT\virtualization\v2 and in 1 namespace
ControlMetricsByClass method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Subjectref:CIM_ManagedElement0-{'Description':'The Subject parameter identifies the CIM class for which metrics will be controlled.','Required':True}
Definitionref:CIM_BaseMetricDefinition1-{'Description':'The Definition parameter identifies a CIM_BaseMetricDefinition for which metrics will be controlled.'}
MetricCollectionEnableduint162-{'Description':'The MetricCollectionEnabled parameter indicates the desired operation to perform on the metrics.','Required':True,'ValueMap':['2', '3', '4', '..', '32768..65535'],'Values':['Enable', 'Disable', 'Reset', 'DMTF Reserved', 'Vendor Reserved']}
ImplementedTrue
ValueMap['0', '1', '2', '..', '32768..65535']
Values['Success', 'Not Supported', 'Failed', 'Method Reserved', 'Vendor Specific']
ControlMetricsByClass method is in 2 classes of ROOT\virtualization\v2 and in 1 namespace
ControlSampleTimes method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
StartSampleTimedatetime0-{'Description':'Point in time when sampling for the metrics is to be started. A value of 99990101000000.000000+000 shall indicate that sampling should start at the next time it is synchronized to the full hour. Sampling is synchronized to the full hour if seconds since midnight modulo sample interval in seconds is equal to 0.','Required':True}
PreferredSampleIntervaldatetime1-{'Description':'Preferred sample interval time. In order to get correlatable metrics, it is recommended that the sample interval be chosen in a way that 3600 modulo sample interval time in seconds is equal to 0. It is the responsibility of the CIM metric service implementation to decide whether the requested sample interval time is honored. The CIM client can check whether or not the metric providers are honoring the requested sample interval time by retrieving related BaseMetricDefinition instances and checking the contents of the "CIM_BaseMetricDefinition.SampleInterval" property.','Required':True}
RestartGatheringboolean2-{'Description':'Boolean that when set to TRUE requests that gathering of all metrics associated to the metric service is re-started with this method call.','Required':True}
ImplementedTrue
ValueMap['0', '1', '2', '..', '32768..65535']
Values['Success', 'Not Supported', 'Failed', 'Method Reserved', 'Vendor Specific']
ControlSampleTimes method is in 2 classes of ROOT\virtualization\v2 and in 1 namespace
GetMetricValues method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Definitionref:CIM_BaseMetricDefinition0-{'Description':'The Definition parameter identifies a CIM_BaseMetricDefinition for which metrics will be returned.','Required':True}
Rangeuint161-{'Description':'The Range parameter identifies how the instances are selected. The algorithm for ordering value instances is metric definition specific.','ValueMap':['2', '3', '..', '32768..65535'],'Values':['Minimum', 'Maximum', 'DMTF Reserved', 'Vendor Specific']}
Countuint162-{'Description':'The Count parameter identifies the maximum number of instances to to be returned by the method.'}
Valuesref:CIM_BaseMetricValue3-{'ArrayType':'Indexed','Description':'Upon successful completion of the method, the Values parameter contains references to instances of CIM_BaseMetricValue, filteredaccording to the values of the input parameters.','ModelCorrespondence':['CIM_MetricService.ShowMetrics.ManagedElements']}
ImplementedTrue
ValueMap['0', '1', '2', '..', '32768..65535']
Values['Success', 'Not Supported', 'Failed', 'Method Reserved', 'Vendor Specific']
GetMetricValues method is in 2 classes of ROOT\virtualization\v2 and in 1 namespace
RequestStateChange method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
RequestedStateuint160-{'Description':'The state requested for the element. This information will be placed into the RequestedState property of the instance if the return code of the RequestStateChange method is 0 ('Completed with No Error'), or 4096 (0x1000) ('Job Started'). Refer to the description of the EnabledState and RequestedState properties for the detailed explanations of the RequestedState values.','ModelCorrespondence':['CIM_EnabledLogicalElement.RequestedState'],'ValueMap':['2', '3', '4', '6', '7', '8', '9', '10', '11', '..', '32768..65535'],'Values':['Enabled', 'Disabled', 'Shut Down', 'Offline', 'Test', 'Defer', 'Quiesce', 'Reboot', 'Reset', 'DMTF Reserved', 'Vendor Reserved']}
Jobref:CIM_ConcreteJob1-{'Description':'May contain a reference to the ConcreteJob created to track the state transition initiated by the method invocation.'}
TimeoutPerioddatetime2-{'Description':'A timeout period that specifies the maximum amount of time that the client expects the transition to the new state to take. The interval format must be used to specify the TimeoutPeriod. A value of 0 or a null parameter indicates that the client has no time requirements for the transition. If this property does not contain 0 or null and the implementation does not support this parameter, a return code of 'Use Of Timeout Parameter Not Supported' shall be returned.'}
Bypass_GetObjectTrue
ImplementedTrue
ModelCorrespondence['CIM_EnabledLogicalElement.RequestedState']
ValueMap['0', '1']
Values['Completed with No Error', 'Not supported']
RequestStateChange method is in 111 classes of ROOT\virtualization\v2 and in 15 namespaces
ShowMetrics method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Subjectref:CIM_ManagedElement0-{'Description':'The Subject parameter identifies an instance of CIM_ManagedElement for which the method returns references to instances of CIM_BaseMetricDefinition that define metrics that are being captured for the CIM_ManagedElement.'}
Definitionref:CIM_BaseMetricDefinition1-{'Description':'The Definition parameter identifies an instance of CIM_BaseMetricDefintion. The method returns references to instances of CIM_ManagedElement for which metrics defined by the instance of CIM_BaseMetricDefinition are available to be collected.'}
ManagedElementsref:CIM_ManagedElement2-{'ArrayType':'Indexed','Description':'Upon successful completion of the method, the ManagedElements[] parameter may contain references to CIM_ManagedElements for which the metric identified by Definition parameter is available for collection.','ModelCorrespondence':['CIM_MetricService.ShowMetrics.DefinitionList']}
DefinitionListref:CIM_BaseMetricDefinition3-{'ArrayType':'Indexed','Description':'Upon successful completion of the method, the DefinitionList parameter may contain references to instances of CIM_BaseMetricDefinitions that define metrics available for collection for the CIM_ManagedElement identified by the Subject parameter.','ModelCorrespondence':['CIM_MetricService.ShowMetrics.ManagedElements']}
MetricNamesstring4-{'ArrayType':'Indexed','Description':'Upon successful completion of the method, each array index of the MetricNames parameter shall contain the value of the Name property for the instance of CIM_BaseMetricDefinition referenced by the corresponding array index of the DefinitionList parameter.','ModelCorrespondence':['CIM_MetricService.ShowMetrics.DefinitionList']}
MetricCollectionEnableduint165-{'Description':'The MetricCollectionEnabled parameter indicates whether a metric is being collected for a managed element.','ValueMap':['2', '3', '4', '..', '32768..65535'],'Values':['Enable', 'Disable', 'Reserved', 'DMTF Reserved', 'Vendor Reserved']}
ImplementedTrue
ValueMap['0', '1', '2', '..', '32768..65535']
Values['Success', 'Not Supported', 'Failed', 'Method Reserved', 'Vendor Specific']
ShowMetrics method is in 2 classes of ROOT\virtualization\v2 and in 1 namespace
ShowMetricsByClass method
Returnuint32 {'out':True}
Parameters
NameCIMTypeIDINOUTQualifiers
Subjectref:CIM_ManagedElement0-{'Description':'The Subject parameter identifies a CIM class for which the method returns references to instances of CIM_BaseMetricDefinition that define metrics that are available to be captured for all instances of the class.','Required':True}
Definitionref:CIM_BaseMetricDefinition1-{'Description':'The Definition parameter identifies an instance of CIM_BaseMetricDefinition. The method returns references to instances of CIM_ManagedElement for which metrics defined by the instance of CIM_BaseMetricDefinition are available to be collected.'}
DefinitionListref:CIM_BaseMetricDefinition2-{'ArrayType':'Indexed','Description':'Upon successful completion of the method, the DefinitionList parameter may contain references to instances of CIM_BaseMetricDefinitions that define metrics available for collection for the CIM_ManagedElement identified by the Subject parameter.','ModelCorrespondence':['CIM_MetricService.ShowMetricsByClass.ManagedElements']}
MetricNamesstring3-{'ArrayType':'Indexed','Description':'Upon successful completion of the method, each array index of the MetricNames parameter shall contain the value of the Name property for the instance of CIM_BaseMetricDefinition referenced by the corresponding array index of the DefinitionList parameter.','ModelCorrespondence':['CIM_MetricService.ShowMetricsByClass.DefinitionList']}
MetricCollectionEnableduint164-{'Description':'The MetricCollectionEnabled parameter indicates whether a metric is being collected for all instances of a class of managed elements.','ValueMap':['2', '3', '4', '..', '32768..65535'],'Values':['Enabled', 'Disabled', 'Reserved', 'DMTF Reserved', 'Vendor Reserved']}
ImplementedTrue
Values['Success', 'Not Supported', 'Failed', 'Method Reserved', 'Vendor Specific']
ShowMetricsByClass method is in 2 classes of ROOT\virtualization\v2 and in 1 namespace
StartService method
Returnuint32 {'out':True}
Bypass_GetObjectTrue
ImplementedTrue
ValueMap['0', '1']
Values['Completed with No Error', 'Not supported']
StartService method is in 23 classes of ROOT\virtualization\v2 and in 11 namespaces
StopService method
Returnuint32 {'out':True}
Bypass_GetObjectTrue
ImplementedTrue
ValueMap['0', '1']
Values['Completed with No Error', 'Not supported']
StopService method is in 23 classes of ROOT\virtualization\v2 and in 11 namespaces

Detailed description of Msvm_MetricService properties

Derived properties (28) of Msvm_MetricService class

AvailableRequestedStates property
CIMTYPE'uint16'
AvailableRequestedStates property is in 106 classes of ROOT\virtualization\v2 and in 7 namespaces
Caption property
CIMTYPE'string'
Caption property is in 222 classes of ROOT\virtualization\v2 and in 37 namespaces
CommunicationStatus property
CIMTYPE'uint16'
CommunicationStatus property is in 127 classes of ROOT\virtualization\v2 and in 9 namespaces
CreationClassName property
CIMTYPE'string'
keyTrue
CreationClassName property is in 113 classes of ROOT\virtualization\v2 and in 20 namespaces
Description property
CIMTYPE'string'
Description property is in 225 classes of ROOT\virtualization\v2 and in 142 namespaces
DetailedStatus property
CIMTYPE'uint16'
DetailedStatus property is in 127 classes of ROOT\virtualization\v2 and in 9 namespaces
ElementName property
CIMTYPE'string'
ElementName property is in 223 classes of ROOT\virtualization\v2 and in 21 namespaces
EnabledDefault property
CIMTYPE'uint16'
EnabledDefault property is in 106 classes of ROOT\virtualization\v2 and in 10 namespaces
EnabledState property
CIMTYPE'uint16'
EnabledState property is in 116 classes of ROOT\virtualization\v2 and in 13 namespaces
HealthState property
CIMTYPE'uint16'
HealthState property is in 128 classes of ROOT\virtualization\v2 and in 15 namespaces
InstallDate property
CIMTYPE'datetime'
InstallDate property is in 127 classes of ROOT\virtualization\v2 and in 23 namespaces
InstanceID property
CIMTYPE'string'
InstanceID property is in 223 classes of ROOT\virtualization\v2 and in 21 namespaces
Name property
CIMTYPE'string'
keyTrue
Name property is in 152 classes of ROOT\virtualization\v2 and in 142 namespaces
OperatingStatus property
CIMTYPE'uint16'
OperatingStatus property is in 127 classes of ROOT\virtualization\v2 and in 9 namespaces
OperationalStatus property
CIMTYPE'uint16'
OperationalStatus property is in 128 classes of ROOT\virtualization\v2 and in 18 namespaces
OtherEnabledState property
CIMTYPE'string'
OtherEnabledState property is in 107 classes of ROOT\virtualization\v2 and in 11 namespaces
PrimaryOwnerContact property
CIMTYPE'string'
PrimaryOwnerContact property is in 30 classes of ROOT\virtualization\v2 and in 15 namespaces
PrimaryOwnerName property
CIMTYPE'string'
PrimaryOwnerName property is in 30 classes of ROOT\virtualization\v2 and in 15 namespaces
PrimaryStatus property
CIMTYPE'uint16'
PrimaryStatus property is in 127 classes of ROOT\virtualization\v2 and in 9 namespaces
RequestedState property
CIMTYPE'uint16'
RequestedState property is in 106 classes of ROOT\virtualization\v2 and in 12 namespaces
Started property
CIMTYPE'boolean'
Started property is in 23 classes of ROOT\virtualization\v2 and in 11 namespaces
StartMode property
CIMTYPE'string'
StartMode property is in 23 classes of ROOT\virtualization\v2 and in 15 namespaces
Status property
CIMTYPE'string'
Status property is in 127 classes of ROOT\virtualization\v2 and in 42 namespaces
StatusDescriptions property
CIMTYPE'string'
StatusDescriptions property is in 128 classes of ROOT\virtualization\v2 and in 18 namespaces
SystemCreationClassName property
CIMTYPE'string'
keyTrue
SystemCreationClassName property is in 109 classes of ROOT\virtualization\v2 and in 20 namespaces
SystemName property
CIMTYPE'string'
keyTrue
SystemName property is in 109 classes of ROOT\virtualization\v2 and in 22 namespaces
TimeOfLastStateChange property
CIMTYPE'datetime'
TimeOfLastStateChange property is in 111 classes of ROOT\virtualization\v2 and in 17 namespaces
TransitioningToState property
CIMTYPE'uint16'
TransitioningToState property is in 106 classes of ROOT\virtualization\v2 and in 7 namespaces

Msvm_MetricService Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'Msvm_MetricService provides the ability to manage metrics. For each metric that the service manages, there shall be an instance of Msvm_ServiceAffectsElement that associates the Msvm_MetricService to the instance of Msvm_BaseMetricDefinition that defines the metric, where the value of the Msvm_ServiceAffectsElement.ElementAffects property is 5 "Manages". The capabilities of the Msvm_MetricService instance are advertised through an instance of Msvm_MetricServiceCapabilities associated with the Msvm_MetricService instance through Msvm_ElementCapabilities.'
dynamicTrue
Locale1033
provider'VmmsWmiInstanceAndMethodProvider'

Msvm_MetricService System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\virtualization\v2:Msvm_MetricService'___SYSTEM8
__NAMESPACE'ROOT\virtualization\v2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_MetricService', 'CIM_Service', 'CIM_EnabledLogicalElement', 'CIM_LogicalElement', 'CIM_ManagedSystemElement', 'CIM_ManagedElement']___SYSTEM8
__PROPERTY_COUNT28___SYSTEM3
__RELPATH'Msvm_MetricService'___SYSTEM8
__DYNASTY'CIM_ManagedElement'___SYSTEM8
__SUPERCLASS'CIM_MetricService'___SYSTEM8
__CLASS'Msvm_MetricService'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Msvm_MetricService

Number of classes:4
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
CIM_MetricService1289-1-
CIM_MetricServiceCapabilities1130-1-
Msvm_MetricServiceCapabilities01301---
Msvm_MetricServiceSettingData0501---
comments powered by Disqus
WUtils.com