Maintaining your assembly
Once your assembly is deployed, you can also maintain it by issuing commands and querying various parameters related to it using the REST API. Although it is highly recommended that you use OneOps to maintain all the aspects of your deployment since it comes with robust monitoring, querying, and data gathering tools, you can also query any aspect of the assembly using the REST API, should you want to use your own scripts. The reason that you use OneOps to keep track of your deployment is because the avenues available through REST API are not as diverse as the rest of the deployment API. You can replace a component of your deployment by calling put
on a component instance on the resource "/<Your Organization>/assemblies/<Your assembly>/operation/environments/<Your Environment>/platforms/<Your Platform>/components/<Your Component>/instances/<Instance ID>state"
. You can again find all the details pertaining...