az cosmosdb gremlin graph

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

명령

az cosmosdb gremlin graph create

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

az cosmosdb gremlin graph delete

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

az cosmosdb gremlin graph exists

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

az cosmosdb gremlin graph list

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

az cosmosdb gremlin graph show

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

az cosmosdb gremlin graph throughput

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

az cosmosdb gremlin graph throughput migrate

자동 크기 조정과 수동으로 프로비전되는 사이에 Gremlin Graph 처리량을 마이그레이션합니다.

az cosmosdb gremlin graph throughput show

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

az cosmosdb gremlin graph throughput update

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

az cosmosdb gremlin graph update

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

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
                                 [--conflict-resolution-policy]
                                 [--idx]
                                 [--max-throughput]
                                 [--subscription]
                                 [--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

Graph 이름입니다.

--partition-key-path -p

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

--resource-group -g

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

선택적 매개 변수

--conflict-resolution-policy -c

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

--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)일 수 있습니다.

--subscription

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

--throughput

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

--ttl

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

az cosmosdb gremlin graph delete

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

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

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

데이터베이스 이름

--name -n

Graph 이름입니다.

--resource-group -g

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

선택적 매개 변수

--subscription

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

--yes -y

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

az cosmosdb gremlin graph exists

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

az cosmosdb gremlin graph exists --account-name
                                 --database-name
                                 --name
                                 --resource-group
                                 [--subscription]

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

데이터베이스 이름

--name -n

Graph 이름입니다.

--resource-group -g

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

선택적 매개 변수

--subscription

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

az cosmosdb gremlin graph list

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

az cosmosdb gremlin graph list --account-name
                               --database-name
                               --resource-group
                               [--query-examples]
                               [--subscription]

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

데이터베이스 이름

--resource-group -g

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

선택적 매개 변수

--query-examples

JMESPath 문자열을 권장합니다. 쿼리 중 하나를 복사하여 큰따옴표 안에 --query 매개 변수를 붙여넣어 결과를 확인할 수 있습니다. 이러한 키워드를 기반으로 제안을 제공할 수 있도록 하나 이상의 위치 키워드를 추가할 수 있습니다.

--subscription

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

az cosmosdb gremlin graph show

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

az cosmosdb gremlin graph show --account-name
                               --database-name
                               --name
                               --resource-group
                               [--query-examples]
                               [--subscription]

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

데이터베이스 이름

--name -n

Graph 이름입니다.

--resource-group -g

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

선택적 매개 변수

--query-examples

JMESPath 문자열을 권장합니다. 쿼리 중 하나를 복사하여 큰따옴표 안에 --query 매개 변수를 붙여넣어 결과를 확인할 수 있습니다. 이러한 키워드를 기반으로 제안을 제공할 수 있도록 하나 이상의 위치 키워드를 추가할 수 있습니다.

--subscription

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

az cosmosdb gremlin graph update

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

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

필수 매개 변수

--account-name -a

Cosmosdb 계정 이름입니다.

--database-name -d

데이터베이스 이름

--name -n

Graph 이름입니다.

--resource-group -g

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

선택적 매개 변수

--idx

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

--subscription

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

--ttl

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