diff --git a/custom-words.txt b/custom-words.txt index 18ae93d414ad..6acf8af868f5 100644 --- a/custom-words.txt +++ b/custom-words.txt @@ -1676,6 +1676,7 @@ Unregistering Unregisters unrestorable unsubstituted +Unsynced untagged Untracked unvalidated diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualNetworkPeeringCreate.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualNetworkPeeringCreate.json index 51507e38cf87..39df51f05681 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualNetworkPeeringCreate.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualNetworkPeeringCreate.json @@ -11,6 +11,7 @@ "allowForwardedTraffic": true, "allowGatewayTransit": false, "useRemoteGateways": false, + "syncRemoteAddressSpace": true, "remoteVirtualNetwork": { "id": "/subscriptions/subid/resourceGroups/peerTest/providers/Microsoft.Network/virtualNetworks/vnet2" } @@ -35,12 +36,18 @@ "12.0.0.0/8" ] }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, "remoteBgpCommunities": { "virtualNetworkCommunity": "12076:20002", "regionalCommunity": "12076:50004" }, "peeringState": "Initiated", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "peeringSyncLevel": "FullySynced" } } }, @@ -61,12 +68,18 @@ "12.0.0.0/8" ] }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, "remoteBgpCommunities": { "virtualNetworkCommunity": "12076:20002", "regionalCommunity": "12076:50004" }, "peeringState": "Initiated", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "peeringSyncLevel": "FullySynced" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualNetworkPeeringGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualNetworkPeeringGet.json index 32569e79424e..6998d9a99703 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualNetworkPeeringGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualNetworkPeeringGet.json @@ -24,12 +24,18 @@ "12.0.0.0/8" ] }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, "remoteBgpCommunities": { "virtualNetworkCommunity": "12076:20002", "regionalCommunity": "12076:50004" }, "peeringState": "Initiated", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "peeringSyncLevel": "FullySynced" } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualNetworkPeeringList.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualNetworkPeeringList.json index af8a21220f94..257400138675 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualNetworkPeeringList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/examples/VirtualNetworkPeeringList.json @@ -25,12 +25,18 @@ "12.0.0.0/8" ] }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "12.0.0.0/8" + ] + }, "remoteBgpCommunities": { "virtualNetworkCommunity": "12076:20002", "regionalCommunity": "12076:50004" }, "peeringState": "Initiated", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "peeringSyncLevel": "FullySynced" } }, { @@ -49,12 +55,18 @@ "13.0.0.0/8" ] }, + "remoteVirtualNetworkAddressSpace": { + "addressPrefixes": [ + "13.0.0.0/8" + ] + }, "remoteBgpCommunities": { "virtualNetworkCommunity": "12076:20003", "regionalCommunity": "12076:50004" }, "peeringState": "Initiated", - "provisioningState": "Succeeded" + "provisioningState": "Succeeded", + "peeringSyncLevel": "FullySynced" } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/virtualNetwork.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/virtualNetwork.json index 1be938b579ad..91ca76e75d9b 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/virtualNetwork.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-07-01/virtualNetwork.json @@ -1550,7 +1550,11 @@ }, "remoteAddressSpace": { "$ref": "#/definitions/AddressSpace", - "description": "The reference to the remote virtual network address space." + "description": "The reference to the address space peered with the remote virtual network." + }, + "remoteVirtualNetworkAddressSpace": { + "$ref": "#/definitions/AddressSpace", + "description": "The reference to the current address space of the remote virtual network." }, "remoteBgpCommunities": { "$ref": "#/definitions/VirtualNetworkBgpCommunities", @@ -1570,6 +1574,25 @@ "modelAsString": true } }, + "peeringSyncLevel": { + "type": "string", + "description": "The peering sync status of the virtual network peering.", + "enum": [ + "FullySynced", + "RemoteUnsynced", + "LocalUnsynced", + "LocalAndRemoteUnsynced" + ], + "x-ms-enum": { + "name": "VirtualNetworkPeeringLevel", + "modelAsString": true + } + }, + "syncRemoteAddressSpace": { + "type": "boolean", + "default": false, + "description": "Provided when user wants to sync the peering with address space on the remote virtual network after the address space is updated." + }, "provisioningState": { "readOnly": true, "$ref": "./network.json#/definitions/ProvisioningState",