你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Microsoft.Kusto clusters/databases
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 对象
设置 kind 属性以指定对象的类型。
对于 ReadOnlyFollowing,请使用:
kind: 'ReadOnlyFollowing'
对于 ReadWrite,请使用:
kind: 'ReadWrite'
properties: {
hotCachePeriod: 'string'
keyVaultProperties: {
keyName: 'string'
keyVaultUri: 'string'
keyVersion: 'string'
userIdentity: 'string'
}
softDeletePeriod: 'string'
}
属性值
clusters/databases
名称 | 说明 | 值 |
---|---|---|
name | 资源名称 了解如何在 Bicep 中为子资源设置名称和类型。 |
字符串 (必需) |
location | 资源位置。 | string |
kind | 设置对象类型 | ReadOnlyFollowing ReadWrite (必需) |
父级 (parent) | 在 Bicep 中,可以为子资源指定父资源。 仅当子资源在父资源外部声明时,才需要添加此属性。 有关详细信息,请参阅 父资源之外的子资源。 |
类型为资源的符号名称: clusters |
ReadOnlyFollowingDatabase
名称 | 说明 | 值 |
---|---|---|
kind | 数据库的种类 | “ReadOnlyFollowing” (必需) |
ReadWriteDatabase
名称 | 说明 | 值 |
---|---|---|
kind | 数据库的种类 | “ReadWrite” (必需) |
properties | 数据库属性。 | ReadWriteDatabaseProperties |
ReadWriteDatabaseProperties
名称 | 说明 | 值 |
---|---|---|
hotCachePeriod | 数据应在缓存中保留的时间,以便在 TimeSpan 中快速查询。 | 字符串 |
keyVaultProperties | 数据库加密的 KeyVault 属性。 | KeyVaultProperties |
softDeletePeriod | 数据在停止可供 TimeSpan 中的查询访问之前应保留的时间。 | 字符串 |
KeyVaultProperties
名称 | 说明 | 值 |
---|---|---|
keyName | 密钥保管库密钥的名称。 | string |
keyVaultUri | 密钥保管库的 URI。 | string |
keyVersion | 密钥保管库密钥的版本。 | 字符串 |
userIdentity | 用户分配的标识 (有权访问密钥的 ARM 资源 id) 。 | string |
快速入门模板
以下快速入门模板部署此资源类型。
模板 | 说明 |
---|---|
具有时间数据历史记录连接的 Azure 数字孪生 |
此模板创建配置了时序数据历史记录连接的 Azure 数字孪生实例。 若要创建连接,必须创建其他资源,例如事件中心命名空间、事件中心、Azure 数据资源管理器群集和数据库。 数据将发送到事件中心,该事件中心最终将数据转发到 Azure 数据资源管理器 群集。 数据存储在群集的数据库表中 |
创建群集和数据库 |
使用此模板可以创建群集和数据库。 |
使用 Cosmos DB 连接部署 Azure 数据资源管理器 DB |
使用 Cosmos DB 连接部署 Azure 数据资源管理器 DB。 |
使用事件中心连接部署 Azure 数据资源管理器 db |
使用事件中心连接部署 Azure 数据资源管理器 db。 |
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 对象
设置 kind 属性以指定对象的类型。
对于 ReadOnlyFollowing,请使用:
"kind": "ReadOnlyFollowing"
对于 ReadWrite,请使用:
"kind": "ReadWrite",
"properties": {
"hotCachePeriod": "string",
"keyVaultProperties": {
"keyName": "string",
"keyVaultUri": "string",
"keyVersion": "string",
"userIdentity": "string"
},
"softDeletePeriod": "string"
}
属性值
clusters/databases
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | “Microsoft.Kusto/clusters/databases” |
apiVersion | 资源 API 版本 | '2023-08-15' |
name | 资源名称 了解如何在 JSON ARM 模板中设置子资源的名称和类型。 |
字符串 (必需) |
location | 资源位置。 | 字符串 |
kind | 设置对象类型 | ReadOnlyFollowing 需要 readWrite () |
ReadOnlyFollowingDatabase
名称 | 说明 | 值 |
---|---|---|
kind | 数据库的种类 | 需要“ReadOnlyFollowing” () |
ReadWriteDatabase
名称 | 说明 | 值 |
---|---|---|
kind | 数据库的种类 | “ReadWrite” (必需) |
properties | 数据库属性。 | ReadWriteDatabaseProperties |
ReadWriteDatabaseProperties
名称 | 说明 | 值 |
---|---|---|
hotCachePeriod | 在 TimeSpan 中,数据应保留在缓存中以便快速查询的时间。 | 字符串 |
keyVaultProperties | 数据库加密的 KeyVault 属性。 | KeyVaultProperties |
softDeletePeriod | 数据在停止供 TimeSpan 中的查询访问之前应保留的时间。 | string |
KeyVaultProperties
名称 | 说明 | 值 |
---|---|---|
keyName | 密钥保管库密钥的名称。 | 字符串 |
keyVaultUri | 密钥保管库的 URI。 | 字符串 |
keyVersion | 密钥保管库密钥的版本。 | 字符串 |
userIdentity | 用户分配的标识 (有权访问密钥的 ARM 资源 ID) 。 | 字符串 |
快速入门模板
以下快速入门模板部署此资源类型。
模板 | 说明 |
---|---|
具有时间数据历史记录连接的 Azure 数字孪生 |
此模板创建配置了时序数据历史记录连接的 Azure 数字孪生实例。 若要创建连接,必须创建其他资源,例如事件中心命名空间、事件中心、Azure 数据资源管理器群集和数据库。 数据将发送到事件中心,该事件中心最终将数据转发到 Azure 数据资源管理器 群集。 数据存储在群集的数据库表中 |
创建数据库群集 |
使用此模板可以创建群集和数据库。 |
使用 Cosmos DB 连接部署 Azure 数据资源管理器 DB |
使用 Cosmos DB 连接部署 Azure 数据资源管理器 DB。 |
使用事件中心连接部署 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 对象
设置 kind 属性以指定对象的类型。
对于 ReadOnlyFollowing,请使用:
kind = "ReadOnlyFollowing"
对于 ReadWrite,请使用:
kind = "ReadWrite"
properties = {
hotCachePeriod = "string"
keyVaultProperties = {
keyName = "string"
keyVaultUri = "string"
keyVersion = "string"
userIdentity = "string"
}
softDeletePeriod = "string"
}
属性值
clusters/databases
名称 | 说明 | Value |
---|---|---|
type | 资源类型 | “Microsoft.Kusto/clusters/databases@2023-08-15” |
name | 资源名称 | 字符串 (必需) |
location | 资源位置。 | 字符串 |
parent_id | 此资源的父资源 ID。 | 类型为“群集”的资源的 ID |
kind | 设置对象类型 | ReadOnlyFollowing ReadWrite (必需) |
ReadOnlyFollowingDatabase
名称 | 说明 | 值 |
---|---|---|
kind | 数据库的种类 | 需要“ReadOnlyFollowing” () |
ReadWriteDatabase
名称 | 说明 | 值 |
---|---|---|
kind | 数据库的种类 | “ReadWrite” (必需) |
properties | 数据库属性。 | ReadWriteDatabaseProperties |
ReadWriteDatabaseProperties
名称 | 说明 | 值 |
---|---|---|
hotCachePeriod | 数据应在缓存中保留的时间,以便在 TimeSpan 中快速查询。 | 字符串 |
keyVaultProperties | 数据库加密的 KeyVault 属性。 | KeyVaultProperties |
softDeletePeriod | 数据在停止可供 TimeSpan 中的查询访问之前应保留的时间。 | string |
KeyVaultProperties
名称 | 说明 | 值 |
---|---|---|
keyName | 密钥保管库密钥的名称。 | 字符串 |
keyVaultUri | 密钥保管库的 URI。 | 字符串 |
keyVersion | 密钥保管库密钥的版本。 | 字符串 |
userIdentity | 用户分配的标识 (有权访问密钥的 ARM 资源 id) 。 | 字符串 |
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