Methods
A method is a piece of Ruby-based code used to perform a task. It is associated with a class or an object. When creating custom actions and workflows, methods are used to manage objects such as virtual machines or instances.
Global variable $evm
A method, upon launch, has $evm
, the global variable that allows the method to communicate with CloudForms Management Engine.
The $evm.root
method is a root object in the workspace that provides access to the data that is currently loaded in the CloudForms Management Engine model.
Methods hierarchy
The CloudForms Management Engine Automate model's methods follow a hierarchy. At the top are the base methods, and then there are different levels and sublevels below them. Base methods and some other higher level methods, such as availability zones, providers, and requests, have additional methods.
For a complete list of the method hierarchy and the methods available for use, please refer to https://access.redhat.com/documentation/en-US/Red_Hat_CloudForms...