Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Bicep resource definition
The networkFabrics/networkToNetworkInterconnects resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects@2023-06-15' = {
parent: resourceSymbolicName
name: 'string'
properties: {
egressAclId: 'string'
exportRoutePolicy: {
exportIpv4RoutePolicyId: 'string'
exportIpv6RoutePolicyId: 'string'
}
importRoutePolicy: {
importIpv4RoutePolicyId: 'string'
importIpv6RoutePolicyId: 'string'
}
ingressAclId: 'string'
isManagementType: 'string'
layer2Configuration: {
interfaces: [
'string'
]
mtu: int
}
nniType: 'string'
npbStaticRouteConfiguration: {
bfdConfiguration: {
intervalInMilliSeconds: int
multiplier: int
}
ipv4Routes: [
{
nextHop: [
'string'
]
prefix: 'string'
}
]
ipv6Routes: [
{
nextHop: [
'string'
]
prefix: 'string'
}
]
}
optionBLayer3Configuration: {
peerASN: int
primaryIpv4Prefix: 'string'
primaryIpv6Prefix: 'string'
secondaryIpv4Prefix: 'string'
secondaryIpv6Prefix: 'string'
vlanId: int
}
useOptionB: 'string'
}
}
Property Values
Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects
| Name | Description | Value |
|---|---|---|
| name | The resource name | string (required) |
| parent | In Bicep, you can specify the parent resource for a child resource. You only need to add this property when the child resource is declared outside of the parent resource. For more information, see Child resource outside parent resource. |
Symbolic name for resource of type: networkFabrics |
| properties | Resource properties. | NetworkToNetworkInterconnectProperties (required) |
BfdConfiguration
| Name | Description | Value |
|---|---|---|
| intervalInMilliSeconds | Interval in milliseconds. Example: 300. | int |
| multiplier | Multiplier for the Bfd Configuration. Example: 5. | int |
ExportRoutePolicyInformation
| Name | Description | Value |
|---|---|---|
| exportIpv4RoutePolicyId | Export IPv4 Route Policy Id. | string |
| exportIpv6RoutePolicyId | Export IPv6 Route Policy Id. | string |
ImportRoutePolicyInformation
| Name | Description | Value |
|---|---|---|
| importIpv4RoutePolicyId | Import IPv4 Route Policy Id. | string |
| importIpv6RoutePolicyId | Import IPv6 Route Policy Id. | string |
Layer2Configuration
| Name | Description | Value |
|---|---|---|
| interfaces | List of network device interfaces resource IDs. | string[] |
| mtu | MTU of the packets between PE & CE. | int Constraints: Min value = 64 Max value = 9200 |
NetworkToNetworkInterconnectProperties
| Name | Description | Value |
|---|---|---|
| egressAclId | Egress Acl. ARM resource ID of Access Control Lists. | string |
| exportRoutePolicy | Export Route Policy configuration. | ExportRoutePolicyInformation |
| importRoutePolicy | Import Route Policy configuration. | ImportRoutePolicyInformation |
| ingressAclId | Ingress Acl. ARM resource ID of Access Control Lists. | string |
| isManagementType | Configuration to use NNI for Infrastructure Management. Example: True/False. | 'False' 'True' |
| layer2Configuration | Common properties for Layer2 Configuration. | Layer2Configuration |
| nniType | Type of NNI used. Example: CE | NPB | 'CE' 'NPB' |
| npbStaticRouteConfiguration | NPB Static Route Configuration properties. | NpbStaticRouteConfiguration |
| optionBLayer3Configuration | Common properties for Layer3Configuration. | NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration |
| useOptionB | Based on this option layer3 parameters are mandatory. Example: True/False | 'False' 'True' (required) |
NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration
| Name | Description | Value |
|---|---|---|
| peerASN | ASN of PE devices for CE/PE connectivity.Example : 28 | int Constraints: Min value = 1 Max value = 4294967295 |
| primaryIpv4Prefix | IPv4 Address Prefix. | string |
| primaryIpv6Prefix | IPv6 Address Prefix. | string |
| secondaryIpv4Prefix | Secondary IPv4 Address Prefix. | string |
| secondaryIpv6Prefix | Secondary IPv6 Address Prefix. | string |
| vlanId | VLAN for CE/PE Layer 3 connectivity.Example : 501 | int Constraints: Min value = 100 Max value = 4094 |
NpbStaticRouteConfiguration
| Name | Description | Value |
|---|---|---|
| bfdConfiguration | BFD Configuration properties. | BfdConfiguration |
| ipv4Routes | List of IPv4 Routes. | StaticRouteProperties[] |
| ipv6Routes | List of IPv6 Routes. | StaticRouteProperties[] |
StaticRouteProperties
| Name | Description | Value |
|---|---|---|
| nextHop | List of next hop addresses. | string Constraints: Min length = 1[] (required) |
| prefix | Prefix of the route. | string Constraints: Min length = 1 (required) |
ARM template resource definition
The networkFabrics/networkToNetworkInterconnects resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands For a list of changed properties in each API version, see change log.
Usage Examples
Resource format
To create a Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects resource, add the following JSON to your template.
{
"type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects",
"apiVersion": "2023-06-15",
"name": "string",
"properties": {
"egressAclId": "string",
"exportRoutePolicy": {
"exportIpv4RoutePolicyId": "string",
"exportIpv6RoutePolicyId": "string"
},
"importRoutePolicy": {
"importIpv4RoutePolicyId": "string",
"importIpv6RoutePolicyId": "string"
},
"ingressAclId": "string",
"isManagementType": "string",
"layer2Configuration": {
"interfaces": [ "string" ],
"mtu": "int"
},
"nniType": "string",
"npbStaticRouteConfiguration": {
"bfdConfiguration": {
"intervalInMilliSeconds": "int",
"multiplier": "int"
},
"ipv4Routes": [
{
"nextHop": [ "string" ],
"prefix": "string"
}
],
"ipv6Routes": [
{
"nextHop": [ "string" ],
"prefix": "string"
}
]
},
"optionBLayer3Configuration": {
"peerASN": "int",
"primaryIpv4Prefix": "string",
"primaryIpv6Prefix": "string",
"secondaryIpv4Prefix": "string",
"secondaryIpv6Prefix": "string",
"vlanId": "int"
},
"useOptionB": "string"
}
}
Property Values
Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects
| Name | Description | Value |
|---|---|---|
| apiVersion | The api version | '2023-06-15' |
| name | The resource name | string (required) |
| properties | Resource properties. | NetworkToNetworkInterconnectProperties (required) |
| type | The resource type | 'Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects' |
BfdConfiguration
| Name | Description | Value |
|---|---|---|
| intervalInMilliSeconds | Interval in milliseconds. Example: 300. | int |
| multiplier | Multiplier for the Bfd Configuration. Example: 5. | int |
ExportRoutePolicyInformation
| Name | Description | Value |
|---|---|---|
| exportIpv4RoutePolicyId | Export IPv4 Route Policy Id. | string |
| exportIpv6RoutePolicyId | Export IPv6 Route Policy Id. | string |
ImportRoutePolicyInformation
| Name | Description | Value |
|---|---|---|
| importIpv4RoutePolicyId | Import IPv4 Route Policy Id. | string |
| importIpv6RoutePolicyId | Import IPv6 Route Policy Id. | string |
Layer2Configuration
| Name | Description | Value |
|---|---|---|
| interfaces | List of network device interfaces resource IDs. | string[] |
| mtu | MTU of the packets between PE & CE. | int Constraints: Min value = 64 Max value = 9200 |
NetworkToNetworkInterconnectProperties
| Name | Description | Value |
|---|---|---|
| egressAclId | Egress Acl. ARM resource ID of Access Control Lists. | string |
| exportRoutePolicy | Export Route Policy configuration. | ExportRoutePolicyInformation |
| importRoutePolicy | Import Route Policy configuration. | ImportRoutePolicyInformation |
| ingressAclId | Ingress Acl. ARM resource ID of Access Control Lists. | string |
| isManagementType | Configuration to use NNI for Infrastructure Management. Example: True/False. | 'False' 'True' |
| layer2Configuration | Common properties for Layer2 Configuration. | Layer2Configuration |
| nniType | Type of NNI used. Example: CE | NPB | 'CE' 'NPB' |
| npbStaticRouteConfiguration | NPB Static Route Configuration properties. | NpbStaticRouteConfiguration |
| optionBLayer3Configuration | Common properties for Layer3Configuration. | NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration |
| useOptionB | Based on this option layer3 parameters are mandatory. Example: True/False | 'False' 'True' (required) |
NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration
| Name | Description | Value |
|---|---|---|
| peerASN | ASN of PE devices for CE/PE connectivity.Example : 28 | int Constraints: Min value = 1 Max value = 4294967295 |
| primaryIpv4Prefix | IPv4 Address Prefix. | string |
| primaryIpv6Prefix | IPv6 Address Prefix. | string |
| secondaryIpv4Prefix | Secondary IPv4 Address Prefix. | string |
| secondaryIpv6Prefix | Secondary IPv6 Address Prefix. | string |
| vlanId | VLAN for CE/PE Layer 3 connectivity.Example : 501 | int Constraints: Min value = 100 Max value = 4094 |
NpbStaticRouteConfiguration
| Name | Description | Value |
|---|---|---|
| bfdConfiguration | BFD Configuration properties. | BfdConfiguration |
| ipv4Routes | List of IPv4 Routes. | StaticRouteProperties[] |
| ipv6Routes | List of IPv6 Routes. | StaticRouteProperties[] |
StaticRouteProperties
| Name | Description | Value |
|---|---|---|
| nextHop | List of next hop addresses. | string Constraints: Min length = 1[] (required) |
| prefix | Prefix of the route. | string Constraints: Min length = 1 (required) |
Terraform (AzAPI provider) resource definition
The networkFabrics/networkToNetworkInterconnects resource type can be deployed with operations that target:
- Resource groups For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects@2023-06-15"
name = "string"
parent_id = "string"
body = {
properties = {
egressAclId = "string"
exportRoutePolicy = {
exportIpv4RoutePolicyId = "string"
exportIpv6RoutePolicyId = "string"
}
importRoutePolicy = {
importIpv4RoutePolicyId = "string"
importIpv6RoutePolicyId = "string"
}
ingressAclId = "string"
isManagementType = "string"
layer2Configuration = {
interfaces = [
"string"
]
mtu = int
}
nniType = "string"
npbStaticRouteConfiguration = {
bfdConfiguration = {
intervalInMilliSeconds = int
multiplier = int
}
ipv4Routes = [
{
nextHop = [
"string"
]
prefix = "string"
}
]
ipv6Routes = [
{
nextHop = [
"string"
]
prefix = "string"
}
]
}
optionBLayer3Configuration = {
peerASN = int
primaryIpv4Prefix = "string"
primaryIpv6Prefix = "string"
secondaryIpv4Prefix = "string"
secondaryIpv6Prefix = "string"
vlanId = int
}
useOptionB = "string"
}
}
}
Property Values
Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects
| Name | Description | Value |
|---|---|---|
| name | The resource name | string (required) |
| parent_id | The ID of the resource that is the parent for this resource. | ID for resource of type: networkFabrics |
| properties | Resource properties. | NetworkToNetworkInterconnectProperties (required) |
| type | The resource type | "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects@2023-06-15" |
BfdConfiguration
| Name | Description | Value |
|---|---|---|
| intervalInMilliSeconds | Interval in milliseconds. Example: 300. | int |
| multiplier | Multiplier for the Bfd Configuration. Example: 5. | int |
ExportRoutePolicyInformation
| Name | Description | Value |
|---|---|---|
| exportIpv4RoutePolicyId | Export IPv4 Route Policy Id. | string |
| exportIpv6RoutePolicyId | Export IPv6 Route Policy Id. | string |
ImportRoutePolicyInformation
| Name | Description | Value |
|---|---|---|
| importIpv4RoutePolicyId | Import IPv4 Route Policy Id. | string |
| importIpv6RoutePolicyId | Import IPv6 Route Policy Id. | string |
Layer2Configuration
| Name | Description | Value |
|---|---|---|
| interfaces | List of network device interfaces resource IDs. | string[] |
| mtu | MTU of the packets between PE & CE. | int Constraints: Min value = 64 Max value = 9200 |
NetworkToNetworkInterconnectProperties
| Name | Description | Value |
|---|---|---|
| egressAclId | Egress Acl. ARM resource ID of Access Control Lists. | string |
| exportRoutePolicy | Export Route Policy configuration. | ExportRoutePolicyInformation |
| importRoutePolicy | Import Route Policy configuration. | ImportRoutePolicyInformation |
| ingressAclId | Ingress Acl. ARM resource ID of Access Control Lists. | string |
| isManagementType | Configuration to use NNI for Infrastructure Management. Example: True/False. | 'False' 'True' |
| layer2Configuration | Common properties for Layer2 Configuration. | Layer2Configuration |
| nniType | Type of NNI used. Example: CE | NPB | 'CE' 'NPB' |
| npbStaticRouteConfiguration | NPB Static Route Configuration properties. | NpbStaticRouteConfiguration |
| optionBLayer3Configuration | Common properties for Layer3Configuration. | NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration |
| useOptionB | Based on this option layer3 parameters are mandatory. Example: True/False | 'False' 'True' (required) |
NetworkToNetworkInterconnectPropertiesOptionBLayer3Configuration
| Name | Description | Value |
|---|---|---|
| peerASN | ASN of PE devices for CE/PE connectivity.Example : 28 | int Constraints: Min value = 1 Max value = 4294967295 |
| primaryIpv4Prefix | IPv4 Address Prefix. | string |
| primaryIpv6Prefix | IPv6 Address Prefix. | string |
| secondaryIpv4Prefix | Secondary IPv4 Address Prefix. | string |
| secondaryIpv6Prefix | Secondary IPv6 Address Prefix. | string |
| vlanId | VLAN for CE/PE Layer 3 connectivity.Example : 501 | int Constraints: Min value = 100 Max value = 4094 |
NpbStaticRouteConfiguration
| Name | Description | Value |
|---|---|---|
| bfdConfiguration | BFD Configuration properties. | BfdConfiguration |
| ipv4Routes | List of IPv4 Routes. | StaticRouteProperties[] |
| ipv6Routes | List of IPv6 Routes. | StaticRouteProperties[] |
StaticRouteProperties
| Name | Description | Value |
|---|---|---|
| nextHop | List of next hop addresses. | string Constraints: Min length = 1[] (required) |
| prefix | Prefix of the route. | string Constraints: Min length = 1 (required) |