cim_setting.mof
来自「Pegasus is an open-source implementation」· MOF 代码 · 共 425 行 · 第 1/2 页
MOF
425 行
"contains a list of the property names whose values will be " "verified.) If the array is null, empty or contains the " "string \"ALL\" as a property name, then all Settings " "properties shall be verified. If it is set to \"NONE\", " "then no Settings properties will be verified. The return " "value should be 0 if it is OK to apply the Setting, 1 if " "the method is not supported, 2 if the Setting cannot be " "applied within the specified times, and any other number if " "an error occurred. In a subclass, the set of possible " "return codes could be specified, using a ValueMap qualifier " "on the method. The strings to which the ValueMap contents " "are 'translated' may also be specified in the subclass as a " "Values array qualifier.")] uint32 VerifyOKToApplyIncrementalChangeToMSE( [IN, Description ( "The ManagedSystem Element for which the Setting is being " "verified.")] CIM_ManagedSystemElement REF MSE, [IN, Description ( "TimeToApply can be either a specific time or a time " "interval.")] datetime TimeToApply, [IN, Description ( "The required completion time for the method.")] datetime MustBeCompletedBy, [IN, Description ( "A list of the property names whose values will be " "verified.")] string PropertiesToApply[]); [Description ( "The ApplyIncrementalChangeToMSE method performs the actual " "application of a subset of the properties in the Setting to " "the referenced ManagedSystemElement. It takes four input " "parameters: MSE (the ManagedSystem Element to which the " "Setting is being applied), TimeToApply (which, being a " "datetime, can be either a specific time or a time " "interval), MustBeCompletedBy (which indicates the required " "completion time for the method), and a PropertiesToApply " "array (which contains a list of the property names whose " "values will be applied.) If a property is not in this list, " "it will be ignored by the Apply. If the array is null, " "empty or contains the string \"ALL\" as a property name, " "then all Settings properties shall be applied. If it is set " "to \"NONE\", then no Settings properties will be applied. \n" "Note that the semantics of this method are that individual " "Settings are either wholly applied or not applied at all to " "their target ManagedSystemElement. The return value should " "be 0 if the Setting is successfully applied to the " "referenced ManagedSystemElement, 1 if the method is not " "supported, 2 if the Setting was not applied within the " "specified times, and any other number if an error occurred. " "In a subclass, the set of possible return codes could be " "specified, using a ValueMap qualifier on the method. The " "strings to which the ValueMap contents are 'translated' may " "also be specified in the subclass as a Values array " "qualifier. \n" "Note: If an error occurs in applying the Setting to a " "ManagedSystemElement, the Element must be configured as " "when the 'Apply' attempt began. That is, the Element should " "NOT be left in an indeterminate state.")] uint32 ApplyIncrementalChangeToMSE( [IN, Description ( "The ManagedSystem Element to which the Setting is being " "applied.")] CIM_ManagedSystemElement REF MSE, [IN, Description ( "TimeToApply can be either a specific time or a time " "interval.")] datetime TimeToApply, [IN, Description ( "The required completion time for the method.")] datetime MustBeCompletedBy, [IN, Description ( "A list of the property names whose values will be " "applied.")] string PropertiesToApply[]); [Description ( "The VerifyOKToApplyIncrementalChangeToCollection method is " "used to verify that a subset of the properties in this " "Setting can be 'applied' to the referenced Collection of " "ManagedSystemElements, at the given time or time interval, " "without causing adverse effects to either the Collection " "itself or its surrounding environment. The net effect is to " "execute the VerifyOKToApplyIncrementalChangeToMSE method " "against each of the Elements aggregated by the Collection. " "This method takes three input parameters: Collection (the " "Collection of Managed SystemElements that is being " "verified), TimeToApply (which, being a datetime, can be " "either a specific time or a time interval), " "MustBeCompletedBy (which indicates the required completion " "time for the method), and a PropertiesToApply array (which " "contains a list of the property names whose values will be " "verified. If they array is null or empty or constains the " "string \"all\" as a property name then all Settings " "properties shall be verified. If it is set to \"none\" then " "no Settings properties will be verified). The return value " "should be 0 if it is OK to apply the Setting, 1 if the " "method is not supported, 2 if the Setting cannot be applied " "within the specified times, and any other number if an " "error occurred. One output parameter is defined - " "CanNotApply - which is a string array that lists the keys " "of the ManagedSystemElements to which the Setting can NOT " "be applied. This enables those Elements to be revisited and " "either fixed, or other corrective action taken. \n" "In a subclass, the set of possible return codes could be " "specified, using a ValueMap qualifier on the method. The " "strings to which the ValueMap contents are 'translated' may " "also be specified in the subclass as a Values array " "qualifier.")] uint32 VerifyOKToApplyIncrementalChangeToCollection ( [IN, Description ( "The Collection of Managed SystemElements for which the " "setting is being verified.")] CIM_CollectionOfMSEs REF Collection, [IN, Description ( "TimeToApply can be either a specific time or a time " "interval.")] datetime TimeToApply, [IN, Description ( "The required completion time for the method.")] datetime MustBeCompletedBy, [IN, Description ( "A list of the property names whose values will be " "verified.")] string PropertiesToApply[], [IN ( false ), OUT, Description ( "A string array that lists the keys of the " "ManagedSystemElements to which the Setting can NOT be " "applied.")] string CanNotApply[]); [Description ( "The ApplyIncrementalChangeToCollection method performs the " "application of a subset of the properties in this Setting " "to the referenced Collection of ManagedSystem Elements. The " "net effect is to execute the ApplyIncrementalChangeToMSE " "method against each of the Elements aggregated by the " "Collection. If the input value ContinueOnError is FALSE, " "this method applies the Setting to all Elements in the " "Collection until it encounters an error, in which case it " "stops execution, logs the key of the Element that caused " "the error in the CanNotApply array, and issues a return " "code of 2. If the input value ContinueOnError is TRUE, then " "this method applies the Setting to all the " "ManagedSystemElements in the Collection, and reports the " "failed Elements in the array, CanNotApply. For the latter, " "processing will continue until the method is applied to all " "Elements in the Collection, regardless of any errors " "encountered. The key of each ManagedSystemElement to which " "the Setting could not be applied is logged into the " "CanNotApply array. This method takes four input parameters: " "Collection (the Collection of Elements to which the Setting " "is being applied), TimeToApply (which, being a datetime, " "can be either a specific time or a time interval), " "ContinueOnError (TRUE means to continue processing on " "encountering an error), and MustBeCompletedBy (which " "indicates the required completion time for the method), and " "a PropertiesToApply array (which contains a list of the " "property names whose values will be applied.) If a property " "is not in this list, it will be ignored by the Apply. If " "the array is null or empty or contains the string \"ALL\" " "as a property name, then all Settings properties shall be " "applied. If it is set to \"NONE\", then no Settings " "properties will be applied. \n" "The return value should be 0 if the Setting is successfully " "applied to the referenced Collection, 1 if the method is " "not supported, 2 if the Setting was not applied within the " "specified time, 3 if the Setting cannot be applied using " "the input value for ContinueOnError, and any other number " "if an error occurred. One output parameter is defined, " "CanNotApplystring, which is an array that lists the keys of " "the ManagedSystemElements to which the Setting was NOT able " "to be applied. This output parameter has meaning only when " "the ContinueOnError parameter is TRUE. \n" "In a subclass, the set of possible return codes could be " "specified, using a ValueMap qualifier on the method. The " "strings to which the ValueMap contents are 'translated' may " "also be specified in the subclass as a Values array " "qualifier. \n" "Note: if an error occurs in applying the Setting to a " "ManagedSystemElement in the Collection, the Element must be " "configured as when the 'Apply' attempt began. That is, the " "Element should NOT be left in an indeterminate state.")] uint32 ApplyIncrementalChangeToCollection( [IN, Description ( "The Collection of Elements to which the Setting is being " "applied.")] CIM_CollectionOfMSEs REF Collection, [IN, Description ( "A specific time or a time interval.")] datetime TimeToApply, [IN, Description ( "TRUE means to continue processing on encountering an " "error.")] boolean ContinueOnError, [IN, Description ( "This parameter indicates the required completion time " "for the method.")] datetime MustBeCompletedBy, [IN, Description ( "A list of the property names whose values will be " "verified.")] string PropertiesToApply[], [IN ( false ), OUT, Description ( "A string array that lists the keys of the " "ManagedSystemElements to which the Setting can NOT be " "applied.")] string CanNotApply[]); };
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?