...
Software Requirements for Universal Template and Universal Task /wiki/spaces/UC71x/pages/5178050 and /wiki/spaces/UC71x/pages/5180675
Requires Python 3.6 or higher . Tested with the Universal Agent bundled Python distribution.
Python modules required
requests
UAC Global Variables with azure oauth2.0 access should be set in order to run the UT properly.
Create a global variable and set the value of that with the Azure access token and this will be used in job definition to make the REST-API calls authenticated from universal controller to Azure logic apps
Access token can be populated with a new access token by setting up a web services task that can run periodically; for example, every hour.
...
This Universal Task requires the Resolvable Credentials /wiki/spaces/UC71x/pages/5178443 feature. Check that the Resolvable Credentials Permitted /wiki/spaces/UC71x/pages/5177877 system property has been set to true.
Copy or Transfer the Universal Template file to a directory that can be accessed by the Universal Controller Tomcat user.
In the Universal Controller UI, select Configuration > Universal Templates to display the current list of Universal Templates /wiki/spaces/UC71x/pages/5178054.
Right-click any column header on the list to display an Action menu.
Select Import from the menu, enter the directory containing the Universal Template file(s) that you want to import, and click OK.
...
Field | Description |
VM Function | Select the function to perform with the Azure VM , Either start or stop or terminate or check status or List VM’s |
Resource Group Name | Resource group name from the Azure Subscription |
subscription Id | Azure Subscription ID |
VM Name | Name of the Virtual Machine in Azure |
Api-version | Api version in Azure |
Access Token Variable | Bearer access that is store Universal controller Controller global Variaböevariable |
Examples for Azure Virtual Machine Start-Stop-Terminate Instances Universal Tasks
...
Name | Location | Description |
---|---|---|
Universal Templates | https://docs.stonebranch.com/confluence/display/UC70UC71x/Universal+Templates | User documentation for creating Universal Templates in the Universal Controller user interface. |
Universal Tasks | https://docs.stonebranch.com/confluence/display/UC70UC71x/Universal+Tasks | User documentation for creating Universal Tasks in the Universal Controller user interface. |
...