다음을 통해 공유


Microsoft.DocumentDB 데이터베이스계정/테이블/처리량설정 2020-03-01

Bicep 리소스 정의

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

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

리소스 형식

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

resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings@2020-03-01' = {
  parent: resourceSymbolicName
  location: 'string'
  name: 'default'
  properties: {
    resource: {
      provisionedThroughputSettings: {
        autoUpgradePolicy: {
          throughputPolicy: {
            incrementPercent: int
            isEnabled: bool
          }
        }
        maxThroughput: int
      }
      throughput: int
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

속성 값

Microsoft.DocumentDB/databaseAccounts/테이블/처리량설정

이름 묘사
위치 리소스가 속한 리소스 그룹의 위치입니다. 문자열
이름 리소스 이름 'default'(필수)
부모 Bicep에서 자식 리소스에 대한 부모 리소스를 지정할 수 있습니다. 자식 리소스가 부모 리소스 외부에서 선언된 경우에만 이 속성을 추가해야 합니다.

자세한 내용은 부모 리소스외부의 자식 리소스 참조하세요.
형식 리소스의 기호 이름: databaseAccounts/tables
속성 Azure Cosmos DB 리소스 처리량을 업데이트하는 속성입니다. ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties(필수)
태그 리소스 태그 태그 이름 및 값의 사전입니다. 템플릿 태그를 참조하세요.

AutoUpgradePolicy리소스

이름 묘사
throughputPolicy 서비스가 자동 업그레이드를 위해 준수해야 하는 처리량 정책을 나타냅니다. ThroughputPolicy리소스

프로비저닝된 ThroughputSettingsResource

이름 묘사
자동 업그레이드 정책 Cosmos DB 리소스 자동 업그레이드 정책 autoUpgradePolicyResource
최대 처리량 컨테이너가 확장할 수 있는 최대 처리량을 나타냅니다. int(필수)

태그

이름 묘사

ThroughputPolicy리소스

이름 묘사
증분 퍼센트 처리량 정책이 시작될 때마다 처리량이 증가할 수 있는 백분율을 나타냅니다. 정수 (int)
활성화됨 ThroughputPolicy가 활성 상태인지 여부를 확인합니다. bool

ThroughputSettingsResource또는ThroughputSettingsGetPropertiesResource

이름 묘사
provisionedThroughput설정 프로비전된 처리량 설정에 대한 Cosmos DB 리소스입니다. 처리량이 필요하거나 provisionedThroughputSettings가 필요하지만 둘 다 필요하지는 않습니다. 프로비저닝된 ThroughputSettingsResource
처리량 Cosmos DB 리소스 처리량의 값입니다. 처리량이 필요하거나 provisionedThroughputSettings가 필요하지만 둘 다 필요하지는 않습니다. 정수 (int)

ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties

이름 묘사
자원 리소스 처리량의 표준 JSON 형식 ThroughputSettingsResourceOrThroughputSettingsGetPropertiesResource(필수)

ARM 템플릿 리소스 정의

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

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

리소스 형식

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

{
  "type": "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings",
  "apiVersion": "2020-03-01",
  "name": "string",
  "location": "string",
  "properties": {
    "resource": {
      "provisionedThroughputSettings": {
        "autoUpgradePolicy": {
          "throughputPolicy": {
            "incrementPercent": "int",
            "isEnabled": "bool"
          }
        },
        "maxThroughput": "int"
      },
      "throughput": "int"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

속성 값

Microsoft.DocumentDB/databaseAccounts/테이블/처리량설정

이름 묘사
API버전 api 버전 '2020-03-01'
위치 리소스가 속한 리소스 그룹의 위치입니다. 문자열
이름 리소스 이름 'default'(필수)
속성 Azure Cosmos DB 리소스 처리량을 업데이트하는 속성입니다. ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties(필수)
태그 리소스 태그 태그 이름 및 값의 사전입니다. 템플릿 태그를 참조하세요.
리소스 종류 'Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings'

AutoUpgradePolicy리소스

이름 묘사
throughputPolicy 서비스가 자동 업그레이드를 위해 준수해야 하는 처리량 정책을 나타냅니다. ThroughputPolicy리소스

프로비저닝된 ThroughputSettingsResource

이름 묘사
자동 업그레이드 정책 Cosmos DB 리소스 자동 업그레이드 정책 autoUpgradePolicyResource
최대 처리량 컨테이너가 확장할 수 있는 최대 처리량을 나타냅니다. int(필수)

태그

이름 묘사

ThroughputPolicy리소스

이름 묘사
증분 퍼센트 처리량 정책이 시작될 때마다 처리량이 증가할 수 있는 백분율을 나타냅니다. 정수 (int)
활성화됨 ThroughputPolicy가 활성 상태인지 여부를 확인합니다. bool

ThroughputSettingsResource또는ThroughputSettingsGetPropertiesResource

이름 묘사
provisionedThroughput설정 프로비전된 처리량 설정에 대한 Cosmos DB 리소스입니다. 처리량이 필요하거나 provisionedThroughputSettings가 필요하지만 둘 다 필요하지는 않습니다. 프로비저닝된 ThroughputSettingsResource
처리량 Cosmos DB 리소스 처리량의 값입니다. 처리량이 필요하거나 provisionedThroughputSettings가 필요하지만 둘 다 필요하지는 않습니다. 정수 (int)

ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties

이름 묘사
자원 리소스 처리량의 표준 JSON 형식 ThroughputSettingsResourceOrThroughputSettingsGetPropertiesResource(필수)

사용 예제

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

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

  • 리소스 그룹

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

리소스 형식

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

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings@2020-03-01"
  name = "string"
  parent_id = "string"
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      resource = {
        provisionedThroughputSettings = {
          autoUpgradePolicy = {
            throughputPolicy = {
              incrementPercent = int
              isEnabled = bool
            }
          }
          maxThroughput = int
        }
        throughput = int
      }
    }
  }
}

속성 값

Microsoft.DocumentDB/databaseAccounts/테이블/처리량설정

이름 묘사
위치 리소스가 속한 리소스 그룹의 위치입니다. 문자열
이름 리소스 이름 'default'(필수)
부모 ID 이 리소스의 부모인 리소스의 ID입니다. 형식 리소스의 ID: databaseAccounts/tables
속성 Azure Cosmos DB 리소스 처리량을 업데이트하는 속성입니다. ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties(필수)
태그 리소스 태그 태그 이름 및 값의 사전입니다.
리소스 종류 "Microsoft.DocumentDB/databaseAccounts/tables/throughputSettings@2020-03-01"

AutoUpgradePolicy리소스

이름 묘사
throughputPolicy 서비스가 자동 업그레이드를 위해 준수해야 하는 처리량 정책을 나타냅니다. ThroughputPolicy리소스

프로비저닝된 ThroughputSettingsResource

이름 묘사
자동 업그레이드 정책 Cosmos DB 리소스 자동 업그레이드 정책 autoUpgradePolicyResource
최대 처리량 컨테이너가 확장할 수 있는 최대 처리량을 나타냅니다. int(필수)

태그

이름 묘사

ThroughputPolicy리소스

이름 묘사
증분 퍼센트 처리량 정책이 시작될 때마다 처리량이 증가할 수 있는 백분율을 나타냅니다. 정수 (int)
활성화됨 ThroughputPolicy가 활성 상태인지 여부를 확인합니다. bool

ThroughputSettingsResource또는ThroughputSettingsGetPropertiesResource

이름 묘사
provisionedThroughput설정 프로비전된 처리량 설정에 대한 Cosmos DB 리소스입니다. 처리량이 필요하거나 provisionedThroughputSettings가 필요하지만 둘 다 필요하지는 않습니다. 프로비저닝된 ThroughputSettingsResource
처리량 Cosmos DB 리소스 처리량의 값입니다. 처리량이 필요하거나 provisionedThroughputSettings가 필요하지만 둘 다 필요하지는 않습니다. 정수 (int)

ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties

이름 묘사
자원 리소스 처리량의 표준 JSON 형식 ThroughputSettingsResourceOrThroughputSettingsGetPropertiesResource(필수)