Skip to content

Commit

Permalink
Added traffic selector policy definition to virtualNetworkGateway.json (
Browse files Browse the repository at this point in the history
  • Loading branch information
ejdelrio authored and anton-evseev committed Sep 13, 2019
1 parent e3521d7 commit d049b69
Show file tree
Hide file tree
Showing 6 changed files with 44 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@
"sharedKey": "Abc123",
"enableBgp": false,
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": []
"ipsecPolicies": [],
"trafficSelectorPolicies": []
},
"location": "centralus"
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"enableBgp": false,
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
"trafficSelectorPolicies": [],
"connectionStatus": "Connecting",
"ingressBytesTransferred": 0,
"egressBytesTransferred": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"enableBgp": false,
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
"trafficSelectorPolicies": [],
"connectionStatus": "Unknown",
"ingressBytesTransferred": 0,
"egressBytesTransferred": 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
"enableBgp": false,
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
"trafficSelectorPolicies": [],
"ingressBytesTransferred": 0,
"egressBytesTransferred": 0
}
Expand Down Expand Up @@ -58,6 +59,7 @@
"enableBgp": false,
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
"trafficSelectorPolicies": [],
"ingressBytesTransferred": 0,
"egressBytesTransferred": 0
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"enableBgp": true,
"usePolicyBasedTrafficSelectors": false,
"ipsecPolicies": [],
"trafficSelectorPolicies": [],
"ingressBytesTransferred": 0,
"egressBytesTransferred": 0
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2370,6 +2370,13 @@
},
"description": "The IPSec Policies to be considered by this connection."
},
"trafficSelectorPolicies": {
"type": "array",
"items": {
"$ref": "#/definitions/TrafficSelectorPolicy"
},
"description": "The Traffic Selector Policies to be considered by this connection."
},
"resourceGuid": {
"type": "string",
"description": "The resource GUID property of the virtual network gateway connection resource."
Expand Down Expand Up @@ -2510,6 +2517,29 @@
],
"description": "An IPSec Policy configuration for a virtual network gateway connection."
},
"TrafficSelectorPolicy": {
"properties": {
"localAddressRanges": {
"type": "array",
"items": {
"type": "string"
},
"description": "A collection of local address spaces in CIDR format"
},
"remoteAddressRanges": {
"type": "array",
"items": {
"type": "string"
},
"description": "A collection of remote address spaces in CIDR format"
}
},
"required": [
"localAddressRanges",
"remoteAddressRanges"
],
"description": "An traffic selector policy for a virtual network gateway connection."
},
"ConnectionProtocol": {
"type": "string",
"description": "Gateway connection protocol.",
Expand Down Expand Up @@ -2727,6 +2757,13 @@
},
"description": "The IPSec Policies to be considered by this connection."
},
"trafficSelectorPolicies": {
"type": "array",
"items": {
"$ref": "#/definitions/TrafficSelectorPolicy"
},
"description": "The Traffic Selector Policies to be considered by this connection."
},
"resourceGuid": {
"type": "string",
"description": "The resource GUID property of the virtual network gateway connection resource."
Expand Down

0 comments on commit d049b69

Please sign in to comment.