⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cim_check.mof

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 MOF
字号:
// Copyright (c) 2005 DMTF.  All rights reserved.// <change cr="DMTFCR01288" type = "change"> Add some new values to// OperatingSystem.OSType and related Application properties </change>// <change cr="ArchCR00066.004" type="add">Add UmlPackagePath// qualifier values to CIM Schema.</change>// ==================================================================//  CIM_Check// ==================================================================   [UMLPackagePath ( "CIM::Application::CheckAction" ), Abstract,    Version ( "2.7.0" ), Description (       "A CIM_Check is a condition or characteristic that is expected "       "to be true in an environment defined or scoped by an instance "       "of a CIM_ComputerSystem. The Checks associated with a "       "particular SoftwareElement are organized into one of two "       "groups using the Phase property of the "       "CIM_SoftwareElementChecks association. Conditions that are "       "expected to be true when a SoftwareElement is in a particular "       "state and environment are known as 'in-state' conditions. "       "Conditions that need to be satisfied in order to transition "       "the SoftwareElement to its next state are known as "       "'next-state' conditions. \n"       "A CIM_ComputerSystem object represents the environment in "       "which CIM_SoftwareElements are already deployed/installed or "       "into which the elements will be deployed/installed. For the "       "case in which an element is already installed, the "       "CIM_InstalledSoftwareElement association identifies the "       "CIM_ComputerSystem object that represents the \"environment\". "       "When a SoftwareElement is being deployed for installation on a "       "ComputerSystem, that system is the target of the Check and is "       "identified using the TargetSystem reference of the "       "InvokeOnSystem method.")]class CIM_Check : CIM_ManagedElement {      [Key, Propagated ( "CIM_SoftwareElement.Name" ), Description (          "The name used to identify the SoftwareElement that is being "          "checked."),        MaxLen ( 256 )]   string Name;      [Key, Propagated ( "CIM_SoftwareElement.Version" ), Description (          "The version of the SoftwareElement being checked."),        MaxLen ( 64 )]   string Version;      [Key, Propagated ( "CIM_SoftwareElement.SoftwareElementState" ),        Description (          "The SoftwareElementState of the SoftwareElement being "          "checked."),        ValueMap { "0", "1", "2", "3" },        Values { "Deployable", "Installable", "Executable", "Running" }]   uint16 SoftwareElementState;      [Key, Propagated ( "CIM_SoftwareElement.SoftwareElementID" ),        Description (          "This is an identifier for the SoftwareElement being "          "checked."),        MaxLen ( 256 )]   string SoftwareElementID;      [Key, Propagated ( "CIM_SoftwareElement.TargetOperatingSystem" ),        Description (          "The Target Operating System of the SoftwareElement being "          "checked."), //#pragma inLine ("Includes\OSTypes.inc")         ValueMap { "0", "1", "2", "3", "4", "5", "6", "7", "8", "9",          "10", "11", "12", "13", "14", "15", "16", "17", "18", "19",          "20", "21", "22", "23", "24", "25", "26", "27", "28", "29",          "30", "31", "32", "33", "34", "35", "36", "37", "38", "39",          "40", "41", "42", "43", "44", "45", "46", "47", "48", "49",          "50", "51", "52", "53", "54", "55", "56", "57", "58", "59",          "60", "61", "62", "63", "64", "65", "66", "67", "68", "69",          "70" },        Values { "Unknown", "Other", "MACOS", "ATTUNIX", "DGUX",          "DECNT", "Tru64 UNIX", "OpenVMS", "HPUX", "AIX",           //10           "MVS", "OS400", "OS/2", "JavaVM", "MSDOS", "WIN3x", "WIN95",          "WIN98", "WINNT", "WINCE",           //20           "NCR3000", "NetWare", "OSF", "DC/OS", "Reliant UNIX",          "SCO UnixWare", "SCO OpenServer", "Sequent", "IRIX",          "Solaris",           //30           "SunOS", "U6000", "ASERIES",          "HP NonStop OS" , "HP NonStop OSS", "BS2000", "LINUX",          "Lynx", "XENIX", "VM",           //40           "Interactive UNIX", "BSDUNIX", "FreeBSD", "NetBSD",          "GNU Hurd", "OS9", "MACH Kernel", "Inferno", "QNX", "EPOC",           //50           "IxWorks", "VxWorks", "MiNT", "BeOS", "HP MPE", "NextStep",          "PalmPilot", "Rhapsody", "Windows 2000", "Dedicated",           //60           "OS/390", "VSE", "TPF", "Windows (R) Me",          "Caldera Open UNIX", "OpenBSD", "Not Applicable",          "Windows XP", "z/OS", "Microsoft Windows Server 2003",             "Microsoft Windows Server 2003 64-Bit" } //#pragma inLine        ]   uint16 TargetOperatingSystem;      [Key, Description (          "An identifier used in conjunction with other keys to "          "uniquely identify the Check."),        MaxLen ( 256 )]   string CheckID;      [Description (          "The CheckMode property is used to indicate whether the "          "condition is expected to exist or not exist in the "          "environment. When the value is True, the condition is "          "expected to exist (e.g., a file is expected to be on a "          "system), so the Invoke methods are expected to return True. "          "When the value is False, the condition is not expected to "          "exist (e.g., a file is not to be on a system), so the "          "Invoke methods are expected to return False.")]   boolean CheckMode;      [Description (          "The Invoke method evaluates this Check. The details of the "          "evaluation are described by the specific subclasses of "          "CIM_Check. When the SoftwareElement being checked is "          "already installed, the CIM_InstalledSoftwareElement "          "association identifies the CIM_ComputerSystem in whose "          "context the Invoke is executed. If this association is not "          "in place, then the InvokeOnSystem method should be used - "          "since it identifies the TargetSystem as an input parameter "          "of the method. \n"          "The results of the Invoke method are based on the return "          "value. A zero is returned if the condition is satisfied. A "          "one is returned if the method is not supported. Any other "          "value indicates the condition is not satisfied.")]   uint32 Invoke();       [Description (          "The InvokeOnSystem method evaluates this Check. The details "          "of the evaluation are described by the specific subclasses "          "of CIM_Check. The method's TargetSystem input parameter "          "specifies the ComputerSystem in whose context the method is "          "invoked. \n"          "The results of the InvokeOnSystem method are based on the "          "return value. A zero is returned if the condition is "          "satisfied. A one is returned if the method is not "          "supported. Any other value indicates the condition is not "          "satisfied.")]   uint32 InvokeOnSystem([IN, Description ( "Reference to ComputerSystem in whose context the method is to " "be invoked." ) ] CIM_ComputerSystem ref TargetSystem); };

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -