The method attribute is used to declare the specific topology change you want to make. In the following examples, the Service Offering named GE is being updated and deleted:
<object class="ServiceOffering" name="GE" method="update" /> <object class="ServiceOffering" name="GE" method="delete" />
Method descriptions for ICIM XML references identifies the methods associated with each element type.
Element |
Method |
Description |
---|---|---|
<object> |
update |
Modifies the properties of an existing object or creates the object if it does not exist. |
delete |
Removes an object from the repository. |
|
<attribute> |
insert |
Adds a value to a set of attributes. |
remove |
Removes an attribute from an object. |
|
put |
Assigns a value to an attribute. |
|
<relationship> |
insert |
Adds an object to a relationship. |
remove |
Removes an object from a relationship. |
|
put |
Assigns an object or set of objects to a relationship. |
A "put" associates a value or structure of values with an object. If a value already exists, it will be overwritten. An “insert” adds a value to a set of attributes if the attribute allows for multiple values. If the attribute can only have one value, then using the insert method will replace the existing single value. Propagated attributes, instrumented attributes, and computed attributes cannot be modified with the insert or put methods.