1 marek 1.1 // Copyright (c) 2009 DMTF. All rights reserved.
2 [Version ( "2.22.0" ),
3 UMLPackagePath ( "CIM::Metrics::BaseMetrics" ),
4 Description (
5 "MetricServiceCapabilities describes the capabilities of the "
6 "associated CIM_BaseMetricService." )]
7 class CIM_MetricServiceCapabilities : CIM_EnabledLogicalElementCapabilities {
8
9 [Description (
10 "ControllableMetrics identifies the instances of "
11 "CIM_BaseMetricDefinition that can be controlled by the "
12 "associated CIM_MetricService instance. Each string value "
13 "shall be formatted as a WBEM URI defined as in "
14 "accordance with DSP0207 that identifies an instance of "
15 "CIM_BaseMetricDefinition. An instance of "
16 "CIM_BaseMetricDefinition shall not be identified by a "
17 "value of the ControllableMetrics property unless it is "
18 "associated through CIM_ServiceAffectsElement to the "
19 "associated instance of CIM_MetricService. If a value "
20 "corresponding to an instance of CIM_BaseMetricDefinition "
21 "is included in the ControllableMetrics property, the "
22 marek 1.1 "associated instance of CIM_MetricService shall support "
23 "enabling and/or disabling at least one metric defined by "
24 "the CIM_BaseMetricDefinition instance." ),
25 ArrayType ( "Indexed" ),
26 ModelCorrespondence {
27 "CIM_MetricServiceCapabilities.MetricControlTypes" }]
28 string ControllableMetrics[];
29
30 [Description (
31 "MetricControlTypes identifies the type of control "
32 "supported by the associated CIM_MetricService instance "
33 "for the CIM_BaseMetricDefinition identified by the value "
34 "at the same array index in the ControllableMetrics "
35 "property. A value of 2 \"Discrete\" shall indicate that "
36 "individual metrics defined by the instance of "
37 "CIM_BaseMetricDefinition identified at the corresponding "
38 "array index of ControllableMetrics may be enabled and or "
39 "disabled by the associated instance of "
40 "CIM_MetricService.A value of 3 \"Bulk\" shall indicate "
41 "that all metrics defined by the instance of "
42 "CIM_BaseMetricDefinition identified by the value at the "
43 marek 1.1 "same array index of ControllableMetrics may be enabled "
44 "and or disabled with a single operation. A value of 4 "
45 "\"Both\" shall indicate that all metrics defined by the "
46 "instance of CIM_BaseMetricDefinition identified by the "
47 "value at the same array index of ControllableMetrics may "
48 "be enabled and or disabled individually or as a single "
49 "operation." ),
50 ValueMap { "0", "2", "3", "4", "..", "32768..65535" },
51 Values { "Unknown", "Discrete", "Bulk", "Both",
52 "DMTF Reserved", "Vendor Specific" },
53 ArrayType ( "Indexed" ),
54 ModelCorrespondence {
55 "CIM_MetricServiceCapabilities.ControllableMetrics" }]
56 uint16 MetricsControlTypes[];
57
58 [Description (
59 "ControllableManagedElements identifies the instances of "
60 "CIM_ManagedElement that can be controlled by the "
61 "associated CIM_MetricService instance. Each value shall "
62 "be formatted as a WBEM URI defined according to DSP0207 "
63 "identifying an instance of CIM_ManagedElement If a value "
64 marek 1.1 "corresponding to an instance of CIM_ManagedElement is "
65 "included in the ControllableManagedElements property, "
66 "the associated instance of CIM_MetricService shall "
67 "support enabling and/or disabling at least one metric "
68 "defined for the CIM_ManagedElement instance." ),
69 ArrayType ( "Indexed" ),
70 ModelCorrespondence {
71 "CIM_MetricServiceCapabilities.ManagedElementControlTypes" }]
72 string ControllableManagedElements[];
73
74 [Description (
75 "ManagedElementControlTypes identifies the type of "
76 "control supported by the associated CIM_MetricService "
77 "instance for the CIM_ManagedElement identified by the "
78 "value at the same array index in the "
79 "ControllableManagedElements property. A value of 2 "
80 "\"Discrete\" shall indicate that individual metrics "
81 "controlled by the associated instance of "
82 "CIM_MetricService may be enabled and or disabled for the "
83 "instance of CIM_ManagedElement identified at the "
84 "corresponding array index of "
85 marek 1.1 "ControllableManagedElements.A value of 3 \"Bulk\" shall "
86 "indicate that all metrics controlled by the associated "
87 "instance of CIM_MetricService may be enabled and or "
88 "disabled for the instance of CIM_ManagedElement "
89 "identified at the corresponding array index of "
90 "ControllableManagedElements. A value of 4 \"Both\" shall "
91 "indicate that all metrics controlled by the associated "
92 "instance of CIM_MetricService may be enabled and or "
93 "disabled with a single operation or individually for the "
94 "instance of CIM_ManagedElement identified by the value "
95 "at the same array index of ControllableManagedElements." ),
96 ValueMap { "0", "2", "3", "4", "..", "32768..65535" },
97 Values { "Unknown", "Discrete", "Bulk", "Both",
98 "DMTF Reserved", "Vendor Specific" },
99 ArrayType ( "Indexed" ),
100 ModelCorrespondence {
101 "CIM_MetricServiceCapabilities.ControllableManagedElements" }]
102 uint16 ManagedElementControlTypes[];
103
104 [Description (
105 "Each enumeration corresponds to support for the "
106 marek 1.1 "like-named method of the MetricService." ),
107 ValueMap { "2", "3", "4", "5", "6", "7", "..", "0x8000.." },
108 Values { "ControlMetrics", "ControlMetricsByClass",
109 "ShowMetrics", "ShowMetricsByClass", "GetMetricValues",
110 "ControlSampleTimes", "DMTF Reserved", "Vendor Specific" }]
111 uint16 SupportedMethods[];
112
113
114 };
|