Skip to content

Tab completer for existing resources #5415

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

Closed
markcowl opened this issue Feb 1, 2018 · 1 comment
Closed

Tab completer for existing resources #5415

markcowl opened this issue Feb 1, 2018 · 1 comment
Assignees
Milestone

Comments

@markcowl
Copy link
Member

markcowl commented Feb 1, 2018

Description

  • If an MSI is user-assigned, then the user must pick it from the existing set of user-assigned identities from the subscription. Add a tab completer that will query for user-assigned identities (or other existing resources of a particular type).

  • Implement using a tab completer for existing resources - the completer should be able to choose resources based on a resource type

  • The competer will need to be performant, and accept possible matches - this will mean having a common code mechanism that caches resources, and can effectively invalidate the cache over time or when switching contexts. We should adap the existing resource manager tab completer to use the cachign mechanism as well.

  • Any parameter that uses an existing resource would be a good candidate for adding this functionality.

Powershell reference on argument completers is here: https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.argumentcompleterattribute?view=powershellsdk-1.1.0

Eixsting argument completers are here: https://github.com/Azure/azure-powershell/tree/preview/src/ResourceManager/Common/Commands.ResourceManager.Common/ArgumentCompleters

Cost: 6

@MiYanni MiYanni added this to the 2018-04-06 milestone Feb 16, 2018
@MiYanni
Copy link
Contributor

MiYanni commented Feb 16, 2018

This is for general resource completer (not just MSI).

@markcowl markcowl modified the milestones: 2018-04-06, 2018-03-23 Mar 14, 2018
@markcowl markcowl changed the title Command Completer for MSI User-Assigned Identity Tab completer for existing resources Mar 14, 2018
@markcowl markcowl removed this from the 2018-06-01 milestone Jun 7, 2018
@cormacpayne cormacpayne added this to the 2018-06-29 milestone Jun 12, 2018
praries880 added a commit that referenced this issue Jun 13, 2018
Tab completer for existing resources (Iss #5415)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants