forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove readonly flag from microsoftSessionAddress properties in BgpSe…
…ssion; add an example for IxRs directPeeringType (Azure#8517)
- Loading branch information
1 parent
dfb3b73
commit 2385528
Showing
2 changed files
with
139 additions
and
4 deletions.
There are no files selected for viewing
134 changes: 134 additions & 0 deletions
134
...oft.Peering/preview/2020-01-01-preview/examples/CreatePeeringWithExchangeRouteServer.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,134 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "subId", | ||
"resourceGroupName": "rgName", | ||
"peeringName": "peeringName", | ||
"api-version": "2020-01-01-preview", | ||
"peering": { | ||
"sku": { | ||
"name": "Premium_Direct_Free" | ||
}, | ||
"kind": "Direct", | ||
"properties": { | ||
"direct": { | ||
"connections": [ | ||
{ | ||
"bandwidthInMbps": 10000, | ||
"sessionAddressProvider": "Peer", | ||
"useForPeeringService": true, | ||
"peeringDBFacilityId": 99999, | ||
"bgpSession": { | ||
"sessionPrefixV4": "192.168.0.0/24", | ||
"microsoftSessionIPv4Address": "192.168.0.123", | ||
"peerSessionIPv4Address": "192.168.0.234", | ||
"maxPrefixesAdvertisedV4": 1000, | ||
"maxPrefixesAdvertisedV6": 100 | ||
}, | ||
"connectionIdentifier": "5F4CB5C7-6B43-4444-9338-9ABC72606C16" | ||
} | ||
], | ||
"peerAsn": { | ||
"id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" | ||
}, | ||
"directPeeringType": "IxRs" | ||
}, | ||
"peeringLocation": "peeringLocation0" | ||
}, | ||
"location": "eastus" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"sku": { | ||
"name": "Premium_Direct_Free", | ||
"tier": "Premium", | ||
"family": "Direct", | ||
"size": "Free" | ||
}, | ||
"kind": "Direct", | ||
"properties": { | ||
"direct": { | ||
"connections": [ | ||
{ | ||
"bandwidthInMbps": 10000, | ||
"provisionedBandwidthInMbps": 10000, | ||
"sessionAddressProvider": "Peer", | ||
"useForPeeringService": true, | ||
"peeringDBFacilityId": 99999, | ||
"connectionState": "Active", | ||
"bgpSession": { | ||
"sessionPrefixV4": "192.168.0.0/24", | ||
"microsoftSessionIPv4Address": "192.168.0.123", | ||
"peerSessionIPv4Address": "192.168.0.234", | ||
"sessionStateV4": "Established", | ||
"sessionStateV6": "Established", | ||
"maxPrefixesAdvertisedV4": 1000, | ||
"maxPrefixesAdvertisedV6": 100 | ||
}, | ||
"connectionIdentifier": "5F4CB5C7-6B43-4444-9338-9ABC72606C16" | ||
} | ||
], | ||
"useForPeeringService": true, | ||
"peerAsn": { | ||
"id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" | ||
}, | ||
"directPeeringType": "IxRs" | ||
}, | ||
"peeringLocation": "peeringLocation0", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"location": "eastus", | ||
"name": "peeringName", | ||
"id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", | ||
"type": "Microsoft.Peering/peerings" | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"sku": { | ||
"name": "Premium_Direct_Free", | ||
"tier": "Premium", | ||
"family": "Direct", | ||
"size": "Free" | ||
}, | ||
"kind": "Direct", | ||
"properties": { | ||
"direct": { | ||
"connections": [ | ||
{ | ||
"bandwidthInMbps": 10000, | ||
"provisionedBandwidthInMbps": 0, | ||
"sessionAddressProvider": "Peer", | ||
"useForPeeringService": true, | ||
"peeringDBFacilityId": 99999, | ||
"connectionState": "PendingApproval", | ||
"bgpSession": { | ||
"sessionPrefixV4": "192.168.0.0/24", | ||
"microsoftSessionIPv4Address": "192.168.0.123", | ||
"peerSessionIPv4Address": "192.168.0.234", | ||
"sessionStateV4": "PendingAdd", | ||
"sessionStateV6": "PendingAdd", | ||
"maxPrefixesAdvertisedV4": 1000, | ||
"maxPrefixesAdvertisedV6": 100 | ||
}, | ||
"connectionIdentifier": "5F4CB5C7-6B43-4444-9338-9ABC72606C16" | ||
} | ||
], | ||
"useForPeeringService": true, | ||
"peerAsn": { | ||
"id": "/subscriptions/subId/providers/Microsoft.Peering/peerAsns/myAsn1" | ||
}, | ||
"directPeeringType": "IxRs" | ||
}, | ||
"peeringLocation": "peeringLocation0", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"location": "eastus", | ||
"name": "peeringName", | ||
"id": "/subscriptions/subId/resourceGroups/rgName/providers/Microsoft.Peering/peerings/peeringName", | ||
"type": "Microsoft.Peering/peerings" | ||
} | ||
} | ||
} | ||
} |
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