Microsoft。Sql virtualClusters

Bicep 資源定義

virtualClusters 資源類型可以使用目標作業來部署:

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

資源格式

創造一個 Microsoft。Sql/virtualClusters 資源,請將以下 Bicep 加入你的範本。

resource symbolicname 'Microsoft.Sql/virtualClusters@2025-02-01-preview' = {
  location: 'string'
  name: 'string'
  properties: {
    version: 'string'
  }
  tags: {
    {customized property}: 'string'
  }
}

屬性值

Microsoft。Sql/virtualClusters

Name Description Value
位置 資源所在的地理位置 字串 (必要)
name 資源名稱 字串 (必要)
properties 資源屬性。 VirtualCluster屬性
tags 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤

TrackedResourceTags

Name Description Value

VirtualCluster屬性

Name Description Value
版本 虛擬叢集版本。 字串

ARM 樣本資源定義

virtualClusters 資源類型可以使用目標作業來部署:

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

資源格式

創造一個 Microsoft。Sql/virtualClusters 資源,請將以下 JSON 加入你的範本。

{
  "type": "Microsoft.Sql/virtualClusters",
  "apiVersion": "2025-02-01-preview",
  "name": "string",
  "location": "string",
  "properties": {
    "version": "string"
  },
  "tags": {
    "{customized property}": "string"
  }
}

屬性值

Microsoft。Sql/virtualClusters

Name Description Value
apiVersion API 版本 “2025-02-01-預覽”
位置 資源所在的地理位置 字串 (必要)
name 資源名稱 字串 (必要)
properties 資源屬性。 VirtualCluster屬性
tags 資源標籤 標記名稱和值的字典。 請參閱範本中的 標籤
型別 資源類型 「Microsoft。Sql/virtualClusters'

TrackedResourceTags

Name Description Value

VirtualCluster屬性

Name Description Value
版本 虛擬叢集版本。 字串

使用範例

Terraform (AzAPI 提供者) 資源定義

virtualClusters 資源類型可以使用目標作業來部署:

  • 資源群組

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

資源格式

創造一個 Microsoft。Sql/virtualClusters 資源,將以下 Terraform 加入你的範本。

resource "azapi_resource" "symbolicname" {
  type = "Microsoft.Sql/virtualClusters@2025-02-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@2025-02-01-preview”

TrackedResourceTags

Name Description Value

VirtualCluster屬性

Name Description Value
版本 虛擬叢集版本。 字串