Microsoft.Kusto 叢集/資料庫 2023-08-15

Bicep 資源定義

叢集/資料庫資源類型可以使用目標作業來部署:

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

資源格式

若要建立 Microsoft.Kusto/clusters/databases 資源,請將下列 Bicep 新增至範本。

resource symbolicname 'Microsoft.Kusto/clusters/databases@2023-08-15' = {
  name: 'string'
  location: 'string'
  kind: 'string'
  parent: resourceSymbolicName
  // For remaining properties, see clusters/databases objects
}

clusters/databases 物件

設定 種類 屬性,以指定對象的類型。

針對 ReadOnlyFollowing,請使用:

  kind: 'ReadOnlyFollowing'

針對 ReadWrite,請使用:

  kind: 'ReadWrite'
  properties: {
    hotCachePeriod: 'string'
    keyVaultProperties: {
      keyName: 'string'
      keyVaultUri: 'string'
      keyVersion: 'string'
      userIdentity: 'string'
    }
    softDeletePeriod: 'string'
  }

屬性值

clusters/databases

名字 描述 價值
名字 資源名稱

請參閱如何在 Bicep 中設定子資源的名稱和類型。
字串 (必要)
位置 資源位置。 字串
設定物件類型 ReadOnlyFollowing
ReadWrite (必要)
父母 在 Bicep 中,您可以指定子資源的父資源。 只有在父資源外部宣告子資源時,才需要新增這個屬性。

如需詳細資訊,請參閱 父資源外部的子資源
類型的資源符號名稱:叢集

ReadOnlyFollowingDatabase

名字 描述 價值
資料庫的種類 'ReadOnlyFollowing' (必要)

ReadWriteDatabase

名字 描述 價值
資料庫的種類 'ReadWrite' (必要)
性能 資料庫屬性。 ReadWriteDatabaseProperties

ReadWriteDatabaseProperties

名字 描述 價值
hotCachePeriod 數據應該保留在快取的時間,以在 TimeSpan 中快速查詢。 字串
keyVaultProperties 資料庫加密的 KeyVault 屬性。 KeyVaultProperties
softDeletePeriod 在 TimeSpan 中查詢停止存取數據之前,應該保留數據的時間。 字串

KeyVaultProperties

名字 描述 價值
keyName 金鑰儲存庫金鑰的名稱。 字串
keyVaultUri 金鑰保存庫的 URI。 字串
keyVersion 金鑰儲存庫金鑰的版本。 字串
userIdentity 使用者指派的身分識別 (ARM 資源識別碼) 可存取金鑰。 字串

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
建立資料庫監看員

部署至 Azure
此範例會建立 Azure SQL 的資料庫監看員,並設定其數據存放區、SQL 目標和受控私人端點
Azure Digital Twins 與時間數據歷程記錄連線

部署至 Azure
此範本會建立以時間序列數據歷程記錄連線設定的 Azure Digital Twins 實例。 若要建立連線,必須建立其他資源,例如事件中樞命名空間、事件中樞、Azure 數據總管叢集和資料庫。 數據會傳送至事件中樞,該中樞最終會將數據轉送至 Azure 數據總管叢集。 數據會儲存在叢集中的資料庫數據表中
建立叢集資料庫

部署至 Azure
此範本可讓您建立叢集和資料庫。
使用 Cosmos DB 連線部署 Azure 數據總管 DB

部署至 Azure
使用 Cosmos DB 連線部署 Azure 數據總管 DB。
使用事件方格連線部署 Azure 數據總管資料庫

部署至 Azure
使用事件方格聯機部署 Azure 數據總管資料庫。
使用事件中樞連線部署 Azure 數據總管資料庫

部署至 Azure
使用事件中樞連線部署 Azure 數據總管資料庫。

ARM 樣本資源定義

叢集/資料庫資源類型可以使用目標作業來部署:

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

資源格式

若要建立 Microsoft.Kusto/clusters/databases 資源,請將下列 JSON 新增至範本。

{
  "type": "Microsoft.Kusto/clusters/databases",
  "apiVersion": "2023-08-15",
  "name": "string",
  "location": "string",
  "kind": "string",
  // For remaining properties, see clusters/databases objects
}

clusters/databases 物件

設定 種類 屬性,以指定對象的類型。

針對 ReadOnlyFollowing,請使用:

  "kind": "ReadOnlyFollowing"

針對 ReadWrite,請使用:

  "kind": "ReadWrite",
  "properties": {
    "hotCachePeriod": "string",
    "keyVaultProperties": {
      "keyName": "string",
      "keyVaultUri": "string",
      "keyVersion": "string",
      "userIdentity": "string"
    },
    "softDeletePeriod": "string"
  }

屬性值

clusters/databases

名字 描述 價值
類型 資源類型 'Microsoft.Kusto/clusters/databases'
apiVersion 資源 API 版本 '2023-08-15'
名字 資源名稱

