Bicep 資源定義
virtualClusters 資源類型可以使用目標作業來部署:
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
創造一個 Microsoft。Sql/virtualClusters 資源,請將以下 Bicep 加入你的範本。
resource symbolicname 'Microsoft.Sql/virtualClusters@2026-08-01-preview' = {
location: 'string'
name: 'string'
properties: {
version: 'string'
}
tags: {
{customized property}: 'string'
}
}
屬性值
Microsoft。Sql/virtualClusters
| Name |
Description |
Value |
| 位置 |
資源所在的地理位置 |
字串 (必要) |
| name |
資源名稱 |
字串 (必要) |
| properties |
資源屬性。 |
VirtualCluster屬性 |
| tags |
資源標籤 |
標記名稱和值的字典。 請參閱範本中的 標籤 |
VirtualCluster屬性
| Name |
Description |
Value |
| 版本 |
虛擬叢集版本。 |
字串 |
ARM 樣本資源定義
virtualClusters 資源類型可以使用目標作業來部署:
使用範例
創造一個 Microsoft。Sql/virtualClusters 資源,請將以下 JSON 加入你的範本。
{
"type": "Microsoft.Sql/virtualClusters",
"apiVersion": "2026-08-01-preview",
"name": "string",
"location": "string",
"properties": {
"version": "string"
},
"tags": {
"{customized property}": "string"
}
}
屬性值
Microsoft。Sql/virtualClusters
| Name |
Description |
Value |
| apiVersion |
API 版本 |
『2026-08-01-預覽』 |
| 位置 |
資源所在的地理位置 |
字串 (必要) |
| name |
資源名稱 |
字串 (必要) |
| properties |
資源屬性。 |
VirtualCluster屬性 |
| tags |
資源標籤 |
標記名稱和值的字典。 請參閱範本中的 標籤 |
| 型別 |
資源類型 |
「Microsoft。Sql/virtualClusters' |
VirtualCluster屬性
| Name |
Description |
Value |
| 版本 |
虛擬叢集版本。 |
字串 |
virtualClusters 資源類型可以使用目標作業來部署:
-
資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
創造一個 Microsoft。Sql/virtualClusters 資源,將以下 Terraform 加入你的範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Sql/virtualClusters@2026-08-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
version = "string"
}
}
}
屬性值
Microsoft。Sql/virtualClusters
| Name |
Description |
Value |
| 位置 |
資源所在的地理位置 |
字串 (必要) |
| name |
資源名稱 |
字串 (必要) |
| properties |
資源屬性。 |
VirtualCluster屬性 |
| tags |
資源標籤 |
標記名稱和值的字典。 |
| 型別 |
資源類型 |
「Microsoft。SQL/virtualClusters@2026-08-01-預覽」 |
VirtualCluster屬性
| Name |
Description |
Value |
| 版本 |
虛擬叢集版本。 |
字串 |