Share via


az cosmosdb gremlin

Note

This reference is part of the cosmosdb-preview extension for the Azure CLI (version 2.17.1 or higher). The extension will automatically install the first time you run an az cosmosdb gremlin command. Learn more about extensions.

Manage Gremlin resources of Azure Cosmos DB account.

Commands

Name Description Type Status
az cosmosdb gremlin database

Manage Azure Cosmos DB Gremlin databases.

Extension GA
az cosmosdb gremlin database restore

Restore a deleted gremlin database within the same account.

Extension Preview
az cosmosdb gremlin graph

Manage Azure Cosmos DB Gremlin graphs.

Extension GA
az cosmosdb gremlin graph restore

Restore a deleted gremlin graph within the same account.

Extension Preview
az cosmosdb gremlin restorable-database

Manage different versions of gremlin databases that are restorable in a Azure Cosmos DB account.

Extension Preview
az cosmosdb gremlin restorable-database list

List all the versions of all the gremlin databases that were created / modified / deleted in the given restorable account.

Extension Preview
az cosmosdb gremlin restorable-graph

Manage different versions of gremlin graphs that are restorable in a database of a Azure Cosmos DB account.

Extension Preview
az cosmosdb gremlin restorable-graph list

List all the versions of all the gremlin graphs that were created / modified / deleted in the given database and restorable account.

Extension Preview
az cosmosdb gremlin restorable-resource

Manage the databases and its graphs that can be restored in the given account at the given timestamp and region.

Extension Preview
az cosmosdb gremlin restorable-resource list

List all the databases and its graphs that can be restored in the given account at the given timestamp and region.

Extension Preview
az cosmosdb gremlin retrieve-latest-backup-time

Retrieves latest restorable timestamp for the given gremlin graph in given region.

Extension Preview

az cosmosdb gremlin retrieve-latest-backup-time

Preview

This command is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Retrieves latest restorable timestamp for the given gremlin graph in given region.

az cosmosdb gremlin retrieve-latest-backup-time --account-name
                                                --database-name
                                                --graph-name
                                                --location
                                                --resource-group

Required Parameters

--account-name -a

Name of the CosmosDB database account.

--database-name -d

Name of the CosmosDB Gremlin database name.

--graph-name -n

Name of the CosmosDB Gremlin graph name.

--location -l

Location of the account.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

accepted values: json, jsonc, none, table, tsv, yaml, yamlc
default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.