Microsoft。DocumentDB databaseAccounts/cassandraKeyspaces/tables/throughputSettings 2026-03-15

Bicep 資源定義

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

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

資源格式

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

resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings@2026-03-15' = {
  parent: resourceSymbolicName
  identity: {
    type: 'string'
    userAssignedIdentities: {
      {customized property}: {}
    }
  }
  location: 'string'
  name: 'default'
  properties: {
    resource: {
      autoscaleSettings: {
        autoUpgradePolicy: {
          throughputPolicy: {
            incrementPercent: int
            isEnabled: bool
          }
        }
        maxThroughput: int
      }
      throughput: int
    }
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings

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

欲了解更多資訊,請參閱 Child 資源 外部 parent resource。
類型資源的符號名稱:databaseAccounts/cassandraKeyspaces/tables
屬性 更新 Azure Cosmos DB 資源輸送量的屬性。 ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties (必要)
tags 資源標籤 標記名稱和值的字典。 請參考模板中的標籤

ARMResourceProperties標籤

Name Description Value

AutoscaleSettingsResource

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

AutoUpgradePolicyResource

Name Description Value
throughputPolicy (輸送量策略) 表示服務必須遵守以進行自動升級的輸送量原則 ThroughputPolicyResource

ManagedServiceIdentity

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

ManagedServiceIdentityUserAssignedIdentities

Name Description Value

ManagedServiceIdentityUserAssignedIdentities

Name Description Value

ThroughputPolicyResource

Name Description Value
增量百分比 表示每次輸送量原則啟動時,輸送量可以增加的百分比。 int
isEnabled 判斷 ThroughputPolicy 是否為使用中 bool

ThroughputSettingsResourceOrThroughputSettingsGetPropertiesResource

Name Description Value
autoscaleSettings 自動調整設定的 Cosmos DB 資源。 需要輸送量或需要 autoscaleSettings,但不需要兩者。 AutoscaleSettingsResource
輸送量 Cosmos DB 資源輸送量的值。 需要輸送量或需要 autoscaleSettings,但不需要兩者。 int

ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties

Name Description Value
資源 資源輸送量的標準 JSON 格式 ThroughputSettingsResourceOrThroughputSettingsGetPropertiesResource (必要)

ARM 樣本資源定義

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

使用範例

資源格式

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

{
  "type": "Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings",
  "apiVersion": "2026-03-15",
  "name": "string",
  "identity": {
    "type": "string",
    "userAssignedIdentities": {
      "{customized property}": {
      }
    }
  },
  "location": "string",
  "properties": {
    "resource": {
      "autoscaleSettings": {
        "autoUpgradePolicy": {
          "throughputPolicy": {
            "incrementPercent": "int",
            "isEnabled": "bool"
          }
        },
        "maxThroughput": "int"
      },
      "throughput": "int"
    }
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings

Name Description Value
apiVersion API 版本 '2026-03-15'
身分識別 資源的身分識別。 ManagedServiceIdentity
位置 資源所屬資源群組的位置。 字串
name 資源名稱 'default' (必要)
屬性 更新 Azure Cosmos DB 資源輸送量的屬性。 ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties (必要)
tags 資源標籤 標記名稱和值的字典。 請參考模板中的標籤
型別 資源類型 “Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings”

ARMResourceProperties標籤

Name Description Value

AutoscaleSettingsResource

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

AutoUpgradePolicyResource

Name Description Value
throughputPolicy (輸送量策略) 表示服務必須遵守以進行自動升級的輸送量原則 ThroughputPolicyResource

ManagedServiceIdentity

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

ManagedServiceIdentityUserAssignedIdentities

Name Description Value

ManagedServiceIdentityUserAssignedIdentities

Name Description Value

ThroughputPolicyResource

Name Description Value
增量百分比 表示每次輸送量原則啟動時,輸送量可以增加的百分比。 int
isEnabled 判斷 ThroughputPolicy 是否為使用中 bool

ThroughputSettingsResourceOrThroughputSettingsGetPropertiesResource

Name Description Value
autoscaleSettings 自動調整設定的 Cosmos DB 資源。 需要輸送量或需要 autoscaleSettings,但不需要兩者。 AutoscaleSettingsResource
輸送量 Cosmos DB 資源輸送量的值。 需要輸送量或需要 autoscaleSettings,但不需要兩者。 int

ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties

Name Description Value
資源 資源輸送量的標準 JSON 格式 ThroughputSettingsResourceOrThroughputSettingsGetPropertiesResource (必要)

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-03-15"
  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
      }
    }
  }
}

屬性值

Microsoft.DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings

Name Description Value
身分識別 資源的身分識別。 ManagedServiceIdentity
位置 資源所屬資源群組的位置。 字串
name 資源名稱 'default' (必要)
parent_id 此資源為父系之資源的標識碼。 類型資源的標識碼:databaseAccounts/cassandraKeyspaces/tables
屬性 更新 Azure Cosmos DB 資源輸送量的屬性。 ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties (必要)
tags 資源標籤 標記名稱和值的字典。
型別 資源類型 「Microsoft。DocumentDB/databaseAccounts/cassandraKeyspaces/tables/throughputSettings@2026-03-15”

ARMResourceProperties標籤

Name Description Value

AutoscaleSettingsResource

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

AutoUpgradePolicyResource

Name Description Value
throughputPolicy (輸送量策略) 表示服務必須遵守以進行自動升級的輸送量原則 ThroughputPolicyResource

ManagedServiceIdentity

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

ManagedServiceIdentityUserAssignedIdentities

Name Description Value

ManagedServiceIdentityUserAssignedIdentities

Name Description Value

ThroughputPolicyResource

Name Description Value
增量百分比 表示每次輸送量原則啟動時,輸送量可以增加的百分比。 int
isEnabled 判斷 ThroughputPolicy 是否為使用中 bool

ThroughputSettingsResourceOrThroughputSettingsGetPropertiesResource

Name Description Value
autoscaleSettings 自動調整設定的 Cosmos DB 資源。 需要輸送量或需要 autoscaleSettings,但不需要兩者。 AutoscaleSettingsResource
輸送量 Cosmos DB 資源輸送量的值。 需要輸送量或需要 autoscaleSettings,但不需要兩者。 int

ThroughputSettingsUpdatePropertiesOrThroughputSettingsGetProperties

Name Description Value
資源 資源輸送量的標準 JSON 格式 ThroughputSettingsResourceOrThroughputSettingsGetPropertiesResource (必要)