version 1.3, 2001/01/30 23:37:49
|
version 1.7, 2001/06/30 15:28:09
|
|
|
</tr> | </tr> |
</table> | </table> |
<hr> | <hr> |
<form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient"> |
<form name="GetInstance" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient"> |
<INPUT TYPE="hidden" NAME="Operation" VALUE="GetInstance"> | <INPUT TYPE="hidden" NAME="Operation" VALUE="GetInstance"> |
|
<INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988"> |
<P>The <TT>GetInstance</TT> method returns a single CIM Instance from the target | <P>The <TT>GetInstance</TT> method returns a single CIM Instance from the target |
Namespace based on the InstanceName parameter provided. | Namespace based on the InstanceName parameter provided. |
| |
<p><b>NameSpace</b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv20"> |
<p><b>NameSpace</b> <INPUT TYPE="text" NAME="NameSpace" SIZE=30 VALUE="root/cimv2"> |
String that defines the target namespace. See <a href="getnamespaces.html">NameSpace | String that defines the target namespace. See <a href="getnamespaces.html">NameSpace |
Operations</a> for more information | Operations</a> for more information |
| |
|
|
<p><INPUT TYPE="submit" VALUE="Submit Request"> | <p><INPUT TYPE="submit" VALUE="Submit Request"> |
<INPUT TYPE="reset" VALUE="Reset Form"> | <INPUT TYPE="reset" VALUE="Reset Form"> |
| |
|
</form> |
|
|
<hr> | <hr> |
| |
<p><b>REQUEST RETURN - </b>If successful, the return value is a single CIM |
<h2>REQUEST RETURN</h2> |
|
|
|
<p><b> </b>If successful, the return value is a single CIM |
Class.If unsuccessful, one of the following status codes MUST be returned by this | Class.If unsuccessful, one of the following status codes MUST be returned by this |
method, where the first applicable error in the list (starting with the first element of | method, where the first applicable error in the list (starting with the first element of |
the list, and working down) is the error returned. Any additional method- specific | the list, and working down) is the error returned. Any additional method- specific |
|
|
the duplicates but otherwise process the request normally. If the PropertyList contains | the duplicates but otherwise process the request normally. If the PropertyList contains |
elements which are invalid Property names for the target Class, the Server MUST ignore | elements which are invalid Property names for the target Class, the Server MUST ignore |
such entries but otherwise process the request normally. | such entries but otherwise process the request normally. |
|
<hr> |
|
<h2>C++ Pegasus API</h2> |
|
|
|
<pre> |
|
virtual CIMInstance getInstance( |
|
const String& nameSpace, |
|
const CIMReference& instanceName, |
|
Boolean localOnly = true, |
|
Boolean includeQualifiers = false, |
|
Boolean includeClassOrigin = false, |
|
const Array<String>& propertyList = StringArray()) = 0; |
|
</pre> |
|
<hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration |
|
Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font> |
|
|
|
<p style="margin-top: 0; margin-bottom: 0"> <font size="2">See (<a href="http://www.opengroup.org/management">http://www.opengroup.org/management</a>) |
|
for more information on Pegasus</font> |
|
|
|
<p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED" |
|
S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Friday, June 29, 2001 06:42:17 PM<!--webbot bot="Timestamp" i-CheckSum="55037" endspan --> |
|
Copyright @ The Open Group 2001 </font> |
| |
<p> | <p> |
</form> | </form> |
|
<script> |
|
document.GetInstance.hostaddress.value = top.hostAddress; |
|
document.GetInstance.debug.value = top.debug; |
|
document.GetInstance.NameSpace.value = top.NameSpace; |
| |
|
window.focus(); |
|
</script> |
</body> | </body> |
</html> | </html> |
| |