az cosmosdb gremlin graph

참고 항목

이 명령 그룹에는 Azure CLI 및 하나 이상의 확장 모두에 정의된 명령이 있습니다. 확장된 기능을 활용하려면 각 확장을 설치합니다. 확장 프로그램에 대해 자세히 알아보세요.

Azure Cosmos DB Gremlin 그래프를 관리합니다.

명령

Name Description 형식 상태
az cosmosdb gremlin graph create

Azure Cosmos DB Gremlin 데이터베이스 아래에 Gremlin 그래프를 만듭니다.

핵심 GA
az cosmosdb gremlin graph delete

Azure Cosmos DB Gremlin 데이터베이스에서 Gremlin 그래프를 삭제합니다.

핵심 GA
az cosmosdb gremlin graph exists

Azure Cosmos DB Gremlin 그래프가 있는지 확인합니다.

핵심 GA
az cosmosdb gremlin graph list

Azure Cosmos DB Gremlin 데이터베이스 아래에 Gremlin 그래프를 나열합니다.

핵심 GA
az cosmosdb gremlin graph restore

동일한 계정 내에서 삭제된 gremlin 그래프를 복원합니다.

핵심 GA
az cosmosdb gremlin graph restore (cosmosdb-preview 확장)

동일한 계정 내에서 삭제된 gremlin 그래프를 복원합니다.

내선 번호 프리뷰
az cosmosdb gremlin graph show

Azure Cosmos DB Gremlin 데이터베이스 아래에 Gremlin 그래프의 세부 정보를 표시합니다.

핵심 GA
az cosmosdb gremlin graph throughput

Azure Cosmos DB 계정으로 Gremlin 그래프의 처리량을 관리합니다.

핵심 GA
az cosmosdb gremlin graph throughput migrate

Gremlin 그래프의 처리량을 자동 크기 조정과 수동으로 프로비저닝 간에 마이그레이션합니다.

핵심 GA
az cosmosdb gremlin graph throughput show

Azure Cosmos DB Gremlin 데이터베이스에서 Gremlin 그래프의 처리량을 가져옵니다.

핵심 GA
az cosmosdb gremlin graph throughput update

Azure Cosmos DB Gremlin 데이터베이스에서 Gremlin 그래프의 처리량을 업데이트합니다.

핵심 GA
az cosmosdb gremlin graph update

Azure Cosmos DB Gremlin 데이터베이스에서 Gremlin 그래프를 업데이트합니다.

핵심 GA

az cosmosdb gremlin graph create

Azure Cosmos DB Gremlin 데이터베이스 아래에 Gremlin 그래프를 만듭니다.

az cosmosdb gremlin graph create --account-name
                                 --database-name
                                 --name
                                 --partition-key-path
                                 --resource-group
                                 [--analytical-storage-ttl]
                                 [--conflict-resolution-policy]
                                 [--idx]
                                 [--max-throughput]
                                 [--throughput]
                                 [--ttl]

예제

Azure Cosmos DB Gremlin 그래프를 만듭니다.

az cosmosdb gremlin graph create -g MyResourceGroup -a MyAccount -d MyDatabase -n MyGraph --partition-key-path "/my/path" --idx @policy-file.json --ttl 1000 --throughput "700"

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

데이터베이스 이름

--name -n

그래프 이름입니다.

--partition-key-path -p

파티션 키 경로(예: '/address/zipcode').

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--analytical-storage-ttl

분석 스토리지를 사용하는 경우 분석 TTL입니다.

--conflict-resolution-policy -c

충돌 해결 정책에서는 문자열 또는 파일(예: --conflict-resolution-policy 또는 --conflict-resolution-policy @policy-file.json "{"mode": "lastWriterWins", "conflictResolutionPath": "/path"}")으로 입력할 수 있습니다.

--idx

