Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ExpressRoutePort swagger #4104

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,79 @@
{
"parameters": {
"subscriptionId": "subid",
"api-version": "2018-08-01",
"resourceGroupName": "rg1",
"type": "Microsoft.Network/expressRouteCircuits",
"circuitName": "expressRouteCircuit1",
"parameters": {
"location": "westus",
"sku": {
"name": "Premium_MeteredData",
"tier": "Premium",
"family": "MeteredData"
},
"properties": {
"expressRoutePort": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName"
},
"bandwidthInGbps":10
}
}
},
"responses": {
"200": {
"body": {
"name": "expressRouteCircuit1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1",
"type": "Microsoft.Network/expressRouteCircuits",
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"peerings": [],
"authorizations": [],
"expressRoutePort": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName"
},
"bandwidthInGbps":10,
"circuitProvisioningState": "Enabled",
"allowClassicOperations": false,
"gatewayManagerEtag": "20",
"serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b",
"serviceProviderProvisioningState": "Provisioned"
},
"sku": {
"name": "Premium_MeteredData",
"tier": "Premium",
"family": "MeteredData"
}
}
},
"201": {
"body": {
"name": "expressRouteCircuit1",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.Network/expressRouteCircuits/expressRouteCircuit1",
"type": "Microsoft.Network/expressRouteCircuits",
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"peerings": [],
"authorizations": [],
"expressRoutePort": {
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName"
},
"bandwidthInGbps":10,
"circuitProvisioningState": "Enabled",
"allowClassicOperations": false,
"gatewayManagerEtag": "20",
"serviceKey": "d281f746-ee01-4d00-8b0a-edec4833772b",
"serviceProviderProvisioningState": "Provisioned"
},
"sku": {
"name": "Premium_MeteredData",
"tier": "Premium",
"family": "MeteredData"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"parameters": {
"subscriptionId": "subid",
"api-version": "2018-08-01",
"resourceGroupName": "rg1",
"expressRoutePortName": "portName",
"linkName": "linkName"
},
"responses": {
"200": {
"body": {
"name": "linkName",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/linkName",
"properties": {
"provisioningState": "Succeeded",
"routerName": "router1",
"interfaceName": "Ethernet 0/0",
"patchPanelId": "patchPanelId1",
"rackId": "rackId1",
"connectorType": "LC",
"adminState": "Disabled"
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"subscriptionId": "subid",
"api-version": "2018-08-01",
"resourceGroupName": "rg1",
"expressRoutePortName": "portName"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "link1",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1",
"properties": {
"provisioningState": "Succeeded",
"routerName": "router1",
"interfaceName": "Ethernet 0/0",
"patchPanelId": "patchPanelId1",
"rackId": "rackId1",
"connectorType": "LC",
"adminState": "Disabled"
}
},
{
"name": "link2",
"id" : "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2",
"properties": {
"provisioningState": "Succeeded",
"routerName": "router2",
"interfaceName": "Ethernet 0/0",
"patchPanelId": "patchPanelId2",
"rackId": "rackId2",
"connectorType": "LC",
"adminState": "Disabled"
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"parameters": {
"subscriptionId": "subid",
"api-version": "2018-08-01",
"resourceGroupName": "rg1",
"expressRoutePortName": "portName",
"parameters": {
"location": "westus",
"properties": {
"peeringLocation": "peeringLocationName",
"bandwidthInGbps": 100,
"encapsulation": "QinQ"
}
}
},
"responses": {
"200": {
"body": {
"name": "portName",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName",
"type": "Microsofot.Network/expressRoutePorts",
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"peeringLocation": "peeringLocationName",
"bandwidthInGbps": 100,
"provisionedBandwidthInGbps": 0.0,
"mtu": "1500",
"encapsulation": "QinQ",
"etherType": "0x8100",
"allocationDate": "Friday, July 1, 2018",
"links": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1",
"name": "link1",
"properties": {
"provisioningState": "Succeeded",
"routerName": "router1",
"interfaceName": "Ethernet 0/0",
"patchPanelId": "patchPanelId1",
"rackId": "rackId1",
"connectorType": "LC",
"adminState": "Disabled"
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2",
"name": "link2",
"properties": {
"provisioningState": "Succeeded",
"routerName": "router2",
"interfaceName": "Ethernet 0/0",
"patchPanelId": "patchPanelId2",
"rackId": "rackId2",
"connectorType": "LC",
"adminState": "Disabled"
}
}
],
"circuits": []
}
}
},
"201": {
"body": {
"name": "portName",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName",
"type": "Microsofot.Network/expressRoutePorts",
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"peeringLocation": "peeringLocationName",
"bandwidthInGbps": 100,
"provisionedBandwidthInGbps": 0.0,
"mtu": "1500",
"encapsulation": "QinQ",
"etherType": "0x8100",
"allocationDate": "Friday, July 1, 2018",
"links": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1",
"name": "link1",
"properties": {
"provisioningState": "Succeeded",
"routerName": "router1",
"interfaceName": "Ethernet 0/0",
"patchPanelId": "patchPanelId1",
"rackId": "rackId1",
"connectorType": "LC",
"adminState": "Disabled"
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2",
"name": "link2",
"properties": {
"provisioningState": "Succeeded",
"routerName": "router2",
"interfaceName": "Ethernet 0/0",
"patchPanelId": "patchPanelId2",
"rackId": "rackId2",
"connectorType": "LC",
"adminState": "Disabled"
}
}
],
"circuits": []
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "subid",
"api-version": "2018-08-01",
"resourceGroupName": "rg1",
"expressRoutePortName": "portName"
},
"responses": {
"200": {},
"202": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
{
"parameters": {
"subscriptionId": "subid",
"api-version": "2018-08-01",
"resourceGroupName": "rg1",
"expressRoutePortName": "portName"
},
"responses": {
"200": {
"body": {
"name": "portName",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName",
"type": "Microsofot.Network/expressRoutePorts",
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"peeringLocation": "peeringLocationName",
"bandwidthInGbps": 100,
"provisionedBandwidthInGbps": 0.0,
"mtu": "1500",
"encapsulation": "QinQ",
"etherType": "0x8100",
"allocationDate": "Friday, July 1, 2018",
"links": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1",
"name": "link1",
"properties": {
"provisioningState": "Succeeded",
"routerName": "router1",
"interfaceName": "Ethernet 0/0",
"patchPanelId": "patchPanelId1",
"rackId": "rackId1",
"connectorType": "LC",
"adminState": "Disabled"
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2",
"name": "link2",
"properties": {
"provisioningState": "Succeeded",
"routerName": "router2",
"interfaceName": "Ethernet 0/0",
"patchPanelId": "patchPanelId2",
"rackId": "rackId2",
"connectorType": "LC",
"adminState": "Disabled"
}
}
],
"circuits": []
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"parameters": {
"subscriptionId": "subid",
"api-version": "2018-08-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "portName",
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName",
"type": "Microsofot.Network/expressRoutePorts",
"location": "westus",
"properties": {
"provisioningState": "Succeeded",
"peeringLocation": "peeringLocationName",
"bandwidthInGbps": 100,
"provisionedBandwidthInGbps": 0.0,
"mtu": "1500",
"encapsulation": "QinQ",
"etherType": "0x8100",
"allocationDate": "Friday, July 1, 2018",
"links": [
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link1",
"name": "link1",
"properties": {
"provisioningState": "Succeeded",
"routerName": "router1",
"interfaceName": "Ethernet 0/0",
"patchPanelId": "patchPanelId1",
"rackId": "rackId1",
"connectorType": "LC",
"adminState": "Disabled"
}
},
{
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsofot.Network/expressRoutePorts/portName/links/link2",
"name": "link2",
"properties": {
"provisioningState": "Succeeded",
"routerName": "router2",
"interfaceName": "Ethernet 0/0",
"patchPanelId": "patchPanelId2",
"rackId": "rackId2",
"connectorType": "LC",
"adminState": "Disabled"
}
}
],
"circuits": []
}
}
]
}
}
}
}
Loading