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

📄 cim_logicaldevice.mof

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 MOF
📖 第 1 页 / 共 2 页
字号:
// Copyright (c) 2005 DMTF.  All rights reserved.// <change cr="ArchCR00066.004" type="add">Add UmlPackagePath// qualifier values to CIM Schema.</change>// ==================================================================//  CIM_LogicalDevice// ==================================================================   [UMLPackagePath ( "CIM::Core::Device" ), Abstract,    Version ( "2.8.0" ), Description (       "An abstraction or emulation of a hardware entity, that may or "       "may not be Realized in physical hardware. Any characteristics "       "of a LogicalDevice that are used to manage its operation or "       "configuration are contained in, or associated with, the "       "LogicalDevice object. Examples of the operational properties "       "of a Printer would be paper sizes supported, or detected "       "errors. Examples of the configuration properties of a Sensor "       "Device would be threshold settings. Various configurations "       "could exist for a LogicalDevice. These configurations could be "       "contained in Setting objects and associated with the "       "LogicalDevice.")]class CIM_LogicalDevice : CIM_EnabledLogicalElement {      [Key, Propagated ( "CIM_System.CreationClassName" ),        Description (          "The scoping System's CreationClassName."),        MaxLen ( 256 )]   string SystemCreationClassName;      [Key, Propagated ( "CIM_System.Name" ), Description (          "The scoping System's Name."),        MaxLen ( 256 )]   string SystemName;      [Key, Description (          "CreationClassName indicates the name of the class or the "          "subclass used in the creation of an instance. When used "          "with the other key properties of this class, this property "          "allows all instances of this class and its subclasses to be "          "uniquely identified."),        MaxLen ( 256 )]   string CreationClassName;      [Key, Description (          "An address or other identifying information to uniquely "          "name the LogicalDevice."),        MaxLen ( 64 )]   string DeviceID;      [Deprecated { "CIM_PowerManagementCapabilities" }, Description (          "Boolean indicating that the Device can be power managed. "          "The use of this property has been deprecated. Instead, the "          "existence of an associated PowerManagementCapabilities "          "class (associated using the ElementCapabilities "          "relationhip) indicates that power management is supported.")]   boolean PowerManagementSupported;      [Deprecated { "CIM_PowerManagementCapabilities.PowerCapabilities"           }, Description (          "An enumerated array describing the power management "          "capabilities of the Device. The use of this property has "          "been deprecated. Instead, the PowerCapabilites property in "          "an associated PowerManagementCapabilities class should be "          "used."),        ValueMap { "0", "1", "2", "3", "4", "5", "6", "7" },        Values { "Unknown", "Not Supported", "Disabled", "Enabled",          "Power Saving Modes Entered Automatically",          "Power State Settable", "Power Cycling Supported",          "Timed Power On Supported" }]   uint16 PowerManagementCapabilities[];      [Description (          "The primary availability and status of the Device. "          "(Additional status information can be specified using the "          "Additional Availability array property.) For example, the "          "Availability property indicates that the Device is running "          "and has full power (value=3), or is in a warning (4), test "          "(5), degraded (10) or power save state (values 13-15 and "          "17). Regarding the Power Save states, these are defined as "          "follows: Value 13 (\"Power Save - Unknown\") indicates that "          "the Device is known to be in a power save mode, but its "          "exact status in this mode is unknown; 14 (\"Power Save - "          "Low Power Mode\") indicates that the Device is in a power "          "save state but still functioning, and may exhibit degraded "          "performance; 15 (\"Power Save - Standby\") describes that "          "the Device is not functioning but could be brought to full "          "power 'quickly'; and value 17 (\"Power Save - Warning\") "          "indicates that the Device is in a warning state, though "          "also in a power save mode."),        ValueMap { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10",          "11", "12", "13", "14", "15", "16", "17", "18", "19", "20",          "21" },        Values { "Other", "Unknown", "Running/Full Power", "Warning",          "In Test", "Not Applicable", "Power Off", "Off Line",          "Off Duty", "Degraded", "Not Installed", "Install Error",          "Power Save - Unknown", "Power Save - Low Power Mode",          "Power Save - Standby", "Power Cycle",          "Power Save - Warning", "Paused", "Not Ready",          "Not Configured", "Quiesced" },        MappingStrings { "MIF.DMTF|Operational State|006.5",          "MIB.IETF|HOST-RESOURCES-MIB.hrDeviceStatus",          "MIF.DMTF|Host Device|001.5" },        ModelCorrespondence { "CIM_LogicalDevice.AdditionalAvailability"           }]   uint16 Availability;      [Deprecated { "CIM_EnabledLogicalElement.EnabledState" },        Description (          "The StatusInfo property indicates whether the Logical "          "Device is in an enabled (value = 3), disabled (value = 4) "          "or some other (1) or unknown (2) state. If this property "          "does not apply to the LogicalDevice, the value, 5 (\"Not "          "Applicable\"), should be used. StatusInfo has been "          "deprecated in lieu of a more clearly named property with "          "additional enumerated values (EnabledState), that is "          "inherited from ManagedSystemElement. \n"          "If a Device is (\"Enabled\")(value=3), it has been powered "          "up, and is configured and operational. The Device may or "          "may not be functionally active, depending on whether its "          "Availability (or AdditionalAvailability) indicate that it "          "is (\"Running/Full Power\")(value=3) or (\"Off line\") "          "(value=8). In an enabled but offline mode, a Device may be "          "performing out-of-band requests, such as running "          "Diagnostics. If (\"Disabled\") StatusInfo value=4), a "          "Device can only be \"enabled\" or powered off. In a "          "personal computer environment, (\"Disabled\") means that "          "the Device's driver is not available in the stack. In other "          "environments, a Device can be disabled by removing its "          "configuration file. A disabled device is physically present "          "in a System and consuming resources, but can not be "          "communicated with until a load of a driver, a load of a "          "configuration file or some other \"enabling\" activity has "          "occurred."),        ValueMap { "1", "2", "3", "4", "5" },        Values { "Other", "Unknown", "Enabled", "Disabled",          "Not Applicable" },        MappingStrings { "MIF.DMTF|Operational State|006.4" }]   uint16 StatusInfo;      [Deprecated { "CIM_DeviceErrorData.LastErrorCode" },        Description (          "LastErrorCode captures the last error code reported by the "          "LogicalDevice.")]   uint32 LastErrorCode;      [Deprecated { "CIM_DeviceErrorData.ErrorDescription" },        Description (          "ErrorDescription is a free-form string supplying more "          "information about the error recorded in LastErrorCode, and "          "information on any corrective actions that may be taken.")]   string ErrorDescription;      [Deprecated { "CIM_ManagedSystemElement.OperationalStatus" },        Description (          "ErrorCleared is a boolean property indicating that the "          "error reported in LastErrorCode is now cleared.")]   boolean ErrorCleared;      [Description (          "OtherIdentifyingInfo captures additional data, beyond "          "DeviceID information, that could be used to identify a "          "LogicalDevice. One example would be to hold the Operating "          "System's user friendly name for the Device in this "          "property."),        MaxLen ( 256 ), ArrayType ( "Indexed" ),        ModelCorrespondence {           "CIM_LogicalDevice.IdentifyingDescriptions" }]   string OtherIdentifyingInfo[];      [Description (          "The number of consecutive hours that this Device has been "          "powered, since its last power cycle."),        Units ( "Hours" ), Counter]   uint64 PowerOnHours;      [Description (          "The total number of hours that this Device has been "          "powered."),        Units ( "Hours" ), Counter]   uint64 TotalPowerOnHours;      [Description (          "An array of free-form strings providing explanations and "          "details behind the entries in the OtherIdentifyingInfo "          "array. Note, each entry of this array is related to the "          "entry in OtherIdentifyingInfo that is located at the same "          "index."),        ArrayType ( "Indexed" ),        ModelCorrespondence { "CIM_LogicalDevice.OtherIdentifyingInfo" }]   string IdentifyingDescriptions[];      [Description (          "Additional availability and status of the Device, beyond "          "that specified in the Availability property. The "          "Availability property denotes the primary status and "          "availability of the Device. In some cases, this will not be "          "sufficient to denote the complete status of the Device. In "          "those cases, the AdditionalAvailability property can be "          "used to provide further information. For example, a "          "Device's primary Availability may be \"Off line\" "          "(value=8), but it may also be in a low power state "          "(AdditonalAvailability value=14), or the Device could be "          "running Diagnostics (AdditionalAvailability value=5, \"In "          "Test\")."), 

⌨️ 快捷键说明

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