인덱싱 정책, 문자열 또는 파일로 입력할 수 있습니다. 예: --idx 또는 --idx @policy-file.json "{"indexingMode": "consistent", "automatic": true, "includedPaths": [{"path": "/*"}], "excludedPaths": [{ "path": "/headquarters/employees/?"}, { "path": "/\"_etag\"/?"}}}".

기본값: { "indexingMode": "consistent", "automatic": true, "includedPaths": [ { "path": "/*" } ], "excludedPaths": [ { "path": "/\"_etag\"/?" } ] }
--max-throughput

최대 처리량 리소스는 (RU/s)로 확장할 수 있습니다. 리소스가 자동 크기 조정을 사용하도록 설정된 경우 제공됩니다. 최소값은 4000(RU/s)일 수 있습니다.

--throughput

Gremlin 그래프(RU/s)의 처리량입니다. 기본값은 400입니다. 그래프에 전용 처리량이 있어야 하는 경우가 아니면 데이터베이스에 공유 처리량이 있는 경우 이 매개 변수를 생략합니다.

--ttl

기본 TTL입니다. 값이 없거나 "-1"로 설정된 경우 항목이 만료되지 않습니다. 값이 "n"으로 설정된 경우 항목은 마지막으로 수정한 시간 이후 "n" 초 후에 만료됩니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

오류만 표시하고, 경고를 표시하지 않습니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. az account set -s NAME_OR_ID를 사용하여 기본 위치를 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az cosmosdb gremlin graph delete

Azure Cosmos DB Gremlin 데이터베이스에서 Gremlin 그래프를 삭제합니다.

az cosmosdb gremlin graph delete --account-name
                                 --database-name
                                 --name
                                 --resource-group
                                 [--yes]

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

데이터베이스 이름

--name -n

그래프 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--yes -y

확인을 묻는 메시지를 표시하지 마세요.

기본값: False
전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

오류만 표시하고, 경고를 표시하지 않습니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. az account set -s NAME_OR_ID를 사용하여 기본 위치를 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az cosmosdb gremlin graph exists

Azure Cosmos DB Gremlin 그래프가 있는지 확인합니다.

az cosmosdb gremlin graph exists --account-name
                                 --database-name
                                 --name
                                 --resource-group

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

데이터베이스 이름

--name -n

그래프 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

오류만 표시하고, 경고를 표시하지 않습니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. az account set -s NAME_OR_ID를 사용하여 기본 위치를 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az cosmosdb gremlin graph list

Azure Cosmos DB Gremlin 데이터베이스 아래에 Gremlin 그래프를 나열합니다.

az cosmosdb gremlin graph list --account-name
                               --database-name
                               --resource-group

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

데이터베이스 이름

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

오류만 표시하고, 경고를 표시하지 않습니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. az account set -s NAME_OR_ID를 사용하여 기본 위치를 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az cosmosdb gremlin graph restore

동일한 계정 내에서 삭제된 gremlin 그래프를 복원합니다.

az cosmosdb gremlin graph restore --account-name
                                  --database-name
                                  --name
                                  --resource-group
                                  [--restore-timestamp]

예제

동일한 계정 내에서 삭제된 gremlin 그래프를 복원합니다.

az cosmosdb gremlin graph restore --resource-group resource_group --account-name database_account_name --database-name parent_database_name --name name_of_graph_needs_to_be_restored --restore-timestamp 2020-07-13T16:03:41+0000

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

CosmosDB Gremlin 데이터베이스 이름의 이름입니다.

--name -n

CosmosDB Gremlin 그래프 이름의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--restore-timestamp -t

그래프를 복원해야 하는 타임스탬프입니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

오류만 표시하고, 경고를 표시하지 않습니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. az account set -s NAME_OR_ID를 사용하여 기본 위치를 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az cosmosdb gremlin graph restore (cosmosdb-preview 확장)

미리 보기

이 명령은 미리 보기로 제공되며 개발 중입니다. 참조 및 지원 수준: https://aka.ms/CLI_refstatus

동일한 계정 내에서 삭제된 gremlin 그래프를 복원합니다.

az cosmosdb gremlin graph restore --account-name
                                  --database-name
                                  --name
                                  --resource-group
                                  [--disable-ttl {false, true}]
                                  [--restore-timestamp]

예제

동일한 계정 내에서 삭제된 gremlin 그래프를 복원합니다.

az cosmosdb gremlin graph restore --resource-group resource_group --account-name database_account_name --database-name parent_database_name --name name_of_graph_needs_to_be_restored --restore-timestamp 2020-07-13T16:03:41+0000

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

CosmosDB Gremlin 데이터베이스 이름의 이름입니다.

--name -n

CosmosDB Gremlin 그래프 이름의 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--disable-ttl
미리 보기

ttl을 사용하지 않도록 설정하여 복원을 사용하거나 사용하지 않도록 설정합니다.

허용되는 값: false, true
--restore-timestamp -t

그래프를 복원해야 하는 타임스탬프입니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

오류만 표시하고, 경고를 표시하지 않습니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. az account set -s NAME_OR_ID를 사용하여 기본 위치를 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az cosmosdb gremlin graph show

Azure Cosmos DB Gremlin 데이터베이스 아래에 Gremlin 그래프의 세부 정보를 표시합니다.

az cosmosdb gremlin graph show --account-name
                               --database-name
                               --name
                               --resource-group

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

데이터베이스 이름

--name -n

그래프 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

오류만 표시하고, 경고를 표시하지 않습니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. az account set -s NAME_OR_ID를 사용하여 기본 위치를 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.

az cosmosdb gremlin graph update

Azure Cosmos DB Gremlin 데이터베이스에서 Gremlin 그래프를 업데이트합니다.

az cosmosdb gremlin graph update --account-name
                                 --database-name
                                 --name
                                 --resource-group
                                 [--analytical-storage-ttl]
                                 [--idx]
                                 [--ttl]

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

데이터베이스 이름

--name -n

그래프 이름입니다.

--resource-group -g

리소스 그룹의 이름입니다. az configure --defaults group=<name>을 사용하여 기본 그룹을 구성할 수 있습니다.

선택적 매개 변수

--analytical-storage-ttl

분석 스토리지를 사용하는 경우 분석 TTL입니다.

--idx

인덱싱 정책, 문자열 또는 파일로 입력할 수 있습니다. 예: --idx 또는 --idx @policy-file.json "{"indexingMode": "consistent", "automatic": true, "includedPaths": [{"path": "/*"}], "excludedPaths": [{ "path": "/headquarters/employees/?"}, { "path": "/\"_etag\"/?"}}}".

--ttl

기본 TTL입니다. 값이 없거나 "-1"로 설정된 경우 항목이 만료되지 않습니다. 값이 "n"으로 설정된 경우 항목은 마지막으로 수정한 시간 이후 "n" 초 후에 만료됩니다.

전역 매개 변수
--debug

로깅의 자세한 정도를 늘려 모든 디버그 로그를 표시합니다.

--help -h

이 도움말 메시지를 표시하고 종료합니다.

--only-show-errors

오류만 표시하고, 경고를 표시하지 않습니다.

--output -o

출력 형식입니다.

허용되는 값: json, jsonc, none, table, tsv, yaml, yamlc
기본값: json
--query

JMESPath 쿼리 문자열입니다. 자세한 내용과 예제는 http://jmespath.org/를 참조하세요.

--subscription

구독의 이름 또는 ID입니다. az account set -s NAME_OR_ID를 사용하여 기본 위치를 구성할 수 있습니다.

--verbose

로깅의 자세한 정도를 늘립니다. 전체 디버그 로그를 표시하려면 --debug를 사용합니다.