version 1.5, 2001/06/11 23:20:45
|
version 1.9, 2004/02/17 11:46:10
|
|
|
<html> | <html> |
|
<head> |
|
<script> |
|
function rTrim(tempStr){ |
|
while( tempStr.lastIndexOf(' ') == tempStr.length-1 && tempStr.length > 0 ) |
|
{ |
|
tempStr = tempStr.substring(0,tempStr.length-1) |
|
} |
|
document.GetInstance.InstanceName.value = tempStr; |
|
} |
|
</script> |
|
</head> |
<body bgcolor="#CCCCCC"> | <body bgcolor="#CCCCCC"> |
<table width="100%"> | <table width="100%"> |
<tr> | <tr> |
|
|
<hr> | <hr> |
<form name="GetInstance" 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="hostip" value="localhost"> |
<INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988"> |
<input type="hidden" name="portnum" value="8888"> |
<INPUT TYPE="hidden" NAME="debug" VALUE=""> |
<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="enumeratenamespaces.html">NameSpace |
Operations</a> for more information | Operations</a> for more information |
| |
<p><b><a href="#InstanceName">InstanceName</a></b> <INPUT TYPE="text" NAME="InstanceName" SIZE=30> | <p><b><a href="#InstanceName">InstanceName</a></b> <INPUT TYPE="text" NAME="InstanceName" SIZE=30> |
|
|
appropriate elements | appropriate elements |
| |
<p><b><a href="#PropertyList">PropertyList</a> </b> <INPUT TYPE="text" NAME="PropertyList" SIZE=30 VALUE="NULL"> | <p><b><a href="#PropertyList">PropertyList</a> </b> <INPUT TYPE="text" NAME="PropertyList" SIZE=30 VALUE="NULL"> |
NOTE: <b> NOT IMPLEMENTED</b>. Null or array of property names to filter |
Null or array of property names to filter |
request. <a href="#PropertyList">See below</a>. | request. <a href="#PropertyList">See below</a>. |
| |
<p><INPUT TYPE="submit" VALUE="Submit Request"> |
<p><INPUT TYPE="submit" VALUE="Submit Request" onClick="rTrim(document.GetInstance.InstanceName.value);"> |
<INPUT TYPE="reset" VALUE="Reset Form"> | <INPUT TYPE="reset" VALUE="Reset Form"> |
| |
<hr> |
|
|
|
<p> |
|
</form> | </form> |
| |
|
<hr> |
|
|
<h2>REQUEST RETURN</h2> | <h2>REQUEST RETURN</h2> |
| |
<p><b> </b>If successful, the return value is a single CIM | <p><b> </b>If successful, the return value is a single CIM |
|
|
<hr> | <hr> |
<h2>C++ Pegasus API</h2> | <h2>C++ Pegasus API</h2> |
| |
<pre> |
<pre>virtual CIMInstance getInstance( |
virtual CIMInstance getInstance( |
|
const String& nameSpace, | const String& nameSpace, |
const CIMReference& instanceName, | const CIMReference& instanceName, |
Boolean localOnly = true, | Boolean localOnly = true, |
Boolean includeQualifiers = false, | Boolean includeQualifiers = false, |
Boolean includeClassOrigin = false, | Boolean includeClassOrigin = false, |
const Array<String>& propertyList = StringArray()) = 0; |
const CIMPropertyList& propertyList = CIMPropertyList()); |
|
|
</pre> | </pre> |
<hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration | <hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration |
Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font> | Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font> |
|
|
for more information on Pegasus</font> | 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" | <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 -->Monday, March 26, 2001 05:01:31 PM<!--webbot bot="Timestamp" i-CheckSum="50193" endspan --> |
S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Wednesday, January 30, 2002 12:57:05 PM<!--webbot bot="Timestamp" i-CheckSum="19833" endspan --> |
Copyright @ The Open Group 2001 </font> | Copyright @ The Open Group 2001 </font> |
| |
<p> | <p> |
</form> | </form> |
<script> | <script> |
GetInstance.hostip.value = opener.top.hostip; |
document.GetInstance.hostaddress.value = top.hostAddress; |
GetInstance.portnum.value = opener.top.portnum; |
document.GetInstance.debug.value = top.debug; |
|
document.GetInstance.NameSpace.value = top.NameSpace; |
|
|
window.focus(); | window.focus(); |
</script> | </script> |
</body> | </body> |