Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -995,6 +995,9 @@
},
"Create an exchange peering": {
"$ref": "./examples/CreateExchangePeering.json"
},
"Create a peering with exchange route server": {
"$ref": "./examples/CreatePeeringWithExchangeRouteServer.json"
}
}
},
Expand Down Expand Up @@ -2222,13 +2225,11 @@
},
"microsoftSessionIPv4Address": {
"description": "The IPv4 session address on Microsoft's end.",
"type": "string",
"readOnly": true
"type": "string"
},
"microsoftSessionIPv6Address": {
"description": "The IPv6 session address on Microsoft's end.",
"type": "string",
"readOnly": true
"type": "string"
},
"peerSessionIPv4Address": {
"description": "The IPv4 session address on peer's end.",
Expand Down