請參閱如何在JSON ARM 範本中設定子資源的名稱和類型。
字串 (必要)
位置 資源位置。 字串
設定物件類型 ReadOnlyFollowing
ReadWrite (必要)

ReadOnlyFollowingDatabase

名字 描述 價值
資料庫的種類 'ReadOnlyFollowing' (必要)

ReadWriteDatabase

名字 描述 價值
資料庫的種類 'ReadWrite' (必要)
性能 資料庫屬性。 ReadWriteDatabaseProperties

ReadWriteDatabaseProperties

名字 描述 價值
hotCachePeriod 數據應該保留在快取的時間,以在 TimeSpan 中快速查詢。 字串
keyVaultProperties 資料庫加密的 KeyVault 屬性。 KeyVaultProperties
softDeletePeriod 在 TimeSpan 中查詢停止存取數據之前,應該保留數據的時間。 字串

KeyVaultProperties

名字 描述 價值
keyName 金鑰儲存庫金鑰的名稱。 字串
keyVaultUri 金鑰保存庫的 URI。 字串
keyVersion 金鑰儲存庫金鑰的版本。 字串
userIdentity 使用者指派的身分識別 (ARM 資源識別碼) 可存取金鑰。 字串

快速入門範本

下列快速入門範本會部署此資源類型。

範本 描述
建立資料庫監看員

部署至 Azure
此範例會建立 Azure SQL 的資料庫監看員,並設定其數據存放區、SQL 目標和受控私人端點
Azure Digital Twins 與時間數據歷程記錄連線

部署至 Azure
此範本會建立以時間序列數據歷程記錄連線設定的 Azure Digital Twins 實例。 若要建立連線,必須建立其他資源,例如事件中樞命名空間、事件中樞、Azure 數據總管叢集和資料庫。 數據會傳送至事件中樞,該中樞最終會將數據轉送至 Azure 數據總管叢集。 數據會儲存在叢集中的資料庫數據表中
建立叢集資料庫

部署至 Azure
此範本可讓您建立叢集和資料庫。
使用 Cosmos DB 連線部署 Azure 數據總管 DB

部署至 Azure
使用 Cosmos DB 連線部署 Azure 數據總管 DB。
使用事件方格連線部署 Azure 數據總管資料庫

部署至 Azure
使用事件方格聯機部署 Azure 數據總管資料庫。
使用事件中樞連線部署 Azure 數據總管資料庫

部署至 Azure
使用事件中樞連線部署 Azure 數據總管資料庫。

Terraform (AzAPI 提供者) 資源定義

叢集/資料庫資源類型可以使用目標作業來部署:

  • 資源群組

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

資源格式

若要建立 Microsoft.Kusto/clusters/databases 資源,請將下列 Terraform 新增至範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Kusto/clusters/databases@2023-08-15"
  name = "string"
  location = "string"
  parent_id = "string"
  // For remaining properties, see clusters/databases objects
  body = jsonencode({
    kind = "string"
  })
}

clusters/databases 物件

設定 種類 屬性,以指定對象的類型。

針對 ReadOnlyFollowing,請使用:

  kind = "ReadOnlyFollowing"

針對 ReadWrite,請使用:

  kind = "ReadWrite"
  properties = {
    hotCachePeriod = "string"
    keyVaultProperties = {
      keyName = "string"
      keyVaultUri = "string"
      keyVersion = "string"
      userIdentity = "string"
    }
    softDeletePeriod = "string"
  }

屬性值

clusters/databases

名字 描述 價值
類型 資源類型 “Microsoft.Kusto/clusters/databases@2023-08-15”
名字 資源名稱 字串 (必要)
位置 資源位置。 字串
parent_id 此資源為父系之資源的標識碼。 類型資源的標識碼:叢集
設定物件類型 ReadOnlyFollowing
ReadWrite (必要)

ReadOnlyFollowingDatabase

名字 描述 價值
資料庫的種類 “ReadOnlyFollowing” (必要)

ReadWriteDatabase

名字 描述 價值
資料庫的種類 “ReadWrite” (必要)
性能 資料庫屬性。 ReadWriteDatabaseProperties

ReadWriteDatabaseProperties

名字 描述 價值
hotCachePeriod 數據應該保留在快取的時間,以在 TimeSpan 中快速查詢。 字串
keyVaultProperties 資料庫加密的 KeyVault 屬性。 KeyVaultProperties
softDeletePeriod 在 TimeSpan 中查詢停止存取數據之前,應該保留數據的時間。 字串

KeyVaultProperties

名字 描述 價值
keyName 金鑰儲存庫金鑰的名稱。 字串
keyVaultUri 金鑰保存庫的 URI。 字串
keyVersion 金鑰儲存庫金鑰的版本。 字串
userIdentity 使用者指派的身分識別 (ARM 資源識別碼) 可存取金鑰。 字串