Welcome to my site. I started this site as an online archive for me and all things virtual. I kept getting requests for help around some of the more standard issues we all hit in dealing with Cloud automation, particularly around the VMware vCloud Stack so I decided to make my forum public...and here we are.

My name is Lee Friend and I'm based in London, UK. I am a Cloud orchestration specialist in the end to end management, automation and integration of virtualisation stacks covering all pieces of the puzzle from IPAM (InfoBlox / QIP / IP Control), DNS, AD, resiliency & DR (SRM automation), management system integration (including ServiceNow, BMC Remedy, ticketing systems) and on and on.

Having worked since the very early days of virtualisation, I specialise in the vRealize suite (vRO,vRA,vCD,vR OPs,vCloudClient,SRM,and on) with the aim of orchestrating wherever it's needed. I have helped out large financials, global exchanges and cloud service providers at an architecture level all the way through to workflow engineering.

Set configuration attribute value

All topics related to VMware vCenter Orchestrator / vRealize Orchestrator
leefriend
Site Admin
Posts: 30
Joined: Sat Dec 20, 2014 4:45 pm

Set configuration attribute value

Postby leefriend » Wed Dec 16, 2015 10:53 am

Use to hold data in vRO configuration attributes.

// Get the element
Either set the configuration element as a workflow attribute
OR

Code: Select all

var configurationElement;
var elements = (Server.getConfigurationElementCategoryWithPath("<path to element>")).configurationElements;
for(var i=0; i<elements.length; i++){
    if(elements[i].name == "<your matching name>"){
        configurationElement = element[i];
    }
}


// Set the new value

Code: Select all

configurationElement.setAttributeWithKey("<key name>", <value>);

Return to “Everything vCO / vRO”



cron