Skip to content

Commit

Permalink
Add type "Local gateway" to virtualNetworkGateway (#10802)
Browse files Browse the repository at this point in the history
* Add virtual hub bgp connections subresources virtualRouterPeerAdvertisedRoute and virtualRouterPeerLearnedRoute with POST opertion

* Add examples

* Change name of operationid

* change output of advertised route

* Add PUT InboundSecurityRules for NVA

* merge

* Add examples

* merge

* merge

* change output of advertised route

* Add type local to virtualNetworkGateway

* fix bug

* fix bug

* fix typo

* fix bug and add requirements

* Add Enum

* fix bug
  • Loading branch information
litchiyangMSFT authored Sep 21, 2020
1 parent 752d4f6 commit 5e41c26
Showing 1 changed file with 34 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2291,7 +2291,8 @@
"description": "The type of this virtual network gateway.",
"enum": [
"Vpn",
"ExpressRoute"
"ExpressRoute",
"LocalGateway"
],
"x-ms-enum": {
"name": "VirtualNetworkGatewayType",
Expand Down Expand Up @@ -2373,6 +2374,14 @@
"type": "string",
"readOnly": true,
"description": "The IP address allocated by the gateway to which dns requests can be sent."
},
"virtualNetworkExtendedLocationResourceId": {
"type": "string",
"description": "MAS FIJI customer vnet resource id. VirtualNetworkGateway of type local gateway is associated with the customer vnet."
},
"extendedLocation": {
"description": "The extended location of type local virtual network gateway.",
"$ref": "#/definitions/ExtendedLocation"
}
},
"description": "VirtualNetworkGateway properties."
Expand Down Expand Up @@ -2750,6 +2759,30 @@
},
"description": "Gateway routing details."
},
"ExtendedLocation": {
"properties": {
"name": {
"type": "string",
"description": "Name of extended location."
},
"type": {
"type": "string",
"description": "Type of extended location.",
"enum": [
"EdgeZone"
],
"x-ms-enum": {
"name": "ExtendedLocationType",
"modelAsString": true
}
}
},
"required": [
"name",
"type"
],
"description": "The extended location of type local virtual network gateway."
},
"VirtualNetworkGateway": {
"properties": {
"properties": {
Expand Down

0 comments on commit 5e41c26

Please sign in to comment.