Skip to content

Commit

Permalink
Add type "Local gateway" to virtualNetworkGateway to 2020-07-01 (#11231)
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

* Add InboundSecurityRule, virtualRouterPeerAdvertisedRoute and virtualRouterPeerLearnedRoute

* prettier

* Add to 0701

* Update virtualNetworkGateway.json

Change description to match others

* Revert "Update virtualNetworkGateway.json"

This reverts commit a4b72d4.

* Change description

* change names

* change name to match

* match

* change definition

* change reference

* change ref

* delete from 0601
  • Loading branch information
litchiyangMSFT authored Oct 19, 2020
1 parent 11c4fdf commit 9b9177b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2291,8 +2291,7 @@
"description": "The type of this virtual network gateway.",
"enum": [
"Vpn",
"ExpressRoute",
"LocalGateway"
"ExpressRoute"
],
"x-ms-enum": {
"name": "VirtualNetworkGatewayType",
Expand Down Expand Up @@ -2374,14 +2373,6 @@
"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 @@ -2759,30 +2750,6 @@
},
"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
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,15 @@
"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": {
"readOnly": true,
"description": "The extended location of type local virtual network gateway.",
"$ref": "./network.json#/definitions/ExtendedLocation"
}
},
"description": "VirtualNetworkGateway properties."
Expand Down

0 comments on commit 9b9177b

Please sign in to comment.