Share via


Microsoft.DocumentDB databaseAccounts/gremlinDatabases/graphs 2022-08-15

Bicep 리소스 정의

databaseAccounts/gremlinDatabases/graphs 리소스 종류는 다음을 대상으로 하는 작업을 사용하여 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs 리소스를 만들려면 템플릿에 다음 Bicep을 추가합니다.

resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs@2022-08-15' = {
  name: 'string'
  location: 'string'
  tags: {
    tagName1: 'tagValue1'
    tagName2: 'tagValue2'
  }
  parent: resourceSymbolicName
  properties: {
    options: {
      autoscaleSettings: {
        maxThroughput: int
      }
      throughput: int
    }
    resource: {
      analyticalStorageTtl: int
      conflictResolutionPolicy: {
        conflictResolutionPath: 'string'
        conflictResolutionProcedure: 'string'
        mode: 'string'
      }
      defaultTtl: int
      id: 'string'
      indexingPolicy: {
        automatic: bool
        compositeIndexes: [
          {
            order: 'string'
            path: 'string'
          }
        ]
        excludedPaths: [
          {
            path: 'string'
          }
        ]
        includedPaths: [
          {
            indexes: [
              {
                dataType: 'string'
                kind: 'string'
                precision: int
              }
            ]
            path: 'string'
          }
        ]
        indexingMode: 'string'
        spatialIndexes: [
          {
            path: 'string'
            types: [
              'string'
            ]
          }
        ]
      }
      partitionKey: {
        kind: 'string'
        paths: [
          'string'
        ]
        version: int
      }
      uniqueKeyPolicy: {
        uniqueKeys: [
          {
            paths: [
              'string'
            ]
          }
        ]
      }
    }
  }
}

속성 값

databaseAccounts/gremlinDatabases/graphs

Name Description
name 리소스 이름

Bicep에서 자식 리소스의 이름과 형식을 설정하는 방법을 참조하세요.
string(필수)
위치 리소스가 속한 리소스 그룹의 위치입니다. string
tags 태그는 리소스를 설명하는 키-값 쌍의 목록입니다. 여러 리소스 그룹에서 이 리소스를 보고 그룹화할 때 이러한 태그를 사용할 수 있습니다. 리소스에 대해 최대 15개의 태그를 제공할 수 있습니다. 각 태그에는 128자 이하의 키와 256자 이하의 값이 포함되어야 합니다. 예를 들어 템플릿 형식의 기본 환경은 "defaultExperience": "Cassandra"로 설정됩니다. 현재 "defaultExperience" 값에는 "Table", "Graph", "DocumentDB" 및 "MongoDB"도 포함됩니다. 태그 이름 및 값의 사전입니다. 템플릿의 태그를 참조하세요.
부모(parent) Bicep에서 자식 리소스에 대한 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가하면 됩니다.

자세한 내용은 부모 리소스 외부의 자식 리소스를 참조하세요.
형식의 리소스에 대한 기호 이름: gremlinDatabases
properties Azure Cosmos DB Gremlin 그래프를 만들고 업데이트하는 속성입니다. GremlinGraphCreateUpdatePropertiesOrGremlinGraphGetP... (필수)

GremlinGraphCreateUpdatePropertiesOrGremlinGraphGetP...

Name Description
옵션 요청에 적용할 키-값 옵션 쌍입니다. 요청과 함께 전송된 헤더에 해당합니다. CreateUpdateOptionsOrGremlinGraphGetPropertiesOption...
resource Gremlin 그래프의 표준 JSON 형식 GremlinGraphResourceOrGremlinGraphGetPropertiesResou... (필수)

CreateUpdateOptionsOrGremlinGraphGetPropertiesOption...

Name Description
autoscaleSettings 자동 크기 조정 설정을 지정합니다. AutoscaleSettings
throughput 초당 요청 단위입니다. 예를 들어 "처리량": 10000입니다. int

AutoscaleSettings

Name Description
maxThroughput 최대 처리량을 나타내며 리소스를 확장할 수 있습니다. int

GremlinGraphResourceOrGremlinGraphGetPropertiesResou...

Name Description
analyticalStorageTtl 분석 TTL. int
conflictResolutionPolicy 그래프에 대한 충돌 해결 정책입니다. ConflictResolutionPolicy
defaultTtl 기본 TL(Time to Live) int
id Cosmos DB Gremlin 그래프의 이름 string(필수)
indexingPolicy 인덱싱 정책의 구성입니다. 기본적으로 인덱싱은 그래프 내의 모든 문서 경로에 대해 자동으로 수행됩니다. IndexingPolicy
partitionKey 데이터를 여러 파티션으로 분할하는 데 사용할 파티션 키 구성 ContainerPartitionKey
uniqueKeyPolicy Azure Cosmos DB 서비스의 컬렉션에 있는 문서에 고유성 제약 조건을 지정하기 위한 고유 키 정책 구성입니다. UniqueKeyPolicy

ConflictResolutionPolicy

Name Description
conflictResolutionPath LastWriterWins 모드의 경우 충돌 해결 경로입니다. 문자열
conflictResolutionProcedure 사용자 지정 모드의 경우 충돌을 resolve 프로시저입니다. 문자열
mode 충돌 해결 모드를 나타냅니다. 'Custom'
'LastWriterWins'

IndexingPolicy

Name Description
automatic 인덱싱 정책이 자동인지를 나타냅니다. bool
compositeIndexes 복합 경로 목록 목록 CompositePath[]
excludedPaths 인덱싱에서 제외할 경로 목록 ExcludedPath[]
includedPaths 인덱싱에 포함할 경로 목록 IncludedPath[]
indexingMode 인덱싱 모드를 나타냅니다. '일관성'
'lazy'
'none'
spatialIndexes 공간 세부 정보 목록 SpatialSpec[]

CompositePath

Name Description
순서 복합 경로의 정렬 순서입니다. '오름차순'
'내림차순'
path 인덱싱 동작이 적용되는 경로입니다. 인덱스 경로는 일반적으로 루트로 시작하고 와일드카드(/path/*)로 끝납니다. string

ExcludedPath

Name Description
path 인덱싱 동작이 적용되는 경로입니다. 인덱스 경로는 일반적으로 루트로 시작하고 와일드카드(/path/*)로 끝납니다. string

IncludedPath

Name Description
인덱스 이 경로에 대한 인덱스 목록 인덱스[]
path 인덱싱 동작이 적용되는 경로입니다. 인덱스 경로는 일반적으로 루트로 시작하고 와일드카드(/path/*)로 끝납니다. string

인덱스

Name Description
dataType 인덱싱 동작이 적용되는 데이터 형식입니다. 'LineString'
'MultiPolygon'
'Number'
'Point'
'다각형'
'String'
kind 인덱스의 유형을 나타냅니다. '해시'
'Range'
'공간'
정밀도 인덱스의 전체 자릿수입니다. -1은 최대 정밀도입니다. int

SpatialSpec

Name Description
path 인덱싱 동작이 적용되는 경로입니다. 인덱스 경로는 일반적으로 루트로 시작하고 와일드카드(/path/*)로 끝납니다. string
types 경로의 공간 형식 목록 다음 중 어느 것을 포함하는 문자열 배열:
'LineString'
'MultiPolygon'
'Point'
'다각형'

ContainerPartitionKey

Name Description
kind 분할에 사용되는 알고리즘의 종류를 나타냅니다. MultiHash의 경우 컨테이너 만들기에 대해 여러 파티션 키(최대 3개)가 지원됩니다. '해시'
'MultiHash'
'Range'
경로 컨테이너 내에서 분할할 수 있는 데이터를 사용하는 경로 목록 string[]
버전 파티션 키 정의의 버전을 나타냅니다. int

제약 조건:
최소값 = 1
최대값 = 2

UniqueKeyPolicy

Name Description
uniqueKeys Azure Cosmos DB 서비스의 컬렉션에 있는 문서에 고유성 제약 조건을 적용하는 의 고유 키 목록입니다. UniqueKey[]

UniqueKey

Name Description
경로 경로 목록은 Azure Cosmos DB 서비스의 각 문서에 대해 고유해야 합니다. string[]

빠른 시작 템플릿

다음 빠른 시작 템플릿은 이 리소스 유형을 배포합니다.

템플릿 Description
Gremlin API에 대한 Azure Cosmos DB 계정 만들기

Azure에 배포
이 템플릿은 전용 처리량을 사용하여 하나의 데이터베이스와 하나의 그래프가 있는 두 지역에 Gremlin API에 대한 Azure Cosmos DB 계정을 만듭니다.
Gremlin API 자동 크기 조정에 대한 Azure Cosmos DB 계정 만들기

Azure에 배포
이 템플릿은 자동 크기 조정 처리량을 사용하여 하나의 데이터베이스와 하나의 그래프가 있는 두 지역에 Gremlin API에 대한 Azure Cosmos DB 계정을 만듭니다.

ARM 템플릿 리소스 정의

databaseAccounts/gremlinDatabases/graphs 리소스 종류는 다음을 대상으로 하는 작업으로 배포할 수 있습니다.

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs 리소스를 만들려면 템플릿에 다음 JSON을 추가합니다.

{
  "type": "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs",
  "apiVersion": "2022-08-15",
  "name": "string",
  "location": "string",
  "tags": {
    "tagName1": "tagValue1",
    "tagName2": "tagValue2"
  },
  "properties": {
    "options": {
      "autoscaleSettings": {
        "maxThroughput": "int"
      },
      "throughput": "int"
    },
    "resource": {
      "analyticalStorageTtl": "int",
      "conflictResolutionPolicy": {
        "conflictResolutionPath": "string",
        "conflictResolutionProcedure": "string",
        "mode": "string"
      },
      "defaultTtl": "int",
      "id": "string",
      "indexingPolicy": {
        "automatic": "bool",
        "compositeIndexes": [
          {
            "order": "string",
            "path": "string"
          }
        ],
        "excludedPaths": [
          {
            "path": "string"
          }
        ],
        "includedPaths": [
          {
            "indexes": [
              {
                "dataType": "string",
                "kind": "string",
                "precision": "int"
              }
            ],
            "path": "string"
          }
        ],
        "indexingMode": "string",
        "spatialIndexes": [
          {
            "path": "string",
            "types": [ "string" ]
          }
        ]
      },
      "partitionKey": {
        "kind": "string",
        "paths": [ "string" ],
        "version": "int"
      },
      "uniqueKeyPolicy": {
        "uniqueKeys": [
          {
            "paths": [ "string" ]
          }
        ]
      }
    }
  }
}

속성 값

databaseAccounts/gremlinDatabases/graphs

Name Description
형식 리소스 종류 'Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs'
apiVersion 리소스 api 버전 '2022-08-15'
name 리소스 이름

JSON ARM 템플릿에서 자식 리소스의 이름 및 형식을 설정하는 방법을 참조하세요.
string(필수)
위치 리소스가 속한 리소스 그룹의 위치입니다. string
tags 태그는 리소스를 설명하는 키-값 쌍의 목록입니다. 여러 리소스 그룹에서 이 리소스를 보고 그룹화할 때 이러한 태그를 사용할 수 있습니다. 리소스에 대해 최대 15개의 태그를 제공할 수 있습니다. 각 태그에는 128자 이하의 키와 256자 이하의 값이 포함되어야 합니다. 예를 들어 템플릿 형식의 기본 환경은 "defaultExperience": "Cassandra"로 설정됩니다. 현재 "defaultExperience" 값에는 "Table", "Graph", "DocumentDB" 및 "MongoDB"도 포함됩니다. 태그 이름 및 값의 사전입니다. 템플릿의 태그를 참조하세요.
properties Azure Cosmos DB Gremlin 그래프를 만들고 업데이트하는 속성입니다. GremlinGraphCreateUpdatePropertiesOrGremlinGraphGetP... (필수)

GremlinGraphCreateUpdatePropertiesOrGremlinGraphGetP...

Name Description
옵션 요청에 적용할 키-값 옵션 쌍입니다. 이는 요청과 함께 전송된 헤더에 해당합니다. CreateUpdateOptionsOrGremlinGraphGetPropertiesOption...
resource Gremlin 그래프의 표준 JSON 형식 GremlinGraphResourceOrGremlinGraphGetPropertiesResou... (필수)

CreateUpdateOptionsOrGremlinGraphGetPropertiesOption...

Name Description
autoscaleSettings 자동 크기 조정 설정을 지정합니다. AutoscaleSettings
throughput 초당 요청 단위입니다. 예를 들어 "처리량": 10000입니다. int

AutoscaleSettings

Name Description
maxThroughput 최대 처리량을 나타내며 리소스를 확장할 수 있습니다. int

GremlinGraphResourceOrGremlinGraphGetPropertiesResou...

Name Description
analyticalStorageTtl 분석 TTL. int
conflictResolutionPolicy 그래프에 대한 충돌 해결 정책입니다. ConflictResolutionPolicy
defaultTtl 기본 사용 시간 int
id Cosmos DB Gremlin 그래프의 이름 string(필수)
indexingPolicy 인덱싱 정책의 구성입니다. 기본적으로 인덱싱은 그래프 내의 모든 문서 경로에 대해 자동으로 수행됩니다. IndexingPolicy
partitionKey 데이터를 여러 파티션으로 분할하는 데 사용할 파티션 키 구성 ContainerPartitionKey
uniqueKeyPolicy Azure Cosmos DB 서비스의 컬렉션에 있는 문서에 고유성 제약 조건을 지정하기 위한 고유 키 정책 구성입니다. UniqueKeyPolicy

ConflictResolutionPolicy

Name Description
conflictResolutionPath LastWriterWins 모드의 경우 충돌 해결 경로입니다. 문자열
conflictResolutionProcedure 사용자 지정 모드의 경우 충돌을 resolve 절차입니다. 문자열
mode 충돌 해결 모드를 나타냅니다. '사용자 지정'
'LastWriterWins'

IndexingPolicy

Name Description
automatic 인덱싱 정책이 자동인지를 나타냅니다. bool
compositeIndexes 복합 경로 목록 CompositePath[]
excludedPaths 인덱싱에서 제외할 경로 목록 ExcludedPath[]
includedPaths 인덱싱에 포함할 경로 목록 IncludedPath[]
indexingMode 인덱싱 모드를 나타냅니다. '일관성'
'lazy'
'none'
spatialIndexes 공간 세부 정보 목록 SpatialSpec[]

CompositePath

Name Description
순서 복합 경로의 정렬 순서입니다. '오름차순'
'내림차순'
path 인덱싱 동작이 적용되는 경로입니다. 인덱스 경로는 일반적으로 루트로 시작하고 와일드카드(/path/*)로 끝납니다. string

ExcludedPath

Name Description
path 인덱싱 동작이 적용되는 경로입니다. 인덱스 경로는 일반적으로 루트로 시작하고 와일드카드(/path/*)로 끝납니다. string

IncludedPath

Name Description
인덱스 이 경로에 대한 인덱스 목록 인덱스[]
path 인덱싱 동작이 적용되는 경로입니다. 인덱스 경로는 일반적으로 루트로 시작하고 와일드카드(/path/*)로 끝납니다. string

인덱스

Name Description
dataType 인덱싱 동작이 적용되는 데이터 형식입니다. 'LineString'
'MultiPolygon'
'Number'
'Point'
'다각형'
'String'
kind 인덱스의 유형을 나타냅니다. '해시'
'Range'
'Spatial'
정밀도 인덱스의 전체 자릿수입니다. -1은 최대 정밀도입니다. int

SpatialSpec

Name Description
path 인덱싱 동작이 적용되는 경로입니다. 인덱스 경로는 일반적으로 루트로 시작하고 와일드카드(/path/*)로 끝납니다. string
types 경로의 공간 형식 목록 다음 중 어느 것을 포함하는 문자열 배열:
'LineString'
'MultiPolygon'
'Point'
'다각형'

ContainerPartitionKey

Name Description
kind 분할에 사용되는 알고리즘의 종류를 나타냅니다. MultiHash의 경우 컨테이너 만들기에 대해 여러 파티션 키(최대 3개)가 지원됩니다. '해시'
'MultiHash'
'Range'
경로 컨테이너 내에서 분할할 수 있는 데이터를 사용하는 경로 목록 string[]
버전 파티션 키 정의의 버전을 나타냅니다. int

제약 조건:
최소값 = 1
최대값 = 2

UniqueKeyPolicy

Name Description
uniqueKeys Azure Cosmos DB 서비스의 컬렉션에 있는 문서에 고유성 제약 조건을 적용하는 의 고유 키 목록입니다. UniqueKey[]

UniqueKey

Name Description
경로 경로 목록은 Azure Cosmos DB 서비스의 각 문서에 대해 고유해야 합니다. string[]

빠른 시작 템플릿

다음 빠른 시작 템플릿은 이 리소스 종류를 배포합니다.

템플릿 Description
Gremlin API에 대한 Azure Cosmos DB 계정 만들기

Azure에 배포
이 템플릿은 전용 처리량을 사용하여 하나의 데이터베이스와 하나의 그래프가 있는 두 지역에 Gremlin API에 대한 Azure Cosmos DB 계정을 만듭니다.
Gremlin API 자동 크기 조정에 대한 Azure Cosmos DB 계정 만들기

Azure에 배포
이 템플릿은 자동 크기 조정 처리량을 사용하여 하나의 데이터베이스와 하나의 그래프가 있는 두 지역에 Gremlin API에 대한 Azure Cosmos DB 계정을 만듭니다.

Terraform(AzAPI 공급자) 리소스 정의

databaseAccounts/gremlinDatabases/graphs 리소스 종류는 다음을 대상으로 하는 작업을 사용하여 배포할 수 있습니다.

  • 리소스 그룹

각 API 버전에서 변경된 속성 목록은 변경 로그를 참조하세요.

리소스 형식

Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs 리소스를 만들려면 템플릿에 다음 Terraform을 추가합니다.

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs@2022-08-15"
  name = "string"
  location = "string"
  parent_id = "string"
  tags = {
    tagName1 = "tagValue1"
    tagName2 = "tagValue2"
  }
  body = jsonencode({
    properties = {
      options = {
        autoscaleSettings = {
          maxThroughput = int
        }
        throughput = int
      }
      resource = {
        analyticalStorageTtl = int
        conflictResolutionPolicy = {
          conflictResolutionPath = "string"
          conflictResolutionProcedure = "string"
          mode = "string"
        }
        defaultTtl = int
        id = "string"
        indexingPolicy = {
          automatic = bool
          compositeIndexes = [
            {
              order = "string"
              path = "string"
            }
          ]
          excludedPaths = [
            {
              path = "string"
            }
          ]
          includedPaths = [
            {
              indexes = [
                {
                  dataType = "string"
                  kind = "string"
                  precision = int
                }
              ]
              path = "string"
            }
          ]
          indexingMode = "string"
          spatialIndexes = [
            {
              path = "string"
              types = [
                "string"
              ]
            }
          ]
        }
        partitionKey = {
          kind = "string"
          paths = [
            "string"
          ]
          version = int
        }
        uniqueKeyPolicy = {
          uniqueKeys = [
            {
              paths = [
                "string"
              ]
            }
          ]
        }
      }
    }
  })
}

속성 값

databaseAccounts/gremlinDatabases/graphs

Name Description
형식 리소스 종류 "Microsoft.DocumentDB/databaseAccounts/gremlinDatabases/graphs@2022-08-15"
name 리소스 이름 string(필수)
위치 리소스가 속한 리소스 그룹의 위치입니다. string
parent_id 이 리소스의 부모인 리소스의 ID입니다. 형식의 리소스에 대한 ID: gremlinDatabases
tags 태그는 리소스를 설명하는 키-값 쌍의 목록입니다. 여러 리소스 그룹에서 이 리소스를 보고 그룹화할 때 이러한 태그를 사용할 수 있습니다. 리소스에 대해 최대 15개의 태그를 제공할 수 있습니다. 각 태그에는 128자 이하의 키와 256자 이하의 값이 포함되어야 합니다. 예를 들어 템플릿 형식의 기본 환경은 "defaultExperience": "Cassandra"로 설정됩니다. 현재 "defaultExperience" 값에는 "Table", "Graph", "DocumentDB" 및 "MongoDB"도 포함됩니다. 태그 이름 및 값의 사전입니다.
properties Azure Cosmos DB Gremlin 그래프를 만들고 업데이트하는 속성입니다. GremlinGraphCreateUpdatePropertiesOrGremlinGraphGetP... (필수)

GremlinGraphCreateUpdatePropertiesOrGremlinGraphGetP...

Name Description
옵션 요청에 적용할 키-값 옵션 쌍입니다. 요청과 함께 전송된 헤더에 해당합니다. CreateUpdateOptionsOrGremlinGraphGetPropertiesOption...
resource Gremlin 그래프의 표준 JSON 형식 GremlinGraphResourceOrGremlinGraphGetPropertiesResou... (필수)

CreateUpdateOptionsOrGremlinGraphGetPropertiesOption...

Name Description
autoscaleSettings 자동 크기 조정 설정을 지정합니다. AutoscaleSettings
throughput 초당 요청 단위입니다. 예를 들어 "처리량": 10000입니다. int

AutoscaleSettings

Name Description
maxThroughput 최대 처리량을 나타내며 리소스를 확장할 수 있습니다. int

GremlinGraphResourceOrGremlinGraphGetPropertiesResou...

Name Description
analyticalStorageTtl 분석 TTL. int
conflictResolutionPolicy 그래프에 대한 충돌 해결 정책입니다. ConflictResolutionPolicy
defaultTtl 기본 TL(Time to Live) int
id Cosmos DB Gremlin 그래프의 이름 string(필수)
indexingPolicy 인덱싱 정책의 구성입니다. 기본적으로 인덱싱은 그래프 내의 모든 문서 경로에 대해 자동으로 수행됩니다. IndexingPolicy
partitionKey 데이터를 여러 파티션으로 분할하는 데 사용할 파티션 키 구성 ContainerPartitionKey
uniqueKeyPolicy Azure Cosmos DB 서비스의 컬렉션에 있는 문서에 고유성 제약 조건을 지정하기 위한 고유 키 정책 구성입니다. UniqueKeyPolicy

ConflictResolutionPolicy

Name Description
conflictResolutionPath LastWriterWins 모드의 경우 충돌 해결 경로입니다. 문자열
conflictResolutionProcedure 사용자 지정 모드의 경우 충돌을 resolve 프로시저입니다. 문자열
mode 충돌 해결 모드를 나타냅니다. "Custom"
"LastWriterWins"

IndexingPolicy

Name Description
automatic 인덱싱 정책이 자동인지를 나타냅니다. bool
compositeIndexes 복합 경로 목록 목록 CompositePath[]
excludedPaths 인덱싱에서 제외할 경로 목록 ExcludedPath[]
includedPaths 인덱싱에 포함할 경로 목록 IncludedPath[]
indexingMode 인덱싱 모드를 나타냅니다. "일관성"
"lazy"
"none"
spatialIndexes 공간 세부 정보 목록 SpatialSpec[]

CompositePath

Name Description
순서 복합 경로의 정렬 순서입니다. "오름차순"
"내림차순"
path 인덱싱 동작이 적용되는 경로입니다. 인덱스 경로는 일반적으로 루트로 시작하고 와일드카드(/path/*)로 끝납니다. string

ExcludedPath

Name Description
path 인덱싱 동작이 적용되는 경로입니다. 인덱스 경로는 일반적으로 루트로 시작하고 와일드카드(/path/*)로 끝납니다. string

IncludedPath

Name Description
인덱스 이 경로에 대한 인덱스 목록 인덱스[]
path 인덱싱 동작이 적용되는 경로입니다. 인덱스 경로는 일반적으로 루트로 시작하고 와일드카드(/path/*)로 끝납니다. string

인덱스

Name Description
dataType 인덱싱 동작이 적용되는 데이터 형식입니다. "LineString"
"MultiPolygon"
"Number"
"Point"
"다각형"
"String"
kind 인덱스의 유형을 나타냅니다. "해시"
"Range"
"공간"
정밀도 인덱스의 전체 자릿수입니다. -1은 최대 정밀도입니다. int

SpatialSpec

Name Description
path 인덱싱 동작이 적용되는 경로입니다. 인덱스 경로는 일반적으로 루트로 시작하고 와일드카드(/path/*)로 끝납니다. 문자열
types 경로의 공간 형식 목록 다음 중 어느 것을 포함하는 문자열 배열:
"LineString"
"MultiPolygon"
"Point"
"다각형"

ContainerPartitionKey

Name Description
kind 분할에 사용되는 알고리즘의 종류를 나타냅니다. MultiHash의 경우 컨테이너 만들기에 대해 여러 파티션 키(최대 3개)가 지원됩니다. "해시"
"MultiHash"
"Range"
경로 컨테이너 내에서 분할할 수 있는 데이터를 사용하는 경로 목록 string[]
버전 파티션 키 정의의 버전을 나타냅니다. int

제약 조건:
최소값 = 1
최대값 = 2

UniqueKeyPolicy

Name Description
uniqueKeys Azure Cosmos DB 서비스의 컬렉션에 있는 문서에 고유성 제약 조건을 적용하는 의 고유 키 목록입니다. UniqueKey[]

UniqueKey

Name Description
경로 경로 목록은 Azure Cosmos DB 서비스의 각 문서에 대해 고유해야 합니다. string[]