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

Microsoft.DocumentDb/databaseAccounts vs Microsoft.CosmosDb/databaseAccounts #3623

Closed
afscrome opened this issue Jul 15, 2021 · 3 comments
Closed
Labels
Needs: Author Feedback Awaiting feedback from the author of the issue revisit

Comments

@afscrome
Copy link
Contributor

Bicep version
VS Code 0.4.63

Describe the bug
If you type 'cosmos' when trying to create a resource, auto completion won't be particularly helpful. This is because you have to use Microsoft.DocumentDb/databaseAccounts. (DocumentDb being old naming for Cosmos)

When creating a private link in the portal, I noticed that cosmos is showing up as Microsoft.CosmosDb/databaseAccounts instead - is there some kind of ailiasing that bicep needs to be aware of, or is this something that private link has special cased?

image

@ghost ghost added the Needs: Triage 🔍 label Jul 15, 2021
@alex-frankel
Copy link
Collaborator

This is related to #622 which should allows us to alias DocumentDB to CosmosDB in the type string.

@markjbrown - any context on how this is implemented? Is this just UI sugar or is Microsoft.AzureCosmosDB a real RP?

@markjbrown
Copy link

Just UI sugar. There is no RP with this name.

@alex-frankel
Copy link
Collaborator

Thanks Mark. Going to close this and track any progress in #622. I'd expect the aliases to use the "common names" for RPs like Cosmos, AKS, Web Apps, etc.

@ghost ghost locked as resolved and limited conversation to collaborators May 27, 2023
@StephenWeatherford StephenWeatherford added Needs: Author Feedback Awaiting feedback from the author of the issue and removed awaiting response labels Oct 13, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Needs: Author Feedback Awaiting feedback from the author of the issue revisit
Projects
None yet
Development

No branches or pull requests

4 participants