Bicep 資源定義
databaseAccounts/apis/tables 資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
若要建立 Microsoft.DocumentDB/databaseAccounts/apis/tables 資源,請將下列 Bicep 新增至範本。
resource symbolicname 'Microsoft.DocumentDB/databaseAccounts/apis/tables@2016-03-31' = {
parent: resourceSymbolicName
name: 'string'
properties: {
options: {
{customized property}: 'string'
}
resource: {
id: 'string'
}
}
}
屬性值
Microsoft.DocumentDB/databaseAccounts/apis/tables
CreateUpdateOptions
TableCreateUpdatePropertiesOrTableProperties
TableResource
| 名字 |
描述 |
價值 |
| 識別碼 |
Cosmos DB 資料表的名稱 |
字串 (必要) |
ARM 樣本資源定義
databaseAccounts/apis/tables 資源類型可以使用目標作業來部署:
使用範例
若要建立 Microsoft.DocumentDB/databaseAccounts/apis/tables 資源,請將下列 JSON 新增至範本。
{
"type": "Microsoft.DocumentDB/databaseAccounts/apis/tables",
"apiVersion": "2016-03-31",
"name": "string",
"properties": {
"options": {
"{customized property}": "string"
},
"resource": {
"id": "string"
}
}
}
屬性值
Microsoft.DocumentDB/databaseAccounts/apis/tables
CreateUpdateOptions
TableCreateUpdatePropertiesOrTableProperties
TableResource
| 名字 |
描述 |
價值 |
| 識別碼 |
Cosmos DB 資料表的名稱 |
字串 (必要) |
databaseAccounts/apis/tables 資源類型可以使用目標作業來部署:
-
資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
若要建立 Microsoft.DocumentDB/databaseAccounts/apis/tables 資源,請將下列 Terraform 新增至範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.DocumentDB/databaseAccounts/apis/tables@2016-03-31"
name = "string"
parent_id = "string"
body = {
properties = {
options = {
{customized property} = "string"
}
resource = {
id = "string"
}
}
}
}
屬性值
Microsoft.DocumentDB/databaseAccounts/apis/tables
| 名字 |
描述 |
價值 |
| 名字 |
資源名稱 |
字串 (必要) |
| 父項識別碼 |
此資源為父系之資源的標識碼。 |
資源的識別碼類型為:databaseAccounts/apis |
| 性能 |
建立及更新 Azure Cosmos DB 資料表的屬性。 |
TableCreateUpdatePropertiesOrTableProperties (必要) |
| 型別 |
資源類型 |
“Microsoft.DocumentDB/databaseAccounts/apis/tables@2016-03-31” |
CreateUpdateOptions
TableCreateUpdatePropertiesOrTableProperties
TableResource
| 名字 |
描述 |
價值 |
| 識別碼 |
Cosmos DB 資料表的名稱 |
字串 (必要) |