(file) Return to GetInstance.html CVS log (file) (dir) Up to [Pegasus] / pegasus / cgi / htdocs / Attic

Diff for /pegasus/cgi/htdocs/Attic/GetInstance.html between version 1.5 and 1.9

version 1.5, 2001/06/11 23:20:45 version 1.9, 2004/02/17 11:46:10
Line 1 
Line 1 
 <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>
Line 12 
Line 23 
     <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>
Line 38 
Line 49 
       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"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;        <p><INPUT TYPE="submit" VALUE="Submit Request" onClick="rTrim(document.GetInstance.InstanceName.value);"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       &nbsp;&nbsp;&nbsp;&nbsp; <INPUT TYPE="reset" VALUE="Reset Form">       &nbsp;&nbsp;&nbsp;&nbsp; <INPUT TYPE="reset" VALUE="Reset Form">
  
       <hr>  
   
       <p>  
         </form>         </form>
  
       <hr>
   
       <h2>REQUEST RETURN</h2>       <h2>REQUEST RETURN</h2>
  
       <p><b>&nbsp;</b>If successful, the return value is a single CIM       <p><b>&nbsp;</b>If successful, the return value is a single CIM
Line 115 
Line 125 
     <hr>     <hr>
       <h2>C++ Pegasus API</h2>       <h2>C++ Pegasus API</h2>
  
     <pre>      <pre>virtual CIMInstance getInstance(
     virtual CIMInstance getInstance(  
             const String&amp; nameSpace,             const String&amp; nameSpace,
             const CIMReference&amp; instanceName,             const CIMReference&amp; instanceName,
             Boolean localOnly = true,             Boolean localOnly = true,
             Boolean includeQualifiers = false,             Boolean includeQualifiers = false,
             Boolean includeClassOrigin = false,             Boolean includeClassOrigin = false,
             const Array<String>&amp; propertyList = StringArray()) = 0;          const CIMPropertyList&amp; 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>
Line 131 
Line 141 
      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 -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;      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 -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      Copyright @ The Open Group 2001&nbsp;</font>      Copyright @ The Open Group 2001&nbsp;</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>


Legend:
Removed from v.1.5  
changed lines
  Added in v.1.9

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2