【问题标题】:How do I create an Azure CosmosDB account with the Gremlin Graph API from the Azure CLI?如何从 Azure CLI 使用 Gremlin Graph API 创建 Azure CosmosDB 帐户?
【发布时间】:2018-05-16 05:56:56
【问题描述】:

the tutorial on using Azure CosmosDB as a graph database 中,他们使用门户创建数据库帐户。

我试图弄清楚如何使用 Azure CLI 做同样的事情,但阅读 the docs 我仍然无法弄清楚如何传递 --capabilities 参数来启用 Gremlin Graph API。

有什么提示吗?

【问题讨论】:

    标签: azure-cosmosdb azure-cli


    【解决方案1】:

    “EnableGremlin”是启用 Gremlin Graph API 的功能名称。

    az cosmosdb create -g <resource-group-name> -n <database-account-name> --capabilities EnableGremlin

    【讨论】:

      猜你喜欢
      • 2021-02-17
      • 1970-01-01
      • 2019-08-10
      • 1970-01-01
      • 2022-11-28
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2016-09-20
      相关资源
      最近更新 更多