I have two variables of type Properties
And I want to merge together with another third variable
This is for example the two variables
var firstProperty = new Properties();
var dateAndTime = "11111";
var vmName = "vm_First_Property";
var value = {};
value[vmName] = {
"Company": 'google',
"site": 'USA',
"Year": 1550
};
firstProperty.put(dateAndTime, value);
// Initialize the second object with another property
var secondProperties = new Properties();
var dateAndTime = "22222";
var vmName = "vm_second_Property";
var value = {};
value[vmName] = {
"Spaceavailable": 304,
"UsedSpace": 85,
"DataReduction": 1.3
};
secondProperties.put(dateAndTime, value);
I Try to output all variables
firstProperty, secondProperties and merge Properties