From 19ea31a8fc1d90ff906302eecda69f8c46b7c9da Mon Sep 17 00:00:00 2001 From: Nilambari Date: Wed, 22 Apr 2020 05:50:54 -0700 Subject: [PATCH 1/2] Fix ASN for BGPPeerStatus model --- .../stable/2020-04-01/virtualNetworkGateway.json | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/virtualNetworkGateway.json index d7f79cf1579e..d2bd7ab8282c 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/virtualNetworkGateway.json @@ -2624,6 +2624,8 @@ "asn": { "type": "integer", "format": "int64", + "minimum": 0, + "maximum": 4294967295, "description": "The BGP speaker's ASN." }, "bgpPeeringAddress": { @@ -2659,8 +2661,10 @@ }, "asn": { "type": "integer", - "format": "int32", + "format": "int64", "readOnly": true, + "minimum": 0, + "maximum": 4294967295, "description": "The autonomous system number of the remote BGP peer." }, "state": { From 5d637fe7c67c3c51f623230259e3a1ebf35e1ff0 Mon Sep 17 00:00:00 2001 From: Nilambari Date: Wed, 29 Apr 2020 22:32:05 -0700 Subject: [PATCH 2/2] Fix json pretty errors --- .../stable/2020-04-01/virtualNetworkGateway.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/virtualNetworkGateway.json b/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/virtualNetworkGateway.json index d2bd7ab8282c..dc1f5ba92faf 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/virtualNetworkGateway.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2020-04-01/virtualNetworkGateway.json @@ -2625,7 +2625,7 @@ "type": "integer", "format": "int64", "minimum": 0, - "maximum": 4294967295, + "maximum": 4294967295, "description": "The BGP speaker's ASN." }, "bgpPeeringAddress": { @@ -2664,7 +2664,7 @@ "format": "int64", "readOnly": true, "minimum": 0, - "maximum": 4294967295, + "maximum": 4294967295, "description": "The autonomous system number of the remote BGP peer." }, "state": {