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

File: [Pegasus] / pegasus / cgi / htdocs / Attic / DeleteInstance.html (download) / (as text)
Revision: 1.4, Tue Jun 12 13:32:25 2001 UTC (23 years ago) by karl
Branch: MAIN
Changes since 1.3: +1 -1 lines
change default port to 5988 and namespace to cimv2

<html>
  <body bgcolor="#CCCCCC">
    <table width="100%">
      <tr>
	<td width="431" align="bottom"><h1>Delete Instance CIM Operation</h1><td width="2">
	<td width="321" align="right">
	  <img border=1 src="/pegasus/icons/OpenGroupLogo.gif
	  ">
        </td>
      </tr>
    </table>
    <hr>
    <form METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
      <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteInstance">
	  <P>The <TT>DeleteInstance</TT> method Deletes a single CIM Instance
	  from the target
	  Namespace based on the InstanceName parameter provided.

      <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
      Operations</a> for more information

      <p><b><a href="#InstanceName">InstanceName</a></b> <INPUT TYPE="text"
      NAME="InstanceName" SIZE=30>
      Defines the Name of instance to be retrieved. See <a
      href="EnumerateInstanceNames.html">Enumerate
      Instance Names</a> for instance names for a class

      <p><INPUT TYPE="submit" VALUE="Submit Request">
      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
      &nbsp;&nbsp;&nbsp;&nbsp; <INPUT TYPE="reset" VALUE="Reset Form">

      <hr>
      	</form>

      <h2>REQUEST RETURN&nbsp;</h2>

    <P>If successful, the specified Instance MUST have been removed by the CIM Server.

	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 the list, and working down) is the error returned. Any additional
	method-specific interpretation of the error in is given in parentheses.

	<UL>
		 <LI>CIM_ERR_ACCESS_DENIED
		 <LI>CIM_ERR_NOT_SUPPORTED
		 <LI>CIM_ERR_INVALID_NAMESPACE
		 <LI>CIM_ERR_INVALID_PARAMETER (including missing,
		 duplicate,
			unrecognized or otherwise incorrect parameters)
		 <LI>CIM_ERR_INVALID_CLASS (the CIM Class does not exist
		 in the
			specified namespace)
		 <LI>CIM_ERR_NOT_FOUND (the CIM Class does exist, but the
		 requested CIM
			Instance does not exist in the specified namespace)
		 <LI>CIM_ERR_FAILED (some other unspecified error
		 occurred)</LI>
	  </UL>
      <hr>

    <h2>

      Additional Field Information</h2>
      <p>

          The <TT>DeleteInstance</TT> operation deletes a single CIM Instance
          from
          the target Namespace.&nbsp;</p>
      <p>

          NameSpace The NameSpace parameter is a string that defines the
          target namespace&nbsp;</p>
      <p>

          param InstanceName The InstanceName input parameter defines the name
          (model path) of the Instance to be deleted.&nbsp;</p>
      <hr>
      <h2>C++ Pegasus API as defined in Operations.h</h2>
      <pre>
      virtual void deleteInstance(
          const String&amp; nameSpace,
          const Reference&amp; instanceName) = 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 -->Monday, March 26, 2001 05:16:25 PM<!--webbot bot="Timestamp" i-CheckSum="50461" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
     Copyright @ The Open Group 2001&nbsp;</font>

  </body>
</html>



No CVS admin address has been configured
Powered by
ViewCVS 0.9.2