Delete Instance By Instance Name process for v7.5

The Delete Instance By Instance Name process deletes a CI or Relationship instances using an instance name within BMC Atrium CMDB.

The following table describes the process input elements for the Delete Instance By Instance Name process.

Process Inputs - Delete Instance By Instance Name

Process input

Description

Required?

<adapter name>

Specifies the name of the adapter to use to handle the request
Default value: BMCAtriumCMDBActorAdapter

No

<items>

Specifies an XML document containing the information used to delete a specific instance in BMC Atrium CMDB

Yes

The following figure shows a sample <items> XML for the Delete Instance By Instance Name process.

<items> XML sample for the Delete Instance By Instance Name process

 <items>
  <delete-criteria>InstanceName</delete-criteria>
  <item>
    <parameters>
       <username>Demo</username>
      <password> </password>
      <class-name-id>
        <namespace-name>BMC.CORE</namespace-name>
        <class-name>BMC_Account</class-name>
      </class-name-id>
      <instance-name>Test_Instance_Name</instance-name>
      <dataset-id>BMC.ASSET</dataset-id>
      <delete-option>UNCONDITIONALLY</delete-option>
       </parameters>
  </item>
</items>


The following figure illustrates the adapter response for the Delete Instance By Instance Name process.

Adapter response for the Delete Instance By Instance Name

<bmc-atrium-cmdb-response>
  <item>
    <instance-id>InsatanceId9610</instance-id>
  <metadata>
    <status>success</status>
  </metadata>
  <parameters>
    <output/>
  </parameters>
  </item>
</bmc-atrium-cmdb-response>
Was this page helpful? Yes No Submitting... Thank you

Comments