-
Notifications
You must be signed in to change notification settings - Fork 748
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
Implement common az resource aliases for intellisense #6387
Comments
RBAC resource rbac 'Microsoft.Authorization/roleAssignments@2021-04-01-preview' = {
name: guid(storageAccount.id, principalId, roleDefinitionId)
scope: storageAccount
properties: {
principalId: principalId
roleDefinitionId: roleDefinitionId
principalType: principalType
description: description
}
} |
It would be wonderful if "serverFarms" was (searchable as) "appServicePlan" or "appService" or "asp" |
I would be great to have a similar snippet for cosmosDbAccounts instead of Microsoft.DocumentDB/Accounts |
What about snippets for the new public module resources? How would you pick when to use one versus the other? |
I would like to see |
Wassup @Jaykul , thanks for your question. Community members are always welcome to contribute! We're just trying to take a look at a first pass of adding functionality to support easier searching through resources. @alex-frankel What do you think about "searchability" of public resources? This is a good question |
One thing we are planning to do for discovering public modules is to support completions for registry references. This will show up when you type: module foo ' At which point Do we think that goes far enough to help with discovery? |
@puicchan Need list of aliases to support, thanks. |
Microsoft.Web/sites: webapp |
Fixes #6387 ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/13721) --------- Co-authored-by: Stephen Weatherford <Stephen.Weatherford.com>
…er keyword support for resource snippets (#13731) Another part of #6387 1) Hopefully fix update baselines script (unrelated) 2) vscode handles spaces between than commas 3) prioritize the actual resource name over the keywords by placing them first 4) Added a couple more aliases 5) Implement filtering for snippets: a) add snippet description to filter b) add resource types and keywords for all resources used in the snippet ###### Microsoft Reviewers: [Open in CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/13731) --------- Co-authored-by: Stephen Weatherford <Stephen.Weatherford.com>
There are two ways that we want to provide suggestions in order to achieve #6249. Ultimately this would include adding tags such as "k8s", "kubernetes", or "cluster" to the description metadata of specific resources and snippets.
The first would be considered snippet suggestions
The second would be resource suggestions
Again we would accomplish improving the searchability through tags.
Do you have any examples of resources or snippets that are named confusingly? What tags/searchable terms would you expect for res-ask-cluster? What tags would you expect for
Microsoft.Web/sites@2018-11-01
?The text was updated successfully, but these errors were encountered: