📄 cim_diagnosticsetting.mof
字号:
// Copyright (c) 2005 DMTF. All rights reserved.// <change cr="ArchCR00066.004" type="add">Add UmlPackagePath// qualifier values to CIM Schema.</change>// ==================================================================// CIM_DiagnosticSetting// ================================================================== [UMLPackagePath ( "CIM::System::Diagnostics" ), Version ( "2.9.0" ), Description ( "Specific diagnostic test parameters and execution instructions " "are defined by this class. To provide more detailed Settings " "for a type of test (i.e., additional properties), subclassing " "is appropriate.")]class CIM_DiagnosticSetting : CIM_Setting { [Key, Override ( "SettingID" ), Description ( "In order to ensure uniqueness within the NameSpace, the " "value of SettingID SHOULD be constructed using the " "following 'preferred' algorithm: \n" "<OrgID>:<LocalID> \n" "Where <OrgID> and <LocalID> are separated by a colon ':', " "and where <OrgID> MUST include a copyrighted, trademarked " "or otherwise unique name that is owned by the business " "entity creating/defining the SettingID, or is a registered " "ID that is assigned to the business entity by a recognized " "global authority. (This is similar to the <Schema " "Name>_<Class Name> structure of Schema class names.) In " "addition, to ensure uniqueness <OrgID> MUST NOT contain a " "colon (':'). When using this algorithm, the first colon to " "appear in SettingID MUST appear between <OrgID> and " "<LocalID>. \n" "<LocalID> is chosen by the business entity and SHOULD not " "be re-used to identify different underlying (real-world) " "elements. If the above 'preferred' algorithm is not used, " "the defining entity MUST assure that the resultant " "SettingID is not re-used across any SettingIDs produced by " "this or other providers for this instance's NameSpace. \n" "A preferred value for <LocalID> is a timestamp (CIM " "DateTime). For example, ACME:19980525133015.0000000-300"), MaxLen ( 256 )] string SettingID; [Deprecated { "CIM_DiagnosticSetting.LogOptions", "CIM_DiagnosticSetting.VerbosityLevel" }, Write, Description ( "This property is being deprecated because the " "TestWarningLevel and LogOptions properties serve the same " "purpose. It is deprecated in lieu of using the LogOptions " "('Warnings') property in conjunction with VerbosityLevel to " "specify this information. The 'Missing Resources' and " "'Testing Impacts' values are not included directly in " "LogOptions, but they are expected to be recorded in the " "resulting DiagnosticServiceRecord object. \n" "\n" "Sets the level of warning messages to be logged. \n" "If for example no warning information is required, the " "level would be set to \"No Warnings\" (value=0). Using " "\"Missing Resources\" (value=1) will cause warnings to be " "generated when required resources or hardware are not " "found. Setting the value to 2, \"Testing Impacts\", results " "in both missing resources and 'test impact' warnings (for " "example, multiple retries required) to be reported."), ValueMap { "0", "1", "2", "3" }, Values { "No Warnings", "Missing Resources", "Testing Impacts", "All Warnings" }] uint16 TestWarningLevel; [Deprecated { "CIM_DiagnosticSetting.LogOptions" }, Write, Description ( "When this flag is true, the diagnostic test will report " "'soft errors'. In this context, a soft error is a message " "from the diagnostic reporting a known defect in the " "hardware or driver configuration, or execution environment. " "Examples are: 'Not enough memory', 'Driver IOCTL not " "implemented', 'Video RAM compare failed during polygon fill " "test (A known defect in the video chipset)', etc.")] boolean ReportSoftErrors; [Deprecated { "CIM_DiagnosticSetting.LogOptions" }, Write, Description ( "When this flag is true, the diagnostic test will report " "'status messages'. In this context, a status message " "indicates that the diagnostic code is at a checkpoint. " "Examples are: \"Completion of phase 1\", \"Complex " "pattern\", etc.")] boolean ReportStatusMessages; [Write, Description ( "When this flag is true, the test will halt after finding " "the first error.")] boolean HaltOnError; [Write, Description ( "When this flag is true, the test software should attempt to " "run in an accelerated fashion either by reducing the " "coverage or number of tests performed.")] boolean QuickMode; [Write, Description ( "Requests the diagnostic software to reduce test coverage to " "the specified percentage. For example, a hard drive scan " "test could be asked to run at 50%. The most effective way " "to accomplish this is for the test software to scan every " "other track, as opposed to only scanning the first half of " "a drive. It is assumed that the effectiveness of the test " "is impacted proportional to the percentage of testing " "requested. Permissible values for this property range from " "0 to 100."), Units ( "Percent" ), MinValue ( 0 ), MaxValue ( 100 ), ModelCorrespondence { "CIM_DiagnosticServiceCapabilities.SupportedServiceModes" }] uint8 PercentOfTestCoverage; [Write, Description ( "Array entries contain parameters corresponding to entries " "in the LoopControl array, limiting the number of times a " "test should be repeated with a single invocation of a test " "method by a CIM client."), ArrayType ( "Indexed" ), ModelCorrespondence { "CIM_DiagnosticSetting.LoopControl" }] string LoopControlParameter[]; [Write, Description ( "LoopControl, used in conjunction with LoopControlParameter, " "sets one or more loop control mechanisms that limits the " "number of times a test should be repeated with a single " "invocation of a test method by a CIM client. There is an " "array-positional correspondence between LoopControl entries " "& LoopControlParameter entries. The entries in these " "coupled arrays of loop controls can be used in a logical OR " "fashion to achieve the desired loop control. For example, " "if a client wants to loop a test 1000 times, but quit if a " "timer runs out, it could set both controls into the " "LoopControl array as two separate entries in each array. " "The looping test will terminate when the first of the two " "ORed conditions are met. \n" "The descriptions for each loop control are given below: \n" "Unknown (= 0) \n" "Other (= 1) : Additional detail may be found in " "OtherLoopControlDescriptions. \n" "Continuous (= 2) : The corresponding LoopControl Parameter " "is ignored and the test will execute continuously. Tests " "that use this control should also support DiscontinueTest. " "\nCount(=3) : The corresponding LoopControlParameter is " "interpreted as a loop count (uint32), indicating the number " "of times the test should be repeated with a single " "invocation of a test method by a CIM client. \n" "Timer (= 4) : The corresponding LoopControlParameter is " "interpreted as an initial value (uint32) for a test loop " "timer, given in seconds. The looping is terminated when " "this timer has lapsed. \n" "ErrorCount (= 5) : The corresponding LoopControl Parameter " "is interpreted as an error count (uint32). The loop will " "continue until the number of errors that have occurred " "exceeds the ErrorCount. Note: the ErrorCount only refers to " "hard test errors; it does not include soft errors or " "warnings."), ValueMap { "0", "1", "2", "3", "4", "5" }, Values { "Unknown", "Other", "Continuous", "Count", "Timer", "ErrorCount" }, ArrayType ( "Indexed" ), ModelCorrespondence { "CIM_DiagnosticSetting.LoopControlParameter", "CIM_DiagnosticSetting.OtherLoopControlDescriptions", "CIM_DiagnosticServiceCapabilities.SupportedLoopControl" }] uint16 LoopControl[]; [Deprecated { "CIM_DiagnosticSetting.OtherLoopControlDescriptions" }, Write, Description ( "This property is deprecated and replaced with an array. \n" "It provides additional information for LoopControl when its " "value is set to 1 ('Other')."), ModelCorrespondence { "CIM_DiagnosticSetting.LoopControlParameter" }] string OtherLoopControlDescription; [Write, Description ( "This property provides additional information for " "LoopControl when the corresponding value is set to 1 " "('Other')."), ArrayType ( "Indexed" ), ModelCorrespondence { "CIM_DiagnosticSetting.LoopControlParameter", "CIM_DiagnosticSetting.LoopControl" }] string OtherLoopControlDescriptions[]; [Write, Description ( "The ResultPersistence property is a directive from a " "diagnostic client to a diagnostic provider. It allows the " "client to specify to the diagnostic service provider how " "long to persist the messages that result from execution of " "a diagnostic service. This applies to instances of " "DiagnosticResult as well as the preferred use of " "DiagnosticServiceRecord. The timeout period starts upon " "completion of the diagnostic action described by the " "DiagnosticService. \n" "\n" "Here is a summary of the choices and behaviors for " "different ResultPersistence values: \n" "0 = \"No Persistence\": \n" "Setting the timer to zero tells the provider not to persist "
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -