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-02-01-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
isManagementType: 'string'
layer2Configuration: {
mtu: int
portCount: int
}
layer3Configuration: {
exportRoutePolicyId: 'string'
importRoutePolicyId: 'string'
peerASN: int
primaryIpv4Prefix: 'string'
primaryIpv6Prefix: 'string'
secondaryIpv4Prefix: 'string'
secondaryIpv6Prefix: 'string'
vlanId: int
}
nniType: 'string'
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 |
Layer2Configuration
Name | Description | Value |
---|---|---|
mtu | MTU of the packets between PE & CE. | int Constraints: Min value = 1500 Max value = 9000 (required) |
portCount | Number of ports connected between PE/CE. Maximum value depends on FabricSKU. | int |
Layer3Configuration
Name | Description | Value |
---|---|---|
exportRoutePolicyId | exportRoutePolicyId | string |
importRoutePolicyId | importRoutePolicyId | string |
peerASN | ASN of PE devices for CE/PE connectivity.Example : 28 | int Constraints: Min value = 1 Max value = 65535 |
primaryIpv4Prefix | IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces. | string |
primaryIpv6Prefix | IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a0/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces. | string |
secondaryIpv4Prefix | Secondary IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.20/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces. | string |
secondaryIpv6Prefix | Secondary IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a4/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces. | string |
vlanId | VLAN for CE/PE Layer 3 connectivity.Example : 501 | int Constraints: Min value = 501 Max value = 4095 |
NetworkToNetworkInterconnectProperties
Name | Description | Value |
---|---|---|
isManagementType | Configuration to use NNI for Infrastructure Management. Example: True/False. | 'False' 'True' (required) |
layer2Configuration | Common properties for Layer2Configuration. | Layer2Configuration |
layer3Configuration | Common properties for Layer3Configuration. | Layer3Configuration |
nniType | Type of NNI used. Example: CE | NPB | 'CE' 'NPB' |
useOptionB | Based on this parameter the layer2/layer3 is made as mandatory. Example: True/False | 'False' 'True' (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.
Resource format
To create a Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects resource, add the following JSON to your template.
{
"type": "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects",
"apiVersion": "2023-02-01-preview",
"name": "string",
"properties": {
"isManagementType": "string",
"layer2Configuration": {
"mtu": "int",
"portCount": "int"
},
"layer3Configuration": {
"exportRoutePolicyId": "string",
"importRoutePolicyId": "string",
"peerASN": "int",
"primaryIpv4Prefix": "string",
"primaryIpv6Prefix": "string",
"secondaryIpv4Prefix": "string",
"secondaryIpv6Prefix": "string",
"vlanId": "int"
},
"nniType": "string",
"useOptionB": "string"
}
}
Property Values
Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2023-02-01-preview' |
name | The resource name | string (required) |
properties | Resource properties. | NetworkToNetworkInterconnectProperties |
type | The resource type | 'Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects' |
Layer2Configuration
Name | Description | Value |
---|---|---|
mtu | MTU of the packets between PE & CE. | int Constraints: Min value = 1500 Max value = 9000 (required) |
portCount | Number of ports connected between PE/CE. Maximum value depends on FabricSKU. | int |
Layer3Configuration
Name | Description | Value |
---|---|---|
exportRoutePolicyId | exportRoutePolicyId | string |
importRoutePolicyId | importRoutePolicyId | string |
peerASN | ASN of PE devices for CE/PE connectivity.Example : 28 | int Constraints: Min value = 1 Max value = 65535 |
primaryIpv4Prefix | IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces. | string |
primaryIpv6Prefix | IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a0/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces. | string |
secondaryIpv4Prefix | Secondary IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.20/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces. | string |
secondaryIpv6Prefix | Secondary IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a4/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces. | string |
vlanId | VLAN for CE/PE Layer 3 connectivity.Example : 501 | int Constraints: Min value = 501 Max value = 4095 |
NetworkToNetworkInterconnectProperties
Name | Description | Value |
---|---|---|
isManagementType | Configuration to use NNI for Infrastructure Management. Example: True/False. | 'False' 'True' (required) |
layer2Configuration | Common properties for Layer2Configuration. | Layer2Configuration |
layer3Configuration | Common properties for Layer3Configuration. | Layer3Configuration |
nniType | Type of NNI used. Example: CE | NPB | 'CE' 'NPB' |
useOptionB | Based on this parameter the layer2/layer3 is made as mandatory. Example: True/False | 'False' 'True' (required) |
Usage Examples
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-02-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
isManagementType = "string"
layer2Configuration = {
mtu = int
portCount = int
}
layer3Configuration = {
exportRoutePolicyId = "string"
importRoutePolicyId = "string"
peerASN = int
primaryIpv4Prefix = "string"
primaryIpv6Prefix = "string"
secondaryIpv4Prefix = "string"
secondaryIpv6Prefix = "string"
vlanId = int
}
nniType = "string"
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 |
type | The resource type | "Microsoft.ManagedNetworkFabric/networkFabrics/networkToNetworkInterconnects@2023-02-01-preview" |
Layer2Configuration
Name | Description | Value |
---|---|---|
mtu | MTU of the packets between PE & CE. | int Constraints: Min value = 1500 Max value = 9000 (required) |
portCount | Number of ports connected between PE/CE. Maximum value depends on FabricSKU. | int |
Layer3Configuration
Name | Description | Value |
---|---|---|
exportRoutePolicyId | exportRoutePolicyId | string |
importRoutePolicyId | importRoutePolicyId | string |
peerASN | ASN of PE devices for CE/PE connectivity.Example : 28 | int Constraints: Min value = 1 Max value = 65535 |
primaryIpv4Prefix | IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.0/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces. | string |
primaryIpv6Prefix | IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a0/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces. | string |
secondaryIpv4Prefix | Secondary IPv4 Address Prefix of CE-PE interconnect links. Example: 172.31.0.20/31. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces. | string |
secondaryIpv6Prefix | Secondary IPv6 Address Prefix of CE-PE interconnect links. Example: 3FFE:FFFF:0:CD30::a4/126. The values can be specified at the time of creation or can be updated afterwards. Any update to the values post-provisioning may disrupt traffic. The 1st and 3rd IPs are to be configured on CE1 and CE2 for Option B interfaces. The 2nd and 4th IPs are to be configured on PE1 and PE2 for Option B interfaces. | string |
vlanId | VLAN for CE/PE Layer 3 connectivity.Example : 501 | int Constraints: Min value = 501 Max value = 4095 |
NetworkToNetworkInterconnectProperties
Name | Description | Value |
---|---|---|
isManagementType | Configuration to use NNI for Infrastructure Management. Example: True/False. | 'False' 'True' (required) |
layer2Configuration | Common properties for Layer2Configuration. | Layer2Configuration |
layer3Configuration | Common properties for Layer3Configuration. | Layer3Configuration |
nniType | Type of NNI used. Example: CE | NPB | 'CE' 'NPB' |
useOptionB | Based on this parameter the layer2/layer3 is made as mandatory. Example: True/False | 'False' 'True' (required) |