-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changes related to setting VpnClient AAD authentication options to Vi…
…rtual network gateway resource & Advertising virtual Wan 2 released APIs. (#5935) * Changes related to setting VpnClient AAD authentication options to Virtual network gateway resource. * Advertising virtual Wan 2 released APIs through swagger * Incorporate code review comments * Minor format fixes * Add newly added param:usePolicyBasedTrafficSelectors to VpnConnection resource.
- Loading branch information
1 parent
c93c04f
commit 80b5637
Showing
10 changed files
with
250 additions
and
10 deletions.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
...anager/Microsoft.Network/stable/2019-04-01/examples/P2SVpnGatewayGetConnectionHealth.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
{ | ||
"parameters": { | ||
"gatewayName": "p2sVpnGateway1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2019-04-01", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "p2sVpnGateway1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/P2SvpnGateways/p2sVpnGateway1", | ||
"etag": "w/\\00000000-0000-0000-0000-000000000000\\", | ||
"location": "West US", | ||
"type": "Microsoft.Network/p2sVpnGateways", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"virtualHub": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" | ||
}, | ||
"p2SVpnServerConfiguration": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualWans/virtualWan1/p2sVpnServerConfigurations/p2sVpnServerConfiguration1" | ||
}, | ||
"vpnClientAddressPool": { | ||
"addressPrefixes": [ | ||
"101.3.0.0/16" | ||
] | ||
}, | ||
"customRoutes": { | ||
"addressPrefixes": [ | ||
"101.168.0.6/32" | ||
] | ||
}, | ||
"vpnGatewayScaleUnit": 1, | ||
"vpnClientConnectionHealth": { | ||
"vpnClientConnectionsCount": 2, | ||
"allocatedIpAddresses": [ | ||
"1.1.1.1", | ||
"2.2.2.2" | ||
], | ||
"totalIngressBytesTransferred":2000, | ||
"totalEgressBytesTransferred":3000 | ||
} | ||
} | ||
} | ||
}, | ||
"202": { | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
53 changes: 53 additions & 0 deletions
53
...etwork/resource-manager/Microsoft.Network/stable/2019-04-01/examples/VpnGatewayReset.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
{ | ||
"parameters": { | ||
"gatewayName": "vpngw", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2019-04-01", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"202" : { }, | ||
"200": { | ||
"body": { | ||
"name": "vpngw", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw", | ||
"etag": "w/\\00000000-0000-0000-0000-000000000000\\", | ||
"location": "West US", | ||
"type": "Microsoft.Network/vpnGateways", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"virtualHub": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/virtualHubs/virtualHub1" | ||
}, | ||
"connections": [ | ||
{ | ||
"name": "vpnConnection1", | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnGateways/vpngw/vpnConnections/vpnConnection1", | ||
"etag": "w/\\00000000-0000-0000-0000-000000000000\\", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"remoteVpnSite": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/vpnSites/vpnSite1" | ||
}, | ||
"connectionStatus": "Connected", | ||
"ingressBytesTransferred": 0, | ||
"egressBytesTransferred": 0, | ||
"routingWeight": 0, | ||
"connectionBandwidth": 100, | ||
"sharedKey": "key", | ||
"enableBgp": false, | ||
"useLocalAzureIpAddress": false, | ||
"ipsecPolicies": [ ] | ||
} | ||
} | ||
], | ||
"bgpSettings": { | ||
"asn": 65514, | ||
"bgpPeeringAddress": "10.0.1.30", | ||
"peerWeight": 0 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters