1 krisbash 1.1 // Copyright (c) 2005 DMTF. All rights reserved.
2 [Abstract, Version ( "2.8.0" ),
3 UMLPackagePath ( "CIM::Policy" ),
4 Description (
5 "A class representing a rule-specific or reusable policy action "
6 "to be performed if the PolicyConditions for a Policy Rule "
7 "evaluate to TRUE. Since all operational details of a "
8 "PolicyAction are provided in subclasses of this object, this "
9 "class is abstract." )]
10 class CIM_PolicyAction : CIM_Policy {
11
12 [Key, Description (
13 "The name of the class or the subclass used in the "
14 "creation of the System object in whose scope this "
15 "PolicyAction is defined. \n"
16 "\n"
17 "This property helps to identify the System object in "
18 "whose scope this instance of PolicyAction exists. For a "
19 "rule-specific PolicyAction, this is the System in whose "
20 "context the PolicyRule is defined. For a reusable "
21 "PolicyAction, this is the instance of PolicyRepository "
22 krisbash 1.1 "(which is a subclass of System) that holds the Action. \n"
23 "\n"
24 "Note that this property, and the analogous property "
25 "SystemName, do not represent propagated keys from an "
26 "instance of the class System. Instead, they are "
27 "properties defined in the context of this class, which "
28 "repeat the values from the instance of System to which "
29 "this PolicyAction is related, either directly via the "
30 "PolicyActionInPolicyRepository association or indirectly "
31 "via the PolicyActionInPolicyRule aggregation." ),
32 MaxLen ( 256 )]
33 string SystemCreationClassName;
34
35 [Key, Description (
36 "The name of the System object in whose scope this "
37 "PolicyAction is defined. \n"
38 "\n"
39 "This property completes the identification of the System "
40 "object in whose scope this instance of PolicyAction "
41 "exists. For a rule-specific PolicyAction, this is the "
42 "System in whose context the PolicyRule is defined. For a "
43 krisbash 1.1 "reusable PolicyAction, this is the instance of "
44 "PolicyRepository (which is a subclass of System) that "
45 "holds the Action." ),
46 MaxLen ( 256 )]
47 string SystemName;
48
49 [Key, Description (
50 "For a rule-specific PolicyAction, the CreationClassName "
51 "of the PolicyRule object with which this Action is "
52 "associated. For a reusable PolicyAction, a special "
53 "value, \'NO RULE\', should be used to indicate that this "
54 "Action is reusable and not associated with a single "
55 "PolicyRule." ),
56 MaxLen ( 256 )]
57 string PolicyRuleCreationClassName;
58
59 [Key, Description (
60 "For a rule-specific PolicyAction, the name of the "
61 "PolicyRule object with which this Action is associated. "
62 "For a reusable PolicyAction, a special value, \'NO "
63 "RULE\', should be used to indicate that this Action is "
64 krisbash 1.1 "reusable and not associated with a single PolicyRule." ),
65 MaxLen ( 256 )]
66 string PolicyRuleName;
67
68 [Key, Description (
69 "CreationClassName indicates the name of the class or the "
70 "subclass used in the creation of an instance. When used "
71 "with the other key properties of this class, this "
72 "property allows all instances of this class and its "
73 "subclasses to be uniquely identified." ),
74 MaxLen ( 256 )]
75 string CreationClassName;
76
77 [Key, Description (
78 "A user-friendly name of this PolicyAction." ),
79 MaxLen ( 256 )]
80 string PolicyActionName;
81
82 [Description (
83 "DoActionLogging causes a log message to be generated "
84 "when the action is performed." )]
85 krisbash 1.1 boolean DoActionLogging;
86
87
88 };
|