-
Notifications
You must be signed in to change notification settings - Fork 5.6k
expressRouteProviderPort changes #9909
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
Merged
mmyyrroonn
merged 16 commits into
Azure:network-june-release
from
dagoutha:dagoutha/circuitplacementjun
Jul 10, 2020
Merged
Changes from all commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
d65925a
expressRouteProviderPort changes
dagoutha 26beb62
fix ref error
dagoutha 6aca0f5
suppressing name id type error
dagoutha 057fbc4
prettier fix
dagoutha 243f209
locationlist -> listbylocation
dagoutha cfb9cb6
adding filter on location
dagoutha 11886e8
ref listbylocation
dagoutha 4f8053d
fixing id and name
dagoutha 8bbf594
adding get and bug fixes
dagoutha afe86ba
bug fix
dagoutha f551b00
bug fix
dagoutha cc7c9cd
adding proxy resource ref
dagoutha 40e26a4
fixes for auto checks
dagoutha 70c0bf6
adding proxyresource type to network.json
dagoutha 02966b5
fixing description
dagoutha a0ece87
fixing description for proxy resource
dagoutha File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
26 changes: 26 additions & 0 deletions
26
...rce-manager/Microsoft.Network/stable/2020-06-01/examples/expressRouteProviderPortGet.json
This file contains hidden or 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,26 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-06-01", | ||
| "subscriptionId": "subid", | ||
| "expressRouteProviderPortName": "bvtazureixpportpair1" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "name": "bvtazureixpportpair1", | ||
| "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/bvtazureixpportpair1", | ||
| "type": "Microsoft.Network/expressRouteProviderPorts", | ||
| "properties": { | ||
| "portPairDescriptor": "bvtazureixpportpair", | ||
| "primaryAzurePort": "bvtazureixp01", | ||
| "secondaryAzurePort": "bvtazureixp01", | ||
| "peeringLocation": "SiliconValley", | ||
| "overprovisionFactor": 4, | ||
| "portBandwidthInMbps": 4000, | ||
| "usedBandwidthInMbps": 2500, | ||
| "remainingBandwidthInMbps": 1500 | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
44 changes: 44 additions & 0 deletions
44
...ce-manager/Microsoft.Network/stable/2020-06-01/examples/expressRouteProviderPortList.json
This file contains hidden or 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,44 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-06-01", | ||
| "subscriptionId": "subid" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "name": "bvtazureixpportpair1", | ||
| "id": "/subscriptions/subid/providers/Microsoft.Network/expressRouteProviderPorts/bvtazureixpportpair1", | ||
| "type": "Microsoft.Network/expressRouteProviderPorts", | ||
| "properties": { | ||
| "portPairDescriptor": "bvtazureixpportpair", | ||
| "primaryAzurePort": "bvtazureixp01", | ||
| "secondaryAzurePort": "bvtazureixp01", | ||
| "peeringLocation": "SiliconValley", | ||
| "overprovisionFactor": 4, | ||
| "portBandwidthInMbps": 4000, | ||
| "usedBandwidthInMbps": 2500, | ||
| "remainingBandwidthInMbps": 1500 | ||
| } | ||
| }, | ||
| { | ||
| "name": "bvtazureixpportpair2", | ||
| "id": "/subscriptions/subid/providers/Microsoft.Network/expressRouteProviderPorts/bvtazureixpportpair2", | ||
| "type": "Microsoft.Network/expressRouteProviderPorts", | ||
| "properties": { | ||
| "portPairDescriptor": "bvtazureixpportpair2", | ||
| "primaryAzurePort": "bvtazureixp02", | ||
| "secondaryAzurePort": "bvtazureixp02", | ||
| "peeringLocation": "seattle", | ||
| "overprovisionFactor": 4, | ||
| "portBandwidthInMbps": 4000, | ||
| "usedBandwidthInMbps": 1200, | ||
| "remainingBandwidthInMbps": 1800 | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
30 changes: 30 additions & 0 deletions
30
.../Microsoft.Network/stable/2020-06-01/examples/expressRouteProviderPortListByLocation.json
This file contains hidden or 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,30 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2020-06-01", | ||
| "subscriptionId": "subid", | ||
| "$filter": "peeringLocation eq 'SiliconValley'" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "name": "bvtazureixpportpair1", | ||
| "id": "/subscriptions/subid/providers/Microsoft.Network/expressRoutePortsLocations/bvtazureixpportpair1", | ||
| "type": "Microsoft.Network/expressRouteProviderPorts", | ||
| "properties": { | ||
| "portPairDescriptor": "bvtazureixpportpair", | ||
| "primaryAzurePort": "bvtazureixp01", | ||
| "secondaryAzurePort": "bvtazureixp01", | ||
| "peeringLocation": "SiliconValley", | ||
| "overprovisionFactor": 4, | ||
| "portBandwidthInMbps": 4000, | ||
| "usedBandwidthInMbps": 2500, | ||
| "remainingBandwidthInMbps": 1500 | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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
208 changes: 208 additions & 0 deletions
208
...etwork/resource-manager/Microsoft.Network/stable/2020-06-01/expressRouteProviderPort.json
This file contains hidden or 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,208 @@ | ||
| { | ||
| "swagger": "2.0", | ||
| "info": { | ||
| "title": "NetworkManagementClient", | ||
| "description": "The Microsoft Azure Network management API provides a RESTful set of web services that interact with Microsoft Azure Networks service to manage your network resources. The API has entities that capture the relationship between an end user and the Microsoft Azure Networks service.", | ||
| "version": "2020-06-01" | ||
| }, | ||
| "host": "management.azure.com", | ||
| "schemes": [ | ||
| "https" | ||
| ], | ||
| "consumes": [ | ||
| "application/json" | ||
| ], | ||
| "produces": [ | ||
| "application/json" | ||
| ], | ||
| "security": [ | ||
| { | ||
| "azure_auth": [ | ||
| "user_impersonation" | ||
| ] | ||
| } | ||
| ], | ||
| "securityDefinitions": { | ||
| "azure_auth": { | ||
| "type": "oauth2", | ||
| "authorizationUrl": "https://login.microsoftonline.com/common/oauth2/authorize", | ||
| "flow": "implicit", | ||
| "description": "Azure Active Directory OAuth2 Flow.", | ||
| "scopes": { | ||
| "user_impersonation": "impersonate your user account" | ||
| } | ||
| } | ||
| }, | ||
| "paths": { | ||
| "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts": { | ||
dagoutha marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| "get": { | ||
| "tags": [ | ||
| "ExpressRouteProviderPorts" | ||
| ], | ||
| "operationId": "ExpressRouteProviderPorts_List", | ||
| "description": "Retrieves all the ExpressRouteProviderPorts in a subscription.", | ||
| "parameters": [ | ||
| { | ||
| "name": "$filter", | ||
| "in": "query", | ||
| "required": false, | ||
| "type": "string", | ||
| "description": "Can be used to filter on peering location. Supports only eq." | ||
| }, | ||
| { | ||
| "$ref": "./network.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "$ref": "./network.json#/parameters/SubscriptionIdParameter" | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Request successful. The operation returns a list of ExpressRouteProviderPort resources. If there are no ports for the provider, an empty list is returned.", | ||
| "schema": { | ||
| "$ref": "#/definitions/ExpressRouteProviderPortListResult" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./network.json#/definitions/CloudError" | ||
| } | ||
| } | ||
| }, | ||
| "x-ms-examples": { | ||
| "ExpressRouteProviderPortList": { | ||
| "$ref": "./examples/expressRouteProviderPortList.json" | ||
| }, | ||
| "ExpressRouteProviderPortListByLocation": { | ||
| "$ref": "./examples/expressRouteProviderPortListByLocation.json" | ||
| } | ||
| }, | ||
| "x-ms-pageable": { | ||
| "nextLinkName": "nextLink" | ||
| } | ||
| } | ||
| }, | ||
| "/subscriptions/{subscriptionId}/providers/Microsoft.Network/expressRouteProviderPorts/{expressRouteProviderPortName}": { | ||
| "get": { | ||
| "tags": [ | ||
| "ExpressRouteProviderPorts" | ||
| ], | ||
| "operationId": "ExpressRouteProviderPorts_Get", | ||
| "description": "Retrieves the requested ExpressRouteProviderPort resource.", | ||
| "parameters": [ | ||
| { | ||
| "$ref": "./network.json#/parameters/SubscriptionIdParameter" | ||
| }, | ||
| { | ||
| "$ref": "./network.json#/parameters/ApiVersionParameter" | ||
| }, | ||
| { | ||
| "name": "expressRouteProviderPortName", | ||
| "in": "path", | ||
| "required": true, | ||
| "type": "string", | ||
| "description": "The name of ExpressRouteProviderPort." | ||
| } | ||
| ], | ||
| "responses": { | ||
| "200": { | ||
| "description": "Request successful. The operation returns the requested ExpressRouteProviderPort resource.", | ||
| "schema": { | ||
| "$ref": "#/definitions/ExpressRouteProviderPort" | ||
| } | ||
| }, | ||
| "default": { | ||
| "description": "Error response describing why the operation failed.", | ||
| "schema": { | ||
| "$ref": "./network.json#/definitions/CloudError" | ||
| } | ||
| } | ||
| }, | ||
| "x-ms-examples": { | ||
| "ExpressRouteProviderPortGet": { | ||
| "$ref": "./examples/expressRouteProviderPortGet.json" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| }, | ||
| "definitions": { | ||
| "ExpressRouteProviderPortProperties": { | ||
| "properties": { | ||
| "portPairDescriptor": { | ||
| "readOnly": true, | ||
| "type": "string", | ||
| "description": "The name of the port pair." | ||
| }, | ||
| "primaryAzurePort": { | ||
| "readOnly": true, | ||
| "type": "string", | ||
| "description": "The name of the primary port." | ||
| }, | ||
| "secondaryAzurePort": { | ||
| "readOnly": true, | ||
| "type": "string", | ||
| "description": "The name of the secondary port." | ||
| }, | ||
| "peeringLocation": { | ||
| "type": "string", | ||
| "description": "The peering location of the port pair." | ||
| }, | ||
| "overprovisionFactor": { | ||
| "type": "integer", | ||
| "format": "int32", | ||
| "description": "Overprovisioning factor for the port pair." | ||
| }, | ||
| "portBandwidthInMbps": { | ||
| "type": "integer", | ||
| "format": "int32", | ||
| "description": "Bandwidth of the port in Mbps." | ||
| }, | ||
| "usedBandwidthInMbps": { | ||
| "type": "integer", | ||
| "format": "int32", | ||
| "description": "Used Bandwidth of the port in Mbps." | ||
| }, | ||
| "remainingBandwidthInMbps": { | ||
| "type": "integer", | ||
| "format": "int32", | ||
| "description": "Remaining Bandwidth of the port in Mbps." | ||
| } | ||
| }, | ||
| "description": "Properties of ExpressRouteProviderPort." | ||
| }, | ||
| "ExpressRouteProviderPort": { | ||
| "properties": { | ||
| "properties": { | ||
| "x-ms-client-flatten": true, | ||
| "$ref": "#/definitions/ExpressRouteProviderPortProperties", | ||
| "description": "Properties of the express route Service Provider Port." | ||
| } | ||
| }, | ||
| "allOf": [ | ||
| { | ||
| "$ref": "./network.json#/definitions/ProxyResource" | ||
| } | ||
| ], | ||
| "description": "ExpressRouteProviderPort resource." | ||
| }, | ||
| "ExpressRouteProviderPortListResult": { | ||
| "properties": { | ||
| "value": { | ||
| "type": "array", | ||
| "items": { | ||
| "$ref": "#/definitions/ExpressRouteProviderPort" | ||
| }, | ||
| "description": "A list of ExpressRouteProviderPort resources." | ||
| }, | ||
| "nextLink": { | ||
| "readOnly": true, | ||
| "type": "string", | ||
| "description": "The URL to get the next set of results." | ||
| } | ||
| }, | ||
| "description": "Response for ListExpressRouteProviderPort API service call." | ||
| } | ||
| } | ||
| } | ||
This file contains hidden or 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 hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.