Bicep 資源定義
設定資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
要創建 Microsoft.Edge/configurations 資源,請將以下 Bicep 添加到範本中。
resource symbolicname 'Microsoft.Edge/configurations@2026-05-01-preview' = {
location: 'string'
name: 'string'
properties: {}
tags: {
{customized property}: 'string'
}
}
屬性值
Microsoft.Edge/配置
| Name | Description | 價值 |
|---|---|---|
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| name | 資源名稱 | string 約束: 模式 = ^(?!.*\.\.)[a-zA-Z0-9-][a-zA-Z0-9._-]{1,68}[a-zA-Z0-9-]$ (必要) |
| 屬性 | 此資源的資源特定屬性。 | ConfigurationProperties |
| 標籤 | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
ConfigurationProperties
| Name | Description | 價值 |
|---|
TrackedResourceTags
| Name | Description | 價值 |
|---|
ARM 樣本資源定義
設定資源類型可以使用目標作業來部署:
使用範例
資源格式
要創建 Microsoft.Edge/configurations 資源,請將以下 JSON 添加到範本中。
{
"type": "Microsoft.Edge/configurations",
"apiVersion": "2026-05-01-preview",
"name": "string",
"location": "string",
"properties": {
},
"tags": {
"{customized property}": "string"
}
}
屬性值
Microsoft.Edge/配置
| Name | Description | 價值 |
|---|---|---|
| apiVersion | API 版本 | 『2026-05-01-預覽』 |
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| name | 資源名稱 | string 約束: 模式 = ^(?!.*\.\.)[a-zA-Z0-9-][a-zA-Z0-9._-]{1,68}[a-zA-Z0-9-]$ (必要) |
| 屬性 | 此資源的資源特定屬性。 | ConfigurationProperties |
| 標籤 | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
| 型別 | 資源類型 | “Microsoft.Edge/配置” |
ConfigurationProperties
| Name | Description | 價值 |
|---|
TrackedResourceTags
| Name | Description | 價值 |
|---|
Terraform (AzAPI 提供者) 資源定義
設定資源類型可以使用目標作業來部署:
- 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
資源格式
要創建 Microsoft.Edge/configurations 資源,請將以下 Terraform 添加到您的範本中。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Edge/configurations@2026-05-01-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
}
}
}
屬性值
Microsoft.Edge/配置
| Name | Description | 價值 |
|---|---|---|
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| name | 資源名稱 | string 約束: 模式 = ^(?!.*\.\.)[a-zA-Z0-9-][a-zA-Z0-9._-]{1,68}[a-zA-Z0-9-]$ (必要) |
| 屬性 | 此資源的資源特定屬性。 | ConfigurationProperties |
| 標籤 | 資源標籤 | 標記名稱和值的字典。 |
| 型別 | 資源類型 | 「Microsoft。Edge/configurations@2026-05-01-預覽」 |
ConfigurationProperties
| Name | Description | 價值 |
|---|
TrackedResourceTags
| Name | Description | 價值 |
|---|