I want to be able to populate the Array/CompositeType with input params a user fills out. Do any of you have sample code to do this?
Thank you
-Stephen
Figured it out in case anyone else wants to know...
inputs = new Array();
var jsObj = { name: "provider-VirtualMachine.CPU.Count", value: "2"};
inputs.push(jsObj);
var jsObj1 = { name: "provider-Cafe.Shim.VirtualMachine.NumberOfInstances", value: "1"};
inputs.push(jsObj1);
var jsObj2 = { name: "provider-VirtualMachine.Memory.Size", value: "8096"};
inputs.push(jsObj1);
Figured it out in case anyone else wants to know...
inputs = new Array();
var jsObj = { name: "provider-VirtualMachine.CPU.Count", value: "2"};
inputs.push(jsObj);
var jsObj1 = { name: "provider-Cafe.Shim.VirtualMachine.NumberOfInstances", value: "1"};
inputs.push(jsObj1);
var jsObj2 = { name: "provider-VirtualMachine.Memory.Size", value: "8096"};
inputs.push(jsObj1);
Thank you for posting that. I ran into the same issue.