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

  1 karl  1.1 <html>
  2 a.arora 1.6 <head>
  3             <script>
  4             	function rTrim(tempStr){
  5                                  while( tempStr.lastIndexOf(' ') == tempStr.length-1 && tempStr.length > 0 )
  6                                  { 
  7                                      tempStr = tempStr.substring(0,tempStr.length-1) 
  8                                  }
  9                                  document.DeleteInstance.InstanceName.value = tempStr;
 10             	}
 11             </script>
 12             </head>
 13 karl    1.1   <body bgcolor="#CCCCCC">
 14                 <table width="100%">
 15                   <tr>
 16 karl    1.3 	<td width="431" align="bottom"><h1>Delete Instance CIM Operation</h1><td width="2">
 17             	<td width="321" align="right">
 18 karl    1.1 	  <img border=1 src="/pegasus/icons/OpenGroupLogo.gif
 19             	  ">
 20                     </td>
 21                   </tr>
 22                 </table>
 23                 <hr>
 24 karl    1.5     <form name="DeleteInstance" METHOD=GET ACTION="/pegasus/cgi-bin/CGIClient">
 25 karl    1.1       <INPUT TYPE="hidden" NAME="Operation" VALUE="DeleteInstance">
 26 karl    1.5       <INPUT TYPE="hidden" NAME="hostaddress" VALUE="localhost:5988">
 27                   <INPUT TYPE="hidden" NAME="debug" VALUE="">
 28 karl    1.1 	  <P>The <TT>DeleteInstance</TT> method Deletes a single CIM Instance
 29             	  from the target
 30             	  Namespace based on the InstanceName parameter provided.
 31             
 32 karl    1.5       <p><b>NameSpace</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <INPUT TYPE="text" NAME="NameSpace" SIZE=30
 33 karl    1.4       VALUE="root/cimv2">
 34 karl    1.1       String that defines the target namespace. See <a
 35 a.arora 1.6       href="enumeratenamespaces.html">NameSpace
 36 karl    1.1       Operations</a> for more information
 37             
 38                   <p><b><a href="#InstanceName">InstanceName</a></b> <INPUT TYPE="text"
 39                   NAME="InstanceName" SIZE=30>
 40                   Defines the Name of instance to be retrieved. See <a
 41                   href="EnumerateInstanceNames.html">Enumerate
 42                   Instance Names</a> for instance names for a class
 43             
 44 a.arora 1.6       <p><INPUT TYPE="submit" VALUE="Submit Request" onClick="rTrim(document.DeleteInstance.InstanceName.value);">
 45 karl    1.1       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
 46                   &nbsp;&nbsp;&nbsp;&nbsp; <INPUT TYPE="reset" VALUE="Reset Form">
 47             
 48                   <hr>
 49 karl    1.3       	</form>
 50 karl    1.1 
 51 karl    1.3       <h2>REQUEST RETURN&nbsp;</h2>
 52 karl    1.1 
 53 karl    1.2     <P>If successful, the specified Instance MUST have been removed by the CIM Server.
 54 karl    1.1 
 55 karl    1.2 	If unsuccessful, one of the following status codes MUST be returned by this
 56             	method, where the first applicable error in the list (starting with the first
 57             	element of the list, and working down) is the error returned. Any additional
 58             	method-specific interpretation of the error in is given in parentheses.
 59 karl    1.1 
 60 karl    1.2 	<UL>
 61             		 <LI>CIM_ERR_ACCESS_DENIED
 62             		 <LI>CIM_ERR_NOT_SUPPORTED
 63             		 <LI>CIM_ERR_INVALID_NAMESPACE
 64             		 <LI>CIM_ERR_INVALID_PARAMETER (including missing,
 65             		 duplicate,
 66             			unrecognized or otherwise incorrect parameters)
 67             		 <LI>CIM_ERR_INVALID_CLASS (the CIM Class does not exist
 68             		 in the
 69             			specified namespace)
 70             		 <LI>CIM_ERR_NOT_FOUND (the CIM Class does exist, but the
 71             		 requested CIM
 72             			Instance does not exist in the specified namespace)
 73             		 <LI>CIM_ERR_FAILED (some other unspecified error
 74             		 occurred)</LI>
 75             	  </UL>
 76 karl    1.1       <hr>
 77             
 78 karl    1.3     <h2>
 79             
 80                   Additional Field Information</h2>
 81                   <p>
 82             
 83 karl    1.1           The <TT>DeleteInstance</TT> operation deletes a single CIM Instance
 84                       from
 85 karl    1.3           the target Namespace.&nbsp;</p>
 86                   <p>
 87 karl    1.1 
 88 karl    1.5           <b>
 89             
 90                       NameSpace</b> - The NameSpace parameter is a string that defines the
 91 karl    1.3           target namespace&nbsp;</p>
 92                   <p>
 93 karl    1.1 
 94 karl    1.5           <b>InstanceName</b> - The InstanceName input parameter defines the name
 95 karl    1.3           (model path) of the Instance to be deleted.&nbsp;</p>
 96                   <hr>
 97                   <h2>C++ Pegasus API as defined in Operations.h</h2>
 98                   <pre>
 99                   virtual void deleteInstance(
100                       const String&amp; nameSpace,
101                       const Reference&amp; instanceName) = 0;
102                     </pre>
103             
104             
105               <hr><p style="margin-top: 0; margin-bottom: 0"> <font size="2">Demonstration
106                  Prepared by the OpenGroup Manageability Work Group Pegasus Development Team</font>
107             
108                  <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>)
109                  for more information on Pegasus</font>
110             
111                  <p style="margin-top: 0; margin-bottom: 0"> <font size="1">Last Modified <!--webbot bot="Timestamp" S-Type="EDITED"
112 karl    1.5     S-Format="%A, %B %d, %Y %I:%M:%S %p" startspan -->Friday, June 29, 2001 06:23:25 PM<!--webbot bot="Timestamp" i-CheckSum="54989" endspan -->&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
113 karl    1.3      Copyright @ The Open Group 2001&nbsp;</font>
114 karl    1.5    <script>
115                    document.DeleteInstance.hostaddress.value = top.hostAddress;
116                    document.DeleteInstance.debug.value = top.debug;
117                    document.DeleteInstance.NameSpace.value = top.NameSpace;
118             	   window.focus();
119                </script>
120 karl    1.1   </body>
121             </html>
122             
123             

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2