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
Add unique key using portal #37636
Comments
@thenralmani Which Cosmos DB API are you using? |
We are using mongo db |
@thenralmani We are looking into this and will get back to you. |
@thenralmani We are assigning it to author to further check this. @ThomasWeiss We tried creating the Collection for Mongo DB API and Container for SQL API. We are getting option to create the Unique key for SQL one but not the Mongo one. Please check and correct document if needed. Please let us know if any other information is required. |
We have temporarily removed the option to create unique keys from the portal when working with MongoDB API accounts because of internal issues we're currently working on. I will update this thread once it's restored. |
@thenralmani as Thomas mentioned above, this feature is temporarily removed, in the mean-time, you can use the SDKs to create unique keys. Here are the instructions for creating the unique key with SDK: https://docs.microsoft.com/en-us/azure/cosmos-db/mongodb-indexing#creating-unique-indexes |
Thanks @ThomasWeiss and @SnehaGunda for the information. |
#please-close |
I'm trying to add unique keys thru the portal but it doesn't show the options.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
The text was updated successfully, but these errors were encountered: