From a93b24c285cbdc132921e80dafdca0a2b8ffba70 Mon Sep 17 00:00:00 2001 From: Andrii Kalinichenko Date: Wed, 18 May 2022 20:08:40 -0700 Subject: [PATCH] Add VirtualHub Router autoscale configuration --- .../stable/2022-01-01/examples/VirtualHubGet.json | 5 ++++- .../2022-01-01/examples/VirtualHubList.json | 10 ++++++++-- .../examples/VirtualHubListByResourceGroup.json | 10 ++++++++-- .../stable/2022-01-01/examples/VirtualHubPut.json | 10 ++++++++-- .../2022-01-01/examples/VirtualHubUpdateTags.json | 5 ++++- .../stable/2022-01-01/virtualWan.json | 15 +++++++++++++++ 6 files changed, 47 insertions(+), 8 deletions(-) diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubGet.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubGet.json index 0c23e5bb1ce1..06a7fcc7379d 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubGet.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubGet.json @@ -29,7 +29,10 @@ ], "allowBranchToBranchTraffic": false, "preferredRoutingGateway": "ExpressRoute", - "hubRoutingPreference": "ExpressRoute" + "hubRoutingPreference": "ExpressRoute", + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubList.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubList.json index cbd70e9d385e..b45126165a44 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubList.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubList.json @@ -64,7 +64,10 @@ ], "allowBranchToBranchTraffic": false, "preferredRoutingGateway": "ExpressRoute", - "hubRoutingPreference": "ExpressRoute" + "hubRoutingPreference": "ExpressRoute", + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + } } }, { @@ -124,7 +127,10 @@ ], "allowBranchToBranchTraffic": false, "preferredRoutingGateway": "ExpressRoute", - "hubRoutingPreference": "ExpressRoute" + "hubRoutingPreference": "ExpressRoute", + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + } } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubListByResourceGroup.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubListByResourceGroup.json index 5070c120cec6..7b82dbd859b4 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubListByResourceGroup.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubListByResourceGroup.json @@ -65,7 +65,10 @@ ], "allowBranchToBranchTraffic": false, "preferredRoutingGateway": "ExpressRoute", - "hubRoutingPreference": "ExpressRoute" + "hubRoutingPreference": "ExpressRoute", + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + } } }, { @@ -125,7 +128,10 @@ ], "allowBranchToBranchTraffic": false, "preferredRoutingGateway": "ExpressRoute", - "hubRoutingPreference": "ExpressRoute" + "hubRoutingPreference": "ExpressRoute", + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + } } } ] diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubPut.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubPut.json index 64ef2aca34ba..8551d09973bd 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubPut.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubPut.json @@ -42,7 +42,10 @@ ], "allowBranchToBranchTraffic": false, "preferredRoutingGateway": "ExpressRoute", - "hubRoutingPreference": "ExpressRoute" + "hubRoutingPreference": "ExpressRoute", + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + } } } }, @@ -69,7 +72,10 @@ ], "allowBranchToBranchTraffic": false, "preferredRoutingGateway": "ExpressRoute", - "hubRoutingPreference": "ExpressRoute" + "hubRoutingPreference": "ExpressRoute", + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubUpdateTags.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubUpdateTags.json index caddd6ac0ba5..521d0b119b6a 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubUpdateTags.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/examples/VirtualHubUpdateTags.json @@ -37,7 +37,10 @@ "10.10.1.13" ], "allowBranchToBranchTraffic": false, - "hubRoutingPreference": "ExpressRoute" + "hubRoutingPreference": "ExpressRoute", + "virtualRouterAutoScaleConfiguration": { + "minCapacity": 2 + } } } } diff --git a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/virtualWan.json b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/virtualWan.json index 8b8fecd7eed7..0247933b1619 100644 --- a/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/virtualWan.json +++ b/specification/network/resource-manager/Microsoft.Network/stable/2022-01-01/virtualWan.json @@ -6285,10 +6285,25 @@ "hubRoutingPreference": { "$ref": "#/definitions/HubRoutingPreference", "description": "The hubRoutingPreference of this VirtualHub." + }, + "virtualRouterAutoScaleConfiguration": { + "$ref": "#/definitions/VirtualRouterAutoScaleConfiguration", + "description": "The VirtualHub Router autoscale configuration." } }, "description": "Parameters for VirtualHub." }, + "VirtualRouterAutoScaleConfiguration": { + "properties": { + "minCapacity": { + "type": "integer", + "format": "int32", + "minimum": 0, + "description": "The minimum number of scale units for VirtualHub Router." + } + }, + "description": "The VirtualHub Router autoscale configuration." + }, "PreferredRoutingGateway": { "type": "string", "description": "The preferred routing gateway types",