你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
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
| Name | Description | 价值 |
|---|---|---|
| 位置 | 资源所在的地理位置 | string (必需) |
| 姓名 | 资源名称 | string Constraints: 模式 = ^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$ (必需) |
| 属性 | L2IsolationDomain 的性质 | L2IsolationDomainProperties (必需) |
| tags | 资源标记 | 标记名称和值的字典。 请参阅模板 中的 |
L2IsolationDomainProperties
| Name | Description | 价值 |
|---|---|---|
| 注释 | 切换配置说明。 | 字符串 |
| 扩展VLAN | 扩展 VLAN 状态,默认值为“已禁用”。 | 'Disabled' 'Enabled' |
| mtu | 最大传输单位。 默认值为 1500。 | int Constraints: 最小值 = 64 最大值 = 9200 |
| 网络 FabricId | 网络 Fabric 的 ARM 资源 ID。 | string (必需) |
| networkToNetworkInterconnectId | L2 ISD 资源的 networkToNetworkInterconnectId 的 ARM 资源 ID。 | 字符串 |
| vlanId | 网络Fabric的VLAN标识符。 示例:501。 | int Constraints: 最小值 = 100 最大值 = 4094 (必需) |
TrackedResourceTags
| Name | 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
| Name | Description | 价值 |
|---|---|---|
| apiVersion | API 版本 | “2024-06-15-预览” |
| 位置 | 资源所在的地理位置 | string (必需) |
| 姓名 | 资源名称 | string Constraints: 模式 = ^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$ (必需) |
| 属性 | L2IsolationDomain 的性质 | L2IsolationDomainProperties (必需) |
| tags | 资源标记 | 标记名称和值的字典。 请参阅模板 中的 |
| 类型 | 资源类型 | “Microsoft。ManagedNetworkFabric/l2IsolationDomains' |
L2IsolationDomainProperties
| Name | Description | 价值 |
|---|---|---|
| 注释 | 切换配置说明。 | 字符串 |
| 扩展VLAN | 扩展 VLAN 状态,默认值为“已禁用”。 | 'Disabled' 'Enabled' |
| mtu | 最大传输单位。 默认值为 1500。 | int Constraints: 最小值 = 64 最大值 = 9200 |
| 网络 FabricId | 网络 Fabric 的 ARM 资源 ID。 | string (必需) |
| networkToNetworkInterconnectId | L2 ISD 资源的 networkToNetworkInterconnectId 的 ARM 资源 ID。 | 字符串 |
| vlanId | 网络Fabric的VLAN标识符。 示例:501。 | int Constraints: 最小值 = 100 最大值 = 4094 (必需) |
TrackedResourceTags
| Name | 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
| Name | Description | 价值 |
|---|---|---|
| 位置 | 资源所在的地理位置 | string (必需) |
| 姓名 | 资源名称 | string Constraints: 模式 = ^[a-zA-Z]{1}[a-zA-Z0-9-_]{2,127}$ (必需) |
| 属性 | L2IsolationDomain 的性质 | L2IsolationDomainProperties (必需) |
| tags | 资源标记 | 标记名称和值的字典。 |
| 类型 | 资源类型 | “Microsoft。ManagedNetworkFabric/l2IsolationDomains@2024-06-15-preview” |
L2IsolationDomainProperties
| Name | Description | 价值 |
|---|---|---|
| 注释 | 切换配置说明。 | 字符串 |
| 扩展VLAN | 扩展 VLAN 状态,默认值为“已禁用”。 | 'Disabled' 'Enabled' |
| mtu | 最大传输单位。 默认值为 1500。 | int Constraints: 最小值 = 64 最大值 = 9200 |
| 网络 FabricId | 网络 Fabric 的 ARM 资源 ID。 | string (必需) |
| networkToNetworkInterconnectId | L2 ISD 资源的 networkToNetworkInterconnectId 的 ARM 资源 ID。 | 字符串 |
| vlanId | 网络Fabric的VLAN标识符。 示例:501。 | int Constraints: 最小值 = 100 最大值 = 4094 (必需) |
TrackedResourceTags
| Name | Description | 价值 |
|---|