Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature] Add Support for Variable Groups #24

Closed
PlagueHO opened this issue Sep 27, 2017 · 5 comments
Closed

[Feature] Add Support for Variable Groups #24

PlagueHO opened this issue Sep 27, 2017 · 5 comments
Labels
enhancement Improvements that do not include new features

Comments

@PlagueHO
Copy link

As a continuous delivery and automation engineer
I would like to be able to list, add, edit and delete VSTS Variable Groups via PowerShell
So that requests from service management systems can automatically configure Variable Groups containing Azure Service Principals and other system related information consumed by release definitions.

The API endpoint for this is not documented, but it does look like it is available as part of DistributedTask:

https://social.msdn.microsoft.com/Forums/vstudio/en-US/f4e2350b-9bd4-451b-8597-83ae9268a0f7/accessing-library-variable-groups-for-a-project-via-the-vsts-api?forum=TFService

I'm happy to look into this further and contribute a PR for the feature if this is something you'd be happy including.

@DarqueWarrior
Copy link
Collaborator

Let me ping the product team and see when public API is expected.

@DarqueWarrior
Copy link
Collaborator

Running Get-VSTeamOption shows not only is it not documented but it is still in preview. You can tell because the releasedVersion is still 0.0.

PS C:\> Get-VSTeamOption | ? { $_.resourceName -eq 'variablegroups' } | fl *


id              : f5b09dd5-9d54-45a1-8b5a-1c8287d634cc
area            : distributedtask
resourceName    : variablegroups
routeTemplate   : {project}/_apis/{area}/{resource}/{groupId}
resourceVersion : 1
minVersion      : 3.1
maxVersion      : 4.1
releasedVersion : 0.0

@PlagueHO
Copy link
Author

PlagueHO commented Oct 3, 2017

Thanks for talking to the VSTS team @DarqueWarrior - that is much appreciated. I guess 0.0 is as "preview" as you can get 😁. Did they happen to mention if this was a planned API? If there is no plan we might as well close this one and reopen it if things change.

@DarqueWarrior
Copy link
Collaborator

It is coming they sent me a preliminary version of the documentation. No date, however.

@DarqueWarrior DarqueWarrior added the enhancement Improvements that do not include new features label Dec 8, 2018
@MichelZ
Copy link
Contributor

MichelZ commented Apr 7, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvements that do not include new features
Projects
None yet
Development

No branches or pull requests

3 participants