I have a composite blueprint containing 5 components, each component is a link clone and set to a specific snapshot.
I would like to be able to have our clients update their snapshot by deleting it then creating a new one with the same name as before.
I would like to make this a more hands off to them and us by creating a workflow to get the snapshot id of the snapshot with the name which should be different even though the name remains constant.
Then have the workflow point the specified component to link clone from the new snapshot id.
I am not sure if the snapshot id in vCenter matches up to what vRA uses.
What I have so far is, the following;
build a string from user inputs --> would be the name of the component, which is what the snapshot will be named as well
check vCenter for the parent machine from the above information and if exists find the snapshot id of the snapshot matching the name.
Then get the (not sure what I should do here either the catalog item, or the blueprint) I got the blueprint, which has a function getComponents() but returns a java.util.map.
this is where I am unsure on how to proceed...
I would like to select the component with the supplied name from the blueprint selected and set the new snapshot id.
Please help, as this would be a huge benefit to have up and running.
Thank you in advance