question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[CosmosDB] Create command doesn't support the full list of DB kinds

See original GitHub issue

Description

The az cosmosdb create command doesn’t seem to support the full set of database “kinds” that are available in the Azure portal. Namely, graph/gremlin, and key-value/Azure Tables aren’t available via the --kind flag.


Environment summary

Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here: nightly

CLI Version: What version of the CLI and modules are installed? (Use az --version)
Answer here: nightly

OS Version: What OS and version are you using?
Answer here: macOS

Shell Type: What shell are you using? (e.g. bash, cmd.exe, Bash on Windows)
Answer here: bash

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
letmaikcommented, Jul 26, 2018

Shouldn’t this be solved by now?

1reaction
vjrantalcommented, Sep 10, 2017

Until there is an officially supported command, an unofficial workaround could be to create the DB with --kind GlobalDocumentDB and then use az resource tag to create a tag called defaultExperience with value Table or Graph. I guess this may stop working at any time, but based on information described at https://blog.spectologic.com/2017/06/30/digging-into-cosmosdb-storage/ this seems to be the way how the Azure portal does it today.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Manage Azure Cosmos DB for NoSQL resources using Azure ...
This command allows you to add and remove regions but does not allow you to modify failover priorities or trigger a manual failover....
Read more >
How to specify a 10GB fixed size when creating a new ...
I'm trying to figure out how to specify a 10GB fixed size when creating a new Cosmos DB collection using the Azure CLI....
Read more >
Querying in Azure Cosmos DB
Azure Cosmos DB supports strict JSON items only. The type system and expressions are restricted to deal only with JSON types. For more...
Read more >
@azure/cosmos - npm
Microsoft Azure Cosmos DB Service Node.js SDK for SQL API. ... If you do not provide an id , the SDK will generate...
Read more >
Azure Cosmos DB SQL API client library for Python - PyPI
Azure Cosmos DB is a globally distributed, multi-model database service ... a Cosmos DB SQL API account, you can create one with this...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found