Microsoft.DocumentDB 資料庫Accounts/cassandraKeyspaces/tables/throughputSettings

Bicep 資源定義

databaseAccounts/cassandraKeyspaces/tables/throughputSettings 資源類型可以使用目標作業來部署:

如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。

資源格式

若要建立 Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings@2026-04-01-preview' = {
  parent: resourceSymbolicName
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: 'string'
    }
  }
  location: 'string'
  name: 'default'
  properties: {
    resource: {
      autoscaleSettings: {
        autoUpgradePolicy: {
          throughputPolicy: {
            incrementPercent: int
            isEnabled: bool
          }
        }
        maxThroughput: int
      }
      throughput: int
      throughputBuckets: [
        {
          id: int
          isDefaultBucket: bool
          maxThroughputPercentage: int
        }
      ]
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings

名字 描述 價值
身分識別 資源的身分識別。 ManagedServiceIdentity
位置 資源所屬資源群組的位置。 字串
名字 資源名稱 'default' (必要)
父代 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源。
類型資源的符號名稱:databaseAccounts/cassandraKeyspaces/tables
性能 Azure Cosmos DB 資源吞吐量的屬性 吞吐量設定GetProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

AutoscaleSettingsResource

名字 描述 價值
autoUpgradePolicy 的 Cosmos DB 資源自動升級原則 AutoUpgradePolicyResource
maxThroughput (最大輸送量) 表示最大輸送量容器可以相應增加至此數目。 int (必要)

AutoUpgradePolicyResource

名字 描述 價值
throughputPolicy (輸送量策略) 表示服務必須遵守以進行自動升級的輸送量原則 ThroughputPolicyResource

ManagedServiceIdentity

名字 描述 價值
型別 用於資源的身分識別類型。 類型 'SystemAssigned,UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 『None』 會從服務中移除任何身分識別。 “無”
“系統分配”
'SystemAssigned,UserAssigned'
'UserAssigned'
使用者指派的身份 與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 錄製

Record

名字 描述 價值

ThroughputBucketResource

名字 描述 價值
識別碼 表示輸送量貯體標識碼 int (必要)
isDefaultBucket 指出這是否為預設輸送量儲存貯體 布爾 (bool)
maxThroughputPercentage (最大輸送量百分比) 表示貯體可以使用的最大百分比輸送量 int (必要)

ThroughputPolicyResource

名字 描述 價值
增量百分比 表示每次輸送量原則啟動時,輸送量可以增加的百分比。 整數 (int)
已啟用 判斷 ThroughputPolicy 是否為使用中 布爾 (bool)

吞吐量設定GetProperties

名字 描述 價值
資源 吞吐量設定GetPropertiesResource

吞吐量設定GetPropertiesResource

名字 描述 價值
autoscaleSettings 自動調整設定的 Cosmos DB 資源。 需要輸送量或需要 autoscaleSettings,但不需要兩者。 AutoscaleSettingsResource
輸送量 Cosmos DB 資源輸送量的值。 需要輸送量或需要 autoscaleSettings,但不需要兩者。 整數 (int)
throughputBuckets 要套用至 Cosmos DB 容器的輸送量貯體限制陣列 ThroughputBucketResource[]

ARM 樣本資源定義

databaseAccounts/cassandraKeyspaces/tables/throughputSettings 資源類型可以使用目標作業來部署:

使用範例

資源格式

若要建立 Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings",
  "apiVersion": "2026-04-01-preview",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": "string"
    }
  },
  "location": "string",
  "properties": {
    "resource": {
      "autoscaleSettings": {
        "autoUpgradePolicy": {
          "throughputPolicy": {
            "incrementPercent": "int",
            "isEnabled": "bool"
          }
        },
        "maxThroughput": "int"
      },
      "throughput": "int",
      "throughputBuckets": [
        {
          "id": "int",
          "isDefaultBucket": "bool",
          "maxThroughputPercentage": "int"
        }
      ]
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings

名字 描述 價值
apiVersion API 版本 『2026-04-01-預覽』
身分識別 資源的身分識別。 ManagedServiceIdentity
位置 資源所屬資源群組的位置。 字串
名字 資源名稱 'default' (必要)
性能 Azure Cosmos DB 資源吞吐量的屬性 吞吐量設定GetProperties
標籤 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
型別 資源類型 “Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings”

AutoscaleSettingsResource

名字 描述 價值
autoUpgradePolicy 的 Cosmos DB 資源自動升級原則 AutoUpgradePolicyResource
maxThroughput (最大輸送量) 表示最大輸送量容器可以相應增加至此數目。 int (必要)

AutoUpgradePolicyResource

名字 描述 價值
throughputPolicy (輸送量策略) 表示服務必須遵守以進行自動升級的輸送量原則 ThroughputPolicyResource

ManagedServiceIdentity

名字 描述 價值
型別 用於資源的身分識別類型。 類型 'SystemAssigned,UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 『None』 會從服務中移除任何身分識別。 “無”
“系統分配”
'SystemAssigned,UserAssigned'
'UserAssigned'
使用者指派的身份 與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 錄製

Record

名字 描述 價值

ThroughputBucketResource

名字 描述 價值
識別碼 表示輸送量貯體標識碼 int (必要)
isDefaultBucket 指出這是否為預設輸送量儲存貯體 布爾 (bool)
maxThroughputPercentage (最大輸送量百分比) 表示貯體可以使用的最大百分比輸送量 int (必要)

ThroughputPolicyResource

名字 描述 價值
增量百分比 表示每次輸送量原則啟動時,輸送量可以增加的百分比。 整數 (int)
已啟用 判斷 ThroughputPolicy 是否為使用中 布爾 (bool)

吞吐量設定GetProperties

名字 描述 價值
資源 吞吐量設定GetPropertiesResource

吞吐量設定GetPropertiesResource

名字 描述 價值
autoscaleSettings 自動調整設定的 Cosmos DB 資源。 需要輸送量或需要 autoscaleSettings,但不需要兩者。 AutoscaleSettingsResource
輸送量 Cosmos DB 資源輸送量的值。 需要輸送量或需要 autoscaleSettings,但不需要兩者。 整數 (int)
throughputBuckets 要套用至 Cosmos DB 容器的輸送量貯體限制陣列 ThroughputBucketResource[]

Terraform (AzAPI 提供者) 資源定義

databaseAccounts/cassandraKeyspaces/tables/throughputSettings 資源類型可以使用目標作業來部署:

  • 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。

資源格式

若要建立 Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings@2026-04-01-preview"
  name = "string"
  parent_id = "string"
  identity {
    type = "string"
    identity_ids = [
      "string"
    ]
  }
  location = "string"
  tags = {
    {customized property} = "string"
  }
  body = {
    properties = {
      resource = {
        autoscaleSettings = {
          autoUpgradePolicy = {
            throughputPolicy = {
              incrementPercent = int
              isEnabled = bool
            }
          }
          maxThroughput = int
        }
        throughput = int
        throughputBuckets = [
          {
            id = int
            isDefaultBucket = bool
            maxThroughputPercentage = int
          }
        ]
      }
    }
  }
}

屬性值

Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings

名字 描述 價值
身分識別 資源的身分識別。 ManagedServiceIdentity
位置 資源所屬資源群組的位置。 字串
名字 資源名稱 'default' (必要)
父項識別碼 此資源為父系之資源的標識碼。 類型資源的標識碼:databaseAccounts/cassandraKeyspaces/tables
性能 Azure Cosmos DB 資源吞吐量的屬性 吞吐量設定GetProperties
標籤 資源標籤 標記名稱和值的字典。
型別 資源類型 「Microsoft。DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings@2026-04-01-preview”

AutoscaleSettingsResource

名字 描述 價值
autoUpgradePolicy 的 Cosmos DB 資源自動升級原則 AutoUpgradePolicyResource
maxThroughput (最大輸送量) 表示最大輸送量容器可以相應增加至此數目。 int (必要)

AutoUpgradePolicyResource

名字 描述 價值
throughputPolicy (輸送量策略) 表示服務必須遵守以進行自動升級的輸送量原則 ThroughputPolicyResource

ManagedServiceIdentity

名字 描述 價值
型別 用於資源的身分識別類型。 類型 'SystemAssigned,UserAssigned' 包含隱含建立的身分識別和一組使用者指派的身分識別。 類型 『None』 會從服務中移除任何身分識別。 “無”
“系統分配”
'SystemAssigned,UserAssigned'
'UserAssigned'
使用者指派的身份 與資源相關聯的使用者身分識別清單。 使用者身分識別字典索引鍵參考的格式為 ARM 資源標識符:'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'。 錄製

Record

名字 描述 價值

ThroughputBucketResource

名字 描述 價值
識別碼 表示輸送量貯體標識碼 int (必要)
isDefaultBucket 指出這是否為預設輸送量儲存貯體 布爾 (bool)
maxThroughputPercentage (最大輸送量百分比) 表示貯體可以使用的最大百分比輸送量 int (必要)

ThroughputPolicyResource

名字 描述 價值
增量百分比 表示每次輸送量原則啟動時,輸送量可以增加的百分比。 整數 (int)
已啟用 判斷 ThroughputPolicy 是否為使用中 布爾 (bool)

吞吐量設定GetProperties

名字 描述 價值
資源 吞吐量設定GetPropertiesResource

吞吐量設定GetPropertiesResource

名字 描述 價值
autoscaleSettings 自動調整設定的 Cosmos DB 資源。 需要輸送量或需要 autoscaleSettings,但不需要兩者。 AutoscaleSettingsResource
輸送量 Cosmos DB 資源輸送量的值。 需要輸送量或需要 autoscaleSettings,但不需要兩者。 整數 (int)
throughputBuckets 要套用至 Cosmos DB 容器的輸送量貯體限制陣列 ThroughputBucketResource[]