Bicep 資源定義
l2IsolationDomains 資源類型可以使用目標作業來部署:
- 資源群組 - 請參閱 資源群組部署命令
如需每個 API 版本中已變更屬性的清單,請參閱 變更記錄檔。
資源格式
創造一個 Microsoft。ManagedNetworkFabric/l2IsolationDomains 資源,請將以下 Bicep 加入你的範本。
resource symbolicname 'Microsoft.ManagedNetworkFabric/l2IsolationDomains@2024-06-15-preview' = {
location: 'string'
name: 'string'
properties: {
annotation: 'string'
extendedVlan: 'string'
mtu: int
networkFabricId: 'string'
networkToNetworkInterconnectId: 'string'
vlanId: int
}
tags: {
{customized property}: 'string'
}
}
屬性值
Microsoft。ManagedNetworkFabric/l2IsolationDomains
| 名稱 | Description | 價值觀 |
|---|---|---|
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名稱 | 資源名稱 | string Constraints: 模式 = ^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$ (必要) |
| properties | L2IsolationDomain 特性 | L2IsolationDomainProperties (必要) |
| tags | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
L2IsolationDomainProperties
| 名稱 | Description | 價值觀 |
|---|---|---|
| 註釋 | 切換組態描述。 | 字串 |
| 擴展VLAN | 擴充 VLAN 狀態,預設值為 Disabled。 | 'Disabled' 'Enabled' |
| mtu | 傳輸單位上限。 預設值為 1500。 | int Constraints: 最小值 = 64 最大值 = 9200 |
| 網路 FabricId | 網路 Fabric 的 ARM 資源 ID。 | 字串 (必要) |
| networkToNetworkInterconnectId | L2 ISD 資源之 networkToNetworkInterconnectId 的 ARM 資源標識符。 | 字串 |
| vlanId | 網路 Fabric 的 VLAN 識別碼。 範例:501。 | int Constraints: 最小值 = 100 最大值 = 4094 (必要) |
TrackedResourceTags
| 名稱 | Description | 價值觀 |
|---|
ARM 樣本資源定義
l2IsolationDomains 資源類型可以使用目標作業來部署:
使用範例
資源格式
創造一個 Microsoft。ManagedNetworkFabric/l2IsolationDomains 資源,請將以下 JSON 加入你的範本。
{
"type": "Microsoft.ManagedNetworkFabric/l2IsolationDomains",
"apiVersion": "2024-06-15-preview",
"name": "string",
"location": "string",
"properties": {
"annotation": "string",
"extendedVlan": "string",
"mtu": "int",
"networkFabricId": "string",
"networkToNetworkInterconnectId": "string",
"vlanId": "int"
},
"tags": {
"{customized property}": "string"
}
}
屬性值
Microsoft。ManagedNetworkFabric/l2IsolationDomains
| 名稱 | Description | 價值觀 |
|---|---|---|
| apiVersion | API 版本 | “2024-06-15-預覽” |
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名稱 | 資源名稱 | string Constraints: 模式 = ^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$ (必要) |
| properties | L2IsolationDomain 特性 | L2IsolationDomainProperties (必要) |
| tags | 資源標籤 | 標記名稱和值的字典。 請參閱範本中的 標籤 |
| 型別 | 資源類型 | 「Microsoft。ManagedNetworkFabric/l2IsolationDomains' |
L2IsolationDomainProperties
| 名稱 | Description | 價值觀 |
|---|---|---|
| 註釋 | 切換組態描述。 | 字串 |
| 擴展VLAN | 擴充 VLAN 狀態,預設值為 Disabled。 | 'Disabled' 'Enabled' |
| mtu | 傳輸單位上限。 預設值為 1500。 | int Constraints: 最小值 = 64 最大值 = 9200 |
| 網路 FabricId | 網路 Fabric 的 ARM 資源 ID。 | 字串 (必要) |
| networkToNetworkInterconnectId | L2 ISD 資源之 networkToNetworkInterconnectId 的 ARM 資源標識符。 | 字串 |
| vlanId | 網路 Fabric 的 VLAN 識別碼。 範例:501。 | int Constraints: 最小值 = 100 最大值 = 4094 (必要) |
TrackedResourceTags
| 名稱 | Description | 價值觀 |
|---|
Terraform (AzAPI 提供者) 資源定義
l2IsolationDomains 資源類型可以使用目標作業來部署:
- 資源團體 關於每個 API 版本變更屬性的清單,請參見 變更日誌。
資源格式
創造一個 Microsoft。ManagedNetworkFabric/l2IsolationDomains 資源,將以下 Terraform 加入你的範本。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ManagedNetworkFabric/l2IsolationDomains@2024-06-15-preview"
name = "string"
parent_id = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = {
properties = {
annotation = "string"
extendedVlan = "string"
mtu = int
networkFabricId = "string"
networkToNetworkInterconnectId = "string"
vlanId = int
}
}
}
屬性值
Microsoft。ManagedNetworkFabric/l2IsolationDomains
| 名稱 | Description | 價值觀 |
|---|---|---|
| 位置 | 資源所在的地理位置 | 字串 (必要) |
| 名稱 | 資源名稱 | string Constraints: 模式 = ^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$ (必要) |
| properties | L2IsolationDomain 特性 | L2IsolationDomainProperties (必要) |
| tags | 資源標籤 | 標記名稱和值的字典。 |
| 型別 | 資源類型 | 「Microsoft。ManagedNetworkFabric/l2IsolationDomains@2024-06-15-preview” |
L2IsolationDomainProperties
| 名稱 | Description | 價值觀 |
|---|---|---|
| 註釋 | 切換組態描述。 | 字串 |
| 擴展VLAN | 擴充 VLAN 狀態,預設值為 Disabled。 | 'Disabled' 'Enabled' |
| mtu | 傳輸單位上限。 預設值為 1500。 | int Constraints: 最小值 = 64 最大值 = 9200 |
| 網路 FabricId | 網路 Fabric 的 ARM 資源 ID。 | 字串 (必要) |
| networkToNetworkInterconnectId | L2 ISD 資源之 networkToNetworkInterconnectId 的 ARM 資源標識符。 | 字串 |
| vlanId | 網路 Fabric 的 VLAN 識別碼。 範例:501。 | int Constraints: 最小值 = 100 最大值 = 4094 (必要) |
TrackedResourceTags
| 名稱 | Description | 價值觀 |
|---|