Default language.

Important This documentation space contains information about the on-premises version of BMC Helix Discovery. If you are using the SaaS version of BMC Helix Discovery, see BMC Helix Discovery (SaaS).

model.addContainment


model.addContainment(container, containees)


Adds the containees to the container by creating suitable relationships between the nodes.

containees can be a single node, or a list of nodes, for example: [node1, node2].


If the containees are Software Instances or BusinessApplications instances, SoftwareContainment relationships are created; if the containees are Hosts, HostContainment relationships are created. For software containment, appropriate HostedSoftware relationships are also created to link the container to the correct Hosts according to the contained nodes.

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*