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

📄 cim_logicaldevice.mof

📁 Pegasus is an open-source implementationof the DMTF CIM and WBEM standards. It is designed to be por
💻 MOF
📖 第 1 页 / 共 2 页
字号:
       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" },        ModelCorrespondence { "CIM_LogicalDevice.Availability" }]   uint16 AdditionalAvailability[];      [Deprecated { "No value" }, Description (          "The MaxQuiesceTime property has been deprecated. When "          "evaluating the use of Quiesce, it was determine that this "          "single property is not adequate for describing when a "          "device will automatically exit a quiescent state. In fact, "          "the most likely scenario for a device to exit a quiescent "          "state was determined to be based on the number of "          "outstanding requests queued rather than on a maximum time. "          "This will be re-evaluated and repositioned later. \n"          "Maximum time in milliseconds, that a Device can run in a "          "\"Quiesced\" state. A Device's state is defined in its "          "Availability and AdditionalAvailability properties, where "          "\"Quiesced\" is conveyed by the value 21. What occurs at "          "the end of the time limit is device-specific. The Device "          "may unquiesce, may offline or take other action. A value of "          "0 indicates that a Device can remain quiesced indefinitely."),        Units ( "MilliSeconds" )]   uint64 MaxQuiesceTime;      [Deprecated { "CIM_PowerManagementService.SetPowerState" },        Description (          "Sets the power state of the Device. The use of this method "          "has been deprecated. Instead, use the SetPowerState method "          "in the associated PowerManagementService class.")]   uint32 SetPowerState(          [IN, Description (             "The power state to set."),           ValueMap { "1", "2", "3", "4", "5", "6" },           Values { "Full Power", "Power Save - Low Power Mode",             "Power Save - Standby", "Power Save - Other",             "Power Cycle", "Power Off" }]      uint16 PowerState,          [IN, Description (             "Time indicates when the power state should be set, "             "either as a regular date-time value or as an interval "             "value (where the interval begins when the method "             "invocation is received.")]      datetime Time);       [Description (          "Requests a reset of the LogicalDevice. The return value "          "should be 0 if the request was successfully executed, 1 if "          "the request is not supported and some other value 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 Reset();       [Deprecated { "CIM_EnabledLogicalElement.RequestStateChange" },        Description (          "The EnableDevice method has been deprecated in lieu of the "          "more general RequestStateChange method that directly "          "overlaps with the functionality provided by this method. \n"          "Requests that the LogicalDevice be enabled (\"Enabled\" "          "input parameter = TRUE) or disabled (= FALSE). If "          "successful, the Device's StatusInfo/EnabledState properties "          "should reflect the desired state (enabled/disabled). Note "          "that this method's function overlaps with the "          "RequestedState property. RequestedState was added to the "          "model to maintain a record (i.e., a persisted value) of the "          "last state request. Invoking the EnableDevice method should "          "set the RequestedState property appropriately. \n"          "The return code should be 0 if the request was successfully "          "executed, 1 if the request is not supported and some other "          "value 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 EnableDevice(          [IN, Description (             "If TRUE enable the device, if FALSE disable the device.")]      boolean Enabled);       [Deprecated { "CIM_EnabledLogicalElement.RequestStateChange" },        Description (          "The OnlineDevice method has been deprecated in lieu of the "          "more general RequestStateChange method that directly "          "overlaps with the functionality provided by this method. \n"          "Requests that the LogicalDevice be brought online "          "(\"Online\" input parameter = TRUE) or taken offline (= "          "FALSE). \"Online\" indicates that the Device is ready to "          "accept requests, and is operational and fully functioning. "          "In this case, the Device's Availability property would be "          "set to a value of 3 (\"Running/Full Power\"). \"Offline\" "          "indicates that a Device is powered up and operational, but "          "not processing functional requests. In an offline state, a "          "Device may be capable of running diagnostics or generating "          "operational alerts. For example, when the \"Offline\" "          "button is pushed on a Printer, the Device is no longer "          "available to process print jobs, but could be available for "          "diagnostics or maintenance. \n"          "If this method is successful, the Device's Availability and "          "AdditionalAvailability properties should reflect the "          "updated status. If a failure occurs trying to bring the "          "Device online or offline, it should remain in its current "          "state. IE, the request, if unsuccessful, should not leave "          "the Device in an indeterminate state. When bringing a "          "Device back \"Online\", from an \"Offline\" mode, the "          "Device should be restored to its last \"Online\" state, if "          "at all possible. Only a Device that has an "          "EnabledState/StatusInfo of \"Enabled\" and has been "          "configured can be brought online or taken offline. \n"          "OnlineDevice should return 0 if successful, 1 if the "          "request is not supported at all, 2 if the request is not "          "supported due to the current state of the Device, and some "          "other value if any other 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 that this method's function overlaps with the "          "RequestedState property. RequestedState was added to the "          "model to maintain a record (i.e., a persisted value) of the "          "last state request. Invoking the OnlineDevice method should "          "set the RequestedState property appropriately.")]   uint32 OnlineDevice(          [IN, Description (             "If TRUE, take the device online, if FALSE, take the "             "device OFFLINE.")]      boolean Online);       [Deprecated { "CIM_EnabledLogicalElement.RequestStateChange" },        Description (          "The QuiesceDevice method has been deprecated in lieu of the "          "more general RequestStateChange method that directly "          "overlaps with the functionality provided by this method. \n"          "Requests that the LogicalDevice cleanly cease all current "          "activity (\"Quiesce\" input parameter = TRUE) or resume "          "activity (= FALSE). For this method to quiesce a Device, "          "that Device should have an Availability (or Additional "          "Availability) of \"Running/Full Power\" (value=3) and an "          "EnabledStatus/StatusInfo of \"Enabled\". For example, if "          "quiesced, a Device may then be offlined for diagnostics, or "          "disabled for power off and hot swap. For the method to "          "\"unquiesce\" a Device, that Device should have an "          "Availability (or AdditionalAvailability) of \"Quiesced\" "          "(value=21) and an EnabledStatus/StatusInfo of \"Enabled\". "          "In this case, the Device would be returned to an "          "\"Enabled\" and \"Running/Full Power\" status. \n"          "The method's return code should indicate the success or "          "failure of the quiesce. It should return 0 if successful, 1 "          "if the request is not supported at all, 2 if the request is "          "not supported due to the current state of the Device, and "          "some other value if any other 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 QuiesceDevice(          [IN, Description (             "If set to TRUE then cleanly cease all activity, if FALSE "             "resume activity.")]      boolean Quiesce);       [Description (          "Requests that the Device capture its current configuration, "          "setup and/or state information in a backing store. The goal "          "would be to use this information at a later time (via the "          "RestoreProperties method), to return a Device to its "          "present \"condition\". This method may not be supported by "          "all Devices. The method should return 0 if successful, 1 if "          "the request is not supported, and some other value if any "          "other 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 SaveProperties();       [Description (          "Requests that the Device re-establish its configuration, "          "setup and/or state information from a backing store. The "          "intent is to capture this information at an earlier time "          "(via the SaveProperties method), and use it to return a "          "Device to this earlier \"condition\". This method may not "          "be supported by all Devices. The method should return 0 if "          "successful, 1 if the request is not supported, and some "          "other value if any other 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 RestoreProperties(); };

⌨️ 快捷键说明

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