Is there any way to move all parameters defined in a library variable set to a project? There are a lot of variables I defined to share between multiple projects but because of new features in v 3 I merged all projected into one and the last thing left is moving variable sets.
I am evaluating Octopus Deploy and I am trying to figure out how to do the opposite. I have a very large number of variables that I want to import to a Library Variable Set. I am using the Octopus.Client and it appears that for Library Variable Sets the list of variables is actually not exposed, only the description, name, Id, etc. fields are exposed in that case.
How can I Import variables in a Library Variable Set via the API? Do you have sample code for that?
Library Variable Sets are not actually variable sets at the name may lead us to believe, instead, those are the parent or container objects, which expose a VariableSetId property in Octopus.Client. The value of VariableSetId can be used to retrieve the actual variable set so we can work with it.